I got a request to extract the Lync user list based on the Organizational Unit
Below is the script to extract the user list based on the Organization Unit
Below is the script to extract the user list based on the Organization Unit
Get-Csuser | where
{$_.identity -match "OUName"} | Select-
Object Identity,
DisplayName, SipAddress, ConferencingPolicy,EnterpriseVoiceEnab
led,SamaccountName,ExternalAccessPolicy,DialPlan,PinPolicy
| Export-csv -path D:\Lyncusers_OU.csv
No comments:
Post a Comment