How do I check if a domain is connected with PowerShell