天天看點

判斷一個計算機是不是域主機的幾個方法

1 Get-WmiObject  Win32_ComputerSystem

Domain              : Cotoso.com

Manufacturer        : HP

Model               : ProLiant DL360 G7

Name                : BJDC01

PrimaryOwnerName    : Windows 使用者

TotalPhysicalMemory : 34349043712

2 Get-WmiObject Win32_OperatingSystem

SystemDirectory : C:\Windows\system32

Organization    : Contoso

BuildNumber     : 7601

RegisteredUser  : Windows User

SerialNumber    : 55041-011-2610784-86296

Version         : 6.1.7601

本文轉自handsome7038 51CTO部落格,原文連結:http://blog.51cto.com/lixiaosong/1349971

繼續閱讀