Exchange 2007 Powershell help
Hi All, hopefully someone can help. im looking for a powershell script to list (and export) all mailboxes which are hidden, also listing the last access date and mailbox size. am i asking for too much?
July 29th, 2011 4:11am

hi Here is the shell command [PS] C:\Documents and Settings\raj-adm>$AdminSessionADSettings.ViewEntireForest=$true [PS] C:\Documents and Settings\raj-adm>Get-Mailbox -resultsize unlimited |where {$_.hiddenfromaddresslistsenabled -eq "true"} | Export-Csv c:\hidefrom.csv Inform if any error thrown...
Free Windows Admin Tool Kit Click here and download it now
July 29th, 2011 5:34am

thanks for the reply - but i figured it out - i used the following get-mailbox -resultsize unlimited | where {$_.HiddenFromAddressListsEnabled -Eq "True"} | get-mailboxstatistics | Select displayname,totalitemsize,lastlogontime
July 29th, 2011 5:37am

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

Other recent topics Other recent topics