Hi,
I've seen plenty of posts on how to use PowerCLI to un/re/join a host into AD domain, but nothing on how to query the host if it's already part of any domain. Ideally there is something in get-view, but I can live with other methods too.
Thanks