Check if a computer is member of a domain or workgroup via PowerShell