# Get-WmiObject -Namespace root\cimv2 -Class Win32_ComputerSystem | Select Name, Domain
# wmic computersystem get domain