How to list in Powershell all disabled accounts with access to shared mailboxe's ?
Hello,I'm trying to list in Powershell all disabled users from AD with access to shared mailboxe's.Is there any way to list accesses without usingvaraible (static txt file with users)?.Example code for 1 userbeneath:$user_with_permision='*'Get-Mailbox -resultsize unlimited | Get-MailboxPermission -user $* | ft acc*,identity -autoI'll be very thankful for any suggestion.Mac
September 17th, 2009 9:11am

Manjit thanks..it worked.. Krishna We need to have Quest tools to run your cmd
Free Windows Admin Tool Kit Click here and download it now
November 13th, 2010 8:28am

Does not work on my shell but instead Get-User -recipientTypedetails UserMailbox, SharedMailbox, RoomMailbox | where{$_.UserAccountControl -match "AccountDisabled"}
September 18th, 2012 6:55am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics