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

805 times
Add to favorites
Office 365
E-mail Twitter 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: ( [], PSRemotingTransportException
          + FullyQualifiedErrorId : JobFailure
          + PSComputerName        :
  • 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 "" 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.