IADsComputer Property: ComputerID

Property Name
ComputerID

Property Type
String

Description
It gets the globally unique identifier (Ethernet-ID) assigned to the computer.
This property is read-only.

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.ComputerID

 

See Also