Audit - Mailbox Rules to External Recipients

As part of your security protocol, you may wish to audit user mailboxes for rules that deliver messages to external recipients.  You can use this script to collect that data.Update:Fixed following error:Cannot process argument transformation on parameter 'Mailbox'. Cannot convert

 
 
 
 
 
(0)
805 times
Add to favorites
Office 365
2/5/2018
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Getting these errors after the script running for a while
    1 Posts | Last post January 05, 2019
    • Starting a command on the remote server failed with the following error message : Access is denied. For more information, see the
      about_Remote_Troubleshooting Help topic.
          + CategoryInfo          : OperationStopped: (outlook.office365.com:String) [], PSRemotingTransportException
          + FullyQualifiedErrorId : JobFailure
          + PSComputerName        : outlook.office365.com
  • Error
    2 Posts | Last post November 29, 2017
    • trying to run on on-prem exchange 2010 and get the following error for all users.
      
      [PS] C:\>.\Audit-MailboxRuleToExternalRecipient.ps1
      Cannot process argument transformation on parameter 'Mailbox'. Cannot convert the "user@ourdomain.com" value of type "Microsoft.Exchange.Data.Smt
      pAddress" to type "Microsoft.Exchange.Configuration.Tasks.MailboxIdParameter".
          + CategoryInfo          : InvalidData: (:) [Get-InboxRule], ParameterBindin...mationException
          + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-InboxRule
      
    • I found the error and have updated the script.