Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all articles
Browse latest Browse all 8719

How to get GUID all of user in OU

$
0
0

I have use exchang svr 2013 .

How to get GUID of user all in OU ?

currently i use scriptr exchange power shell

$username = "username"
$guid = (Get-Mailbox $username).ExchangeGUID
$upn = (Get-User $username).UserPrincipalName
$upnsuffix = $upn.Split("@")[1] 
$ServerName = "$guid@$upnsuffix"
write-host $ServerName


Viewing all articles
Browse latest Browse all 8719

Trending Articles



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