Answers:

1) Debug. Executes Privileged Operations. From the SDK: Revokes and Resets Privileges

2) "Primary=true". Used to verify that the returned OS is the primary OS that WMI is 'finding'.

3) value of $OpSys/ Jpols is correct. The line: $OpSysSet = $ObjShutdown.ExecQuery("Select * from Win32_OperatingSystem where Primary=true") creates an object that is a collection (array) of all the installed operating systems. Therefore it must be parsed to operate instructions against it.

[ 21. November 2002, 15:12: Message edited by: Chris S. ]