[TOC]

PS > Get-WmiObject Win32_UserAccount  #显示计算机中的账号利用class
AccountType : 512
Caption : WEIYIGEEK\Administrator
Domain : WEIYIGEEK
SID : S-1-5-21-923396991-3399624210-3190802951-500
FullName :
Name : Administrator


Get-WmiObject Win32_UserAccount -filter "LocalAccount=True AND Name='guest'" #过滤属性显示指定条件的用户
AccountType : 512
Caption : WEIYIGEEK\guest
Domain : WEIYIGEEK
SID : S-1-5-21-923396991-3399624210-3190802951-501
FullName :
Name : guest
PS > Get-WmiObject Win32_Processor  #CPU处理器信息
Caption : Intel64 Family 6 Model 60 Stepping 3
DeviceID : CPU0
Manufacturer : GenuineIntel
MaxClockSpeed : 3301
Name : Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
SocketDesignation : SOCKET 0