Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - OS Version

Reply
 
Old 08-18-2008   #1 (permalink)
AdityaKir


 
 

OS Version

Hi all,

How can we find the OS version and the Windows Service pack running on a
specified server using powershell script.

Thanks,

My System SpecsSystem Spec
Old 08-18-2008   #2 (permalink)
Brandon Shell [MVP]


 
 

Re: OS Version

get-wmiobject Win32_OperatingSystem -comp <name> | select Caption,ServicePackMajorVersion

Brandon Shell
---------------
Blog: http://www.bsonposh.com/
PSH Scripts Project: www.codeplex.com/psobject

A> Hi all,
A>
A> How can we find the OS version and the Windows Service pack running
A> on a specified server using powershell script.
A>
A> Thanks,
A>


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Version 2008 build 14.0.5027.0908 - Is there a newer version of WLM (non Beta)? Live Mail
Compatibility of the MSDN-subscription version of Vista with the retail version? General Discussion
the version of WindowsThe version of this file is not compatible with you're running Software
Want to trade my 32bit version for your 64bit version Vista General
Update Vista Home Premium from 32Bit Version to 64Bit Version Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46