Jump to content

Recommended Posts

Posted

Hi

 

I am currently trying to enable auditing of mailboxes on all non-owner mailbox access.

 

I know I have to run these powershell cmds:-

 

$UserMailboxes = Get-mailbox -Filter {(RecipientTypeDetails -eq 'UserMailbox')}

 

$UserMailboxes | ForEach {Set-Mailbox $_.Identity -AuditEnabled $true}

 

I have over 1000 mailboxes to change so what do I need to change with the script for it to work?

 

Regards

 

Jon

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...