From ecb1e825768e889b4534e2ba07d94fdace048a26 Mon Sep 17 00:00:00 2001 From: sjmosher Date: Fri, 16 Jun 2023 11:13:17 -0700 Subject: [PATCH] Update Mailbox_Forwarding_inventoryV2.ps1 Updated CmdletBinding to remove linebreak for required param --- Mailbox_Forwarding_inventoryV2.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mailbox_Forwarding_inventoryV2.ps1 b/Mailbox_Forwarding_inventoryV2.ps1 index ed08701..7beaf7c 100644 --- a/Mailbox_Forwarding_inventoryV2.ps1 +++ b/Mailbox_Forwarding_inventoryV2.ps1 @@ -1,7 +1,6 @@ #Requires -Version 3.0 #Requires -Modules @{ ModuleName="ExchangeOnlineManagement"; ModuleVersion="3.0.0" } -[CmdletBinding()] -param([switch]$IncludeAll,[switch]$IncludeUserMailboxes,[switch]$IncludeSharedMailboxes,[switch]$IncludeRoomMailboxes,[switch]$CheckInboxRules,[switch]$CheckCalendarDelegates,[switch]$CheckTransportRules,[switch]$CheckTenantControls) +[CmdletBinding()]param([switch]$IncludeAll,[switch]$IncludeUserMailboxes,[switch]$IncludeSharedMailboxes,[switch]$IncludeRoomMailboxes,[switch]$CheckInboxRules,[switch]$CheckCalendarDelegates,[switch]$CheckTransportRules,[switch]$CheckTenantControls) #For details on what the script does and how to run it, check: https://www.michev.info/blog/post/4466/report-on-microsoft-365-mailbox-forwarding-all-methods-via-powershell