IADsComputer Property: ProcessorCount

Property Name
ProcessorCount

Property Type
String

Description
It gets the number of processors in 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.ProcessorCount

 

See Also