IADsComputer Property: OperatingSystem

Property Name
OperatingSystem

Property Type
String

Description
It gets the name of the operating system used on the computer.

Remarks
This property is read from the registry of a remote computer. If the remote computer is running Windows 95 then you must ensure that the flag named Enable Remote Administration of Server has been made ON through Control Panel.

Example

Dim ComputerObject As IADsComputer
'Fill in the correct values for <DomainName> and <ComputerName>
Set ComputerObject = GetObject("NTDS://<DomainName>/<ComputerName>")
Debug.Print ComputerObject.OperatingSystem

 

See Also