|Microsoft Operations Manager|
The ServicePackInfoproperty gets information about installed service packs.
For Windows NT and Windows 2000, the return value is a string (such as Service Pack 3) that indicates the latest service pack installed on the system. If no service pack has been installed, the string is empty. For Microsoft Windows 9x, the return value is a string that provides additional information about the operating system.
The following example shows how to access the service pack information.
[VBScript] Dim objSystemManager, strSPInfo Set objSystemManager = CreateObject("OpScrUtil.SystemManager") strSPInfo = objSystemManager.ServicePackInfo Set objSystemManager = Nothing
Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1
Did you find this information useful? Please send your suggestions and comments about the documentation to firstname.lastname@example.org.