Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

How to get which domain a user belongs to via powershell

$
0
0

Hi Guys

  I have a forest that contains many subdomain, like

Forest Root: contoso.com

Child Domain: a.contoso.com ; b.contoso.com and so on, now I'd like to write a powershell query to find out a which domain a user belongs to , was it possible ?


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>