Szukaj na tym blogu

środa, 1 lipca 2015

Show disabled AD account with still enabled Lync account and assigned DID numbers

When You disable AD account it is not disabled in Lync automatically and phone number assigned to such user is still in use.

Get-CsAdUser | ?{$_.UserAccountControl -match "AccountDisabled" -and $_.Enabled -eq $true} | get-csuser | ft Name,Enabled,Lineuri -auto

Brak komentarzy:

Prześlij komentarz