Best way to retrieve Windows OS edition of all server class on a network.



  • 1. uninstall v1.0 and Install v2.0 CTP3
  • 2. Unicode or ASCII
    If you want the output of a PowerShell command to be produced in ASCII encoding from a simple output redirection operator like >, you can use an embedded non-interactive PowerShell session via cmd.exe For example cmd /c "powershell help about_profiles >about_profiles.txt" I'm guessing that there will be scope gotcha's that get in the way of using this in general, and there's always the option to pipe output to Out_File with -encoding ASCII help about_profiles | Out-File -encoding ASCII about_profiles.txt But for simple captures in ASCII, there it is. - Larry
  • 3. WCF calling the powershell
    Hi, i have a question. I developt a PSCommandLet and install it ob a PC. When i call it from the PC all works fine. Now i write a WCF Service with some methods and they methods call some of my powershell CmdLets. When i now run a client on a other PC and call the WCF Service methods i always get an exception that my powershell-snap-in is not installed on the PC. Why it works local but not if an client call the WCF Service and the service call the PS??? :( Here my code: RunspaceConfiguration config = RunspaceConfiguration.Create(); Runspace runspace = RunspaceFactory.CreateRunspace(); runspace.Open(); PSSnapInException ex = new PSSnapInException(); runspace.RunspaceConfiguration.AddPSSnapIn("SunvoltEnergyStudioPowerShell", out ex); Collection<Project> projects = new Collection<Project>(); Pipeline getProjectsPipeline = runspace.CreatePipeline(); getProjectsPipeline.Commands.Add(new Command("Get-Projects")); Collection<PSObject> results = getProjectsPipeline.Invoke();
  • 4. Delete all files, where date is older then 60days and not saturday
    Hello people, the text in the subject describes my problem. I want to delete all files, whose lastwritetime is older then 60 days and no saturday. $variable = (get-date).AddDays(-60) $variable2 = ?? get-childitem | where-object {$_.LastWriteTime -lt $varibale and is not $variable2} | remove-object all :) that is what I have!! thanks for help

Best way to retrieve Windows OS edition of all server class on a network.

Postby jona » Thu, 24 Dec 2009 06:01:21 GMT


Does anyone have a good way to retrieve Windows Edition of all the servers on a network?  List of servers can be retrieved from from AD or a text file.  I just need to have the output to have server name and Windows Edition its running on.

Thanks for the help.


Submitted via EggHeadCafe - Software Developer Portal of Choice 
Full-Text Search with SQL Server 2000

Similar Threads:

1.Retrieving the COM class factory error in 64-bit Windows Server 20


On a 64-bit Windows Server 2003R2 box, I'm getting the following error when 
opening a finnancial report writer application called "FRx":

Retrieving the COM class factory for component with CLSID 
{47E7313F-9250-4C9C-A4A9-281889A3C289}-failed due to the following error: 

The program works fine, despite this error. I simply click "OK" on the 
error's dialog box, enter the program, and run my reports.  But, I would like 
to get rid of this ugly nuisance.  Any ideas?

This error does not happen on any 32-bit machines that run this program on 
the network.


2.Upgrading Windows Server 2003 Standard Edition RC2 to Windows Server Enterprise Edition

In performing the mentioned upgrade, is RC2 functionality lost?
Thanks is advance.

3.Internet Professionals Choose Windows Server 2003 As the Best OS.

4.Switching OS's from Windows ME to Windows XP Home Edition SP2

I have inherited a laptop that currently has Windows ME installed and I would 
like to upgrade this laptop to use Win XP Home Edition SP2.  Is this going to 
be any kind of a big headache ??  The laptop is a hewlet packard and has the 
appropriate requirements to use Windows XP Home.  Can anyone kinda send me 
the necessary information to make this transformation a success.  It's been a 
while since I've uninstalled and then upgraded anything at all and I am a bit 
"rusty" !! :)
-and please inform me of any problems that I may run into, if any. 

(i just wanna get back on the internet, someone who had used the laptop 
before I inherited it, DELETED the installed modem from the laptop (a U.S. 
Robotics Modem) and it will not install another one from the lists available 
that will work for me to access the internet PLUS and OF COURSE, I did not 
inherit the Recovery CD that goes with the computer or anything else for that 
matter, just the laptop !!!!   I really just want to get Windows ME OFF OF IT 
and get Windows XP HOME ON TO IT !!!!

Lastly, if anyone can think of a way for me to get this laptop connected to 
the internet like today until I can order the windows xp and upgrade, please 
share it with me.  The problems are as listed w/not being able to get 

1. U.S. Robotics modem was accidentally deleted by my stepmom, (she's 
elderly and didn't know what she was truly doing and I cannot get the modem 
back, do not have a recovery cd nor a cd to reinstall this modem).  I tried 
using windows restore but there was only one restore point and it didn't get 
the deleted modem back.  

2.  I've only been able to reinstall one modem from the lists of modems to 
install if you don't have a recovery cd but it's installed on COM3 and it 
needs to be installed on COM1 and for some reason I cannot figure out quite 
how to move it to where it needs to be ???  Installed on COM3, and when 
running a diagnostic on the modem, it says "the device is working properly".  
When I installed the same modem on COM1 and ran the diagnostic, it was not 
working properly ????  Any suggestions...  

3.  Lastly, I'm not even sure if this modem is one that will get me 
connected to the internet using this computer.  The error msg. is always the 
same, "you have been disconnected from the computer you dialed".  I'm LOST....

We thought just upgrading to Windows XP would solve these stupid problems 
and I could just begin again.....   Any suggestions again???  

Hope this post made sense, in a nutshell, I'm trying to find a way to get my 
laptop connected to the internet until I can order and receive an 
upgrade...(I'm using my Brother's computer now). 

Thanks bunches, Joy  :)

5.OS: Windows XP is MUCH better than Windows Vista

and here are just a few of the problems that prove this to be very

1) Incompatibility (Driver/Software handshaking issues)
Nearly everything ran super smooth in XP from day one
It was a root canal getting even some of the simplest software to run
in Vista

2) Desktop Convolution
It's a "Muddy appearance." Everything looks the same. You cannot
easily distinguish if you are looking at a folder or an I-net site.
It's a horrible experience just looking your screen.

3) Instability
XP crashed on me once in over five years.
Vista crashed the first day!

The list goes on and on. I haven't the time to waste commenting on
Gates shotty work.

MS is infamous for peddling half-baked software. XP was the exception.
It is wonderful. MS hit a wall with Vista, a solid cement wall.

Gates should have stuck with XP and simply added features, but the
temptation for profit once again won out (Gates can make much more
money with a new OS than simply improving past software).

Keep your XP until an actual upgrade becomes available. If you've
already took the plunge, return it. MS REFUND PHONE NUMBER:

6. Windows Server 2003, Web Edition & Network Load Balancing

7. Problems with OS 9 / OS X and Windows 2000 Server with SFM

8. Mac OS X OS 9 and Windows server 2003 issues

Return to powershell


Who is online

Users browsing this forum: No registered users and 28 guest