That worked great! Still trying to take my beginner understanding of PS to the next level. Any suggestions of sites or tools to expand the foundations of PS to real world use would be great :)
On Tue, Aug 10, 2010 at 8:33 AM, Campbell, Rob < [email protected]> wrote: > Get-mailbox –resultsize unlimited | select > displayname,managedfoldermailboxpolicy | sort displayname | export-csv > c:\somedir\mbx_policy.csv -notype > > > > *From:* Eric [mailto:[email protected]] > *Sent:* Tuesday, August 10, 2010 10:28 AM > *To:* MS-Exchange Admin Issues > *Subject:* Powershell List Applied Managed Folder Policy > > > > I am trying to create a powershell script/command to list all the mailboxes > in our organization and which managed folder policies are applied. This is > what I used to apply the policy but want to verify that all the mailboxes > were applied the policy. > > Get-User -organizationalUnit staff | Where-Object {$_.RecipientType -eq > "UserMailbox"} | Set-Mailbox -ManagedFolderMailboxPolicy "Default Managed > Custom Folders" > > Thanks! > > ************************************************************************************************** > Note: > The information contained in this message may be privileged and confidential > and > protected from disclosure. If the reader of this message is not the intended > recipient, or an employee or agent responsible for delivering this message to > the intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. If you > have received this communication in error, please notify us immediately by > replying to the message and deleting it from your computer. > ************************************************************************************************** > >
