天天看点

判断一个计算机是不是域主机的几个方法

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

继续阅读