Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "Operating System Information for @WKSTA"
- $wmiColl = GetObject("WinMgmts:root/cimv2").ExecQuery("Select * FROM Win32_OperatingSystem ")
- For Each $wmiObj in $wmiColl
- ? "Build NUmber: " + $wmiObj.BuildNumber
- ? "Build Type: " + $wmiObj.BuildType
- ? "Caption: " + $wmiObj.Caption
- ? "Creation Class Name: " + $wmiObj.CreationClassName
- ? "CS Creation Class Name: " + $wmiObj.CSCreationClassName
- ? "CSD Version: " + $wmiObj.CSDVersion
- ? "CS Name: " + $wmiObj.CSName
- ? "Description: " + $wmiObj.Description
- ? "Name: " + $wmiObj.Name
- ? "Operating System SKU: " + $wmiObj.OperatingSystemSKU
- ? $wmiObj.Organization
- ? "OS Architecture: " + $wmiObj.OSArchitecture
- ? "OS Product Suite: " +$wmiObj.OSProductSuite
- ? "OS Type: " + $wmiObj.OSType
- ? "Other Type Description: " + $wmiObj.OtherTypeDescription
- ? "Plus Product ID: " + $wmiObj.PlusProductID
- ? "Plus Version Number: " + $wmiObj.PlusVersionNumber
- ? "Product Type: " + $wmiObj.ProductType
- ? "Serial Number: " + $wmiObj.SerialNumber
- ? "Status: " + $wmiObj.Status
- ? "Version: " + $wmiObj.Version
- Next
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement