From 13259a0add2b5b0a04720b1bad8c061dd2f5f50e Mon Sep 17 00:00:00 2001 From: "Arpita Mohapatra (from Dev Box)" Date: Fri, 8 Nov 2024 10:49:21 +0530 Subject: [PATCH 01/58] initial changes for migration --- .../MSFT_EXOMigration/MSFT_EXOMigration.psm1 | 600 ++++++++++++++++++ .../MSFT_EXOMigration.schema.mof | 25 + .../DSCResources/MSFT_EXOMigration/readme.md | 5 + .../MSFT_EXOMigration/settings.json | 34 + .../Resources/EXOMigration/1-Create.ps1 | 43 ++ .../Resources/EXOMigration/2-Update.ps1 | 43 ++ .../Resources/EXOMigration/3-Remove.ps1 | 43 ++ 7 files changed, 793 insertions(+) create mode 100644 Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 create mode 100644 Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.schema.mof create mode 100644 Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/readme.md create mode 100644 Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/settings.json create mode 100644 Modules/Microsoft365DSC/Examples/Resources/EXOMigration/1-Create.ps1 create mode 100644 Modules/Microsoft365DSC/Examples/Resources/EXOMigration/2-Update.ps1 create mode 100644 Modules/Microsoft365DSC/Examples/Resources/EXOMigration/3-Remove.ps1 diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 new file mode 100644 index 0000000000..bf95f16100 --- /dev/null +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 @@ -0,0 +1,600 @@ +function Get-TargetResource +{ + [CmdletBinding()] + [OutputType([System.Collections.Hashtable])] + param + ( + [Parameter(Mandatory = $true)] + [System.String] + $Identity, + + [Parameter()] + [System.Byte[]] + $CSVData, + + [Parameter()] + [System.String[]] + $NotificationEmails, + + [Parameter()] + [System.DateTime] + $CompleteAfter, + + [Parameter()] + [System.Boolean] + $AddUsers, + + [Parameter()] + [System.String] + $BadItemLimit, + + [Parameter()] + [System.String] + $LargeItemLimit, + + [Parameter()] + [System.String[]] + $MoveOptions, + + [Parameter()] + [System.String[]] + $SkipMerging, + + [Parameter()] + [System.DateTime] + $StartAfter, + + [Parameter()] + [System.Boolean] + $Update, + + [Parameter()] + [System.String] + $Status, + + [Parameter()] + [System.String] + $TargetDeliveryDomain, + + [Parameter()] + [System.String] + $SourceEndpoint, + + [Parameter()] + [System.String[]] + $MigrationUsers, + + [Parameter()] + [ValidateSet('Present', 'Absent')] + [System.String] + $Ensure, + + [Parameter()] + [System.Management.Automation.PSCredential] + $Credential, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint, + + [Parameter()] + [Switch] + $ManagedIdentity, + + [Parameter()] + [System.String[]] + $AccessTokens + ) + + New-M365DSCConnection -Workload 'ExchangeOnline' ` + -InboundParameters $PSBoundParameters | Out-Null + + Confirm-M365DSCDependencies + + $ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '') + $CommandName = $MyInvocation.MyCommand + $data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName ` + -CommandName $CommandName ` + -Parameters $PSBoundParameters + Add-M365DSCTelemetryEvent -Data $data + + $nullResult = $PSBoundParameters + $nullResult.Ensure = 'Absent' + try + { + if ($null -ne $Script:exportedInstances -and $Script:ExportMode) + { + $instance = $Script:exportedInstances | Where-Object -FilterScript {$_.Identity.Name -eq $Identity} + } + else + { + $instance = Get-MigrationBatch -Identity $Identity -ErrorAction Stop + } + if ($null -eq $instance) + { + return $nullResult + } + + $Users = Get-MigrationUser -BatchId $Identity + $UserEmails = $Users | Select-Object -ExpandProperty Identity + + $results = @{ + Identity = $Identity + CSVData = [System.Byte[]]$instance.CSVData + NotificationEmails = [System.String[]]$instance.NotificationEmails + CompleteAfter = $instance.CompleteAfter + AddUsers = [System.Boolean]$instance.AddUsers + BadItemLimit = [System.String]$instance.BadItemLimit + LargeItemLimit = [System.String]$instance.LargeItemLimit + MoveOptions = [System.String[]]$instance.MoveOptions + SkipMerging = [System.String[]]$instance.SkipMerging + StartAfter = $instance.StartAfter + Update = [System.Boolean]$instance.Update + Ensure = 'Present' + Credential = $Credential + ApplicationId = $ApplicationId + TenantId = $TenantId + CertificateThumbprint = $CertificateThumbprint + ManagedIdentity = $ManagedIdentity.IsPresent + AccessTokens = $AccessTokens + Status = $instance.Status.Value + MigrationUsers = $UserEmails + SourceEndpoint = $instance.SourceEndpoint.Identity.Id + TargetDeliveryDomain = $instance.TargetDeliveryDomain + } + + return [System.Collections.Hashtable] $results + } + catch + { + New-M365DSCLogEntry -Message 'Error retrieving data:' ` + -Exception $_ ` + -Source $($MyInvocation.MyCommand.Source) ` + -TenantId $TenantId ` + -Credential $Credential + + return $nullResult + } +} +function Set-TargetResource +{ + [CmdletBinding()] + param + ( + [Parameter(Mandatory = $true)] + [System.String] + $Identity, + + [Parameter()] + [System.Byte[]] + $CSVData, + + [Parameter()] + [System.String[]] + $NotificationEmails, + + [Parameter()] + [System.DateTime] + $CompleteAfter, + + [Parameter()] + [System.Boolean] + $AddUsers, + + [Parameter()] + [System.String] + $BadItemLimit, + + [Parameter()] + [System.String] + $LargeItemLimit, + + [Parameter()] + [System.String[]] + $MoveOptions, + + [Parameter()] + [System.String[]] + $SkipMerging, + + [Parameter()] + [System.DateTime] + $StartAfter, + + [Parameter()] + [System.Boolean] + $Update, + + [Parameter()] + [System.String] + $Status, + + [Parameter()] + [System.String] + $TargetDeliveryDomain, + + [Parameter()] + [System.String] + $SourceEndpoint, + + [Parameter()] + [System.String[]] + $MigrationUsers, + + [Parameter()] + [ValidateSet('Present', 'Absent')] + [System.String] + $Ensure, + + [Parameter()] + [System.Management.Automation.PSCredential] + $Credential, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint, + + [Parameter()] + [Switch] + $ManagedIdentity, + + [Parameter()] + [System.String[]] + $AccessTokens + ) + + Confirm-M365DSCDependencies + + $ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '') + $CommandName = $MyInvocation.MyCommand + $data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName ` + -CommandName $CommandName ` + -Parameters $PSBoundParameters + Add-M365DSCTelemetryEvent -Data $data + + $currentInstance = Get-TargetResource @PSBoundParameters + + $setParameters = Remove-M365DSCAuthenticationParameter -BoundParameters $PSBoundParameters + + if ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Absent') + { + # Define the path for the CSV file to store the migration users + $csvFilePath = "$env:TEMP\MigrationUsers.csv" + + # Convert the list of users to a CSV format and save it + $MigrationUsers | Export-Csv -Path $csvFilePath -NoTypeInformation -Force + + $BatchParams = @{ + Name = $Identity # Use the existing Identity as the new batch name + CSVData = [System.IO.File]::ReadAllBytes($csvFilePath) # Load the CSV as byte array + NotificationEmails = $NotificationEmails # Use the same notification emails if provided + CompleteAfter = $CompleteAfter + StartAfter = $StartAfter + BadItemLimit = [System.String]$BadItemLimit + LargeItemLimit = $LargeItemLimit + SkipMerging = $SkipMerging + SourceEndpoint = $SourceEndpoint + TargetDeliveryDomain = $TargetDeliveryDomain + } + + # Create a new migration batch with the specified parameters + New-MigrationBatch @BatchParams + Write-Host "A new migration batch named '$($currentInstance.Identity)' has been created with the specified parameters." + } + + elseif ($Ensure -eq 'Absent' -and $currentInstance.Ensure -eq 'Present') + { + # Retrieve the migration batch + $migrationBatch = Get-MigrationBatch -Identity $currentInstance.Identity -ErrorAction Stop + + if ($migrationBatch.Status.Value -in @('Completed', 'CompletedWithErrors', 'Stopped', 'Failed', 'SyncedWithErrors')) + { + # If the migration batch is in a final state, remove it directly + Remove-MigrationBatch -Identity $currentInstance.Identity -Confirm:$false + Write-Host "Migration batch '$($currentInstance.Identity)' has been removed as it was in a completed or stopped state." + } + elseif ($migrationBatch.Status.Value -in @('InProgress', 'Syncing', 'Queued', 'Completing')) + { + # If the migration batch is in progress, stop it first + Stop-MigrationBatch -Identity $currentInstance.Identity -Confirm:$false + Write-Host "Migration batch '$($currentInstance.Identity)' was in progress and has been stopped." + + # Now remove the migration batch + Remove-MigrationBatch -Identity $currentInstance.Identity -Confirm:$false + Write-Host "Migration batch '$($currentInstance.Identity)' has been removed after stopping." + } + else + { + Write-Host "Migration batch '$($currentInstance.Identity)' is in an unexpected status: $($migrationBatch.Status.Value). Manual intervention may be required." + } + } + + elseif ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Present') + { + # Get the list of migration users for the current batch + $migrationUsers = Get-MigrationUser -BatchId $currentInstance.Identity | Select-Object -ExpandProperty Identity + + # Define the path for the CSV file to store the migration users + $csvFilePath = "$env:TEMP\MigrationUsers.csv" + + # Convert the list of users to a CSV format and save it + $migrationUsers | Export-Csv -Path $csvFilePath -NoTypeInformation -Force + + $BatchParams = @{ + Identity = $Identity # Use the existing Identity as the new batch name + CSVData = [System.IO.File]::ReadAllBytes($csvFilePath) # Load the CSV as byte array + NotificationEmails = $NotificationEmails # Use the same notification emails if provided + CompleteAfter = $currentInstance.CompleteAfter + StartAfter = $currentInstance.StartAfter + BadItemLimit = [System.String]$currentInstance.BadItemLimit + LargeItemLimit = $currentInstance.LargeItemLimit + MoveOptions = $currentInstance.MoveOptions + SkipMerging = $currentInstance.SkipMerging + SourceEndpoint = $SourceEndpoint + } + + Set-MigrationBatch @BatchParams + + $migrationBatch = Get-MigrationBatch -Identity $currentInstance.Identity -ErrorAction Stop + + if ($currentInstance.Status -eq 'Stopped' -and $migrationBatch.Status -eq 'Started') + { + # If currentInstance is stopped but migrationBatch is started, stop the migration batch + Stop-MigrationBatch -Identity $currentInstance.Identity -Confirm:$false + Write-Host "Migration batch '$($currentInstance.Identity)' was running and has been stopped to match the current instance status." + } + elseif ($currentInstance.Status -eq 'Started' -and $migrationBatch.Status -eq 'Stopped') + { + # If currentInstance is started but migrationBatch is stopped, start the migration batch + Start-MigrationBatch -Identity $currentInstance.Identity -Confirm:$false + Write-Host "Migration batch '$($currentInstance.Identity)' was stopped and has been started to match the current instance status." + } + } +} +function Test-TargetResource +{ + [CmdletBinding()] + [OutputType([System.Boolean])] + param + ( + [Parameter(Mandatory = $true)] + [System.String] + $Identity, + + [Parameter()] + [System.Byte[]] + $CSVData, + + [Parameter()] + [System.String[]] + $NotificationEmails, + + [Parameter()] + [System.DateTime] + $CompleteAfter, + + [Parameter()] + [System.Boolean] + $AddUsers, + + [Parameter()] + [System.String] + $BadItemLimit, + + [Parameter()] + [System.String] + $LargeItemLimit, + + [Parameter()] + [System.String[]] + $MoveOptions, + + [Parameter()] + [System.String[]] + $SkipMerging, + + [Parameter()] + [System.DateTime] + $StartAfter, + + [Parameter()] + [System.Boolean] + $Update, + + [Parameter()] + [System.String] + $TargetDeliveryDomain, + + [Parameter()] + [System.String] + $Status, + + [Parameter()] + [System.String] + $SourceEndpoint, + + [Parameter()] + [System.String[]] + $MigrationUsers, + + [Parameter()] + [ValidateSet('Present', 'Absent')] + [System.String] + $Ensure, + + [Parameter()] + [System.Management.Automation.PSCredential] + $Credential, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint, + + [Parameter()] + [Switch] + $ManagedIdentity, + + [Parameter()] + [System.String[]] + $AccessTokens + ) + + #Ensure the proper dependencies are installed in the current environment. + Confirm-M365DSCDependencies + + #region Telemetry + $ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '') + $CommandName = $MyInvocation.MyCommand + $data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName ` + -CommandName $CommandName ` + -Parameters $PSBoundParameters + Add-M365DSCTelemetryEvent -Data $data + #endregion + + $CurrentValues = Get-TargetResource @PSBoundParameters + $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() + + Write-Verbose -Message "Current Values: $(Convert-M365DscHashtableToString -Hashtable $CurrentValues)" + Write-Verbose -Message "Target Values: $(Convert-M365DscHashtableToString -Hashtable $ValuesToCheck)" + + $testResult = Test-M365DSCParameterState -CurrentValues $CurrentValues ` + -Source $($MyInvocation.MyCommand.Source) ` + -DesiredValues $PSBoundParameters ` + -ValuesToCheck $ValuesToCheck.Keys + + Write-Verbose -Message "Test-TargetResource returned $testResult" + + return $testResult +} +function Export-TargetResource +{ + [CmdletBinding()] + [OutputType([System.String])] + param + ( + [Parameter()] + [System.Management.Automation.PSCredential] + $Credential, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ApplicationSecret, + + [Parameter()] + [System.String] + $CertificateThumbprint, + + [Parameter()] + [Switch] + $ManagedIdentity, + + [Parameter()] + [System.String[]] + $AccessTokens + ) + + $ConnectionMode = New-M365DSCConnection -Workload 'ExchangeOnline' ` + -InboundParameters $PSBoundParameters + + Confirm-M365DSCDependencies + + #region Telemetry + $ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '') + $CommandName = $MyInvocation.MyCommand + $data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName ` + -CommandName $CommandName ` + -Parameters $PSBoundParameters + Add-M365DSCTelemetryEvent -Data $data + #endregion + + try + { + $Script:ExportMode = $true + [array] $Script:exportedInstances = Get-MigrationBatch -ErrorAction Stop + + $i = 1 + $dscContent = '' + if ($Script:exportedInstances.Length -eq 0) + { + Write-Host $Global:M365DSCEmojiGreenCheckMark + } + else + { + Write-Host "`r`n" -NoNewline + } + foreach ($config in $Script:exportedInstances) + { + $displayedKey = $config.Identity + Write-Host " |---[$i/$($Script:exportedInstances.Count)] $displayedKey" -NoNewline + $params = @{ + Identity = $config.Identity + Credential = $Credential + ApplicationId = $ApplicationId + TenantId = $TenantId + CertificateThumbprint = $CertificateThumbprint + ManagedIdentity = $ManagedIdentity.IsPresent + AccessTokens = $AccessTokens + } + + $Results = Get-TargetResource @Params + $Results = Update-M365DSCExportAuthenticationResults -ConnectionMode $ConnectionMode ` + -Results $Results + + $currentDSCBlock = Get-M365DSCExportContentForResource -ResourceName $ResourceName ` + -ConnectionMode $ConnectionMode ` + -ModulePath $PSScriptRoot ` + -Results $Results ` + -Credential $Credential + $dscContent += $currentDSCBlock + Save-M365DSCPartialExport -Content $currentDSCBlock ` + -FileName $Global:PartialExportFileName + $i++ + Write-Host $Global:M365DSCEmojiGreenCheckMark + } + return $dscContent + } + catch + { + Write-Host $Global:M365DSCEmojiRedX + + New-M365DSCLogEntry -Message 'Error during Export:' ` + -Exception $_ ` + -Source $($MyInvocation.MyCommand.Source) ` + -TenantId $TenantId ` + -Credential $Credential + + return '' + } +} diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.schema.mof new file mode 100644 index 0000000000..597dd00e2f --- /dev/null +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.schema.mof @@ -0,0 +1,25 @@ +[ClassVersion("1.0.0.0"), FriendlyName("EXOMigration")] +class MSFT_EXOMigration : OMI_BaseResource +{ + [Key, Description("The Identity parameter identifies the name of the current migration batch.")] String Identity; + [Write, Description("The CSVData parameter specifies the CSV file that contains information about the user mailboxes to be moved or migrated.")] String CSVData; + [Write, Description("The NotificationEmails parameter specifies one or more email addresses that migration status reports are sent to.")] String NotificationEmails[]; + [Write, Description("The CompleteAfter parameter specifies a delay before the batch is completed.")] DateTime CompleteAfter; + [Write, Description("The AddUsers parameter controls whether additional users can be dynamically added to an existing migration batch after it has been created.")] Boolean AddUsers; + [Write, Description("The BadItemLimit parameter specifies the maximum number of bad items that are allowed before the migration request fails.")] String BadItemLimit; + [Write, Description("The LargeItemLimit parameter specifies the maximum number of large items that are allowed before the migration request fails.")] String LargeItemLimit; + [Write, Description("The MoveOptions parameter specifies the stages of the migration that you want to skip for debugging purposes.")] String MoveOptions[]; + [Write, Description("The SkipMerging parameter specifies the stages of the migration that you want to skip for debugging purposes.")] String SkipMerging[]; + [Write, Description("The StartAfter parameter specifies a delay before the data migration for the users within the batch is started.")] DateTime StartAfter; + [Write, Description("The Update switch sets the Update flag on the migration batch.")] Boolean Update; + [Write, Description("The Status parameter returns information about migration users that have the specified status state.")] String Status; + [Write, Description("Migration Users states the list of the users/mailboxes that are part of a migration batch that are to be migrated.")] String MigrationUsers[]; + + [Write, Description("Specifies if the migration endpoint should exist or not."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; + [Write, Description("Credentials of the workload's Admin"), EmbeddedInstance("MSFT_Credential")] string Credential; + [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId; + [Write, Description("Id of the Azure Active Directory tenant used for authentication.")] String TenantId; + [Write, Description("Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication.")] String CertificateThumbprint; + [Write, Description("Managed ID being used for authentication.")] Boolean ManagedIdentity; + [Write, Description("Access token used for authentication.")] String AccessTokens[]; +}; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/readme.md b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/readme.md new file mode 100644 index 0000000000..fbfbeca943 --- /dev/null +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/readme.md @@ -0,0 +1,5 @@ +# EXOMigrationBatch + +## Description + +Use the MigrationBatch cmdlets to create and update a migration request for a batch of users. diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/settings.json b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/settings.json new file mode 100644 index 0000000000..aa620cf7fc --- /dev/null +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/settings.json @@ -0,0 +1,34 @@ +{ + "resourceName": "EXOMigration", + "description": "", + "roles": { + "read": [ + "Global Reader" + ], + "update": [ + "Exchange Administrator" + ] + }, + "permissions": { + "graph": { + "delegated": { + "read": [], + "update": [] + }, + "application": { + "read": [], + "update": [] + } + }, + "exchange": { + "requiredroles": [ + "User Options", + "Data Loss Prevention", + "Transport Rules", + "View-Only Configuration", + "Mail Recipients" + ], + "requiredrolegroups": "Organization Management" + } + } +} diff --git a/Modules/Microsoft365DSC/Examples/Resources/EXOMigration/1-Create.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOMigration/1-Create.ps1 new file mode 100644 index 0000000000..0680924ff4 --- /dev/null +++ b/Modules/Microsoft365DSC/Examples/Resources/EXOMigration/1-Create.ps1 @@ -0,0 +1,43 @@ +<# +This example is used to test new resources and showcase the usage of new resources being worked on. +It is not meant to use as a production baseline. +#> + +Configuration Example +{ + param( + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint + ) + Import-DscResource -ModuleName Microsoft365DSC + + node localhost + { + EXOMigration "EXOMigration-test" + { + AddUsers = $False; + BadItemLimit = ""; + CompleteAfter = "12/31/9999 11:59:59 PM"; + Ensure = "Present"; + Identity = "test"; + LargeItemLimit = ""; + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org"); + SkipMerging = @(); + Status = "Completed"; + Update = $False; + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } + } +} diff --git a/Modules/Microsoft365DSC/Examples/Resources/EXOMigration/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOMigration/2-Update.ps1 new file mode 100644 index 0000000000..58d163d6b3 --- /dev/null +++ b/Modules/Microsoft365DSC/Examples/Resources/EXOMigration/2-Update.ps1 @@ -0,0 +1,43 @@ +<# +This example is used to test new resources and showcase the usage of new resources being worked on. +It is not meant to use as a production baseline. +#> + +Configuration Example +{ + param( + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint + ) + Import-DscResource -ModuleName Microsoft365DSC + + node localhost + { + EXOMigration "EXOMigration-test" + { + AddUsers = $True; #Updated Property + BadItemLimit = ""; + CompleteAfter = "12/31/9999 11:59:59 PM"; + Ensure = "Present"; + Identity = "test"; + LargeItemLimit = ""; + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org"); + SkipMerging = @(); + Status = "Completed"; + Update = $False; + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } + } +} diff --git a/Modules/Microsoft365DSC/Examples/Resources/EXOMigration/3-Remove.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOMigration/3-Remove.ps1 new file mode 100644 index 0000000000..c208922010 --- /dev/null +++ b/Modules/Microsoft365DSC/Examples/Resources/EXOMigration/3-Remove.ps1 @@ -0,0 +1,43 @@ +<# +This example is used to test new resources and showcase the usage of new resources being worked on. +It is not meant to use as a production baseline. +#> + +Configuration Example +{ + param( + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint + ) + Import-DscResource -ModuleName Microsoft365DSC + + node localhost + { + EXOMigration "EXOMigration-test" + { + AddUsers = $False; + BadItemLimit = ""; + CompleteAfter = "12/31/9999 11:59:59 PM"; + Ensure = "Absent"; + Identity = "test"; + LargeItemLimit = ""; + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org"); + SkipMerging = @(); + Status = "Completed"; + Update = $False; + ApplicationId = $ApplicationId + TenantId = $TenantId + CertificateThumbprint = $CertificateThumbprint + } + } +} From fc6f01003286148f5c84cb2b75f080425dd250ea Mon Sep 17 00:00:00 2001 From: "Arpita Mohapatra (from Dev Box)" Date: Fri, 8 Nov 2024 18:45:03 +0530 Subject: [PATCH 02/58] Added UTs --- .../MSFT_EXOMigration/MSFT_EXOMigration.psm1 | 33 ++- .../Microsoft365DSC.EXOMigration.Tests.ps1 | 260 ++++++++++++++++++ 2 files changed, 278 insertions(+), 15 deletions(-) create mode 100644 Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 index bf95f16100..cb125202fc 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 @@ -116,7 +116,7 @@ function Get-TargetResource } else { - $instance = Get-MigrationBatch -Identity $Identity -ErrorAction Stop + $instance = Get-MigrationBatch -Identity $Identity -ErrorAction SilentlyContinue } if ($null -eq $instance) { @@ -277,8 +277,11 @@ function Set-TargetResource # Define the path for the CSV file to store the migration users $csvFilePath = "$env:TEMP\MigrationUsers.csv" - # Convert the list of users to a CSV format and save it - $MigrationUsers | Export-Csv -Path $csvFilePath -NoTypeInformation -Force + # Convert each item in the array to a custom object with an EmailAddress property + $csvContent = $MigrationUsers | ForEach-Object { [PSCustomObject]@{EmailAddress = $_} } + + # Export to CSV with the header "EmailAddress" + $csvContent | Export-Csv -Path $csvFilePath -NoTypeInformation -Force $BatchParams = @{ Name = $Identity # Use the existing Identity as the new batch name @@ -327,26 +330,26 @@ function Set-TargetResource elseif ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Present') { - # Get the list of migration users for the current batch - $migrationUsers = Get-MigrationUser -BatchId $currentInstance.Identity | Select-Object -ExpandProperty Identity - # Define the path for the CSV file to store the migration users $csvFilePath = "$env:TEMP\MigrationUsers.csv" - # Convert the list of users to a CSV format and save it - $migrationUsers | Export-Csv -Path $csvFilePath -NoTypeInformation -Force + # Convert each item in the array to a custom object with an EmailAddress property + $csvContent = $MigrationUsers | ForEach-Object { [PSCustomObject]@{EmailAddress = $_} } + + # Export to CSV with the header "EmailAddress" + $csvContent | Export-Csv -Path $csvFilePath -NoTypeInformation -Force $BatchParams = @{ Identity = $Identity # Use the existing Identity as the new batch name CSVData = [System.IO.File]::ReadAllBytes($csvFilePath) # Load the CSV as byte array NotificationEmails = $NotificationEmails # Use the same notification emails if provided - CompleteAfter = $currentInstance.CompleteAfter - StartAfter = $currentInstance.StartAfter - BadItemLimit = [System.String]$currentInstance.BadItemLimit - LargeItemLimit = $currentInstance.LargeItemLimit - MoveOptions = $currentInstance.MoveOptions - SkipMerging = $currentInstance.SkipMerging - SourceEndpoint = $SourceEndpoint + CompleteAfter = $CompleteAfter + StartAfter = $StartAfter + BadItemLimit = [System.String]$BadItemLimit + LargeItemLimit = $LargeItemLimit + SkipMerging = $SkipMerging + Update = $Update + AddUsers = $AddUsers } Set-MigrationBatch @BatchParams diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 new file mode 100644 index 0000000000..2ee7018452 --- /dev/null +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 @@ -0,0 +1,260 @@ +[CmdletBinding()] +param( +) +$M365DSCTestFolder = Join-Path -Path $PSScriptRoot ` + -ChildPath '..\..\Unit' ` + -Resolve +$CmdletModule = (Join-Path -Path $M365DSCTestFolder ` + -ChildPath '\Stubs\Microsoft365.psm1' ` + -Resolve) +$GenericStubPath = (Join-Path -Path $M365DSCTestFolder ` + -ChildPath '\Stubs\Generic.psm1' ` + -Resolve) +Import-Module -Name (Join-Path -Path $M365DSCTestFolder ` + -ChildPath '\UnitTestHelper.psm1' ` + -Resolve) + +$CurrentScriptPath = $PSCommandPath.Split('\') +$CurrentScriptName = $CurrentScriptPath[$CurrentScriptPath.Length -1] +$ResourceName = $CurrentScriptName.Split('.')[1] +$Global:DscHelper = New-M365DscUnitTestHelper -StubModule $CmdletModule ` + -DscResource $ResourceName -GenericStubModule $GenericStubPath + +Describe -Name $Global:DscHelper.DescribeHeader -Fixture { + InModuleScope -ModuleName $Global:DscHelper.ModuleName -ScriptBlock { + Invoke-Command -ScriptBlock $Global:DscHelper.InitializeScript -NoNewScope + BeforeAll { + + $secpasswd = ConvertTo-SecureString (New-Guid | Out-String) -AsPlainText -Force + $Credential = New-Object System.Management.Automation.PSCredential ('tenantadmin@mydomain.com', $secpasswd) + + Mock -CommandName Confirm-M365DSCDependencies -MockWith { + } + + Mock -CommandName New-M365DSCConnection -MockWith { + return "Credentials" + } + + Mock -CommandName Get-MigrationBatch -MockWith { + } + + Mock -CommandName Set-MigrationBatch -MockWith { + } + + Mock -CommandName New-MigrationBatch -MockWith { + } + + Mock -CommandName Remove-MigrationBatch -MockWith { + } + + Mock -CommandName Stop-MigrationBatch -MockWith { + } + + Mock -CommandName Get-MigrationUser -MockWith { + } + + # Mock Write-Host to hide output during the tests + Mock -CommandName Write-Host -MockWith { + } + $Script:exportedInstances =$null + $Script:ExportMode = $false + } + # Test contexts + Context -Name "The instance should exist but it DOES NOT" -Fixture { + BeforeAll { + $testParams = @{ + AddUsers = $False; + BadItemLimit = "Unlimited"; + CompleteAfter = "7/30/2020 9:00:00 PM"; + Credential = $Credscredential; + Ensure = "Present"; + Identity = "Arpita"; + LargeItemLimit = "Unlimited"; + MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MoveOptions = @(); + NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + SkipMerging = @("abc"); + SourceEndpoint = "gmailCalendar"; + StartAfter = "7/30/2020 9:00:00 PM"; + Status = "Completing"; + TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; + Update = $False; + } + + Mock -CommandName Get-MigrationBatch -MockWith { + return $null + } + } + It 'Should return Values from the Get method' { + (Get-TargetResource @testParams).Ensure | Should -Be 'Absent' + } + It 'Should return false from the Test method' { + Test-TargetResource @testParams | Should -Be $false + } + + It 'Should create a new instance from the Set method' { + Set-TargetResource @testParams + Should -Invoke -CommandName New-MigrationBatch -Exactly 1 + } + } + + Context -Name "The instance exists but it SHOULD NOT but in progress state" -Fixture { + BeforeAll { + $testParams = @{ + AddUsers = $False; + BadItemLimit = "Unlimited"; + CompleteAfter = "7/30/2020 9:00:00 PM"; + Credential = $Credscredential; + Ensure = "Absent"; + Identity = "Arpita"; + LargeItemLimit = "Unlimited"; + MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MoveOptions = @(); + NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + SkipMerging = @("abc"); + SourceEndpoint = "gmailCalendar"; + StartAfter = "7/30/2020 9:00:00 PM"; + Status = "Completing"; + TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; + Update = $False; + } + + Mock -CommandName Get-MigrationBatch -MockWith { + return @{ + AddUsers = $False; + BadItemLimit = "Unlimited"; + CompleteAfter = "7/30/2020 9:00:00 PM"; + Credential = $Credscredential; + Ensure = "Present"; + Identity = "Arpita"; + LargeItemLimit = "Unlimited"; + MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MoveOptions = @(); + NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + SkipMerging = @("abc"); + SourceEndpoint = "gmailCalendar"; + StartAfter = "7/30/2020 9:00:00 PM"; + Status = "Completing"; + TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; + Update = $False; + } + } + } + It 'Should return Values from the Get method' { + (Get-TargetResource @testParams).Ensure | Should -Be 'Present' + } + It 'Should return false from the Test method' { + Test-TargetResource @testParams | Should -Be $false + } + + It 'Should remove the instance from the Set method' { + Set-TargetResource @testParams + Should -Invoke -CommandName Stop-MigrationBatch -Exactly 1 + Should -Invoke -CommandName Remove-MigrationBatch -Exactly 1 + } + } + + Context -Name "The instance exists but it SHOULD NOT but in completion state" -Fixture { + BeforeAll { + $testParams = @{ + AddUsers = $False; + BadItemLimit = "Unlimited"; + CompleteAfter = "7/30/2020 9:00:00 PM"; + Credential = $Credscredential; + Ensure = "Absent"; + Identity = "Arpita"; + LargeItemLimit = "Unlimited"; + MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MoveOptions = @(); + NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + SkipMerging = @("abc"); + SourceEndpoint = "gmailCalendar"; + StartAfter = "7/30/2020 9:00:00 PM"; + Status = "Completed"; + TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; + Update = $False; + } + + Mock -CommandName Get-MigrationBatch -MockWith { + return @{ + AddUsers = $False; + BadItemLimit = "Unlimited"; + CompleteAfter = "7/30/2020 9:00:00 PM"; + Credential = $Credscredential; + Ensure = "Present"; + Identity = "Arpita"; + LargeItemLimit = "Unlimited"; + MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MoveOptions = @(); + NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + SkipMerging = @("abc"); + SourceEndpoint = "gmailCalendar"; + StartAfter = "7/30/2020 9:00:00 PM"; + Status = "Completed"; + TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; + Update = $False; + } + } + } + It 'Should return Values from the Get method' { + (Get-TargetResource @testParams).Ensure | Should -Be 'Present' + } + It 'Should return false from the Test method' { + Test-TargetResource @testParams | Should -Be $false + } + + It 'Should remove the instance from the Set method' { + Set-TargetResource @testParams + Should -Invoke -CommandName Remove-MigrationBatch -Exactly 1 + } + } + + Context -Name "The instance exists and values are already in the desired state" -Fixture { + BeforeAll { + $testParams = @{ + AddUsers = $False; + BadItemLimit = "Unlimited"; + CompleteAfter = "7/30/2020 9:00:00 PM"; + Credential = $Credscredential; + Ensure = "Absent"; + Identity = "Arpita"; + LargeItemLimit = "Unlimited"; + MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MoveOptions = @(); + NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + SkipMerging = @("abc"); + SourceEndpoint = "gmailCalendar"; + StartAfter = "7/30/2020 9:00:00 PM"; + Status = "Completing"; + TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; + Update = $False; + } + + Mock -CommandName Get-MigrationBatch -MockWith { + return @{ + AddUsers = $False; + BadItemLimit = "Unlimited"; + CompleteAfter = "7/30/2020 9:00:00 PM"; + Credential = $Credscredential; + Ensure = "Absent"; + Identity = "Arpita"; + LargeItemLimit = "Unlimited"; + MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MoveOptions = @(); + NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + SkipMerging = @("abc"); + SourceEndpoint = "gmailCalendar"; + StartAfter = "7/30/2020 9:00:00 PM"; + Status = "Completing"; + TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; + Update = $False; + } + } + } + + It 'Should return true from the Test method' { + Test-TargetResource @testParams | Should -Be $true + } + } + } +} From 6fe7385d1b05f517d0720c948a5dc2115d371b35 Mon Sep 17 00:00:00 2001 From: Fabien Tschanz Date: Fri, 8 Nov 2024 22:03:26 +0100 Subject: [PATCH 03/58] Switch log type to Warning for not found Intune assignments --- CHANGELOG.md | 2 ++ .../Modules/M365DSCDRGUtil.psm1 | 24 +++++++++---------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 202464f1d7..33c1b15421 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ * Initial release. * IntuneAntivirusExclusionsPolicyLinux * Initial release. +* M365DSCDRGUtil + * Switch log type for not found Intune assignments to `Warning`. * MISC * Fixed issues with API Url's parsing. diff --git a/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 b/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 index c6ac727450..072d8bcfb3 100644 --- a/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 +++ b/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 @@ -992,14 +992,14 @@ function ConvertTo-IntunePolicyAssignment { $message = "Skipping assignment for the group with DisplayName {$($assignment.groupDisplayName)} as it could not be found in the directory.`r`n" $message += "Please update your DSC resource extract with the correct groupId or groupDisplayName." - Write-Verbose -Message $message + Write-Warning -Message $message $target = $null } if ($group -and $group.Count -gt 1) { $message = "Skipping assignment for the group with DisplayName {$($assignment.groupDisplayName)} as it is not unique in the directory.`r`n" $message += "Please update your DSC resource extract with the correct groupId or a unique group DisplayName." - Write-Verbose -Message $message + Write-Warning -Message $message $group = $null $target = $null } @@ -1008,7 +1008,7 @@ function ConvertTo-IntunePolicyAssignment { $message = "Skipping assignment for the group with Id {$($assignment.groupId)} as it could not be found in the directory.`r`n" $message += "Please update your DSC resource extract with the correct groupId or a unique group DisplayName." - Write-Verbose -Message $message + Write-Warning -Message $message $target = $null } } @@ -1165,14 +1165,14 @@ function ConvertTo-IntuneMobileAppAssignment { $message = "Skipping assignment for the group with DisplayName {$($assignment.groupDisplayName)} as it could not be found in the directory.`r`n" $message += "Please update your DSC resource extract with the correct groupId or groupDisplayName." - Write-Verbose -Message $message + Write-Warning -Message $message $target = $null } if ($group -and $group.Count -gt 1) { $message = "Skipping assignment for the group with DisplayName {$($assignment.groupDisplayName)} as it is not unique in the directory.`r`n" $message += "Please update your DSC resource extract with the correct groupId or a unique group DisplayName." - Write-Verbose -Message $message + Write-Warning -Message $message $group = $null $target = $null } @@ -1181,7 +1181,7 @@ function ConvertTo-IntuneMobileAppAssignment { $message = "Skipping assignment for the group with Id {$($assignment.groupId)} as it could not be found in the directory.`r`n" $message += "Please update your DSC resource extract with the correct groupId or a unique group DisplayName." - Write-Verbose -Message $message + Write-Warning -Message $message $target = $null } } @@ -1329,14 +1329,14 @@ function Update-DeviceConfigurationPolicyAssignment { $message = "Skipping assignment for the group with DisplayName {$($target.groupDisplayName)} as it could not be found in the directory.`r`n" $message += "Please update your DSC resource extract with the correct groupId or groupDisplayName." - Write-Verbose -Message $message + Write-Warning -Message $message $target = $null } if ($group -and $group.count -gt 1) { $message = "Skipping assignment for the group with DisplayName {$($target.groupDisplayName)} as it is not unique in the directory.`r`n" $message += "Please update your DSC resource extract with the correct groupId or a unique group DisplayName." - Write-Verbose -Message $message + Write-Warning -Message $message $group = $null $target = $null } @@ -1345,7 +1345,7 @@ function Update-DeviceConfigurationPolicyAssignment { $message = "Skipping assignment for the group with Id {$($target.groupId)} as it could not be found in the directory.`r`n" $message += "Please update your DSC resource extract with the correct groupId or a unique group DisplayName." - Write-Verbose -Message $message + Write-Warning -Message $message $target = $null } } @@ -1452,14 +1452,14 @@ function Update-DeviceAppManagementPolicyAssignment { $message = "Skipping assignment for the group with DisplayName {$($target.groupDisplayName)} as it could not be found in the directory.`r`n" $message += "Please update your DSC resource extract with the correct groupId or groupDisplayName." - Write-Verbose -Message $message + Write-Warning -Message $message $target = $null } if ($group -and $group.count -gt 1) { $message = "Skipping assignment for the group with DisplayName {$($target.groupDisplayName)} as it is not unique in the directory.`r`n" $message += "Please update your DSC resource extract with the correct groupId or a unique group DisplayName." - Write-Verbose -Message $message + Write-Warning -Message $message $group = $null $target = $null } @@ -1468,7 +1468,7 @@ function Update-DeviceAppManagementPolicyAssignment { $message = "Skipping assignment for the group with Id {$($target.groupId)} as it could not be found in the directory.`r`n" $message += "Please update your DSC resource extract with the correct groupId or a unique group DisplayName." - Write-Verbose -Message $message + Write-Warning -Message $message $target = $null } } From 170e2f45eccbf4ba6a4b4126e043067d70a6a1d6 Mon Sep 17 00:00:00 2001 From: Fabien Tschanz Date: Thu, 7 Nov 2024 10:12:49 +0100 Subject: [PATCH 04/58] Add Intune Antivirus Exclusions Policy for MacOS --- CHANGELOG.md | 6 +- ..._IntuneAntivirusExclusionsPolicyMacOS.psm1 | 657 ++++++++++++++++++ ...eAntivirusExclusionsPolicyMacOS.schema.mof | 39 ++ .../readme.md | 6 + .../settings.json | 45 ++ .../MSFT_IntuneAntivirusPolicyLinux.psm1 | 14 +- .../MSFT_IntuneAntivirusPolicyLinux/readme.md | 2 +- .../1-Create.ps1 | 47 ++ .../2-Update.ps1 | 47 ++ .../3-Remove.ps1 | 34 + .../M365DSCResourceGenerator.psm1 | 1 + ...neAntivirusExclusionsPolicyMacOS.Tests.ps1 | 404 +++++++++++ 12 files changed, 1293 insertions(+), 9 deletions(-) create mode 100644 Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/MSFT_IntuneAntivirusExclusionsPolicyMacOS.psm1 create mode 100644 Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/MSFT_IntuneAntivirusExclusionsPolicyMacOS.schema.mof create mode 100644 Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/readme.md create mode 100644 Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/settings.json create mode 100644 Modules/Microsoft365DSC/Examples/Resources/IntuneAntivirusExclusionsPolicyMacOS/1-Create.ps1 create mode 100644 Modules/Microsoft365DSC/Examples/Resources/IntuneAntivirusExclusionsPolicyMacOS/2-Update.ps1 create mode 100644 Modules/Microsoft365DSC/Examples/Resources/IntuneAntivirusExclusionsPolicyMacOS/3-Remove.ps1 create mode 100644 Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneAntivirusExclusionsPolicyMacOS.Tests.ps1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6845ab5c9e..9ed55341fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change log for Microsoft365DSC +# UNRELEASED + +* IntuneAntivirusExclusionsPolicyMacOS + * Initial release. + # 1.24.1106.3 * AzureBillingAccountScheduledAction @@ -19,7 +24,6 @@ * MISC * Fixed issues with API Url's parsing. - # 1.24.1106.1 * AADAccessReviewDefinition diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/MSFT_IntuneAntivirusExclusionsPolicyMacOS.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/MSFT_IntuneAntivirusExclusionsPolicyMacOS.psm1 new file mode 100644 index 0000000000..8875f95e1d --- /dev/null +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/MSFT_IntuneAntivirusExclusionsPolicyMacOS.psm1 @@ -0,0 +1,657 @@ +function Get-TargetResource +{ + [CmdletBinding()] + [OutputType([System.Collections.Hashtable])] + param + ( + #region resource generator code + [Parameter()] + [System.String] + $Description, + + [Parameter(Mandatory = $true)] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance[]] + $Exclusions, + + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance[]] + $Assignments, + #endregion + + [Parameter()] + [System.String] + [ValidateSet('Absent', 'Present')] + $Ensure = 'Present', + + [Parameter()] + [System.Management.Automation.PSCredential] + $Credential, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ApplicationSecret, + + [Parameter()] + [System.String] + $CertificateThumbprint, + + [Parameter()] + [Switch] + $ManagedIdentity, + + [Parameter()] + [System.String[]] + $AccessTokens + ) + + try + { + $ConnectionMode = New-M365DSCConnection -Workload 'MicrosoftGraph' ` + -InboundParameters $PSBoundParameters + + #Ensure the proper dependencies are installed in the current environment. + Confirm-M365DSCDependencies + + #region Telemetry + $ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '') + $CommandName = $MyInvocation.MyCommand + $data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName ` + -CommandName $CommandName ` + -Parameters $PSBoundParameters + Add-M365DSCTelemetryEvent -Data $data + #endregion + + $nullResult = $PSBoundParameters + $nullResult.Ensure = 'Absent' + + $getValue = $null + #region resource generator code + $getValue = Get-MgBetaDeviceManagementConfigurationPolicy -DeviceManagementConfigurationPolicyId $Id -ErrorAction SilentlyContinue + + if ($null -eq $getValue) + { + Write-Verbose -Message "Could not find an Intune Antivirus Exclusions Policy for macOS with Id {$Id}" + + if (-not [System.String]::IsNullOrEmpty($DisplayName)) + { + $getValue = Get-MgBetaDeviceManagementConfigurationPolicy ` + -Filter "Name eq '$DisplayName'" ` + -All ` + -ErrorAction SilentlyContinue + } + } + #endregion + if ($null -eq $getValue) + { + Write-Verbose -Message "Could not find an Intune Antivirus Exclusions Policy for macOS with Name {$DisplayName}." + return $nullResult + } + $Id = $getValue.Id + Write-Verbose -Message "An Intune Antivirus Exclusions Policy for macOS with Id {$Id} and Name {$DisplayName} was found" + + # Retrieve policy specific settings + [array]$settings = Get-MgBetaDeviceManagementConfigurationPolicySetting ` + -DeviceManagementConfigurationPolicyId $Id ` + -ExpandProperty 'settingDefinitions' ` + -All ` + -ErrorAction Stop + + $policySettings = @{} + $policySettings = Export-IntuneSettingCatalogPolicySettings -Settings $settings -ReturnHashtable $policySettings + + #region resource generator code + $complexExclusions = @() + foreach ($currentExclusions in $policySettings.exclusions) + { + $myExclusions = @{} + if ($null -ne $currentExclusions.exclusions_item_type) + { + $myExclusions.Add('Exclusions_item_type', $currentExclusions.exclusions_item_type) + } + if ($null -ne $currentExclusions.exclusions_item_extension) + { + $myExclusions.Add('Exclusions_item_extension', $currentExclusions.exclusions_item_extension) + } + if ($null -ne $currentExclusions.exclusions_item_isDirectory) + { + $myExclusions.Add('Exclusions_item_isDirectory', $currentExclusions.exclusions_item_isDirectory) + } + if ($null -ne $currentExclusions.exclusions_item_name) + { + $myExclusions.Add('Exclusions_item_name', $currentExclusions.exclusions_item_name) + } + if ($null -ne $currentExclusions.exclusions_item_path) + { + $myExclusions.Add('Exclusions_item_path', $currentExclusions.exclusions_item_path) + } + if ($myExclusions.values.Where({$null -ne $_}).Count -gt 0) + { + $complexExclusions += $myExclusions + } + } + $policySettings.Remove('exclusions') | Out-Null + #endregion + + $results = @{ + #region resource generator code + Description = $getValue.Description + DisplayName = $getValue.Name + RoleScopeTagIds = $getValue.RoleScopeTagIds + Id = $getValue.Id + Exclusions = $complexExclusions + Ensure = 'Present' + Credential = $Credential + ApplicationId = $ApplicationId + TenantId = $TenantId + ApplicationSecret = $ApplicationSecret + CertificateThumbprint = $CertificateThumbprint + ManagedIdentity = $ManagedIdentity.IsPresent + #endregion + } + $results += $policySettings + + $assignmentsValues = Get-MgBetaDeviceManagementConfigurationPolicyAssignment -DeviceManagementConfigurationPolicyId $Id + $assignmentResult = @() + if ($assignmentsValues.Count -gt 0) + { + $assignmentResult += ConvertFrom-IntunePolicyAssignment -Assignments $assignmentsValues -IncludeDeviceFilter $true + } + $results.Add('Assignments', $assignmentResult) + + return [System.Collections.Hashtable] $results + } + catch + { + New-M365DSCLogEntry -Message 'Error retrieving data:' ` + -Exception $_ ` + -Source $($MyInvocation.MyCommand.Source) ` + -TenantId $TenantId ` + -Credential $Credential + + return $nullResult + } +} + +function Set-TargetResource +{ + [CmdletBinding()] + param + ( + #region resource generator code + [Parameter()] + [System.String] + $Description, + + [Parameter(Mandatory = $true)] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance[]] + $Exclusions, + + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance[]] + $Assignments, + #endregion + [Parameter()] + [System.String] + [ValidateSet('Absent', 'Present')] + $Ensure = 'Present', + + [Parameter()] + [System.Management.Automation.PSCredential] + $Credential, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ApplicationSecret, + + [Parameter()] + [System.String] + $CertificateThumbprint, + + [Parameter()] + [Switch] + $ManagedIdentity, + + [Parameter()] + [System.String[]] + $AccessTokens + ) + + #Ensure the proper dependencies are installed in the current environment. + Confirm-M365DSCDependencies + + #region Telemetry + $ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '') + $CommandName = $MyInvocation.MyCommand + $data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName ` + -CommandName $CommandName ` + -Parameters $PSBoundParameters + Add-M365DSCTelemetryEvent -Data $data + #endregion + + $currentInstance = Get-TargetResource @PSBoundParameters + + $BoundParameters = Remove-M365DSCAuthenticationParameter -BoundParameters $PSBoundParameters + + $templateReferenceId = '43397174-2244-4006-b5ad-421b369e90d4_1' + $platforms = 'macOS' + $technologies = 'mdm,appleRemoteManagement,microsoftSense' + + if ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Absent') + { + Write-Verbose -Message "Creating an Intune Antivirus Exclusions Policy for macOS with Name {$DisplayName}" + $BoundParameters.Remove("Assignments") | Out-Null + + $settings = Get-IntuneSettingCatalogPolicySetting ` + -DSCParams ([System.Collections.Hashtable]$BoundParameters) ` + -TemplateId $templateReferenceId + + $createParameters = @{ + Name = $DisplayName + Description = $Description + TemplateReference = @{ templateId = $templateReferenceId } + Platforms = $platforms + Technologies = $technologies + Settings = $settings + } + + #region resource generator code + $policy = New-MgBetaDeviceManagementConfigurationPolicy -BodyParameter $createParameters + + if ($policy.Id) + { + $assignmentsHash = ConvertTo-IntunePolicyAssignment -IncludeDeviceFilter:$true -Assignments $Assignments + Update-DeviceConfigurationPolicyAssignment ` + -DeviceConfigurationPolicyId $policy.Id ` + -Targets $assignmentsHash ` + -Repository 'deviceManagement/configurationPolicies' + } + #endregion + } + elseif ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Present') + { + Write-Verbose -Message "Updating the Intune Antivirus Exclusions Policy for macOS with Id {$($currentInstance.Id)}" + $BoundParameters.Remove("Assignments") | Out-Null + + $settings = Get-IntuneSettingCatalogPolicySetting ` + -DSCParams ([System.Collections.Hashtable]$BoundParameters) ` + -TemplateId $templateReferenceId + + Update-IntuneDeviceConfigurationPolicy ` + -DeviceConfigurationPolicyId $currentInstance.Id ` + -Name $DisplayName ` + -Description $Description ` + -TemplateReferenceId $templateReferenceId ` + -Platforms $platforms ` + -Technologies $technologies ` + -Settings $settings + + #region resource generator code + $assignmentsHash = ConvertTo-IntunePolicyAssignment -IncludeDeviceFilter:$true -Assignments $Assignments + Update-DeviceConfigurationPolicyAssignment ` + -DeviceConfigurationPolicyId $currentInstance.Id ` + -Targets $assignmentsHash ` + -Repository 'deviceManagement/configurationPolicies' + #endregion + } + elseif ($Ensure -eq 'Absent' -and $currentInstance.Ensure -eq 'Present') + { + Write-Verbose -Message "Removing the Intune Antivirus Exclusions Policy for macOS with Id {$($currentInstance.Id)}" + #region resource generator code + Remove-MgBetaDeviceManagementConfigurationPolicy -DeviceManagementConfigurationPolicyId $currentInstance.Id + #endregion + } +} + +function Test-TargetResource +{ + [CmdletBinding()] + [OutputType([System.Boolean])] + param + ( + #region resource generator code + [Parameter()] + [System.String] + $Description, + + [Parameter(Mandatory = $true)] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance[]] + $Exclusions, + + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance[]] + $Assignments, + #endregion + + [Parameter()] + [System.String] + [ValidateSet('Absent', 'Present')] + $Ensure = 'Present', + + [Parameter()] + [System.Management.Automation.PSCredential] + $Credential, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ApplicationSecret, + + [Parameter()] + [System.String] + $CertificateThumbprint, + + [Parameter()] + [Switch] + $ManagedIdentity, + + [Parameter()] + [System.String[]] + $AccessTokens + ) + + #Ensure the proper dependencies are installed in the current environment. + Confirm-M365DSCDependencies + + #region Telemetry + $ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '') + $CommandName = $MyInvocation.MyCommand + $data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName ` + -CommandName $CommandName ` + -Parameters $PSBoundParameters + Add-M365DSCTelemetryEvent -Data $data + #endregion + + Write-Verbose -Message "Testing configuration of the Intune Antivirus Exclusions Policy for macOS with Id {$Id} and Name {$DisplayName}" + + $CurrentValues = Get-TargetResource @PSBoundParameters + [Hashtable]$ValuesToCheck = @{} + $MyInvocation.MyCommand.Parameters.GetEnumerator() | ForEach-Object { + if ($_.Key -notlike '*Variable' -or $_.Key -notin @('Verbose', 'Debug', 'ErrorAction', 'WarningAction', 'InformationAction')) + { + if ($null -ne $CurrentValues[$_.Key] -or $null -ne $PSBoundParameters[$_.Key]) + { + $ValuesToCheck.Add($_.Key, $null) + if (-not $PSBoundParameters.ContainsKey($_.Key)) + { + $PSBoundParameters.Add($_.Key, $null) + } + } + } + } + + if ($CurrentValues.Ensure -ne $Ensure) + { + Write-Verbose -Message "Test-TargetResource returned $false" + return $false + } + $testResult = $true + + #Compare Cim instances + foreach ($key in $PSBoundParameters.Keys) + { + $source = $PSBoundParameters.$key + $target = $CurrentValues.$key + if ($null -ne $source -and $source.GetType().Name -like '*CimInstance*') + { + $testResult = Compare-M365DSCComplexObject ` + -Source ($source) ` + -Target ($target) + + if (-not $testResult) + { + break + } + + $ValuesToCheck.Remove($key) | Out-Null + } + } + + $ValuesToCheck.Remove('Id') | Out-Null + $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck + + Write-Verbose -Message "Current Values: $(Convert-M365DscHashtableToString -Hashtable $CurrentValues)" + Write-Verbose -Message "Target Values: $(Convert-M365DscHashtableToString -Hashtable $PSBoundParameters)" + + if ($testResult) + { + $testResult = Test-M365DSCParameterState -CurrentValues $CurrentValues ` + -Source $($MyInvocation.MyCommand.Source) ` + -DesiredValues $PSBoundParameters ` + -ValuesToCheck $ValuesToCheck.Keys + } + + Write-Verbose -Message "Test-TargetResource returned $testResult" + + return $testResult +} + +function Export-TargetResource +{ + [CmdletBinding()] + [OutputType([System.String])] + param + ( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $Credential, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ApplicationSecret, + + [Parameter()] + [System.String] + $CertificateThumbprint, + + [Parameter()] + [Switch] + $ManagedIdentity, + + [Parameter()] + [System.String[]] + $AccessTokens + ) + + $ConnectionMode = New-M365DSCConnection -Workload 'MicrosoftGraph' ` + -InboundParameters $PSBoundParameters + + #Ensure the proper dependencies are installed in the current environment. + Confirm-M365DSCDependencies + + #region Telemetry + $ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '') + $CommandName = $MyInvocation.MyCommand + $data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName ` + -CommandName $CommandName ` + -Parameters $PSBoundParameters + Add-M365DSCTelemetryEvent -Data $data + #endregion + + try + { + #region resource generator code + $policyTemplateID = "43397174-2244-4006-b5ad-421b369e90d4_1" + [array]$getValue = Get-MgBetaDeviceManagementConfigurationPolicy ` + -Filter $Filter ` + -All ` + -ErrorAction Stop | Where-Object ` + -FilterScript { + $_.TemplateReference.TemplateId -eq $policyTemplateID + } + #endregion + + $i = 1 + $dscContent = '' + if ($getValue.Length -eq 0) + { + Write-Host $Global:M365DSCEmojiGreenCheckMark + } + else + { + Write-Host "`r`n" -NoNewline + } + foreach ($config in $getValue) + { + $displayedKey = $config.Id + if (-not [String]::IsNullOrEmpty($config.displayName)) + { + $displayedKey = $config.displayName + } + elseif (-not [string]::IsNullOrEmpty($config.name)) + { + $displayedKey = $config.name + } + Write-Host " |---[$i/$($getValue.Count)] $displayedKey" -NoNewline + $params = @{ + Id = $config.Id + DisplayName = $config.Name + Ensure = 'Present' + Credential = $Credential + ApplicationId = $ApplicationId + TenantId = $TenantId + ApplicationSecret = $ApplicationSecret + CertificateThumbprint = $CertificateThumbprint + ManagedIdentity = $ManagedIdentity.IsPresent + AccessTokens = $AccessTokens + } + + $Results = Get-TargetResource @Params + $Results = Update-M365DSCExportAuthenticationResults -ConnectionMode $ConnectionMode ` + -Results $Results + if ($null -ne $Results.Exclusions) + { + $complexTypeStringResult = Get-M365DSCDRGComplexTypeToString ` + -ComplexObject $Results.Exclusions ` + -CIMInstanceName 'MicrosoftGraphIntuneSettingsCatalogExclusions' + if (-not [String]::IsNullOrWhiteSpace($complexTypeStringResult)) + { + $Results.Exclusions = $complexTypeStringResult + } + else + { + $Results.Remove('Exclusions') | Out-Null + } + } + + if ($Results.Assignments) + { + $complexTypeStringResult = Get-M365DSCDRGComplexTypeToString -ComplexObject $Results.Assignments -CIMInstanceName DeviceManagementConfigurationPolicyAssignments + if ($complexTypeStringResult) + { + $Results.Assignments = $complexTypeStringResult + } + else + { + $Results.Remove('Assignments') | Out-Null + } + } + + $currentDSCBlock = Get-M365DSCExportContentForResource -ResourceName $ResourceName ` + -ConnectionMode $ConnectionMode ` + -ModulePath $PSScriptRoot ` + -Results $Results ` + -Credential $Credential + if ($Results.Exclusions) + { + $currentDSCBlock = Convert-DSCStringParamToVariable -DSCBlock $currentDSCBlock -ParameterName "Exclusions" -IsCIMArray:$True + } + + if ($Results.Assignments) + { + $currentDSCBlock = Convert-DSCStringParamToVariable -DSCBlock $currentDSCBlock -ParameterName "Assignments" -IsCIMArray:$true + } + + $dscContent += $currentDSCBlock + Save-M365DSCPartialExport -Content $currentDSCBlock ` + -FileName $Global:PartialExportFileName + $i++ + Write-Host $Global:M365DSCEmojiGreenCheckMark + } + return $dscContent + } + catch + { + Write-Host $Global:M365DSCEmojiRedX + + New-M365DSCLogEntry -Message 'Error during Export:' ` + -Exception $_ ` + -Source $($MyInvocation.MyCommand.Source) ` + -TenantId $TenantId ` + -Credential $Credential + + return '' + } +} + +Export-ModuleMember -Function *-TargetResource diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/MSFT_IntuneAntivirusExclusionsPolicyMacOS.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/MSFT_IntuneAntivirusExclusionsPolicyMacOS.schema.mof new file mode 100644 index 0000000000..61692545e8 --- /dev/null +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/MSFT_IntuneAntivirusExclusionsPolicyMacOS.schema.mof @@ -0,0 +1,39 @@ +[ClassVersion("1.0.0.0")] +class MSFT_DeviceManagementConfigurationPolicyAssignments +{ + [Write, Description("The type of the target assignment."), ValueMap{"#microsoft.graph.groupAssignmentTarget","#microsoft.graph.allLicensedUsersAssignmentTarget","#microsoft.graph.allDevicesAssignmentTarget","#microsoft.graph.exclusionGroupAssignmentTarget","#microsoft.graph.configurationManagerCollectionAssignmentTarget"}, Values{"#microsoft.graph.groupAssignmentTarget","#microsoft.graph.allLicensedUsersAssignmentTarget","#microsoft.graph.allDevicesAssignmentTarget","#microsoft.graph.exclusionGroupAssignmentTarget","#microsoft.graph.configurationManagerCollectionAssignmentTarget"}] String dataType; + [Write, Description("The type of filter of the target assignment i.e. Exclude or Include. Possible values are:none, include, exclude."), ValueMap{"none","include","exclude"}, Values{"none","include","exclude"}] String deviceAndAppManagementAssignmentFilterType; + [Write, Description("The Id of the filter for the target assignment.")] String deviceAndAppManagementAssignmentFilterId; + [Write, Description("The group Id that is the target of the assignment.")] String groupId; + [Write, Description("The group Display Name that is the target of the assignment.")] String groupDisplayName; + [Write, Description("The collection Id that is the target of the assignment.(ConfigMgr)")] String collectionId; +}; + +[ClassVersion("1.0.0.0")] +class MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions +{ + [Write, Description("Type - Depends on exclusions (0: Path, 1: File extension, 2: Process name)"), ValueMap{"0", "1", "2"}, Values{"0", "1", "2"}] String exclusions_item_type; + [Write, Description("File extension - Depends on exclusions_item_type=1")] String exclusions_item_extension; + [Write, Description("File name - exclusions_item_type=2")] String exclusions_item_name; + [Write, Description("Path - exclusions_item_type=0")] String exclusions_item_path; + [Write, Description("Is directory (false: Disabled, true: Enabled) - Depends on exclusions_item_type=0"), ValueMap{"false", "true"}, Values{"false", "true"}] String exclusions_item_isDirectory; +}; + +[ClassVersion("1.0.0.0"), FriendlyName("IntuneAntivirusExclusionsPolicyMacOS")] +class MSFT_IntuneAntivirusExclusionsPolicyMacOS : OMI_BaseResource +{ + [Write, Description("Policy description")] String Description; + [Key, Description("Policy name")] String DisplayName; + [Write, Description("List of Scope Tags for this Entity instance.")] String RoleScopeTagIds[]; + [Write, Description("The unique identifier for an entity. Read-only.")] String Id; + [Write, Description("Scan exclusions"), EmbeddedInstance("MSFT_MicrosoftGraphIntuneSettingsCatalogexclusions")] String Exclusions[]; + [Write, Description("Represents the assignment to the Intune policy."), EmbeddedInstance("MSFT_DeviceManagementConfigurationPolicyAssignments")] String Assignments[]; + [Write, Description("Present ensures the policy exists, absent ensures it is removed."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure; + [Write, Description("Credentials of the Admin"), EmbeddedInstance("MSFT_Credential")] string Credential; + [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId; + [Write, Description("Id of the Azure Active Directory tenant used for authentication.")] String TenantId; + [Write, Description("Secret of the Azure Active Directory tenant used for authentication."), EmbeddedInstance("MSFT_Credential")] String ApplicationSecret; + [Write, Description("Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication.")] String CertificateThumbprint; + [Write, Description("Managed ID being used for authentication.")] Boolean ManagedIdentity; + [Write, Description("Access token used for authentication.")] String AccessTokens[]; +}; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/readme.md b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/readme.md new file mode 100644 index 0000000000..3cc0102f6b --- /dev/null +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/readme.md @@ -0,0 +1,6 @@ + +# IntuneAntivirusExclusionsPolicyMacOS + +## Description + +Intune Antivirus Exclusions Policy for macOS diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/settings.json b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/settings.json new file mode 100644 index 0000000000..d32d971b67 --- /dev/null +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusExclusionsPolicyMacOS/settings.json @@ -0,0 +1,45 @@ +{ + "resourceName": "IntuneAntivirusExclusionsPolicyMacOS", + "description": "This resource configures an Intune Antivirus Exclusions Policy for macOS.", + "permissions": { + "graph": { + "delegated": { + "read": [ + { + "name": "DeviceManagementConfiguration.Read.All" + }, + { + "name": "Group.Read.All" + } + ], + "update": [ + { + "name": "DeviceManagementConfiguration.ReadWrite.All" + }, + { + "name": "Group.Read.All" + } + ] + }, + "application": { + "read": [ + { + "name": "DeviceManagementConfiguration.Read.All" + }, + { + "name": "Group.Read.All" + } + ], + "update": [ + { + "name": "DeviceManagementConfiguration.ReadWrite.All" + }, + { + "name": "Group.Read.All" + } + ] + } + } +} + +} diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyLinux/MSFT_IntuneAntivirusPolicyLinux.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyLinux/MSFT_IntuneAntivirusPolicyLinux.psm1 index 3dd9f006c1..72565b2ca6 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyLinux/MSFT_IntuneAntivirusPolicyLinux.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyLinux/MSFT_IntuneAntivirusPolicyLinux.psm1 @@ -201,7 +201,7 @@ function Get-TargetResource if ($null -eq $getValue) { - Write-Verbose -Message "Could not find an Intune Antivirus Policy Linux with Id {$Id}" + Write-Verbose -Message "Could not find an Intune Antivirus Policy for Linux with Id {$Id}" if (-not [System.String]::IsNullOrEmpty($DisplayName)) { @@ -213,11 +213,11 @@ function Get-TargetResource #endregion if ($null -eq $getValue) { - Write-Verbose -Message "Could not find an Intune Antivirus Policy Linux with Name {$DisplayName}." + Write-Verbose -Message "Could not find an Intune Antivirus Policy for Linux with Name {$DisplayName}." return $nullResult } $Id = $getValue.Id - Write-Verbose -Message "An Intune Antivirus Policy Linux with Id {$Id} and Name {$DisplayName} was found" + Write-Verbose -Message "An Intune Antivirus Policy for Linux with Id {$Id} and Name {$DisplayName} was found" # Retrieve policy specific settings [array]$settings = Get-MgBetaDeviceManagementConfigurationPolicySetting ` @@ -526,7 +526,7 @@ function Set-TargetResource if ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Absent') { - Write-Verbose -Message "Creating an Intune Antivirus Policy Linux with Name {$DisplayName}" + Write-Verbose -Message "Creating an Intune Antivirus Policy for Linux with Name {$DisplayName}" $BoundParameters.Remove("Assignments") | Out-Null $settings = Get-IntuneSettingCatalogPolicySetting ` @@ -557,7 +557,7 @@ function Set-TargetResource } elseif ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Present') { - Write-Verbose -Message "Updating the Intune Antivirus Policy Linux with Id {$($currentInstance.Id)}" + Write-Verbose -Message "Updating the Intune Antivirus Policy for Linux with Id {$($currentInstance.Id)}" $BoundParameters.Remove("Assignments") | Out-Null $settings = Get-IntuneSettingCatalogPolicySetting ` @@ -583,7 +583,7 @@ function Set-TargetResource } elseif ($Ensure -eq 'Absent' -and $currentInstance.Ensure -eq 'Present') { - Write-Verbose -Message "Removing the Intune Antivirus Policy Linux with Id {$($currentInstance.Id)}" + Write-Verbose -Message "Removing the Intune Antivirus Policy for Linux with Id {$($currentInstance.Id)}" #region resource generator code Remove-MgBetaDeviceManagementConfigurationPolicy -DeviceManagementConfigurationPolicyId $currentInstance.Id #endregion @@ -779,7 +779,7 @@ function Test-TargetResource Add-M365DSCTelemetryEvent -Data $data #endregion - Write-Verbose -Message "Testing configuration of the Intune Antivirus Policy Linux with Id {$Id} and Name {$DisplayName}" + Write-Verbose -Message "Testing configuration of the Intune Antivirus Policy for Linux with Id {$Id} and Name {$DisplayName}" $CurrentValues = Get-TargetResource @PSBoundParameters [Hashtable]$ValuesToCheck = @{} diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyLinux/readme.md b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyLinux/readme.md index d8060ea61a..eb17dbff4f 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyLinux/readme.md +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyLinux/readme.md @@ -3,4 +3,4 @@ ## Description -Intune Antivirus Policy Linux +Intune Antivirus Policy for Linux diff --git a/Modules/Microsoft365DSC/Examples/Resources/IntuneAntivirusExclusionsPolicyMacOS/1-Create.ps1 b/Modules/Microsoft365DSC/Examples/Resources/IntuneAntivirusExclusionsPolicyMacOS/1-Create.ps1 new file mode 100644 index 0000000000..8d1e5f3825 --- /dev/null +++ b/Modules/Microsoft365DSC/Examples/Resources/IntuneAntivirusExclusionsPolicyMacOS/1-Create.ps1 @@ -0,0 +1,47 @@ +<# +This example is used to test new resources and showcase the usage of new resources being worked on. +It is not meant to use as a production baseline. +#> + +Configuration Example +{ + param( + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint + ) + Import-DscResource -ModuleName Microsoft365DSC + + node localhost + { + IntuneAntivirusExclusionsPolicyMacOS 'myIntuneAntivirusExclusionsPolicyMacOS' + { + Assignments = @(); + Description = ""; + DisplayName = "Test"; + Ensure = "Present"; + Exclusions = @( + MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions{ + Exclusions_item_extension = '.dmg' + Exclusions_item_type = '1' + } + MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions{ + Exclusions_item_name = 'process1' + Exclusions_item_type = '2' + } + ); + RoleScopeTagIds = @("0"); + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } + } +} \ No newline at end of file diff --git a/Modules/Microsoft365DSC/Examples/Resources/IntuneAntivirusExclusionsPolicyMacOS/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/IntuneAntivirusExclusionsPolicyMacOS/2-Update.ps1 new file mode 100644 index 0000000000..4fc62dc9b7 --- /dev/null +++ b/Modules/Microsoft365DSC/Examples/Resources/IntuneAntivirusExclusionsPolicyMacOS/2-Update.ps1 @@ -0,0 +1,47 @@ +<# +This example is used to test new resources and showcase the usage of new resources being worked on. +It is not meant to use as a production baseline. +#> + +Configuration Example +{ + param( + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint + ) + Import-DscResource -ModuleName Microsoft365DSC + + node localhost + { + IntuneAntivirusExclusionsPolicyMacOS 'myIntuneAntivirusExclusionsPolicyMacOS' + { + Assignments = @(); + Description = ""; + DisplayName = "Test"; + Ensure = "Present"; + Exclusions = @( + MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions{ + Exclusions_item_extension = '.xcode' # Updated property + Exclusions_item_type = '1' + } + MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions{ + Exclusions_item_name = 'process1' + Exclusions_item_type = '2' + } + ); + RoleScopeTagIds = @("0"); + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } + } +} \ No newline at end of file diff --git a/Modules/Microsoft365DSC/Examples/Resources/IntuneAntivirusExclusionsPolicyMacOS/3-Remove.ps1 b/Modules/Microsoft365DSC/Examples/Resources/IntuneAntivirusExclusionsPolicyMacOS/3-Remove.ps1 new file mode 100644 index 0000000000..d89bdb52e9 --- /dev/null +++ b/Modules/Microsoft365DSC/Examples/Resources/IntuneAntivirusExclusionsPolicyMacOS/3-Remove.ps1 @@ -0,0 +1,34 @@ +<# +This example is used to test new resources and showcase the usage of new resources being worked on. +It is not meant to use as a production baseline. +#> + +Configuration Example +{ + param( + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint + ) + Import-DscResource -ModuleName Microsoft365DSC + + node localhost + { + IntuneAntivirusExclusionsPolicyMacOS 'myIntuneAntivirusPolicyMacOS' + { + DisplayName = 'test' + Ensure = 'Absent' + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } + } +} diff --git a/ResourceGenerator/M365DSCResourceGenerator.psm1 b/ResourceGenerator/M365DSCResourceGenerator.psm1 index 085b2decca..546378e4ee 100644 --- a/ResourceGenerator/M365DSCResourceGenerator.psm1 +++ b/ResourceGenerator/M365DSCResourceGenerator.psm1 @@ -497,6 +497,7 @@ $($userDefinitionSettings.MOF -join "`r`n") 'Mac O S' = 'for macOS' 'I O S' = 'for iOS' 'A A D' = 'Azure AD' + 'Linux' = 'for Linux' } $resourceDescription = ($ResourceName -split '_')[0] -creplace '(?<=\w)([A-Z])', ' $1' foreach ($platform in $platforms.keys) diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneAntivirusExclusionsPolicyMacOS.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneAntivirusExclusionsPolicyMacOS.Tests.ps1 new file mode 100644 index 0000000000..2abd4aed6e --- /dev/null +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneAntivirusExclusionsPolicyMacOS.Tests.ps1 @@ -0,0 +1,404 @@ +[CmdletBinding()] +param( +) +$M365DSCTestFolder = Join-Path -Path $PSScriptRoot ` + -ChildPath '..\..\Unit' ` + -Resolve +$CmdletModule = (Join-Path -Path $M365DSCTestFolder ` + -ChildPath '\Stubs\Microsoft365.psm1' ` + -Resolve) +$GenericStubPath = (Join-Path -Path $M365DSCTestFolder ` + -ChildPath '\Stubs\Generic.psm1' ` + -Resolve) +Import-Module -Name (Join-Path -Path $M365DSCTestFolder ` + -ChildPath '\UnitTestHelper.psm1' ` + -Resolve) + +$Global:DscHelper = New-M365DscUnitTestHelper -StubModule $CmdletModule ` + -DscResource "IntuneAntivirusExclusionsPolicyMacOS" -GenericStubModule $GenericStubPath +Describe -Name $Global:DscHelper.DescribeHeader -Fixture { + InModuleScope -ModuleName $Global:DscHelper.ModuleName -ScriptBlock { + Invoke-Command -ScriptBlock $Global:DscHelper.InitializeScript -NoNewScope + BeforeAll { + + $secpasswd = ConvertTo-SecureString (New-Guid | Out-String) -AsPlainText -Force + $Credential = New-Object System.Management.Automation.PSCredential ('tenantadmin@mydomain.com', $secpasswd) + + Mock -CommandName Confirm-M365DSCDependencies -MockWith { + } + + Mock -CommandName Get-PSSession -MockWith { + } + + Mock -CommandName Remove-PSSession -MockWith { + } + + Mock -CommandName Update-MgBetaDeviceManagementConfigurationPolicy -MockWith { + } + + Mock -CommandName New-MgBetaDeviceManagementConfigurationPolicy -MockWith { + return @{ + Id = '12345-12345-12345-12345-12345' + } + } + + Mock -CommandName Get-MgBetaDeviceManagementConfigurationPolicy -MockWith { + return @{ + Id = '12345-12345-12345-12345-12345' + Description = 'My Test' + Name = 'My Test' + RoleScopeTagIds = @("FakeStringValue") + TemplateReference = @{ + TemplateId = '43397174-2244-4006-b5ad-421b369e90d4_1' + } + } + } + + Mock -CommandName Remove-MgBetaDeviceManagementConfigurationPolicy -MockWith { + } + + Mock -CommandName Update-IntuneDeviceConfigurationPolicy -MockWith { + } + + Mock -CommandName Get-IntuneSettingCatalogPolicySetting -MockWith { + } + + Mock -CommandName Get-MgBetaDeviceManagementConfigurationPolicySetting -MockWith { + return @( + @{ + Id = 0 + SettingDefinitions = @( + @{ + Id = 'com.apple.managedclient.preferences_exclusions' + Name = 'exclusions' + OffsetUri = 'exclusions' + AdditionalProperties = @{ + '@odata.type' = '#microsoft.graph.deviceManagementConfigurationSettingGroupCollectionDefinition' + maximumCount = 600 + minimumCount = 0 + childIds = @( + 'com.apple.managedclient.preferences_exclusions_item_$type', + 'com.apple.managedclient.preferences_exclusions_item_extension', + 'com.apple.managedclient.preferences_exclusions_item_name' + ) + } + }, + @{ + Id = 'com.apple.managedclient.preferences_exclusions_item_$type' + Name = 'exclusions_item_$type' + OffsetUri = 'exclusions_item_$type' + AdditionalProperties = @{ + '@odata.type' = '#microsoft.graph.deviceManagementConfigurationChoiceSettingDefinition' + options = @( + @{ + itemId = 'com.apple.managedclient.preferences_exclusions_item_$type_1' + name = 'Path' + dependentOn = @( + @{ + dependentOn = 'com.apple.managedclient.preferences_exclusions' + parentSettingId = 'com.apple.managedclient.preferences_exclusions' + } + ) + } + ) + } + }, + @{ + Id = 'com.apple.managedclient.preferences_exclusions_item_extension' + Name = 'exclusions_item_extension' + OffsetUri = 'exclusions/[{0}]/extension' + AdditionalProperties = @{ + '@odata.type' = '#microsoft.graph.deviceManagementConfigurationSimpleSettingDefinition' + dependentOn = @( + @{ + dependentOn = 'com.apple.managedclient.preferences_exclusions_item_$type_1' + parentSettingId = 'com.apple.managedclient.preferences_exclusions_item_$type' + } + ) + } + }, + @{ + Id = 'com.apple.managedclient.preferences_exclusions_item_name' + Name = 'exclusions_item_name' + OffsetUri = 'exclusions/[{0}]/name' + AdditionalProperties = @{ + '@odata.type' = '#microsoft.graph.deviceManagementConfigurationSimpleSettingDefinition' + dependentOn = @( + @{ + dependentOn = 'com.apple.managedclient.preferences_exclusions_item_$type_2' + parentSettingId = 'com.apple.managedclient.preferences_exclusions_item_$type' + } + ) + } + } + ) + SettingInstance = @{ + SettingDefinitionId = 'com.apple.managedclient.preferences_exclusions' + SettingInstanceTemplateReference = @{ + SettingInstanceTemplateId = 'e2d557ab-357e-4727-978e-0d655facbb23' + } + AdditionalProperties = @{ + '@odata.type' = '#microsoft.graph.deviceManagementConfigurationGroupSettingCollectionInstance' + groupSettingCollectionValue = @( + @{ + children = @( + @{ + '@odata.type' = '#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance' + settingDefinitionId = 'com.apple.managedclient.preferences_exclusions_item_$type' + choiceSettingValue = @{ + children = @( + @{ + '@odata.type' = '#microsoft.graph.deviceManagementConfigurationSimpleSettingInstance' + settingDefinitionId = 'com.apple.managedclient.preferences_exclusions_item_extension' + simpleSettingValue = @{ + '@odata.type' = '#microsoft.graph.deviceManagementConfigurationStringSettingValue' + value = '.dmg' + } + } + ) + value = 'com.apple.managedclient.preferences_exclusions_item_$type_1' + } + } + ) + }, + @{ + children = @( + @{ + '@odata.type' = '#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance' + settingDefinitionId = 'com.apple.managedclient.preferences_exclusions_item_$type' + choiceSettingValue = @{ + children = @( + @{ + '@odata.type' = '#microsoft.graph.deviceManagementConfigurationSimpleSettingInstance' + settingDefinitionId = 'com.apple.managedclient.preferences_exclusions_item_name' + simpleSettingValue = @{ + '@odata.type' = '#microsoft.graph.deviceManagementConfigurationStringSettingValue' + value = 'Test' + } + } + ) + value = 'com.apple.managedclient.preferences_exclusions_item_$type_2' + } + } + ) + } + ) + } + } + } + ) + } + + Mock -CommandName Update-DeviceConfigurationPolicyAssignment -MockWith { + } + + Mock -CommandName New-M365DSCConnection -MockWith { + return "Credentials" + } + + # Mock Write-Host to hide output during the tests + Mock -CommandName Write-Host -MockWith { + } + $Script:exportedInstances =$null + $Script:ExportMode = $false + + Mock -CommandName Get-MgBetaDeviceManagementConfigurationPolicyAssignment -MockWith { + return @(@{ + Id = '12345-12345-12345-12345-12345' + Source = 'direct' + SourceId = '12345-12345-12345-12345-12345' + Target = @{ + DeviceAndAppManagementAssignmentFilterId = '12345-12345-12345-12345-12345' + DeviceAndAppManagementAssignmentFilterType = 'none' + AdditionalProperties = @( + @{ + '@odata.type' = '#microsoft.graph.exclusionGroupAssignmentTarget' + groupId = '26d60dd1-fab6-47bf-8656-358194c1a49d' + } + ) + } + }) + } + } + # Test contexts + Context -Name "The IntuneAntivirusExclusionsPolicyMacOS should exist but it DOES NOT" -Fixture { + BeforeAll { + $testParams = @{ + Assignments = [CimInstance[]]@( + (New-CimInstance -ClassName MSFT_DeviceManagementConfigurationPolicyAssignments -Property @{ + DataType = '#microsoft.graph.exclusionGroupAssignmentTarget' + groupId = '26d60dd1-fab6-47bf-8656-358194c1a49d' + deviceAndAppManagementAssignmentFilterType = 'none' + } -ClientOnly) + ) + Description = "My Test" + Exclusions = [CimInstance[]]@( + (New-CimInstance -ClassName MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions -Property @{ + Exclusions_item_extension = '.dmg' + Exclusions_item_type = '1' + } -ClientOnly) + (New-CimInstance -ClassName MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions -Property @{ + Exclusions_item_name = 'Test' + Exclusions_item_type = '2' + } -ClientOnly) + ); + Id = "12345-12345-12345-12345-12345" + DisplayName = "My Test" + RoleScopeTagIds = @("FakeStringValue") + Ensure = "Present" + Credential = $Credential; + } + + Mock -CommandName Get-MgBetaDeviceManagementConfigurationPolicy -MockWith { + return $null + } + } + It 'Should return Values from the Get method' { + (Get-TargetResource @testParams).Ensure | Should -Be 'Absent' + } + It 'Should return false from the Test method' { + Test-TargetResource @testParams | Should -Be $false + } + It 'Should Create the group from the Set method' { + Set-TargetResource @testParams + Should -Invoke -CommandName New-MgBetaDeviceManagementConfigurationPolicy -Exactly 1 + } + } + + Context -Name "The IntuneAntivirusExclusionsPolicyMacOS exists but it SHOULD NOT" -Fixture { + BeforeAll { + $testParams = @{ + Assignments = [CimInstance[]]@( + (New-CimInstance -ClassName MSFT_DeviceManagementConfigurationPolicyAssignments -Property @{ + DataType = '#microsoft.graph.exclusionGroupAssignmentTarget' + groupId = '26d60dd1-fab6-47bf-8656-358194c1a49d' + deviceAndAppManagementAssignmentFilterType = 'none' + } -ClientOnly) + ) + Description = "My Test" + Exclusions = [CimInstance[]]@( + (New-CimInstance -ClassName MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions -Property @{ + Exclusions_item_extension = '.dmg' + Exclusions_item_type = '1' + } -ClientOnly) + (New-CimInstance -ClassName MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions -Property @{ + Exclusions_item_name = 'Test' + Exclusions_item_type = '2' + } -ClientOnly) + ); + Id = "12345-12345-12345-12345-12345" + DisplayName = "My Test" + RoleScopeTagIds = @("FakeStringValue") + Ensure = "Absent" + Credential = $Credential; + } + } + + It 'Should return Values from the Get method' { + (Get-TargetResource @testParams).Ensure | Should -Be 'Present' + } + + It 'Should return true from the Test method' { + Test-TargetResource @testParams | Should -Be $false + } + + It 'Should Remove the group from the Set method' { + Set-TargetResource @testParams + Should -Invoke -CommandName Remove-MgBetaDeviceManagementConfigurationPolicy -Exactly 1 + } + } + Context -Name "The IntuneAntivirusExclusionsPolicyMacOS Exists and Values are already in the desired state" -Fixture { + BeforeAll { + $testParams = @{ + Assignments = [CimInstance[]]@( + (New-CimInstance -ClassName MSFT_DeviceManagementConfigurationPolicyAssignments -Property @{ + DataType = '#microsoft.graph.exclusionGroupAssignmentTarget' + groupId = '26d60dd1-fab6-47bf-8656-358194c1a49d' + deviceAndAppManagementAssignmentFilterType = 'none' + } -ClientOnly) + ) + Description = "My Test" + Exclusions = [CimInstance[]]@( + (New-CimInstance -ClassName MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions -Property @{ + Exclusions_item_extension = '.dmg' + Exclusions_item_type = '1' + } -ClientOnly) + (New-CimInstance -ClassName MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions -Property @{ + Exclusions_item_name = 'Test' + Exclusions_item_type = '2' + } -ClientOnly) + ); + Id = "12345-12345-12345-12345-12345" + DisplayName = "My Test" + RoleScopeTagIds = @("FakeStringValue") + Ensure = "Present" + Credential = $Credential; + } + } + + It 'Should return true from the Test method' { + Test-TargetResource @testParams | Should -Be $true + } + } + + Context -Name "The IntuneAntivirusExclusionsPolicyMacOS exists and values are NOT in the desired state" -Fixture { + BeforeAll { + $testParams = @{ + Assignments = [CimInstance[]]@( + (New-CimInstance -ClassName MSFT_DeviceManagementConfigurationPolicyAssignments -Property @{ + DataType = '#microsoft.graph.exclusionGroupAssignmentTarget' + groupId = '26d60dd1-fab6-47bf-8656-358194c1a49d' + deviceAndAppManagementAssignmentFilterType = 'none' + } -ClientOnly) + ) + Description = "My Test" + Exclusions = [CimInstance[]]@( + (New-CimInstance -ClassName MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions -Property @{ + Exclusions_item_extension = '.xcode' # Drift + Exclusions_item_type = '1' + } -ClientOnly) + (New-CimInstance -ClassName MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions -Property @{ + Exclusions_item_name = 'Test' + Exclusions_item_type = '2' + } -ClientOnly) + ); + Id = "12345-12345-12345-12345-12345" + DisplayName = "My Test" + RoleScopeTagIds = @("FakeStringValue") + Ensure = "Present" + Credential = $Credential; + } + } + + It 'Should return Values from the Get method' { + (Get-TargetResource @testParams).Ensure | Should -Be 'Present' + } + + It 'Should return false from the Test method' { + Test-TargetResource @testParams | Should -Be $false + } + + It 'Should call the Set method' { + Set-TargetResource @testParams + Should -Invoke -CommandName Update-IntuneDeviceConfigurationPolicy -Exactly 1 + } + } + + Context -Name 'ReverseDSC Tests' -Fixture { + BeforeAll { + $Global:CurrentModeIsExport = $true + $Global:PartialExportFileName = "$(New-Guid).partial.ps1" + $testParams = @{ + Credential = $Credential + } + } + + It 'Should Reverse Engineer resource from the Export method' { + $result = Export-TargetResource @testParams + $result | Should -Not -BeNullOrEmpty + } + } + } +} + +Invoke-Command -ScriptBlock $Global:DscHelper.CleanupScript -NoNewScope From 16aef5a814cc999ac57c210966689ab0cc7d60c1 Mon Sep 17 00:00:00 2001 From: Fabien Tschanz Date: Sun, 10 Nov 2024 15:23:12 +0100 Subject: [PATCH 05/58] Fix Intune Antivirus policy case-sensitive properties --- CHANGELOG.md | 8 + ...ntivirusPolicyWindows10SettingCatalog.psm1 | 539 ++++++++++-------- ...usPolicyWindows10SettingCatalog.schema.mof | 148 ++--- .../Modules/M365DSCDRGUtil.psm1 | 4 +- 4 files changed, 391 insertions(+), 308 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6845ab5c9e..469bbdaf73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change log for Microsoft365DSC +# UNRELEASED + +* IntuneAntivirusPolicyWindows10SettingCatalog + * Update properties to be upper-case. + Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* M365DSCDRGUtil + * Restrict CIM instance access to properties that appear multiple times. + # 1.24.1106.3 * AzureBillingAccountScheduledAction diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.psm1 index 79cd8949f8..b4835676ce 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.psm1 @@ -19,151 +19,156 @@ function Get-TargetResource [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowarchivescanning, + $AllowArchiveScanning, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowbehaviormonitoring, + $AllowBehaviorMonitoring, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowcloudprotection, + $AllowCloudProtection, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowdatagramprocessingonwinserver, + $AllowDatagramProcessingOnWinServer, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowemailscanning, + $AllowEmailScanning, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowfullscanonmappednetworkdrives, + $AllowFullScanOnMappedNetworkDrives, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowfullscanremovabledrivescanning, + $AllowFullScanRemovableDriveScanning, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowintrusionpreventionsystem, + $AllowIntrusionPreventionSystem, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowioavprotection, + $AllowIOAVProtection, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allownetworkprotectiondownlevel, + $AllowNetworkProtectionDownLevel, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowrealtimemonitoring, + $AllowOnAccessProtection, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowscanningnetworkfiles, + $AllowRealtimeMonitoring, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowscriptscanning, + $AllowScanningNetworkFiles, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowuseruiaccess, + $AllowScriptScanning, + + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $AllowUserUIAccess, [Parameter()] [System.int32] - $avgcpuloadfactor, + $AvgCPULoadFactor, [Parameter()] [System.Int32] - $archivemaxdepth, + $ArchiveMaxDepth, [Parameter()] [System.Int32] - $archivemaxsize, + $ArchiveMaxSize, [Parameter()] [ValidateSet('0', '1')] [System.String] - $checkforsignaturesbeforerunningscan, + $CheckForSignaturesBeforeRunningScan, [Parameter()] [ValidateSet('0', '2', '4', '6')] [System.String] - $cloudblocklevel, + $CloudBlockLevel, [Parameter()] [System.Int32] - $cloudextendedtimeout, + $CloudExtendedTimeout, [Parameter()] [System.String] - $companyname, + $CompanyName, [Parameter()] [System.Int32] - $daystoretaincleanedmalware, + $DaysToRetainCleanedMalware, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disableaccountprotectionui, + $DisableAccountProtectionUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disableappbrowserui, + $DisableAppBrowserUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablecleartpmbutton, + $DisableClearTpmButton, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disabledevicesecurityui, + $DisableDeviceSecurityUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablednsovertcpparsing, + $DisableDnsOverTcpParsing, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disableenhancednotifications, + $DisableEnhancedNotifications, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablefamilyui, + $DisableFamilyUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablehealthui, + $DisableHealthUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablehttpparsing, + $DisableHttpParsing, [Parameter()] [ValidateSet('1', '0')] @@ -173,203 +178,208 @@ function Get-TargetResource [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablenetworkui, + $DisableNetworkUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disabletpmfirmwareupdatewarning, + $DisableTpmFirmwareUpdateWarning, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablevirusui, + $DisableVirusUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablecatchupfullscan, + $DisableCatchupFullScan, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablecatchupquickscan, + $DisableCatchupQuickScan, [Parameter()] + [ValidateSet('0', '1')] [System.String] - $email, + $DisableCoreServiceECSIntegration, [Parameter()] [ValidateSet('0', '1')] [System.String] - $enablecustomizedtoasts, + $DisableCoreServiceTelemetry, + + [Parameter()] + [System.String] + $Email, [Parameter()] [ValidateSet('0', '1')] [System.String] - $enableinappcustomization, + $EnableCustomizedToasts, [Parameter()] [ValidateSet('0', '1')] [System.String] - $enablelowcpupriority, + $EnableInAppCustomization, + + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $EnableLowCPUPriority, [Parameter()] [ValidateSet('0', '1', '2')] [System.String] - $enablenetworkprotection, + $EnableNetworkProtection, [Parameter()] [System.String[]] - $excludedextensions, + $ExcludedExtensions, [Parameter()] [System.String[]] - $excludedpaths, + $ExcludedPaths, [Parameter()] [System.String[]] - $excludedprocesses, + $ExcludedProcesses, [Parameter()] [ValidateSet('0', '1')] [System.String] - $hideransomwaredatarecovery, + $HideRansomwareDataRecovery, [Parameter()] [ValidateSet('0', '1')] [System.String] - $hidewindowssecuritynotificationareacontrol, + $HideWindowsSecurityNotificationAreaControl, [Parameter()] [System.String] - $phone, + $Phone, [Parameter()] [ValidateSet('0', '1', '2')] [System.String] - $puaprotection, + $PUAProtection, [Parameter()] [ValidateSet('0', '2', '3', '4', '5', '6')] [System.String] - $engineupdateschannel, + $EngineUpdatesChannel, [Parameter()] [ValidateSet('0', '1')] [System.String] - $meteredconnectionupdates, + $MeteredConnectionUpdates, [Parameter()] [ValidateSet('0', '2', '3', '4', '5', '6')] [System.String] - $platformupdateschannel, + $PlatformUpdatesChannel, [Parameter()] [ValidateSet('0', '4', '5')] [System.String] - $securityintelligenceupdateschannel, + $SecurityIntelligenceUpdatesChannel, [Parameter()] [ValidateSet('0', '1', '2')] [System.String] - $realtimescandirection, + $RealTimeScanDirection, [Parameter()] [ValidateSet('1', '2')] [System.String] - $scanparameter, + $ScanParameter, [Parameter()] [System.Int32] - $schedulequickscantime, + $ScheduleQuickScanTime, [Parameter()] [ValidateSet('0', '1', '2', '3', '4', '5', '6', '7', '8')] [System.String] - $schedulescanday, + $ScheduleScanDay, [Parameter()] [ValidateRange(0, 1380)] [System.Int32] - $schedulescantime, + $ScheduleScanTime, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disabletlsparsing, + $DisableTlsParsing, [Parameter()] [ValidateSet('0', '1')] [System.String] - $randomizescheduletasktimes, + $RandomizeScheduleTaskTimes, [Parameter()] [ValidateRange(1,23)] [System.Int32] - $schedulerrandomizationtime, + $SchedulerRandomizationTime, [Parameter()] [System.String[]] - $signatureupdatefallbackorder, + $SignatureUpdateFallbackOrder, [Parameter()] [System.String[]] - $signatureupdatefilesharessources, + $SignatureUpdateFileSharesSources, [Parameter()] [ValidateRange(0, 24)] [System.Int32] - $signatureupdateinterval, + $SignatureUpdateInterval, [Parameter()] [ValidateSet('0', '1', '2', '3')] [System.String] - $submitsamplesconsent, + $SubmitSamplesConsent, [Parameter()] [ValidateSet('0', '1')] [System.String] - $tamperprotection, - - [Parameter()] - [System.String] - $url, + $TamperProtection, [Parameter()] - [ValidateSet('0', '1')] [System.String] - $disablelocaladminmerge, + $URL, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowonaccessprotection, + $DisableLocalAdminMerge, [Parameter()] [ValidateSet('clean', 'quarantine', 'remove', 'allow', 'userdefined', 'block')] [System.String] - $lowseveritythreats, + $LowSeverityThreats, [Parameter()] [ValidateSet('clean', 'quarantine', 'remove', 'allow', 'userdefined', 'block')] [System.String] - $moderateseveritythreats, + $ModerateSeverityThreats, [Parameter()] [ValidateSet('clean', 'quarantine', 'remove', 'allow', 'userdefined', 'block')] [System.String] - $severethreats, + $SevereThreats, [Parameter()] [ValidateSet('clean', 'quarantine', 'remove', 'allow', 'userdefined', 'block')] [System.String] - $highseveritythreats, + $HighSeverityThreats, [Parameter()] [ValidateSet('d948ff9b-99cb-4ee0-8012-1fbc09685377_1', 'e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1', '45fea5e9-280d-4da1-9792-fb5736da0ca9_1', '804339ad-1553-4478-a742-138fb5807418_1')] [System.String] - $templateId, + $TemplateId, [Parameter()] [Microsoft.Management.Infrastructure.CimInstance[]] @@ -473,7 +483,28 @@ function Get-TargetResource $returnHashtable.Add('Identity', $Identity) $returnHashtable.Add('DisplayName', $policy.name) $returnHashtable.Add('Description', $policy.description) - $returnHashtable.Add('templateId', $policy.templateReference.templateId) + $returnHashtable.Add('TemplateId', $policy.templateReference.TemplateId) + + if ($null -ne $policySettings.SevereThreatDefaultAction) + { + $returnHashtable.Add('SevereThreats', $policySettings.SevereThreatDefaultAction) + $policySettings.Remove('SevereThreatDefaultAction') + } + if ($null -ne $policySettings.HighSeverityThreatDefaultAction) + { + $returnHashtable.Add('HighSeverityThreats', $policySettings.HighSeverityThreatDefaultAction) + $policySettings.Remove('HighSeverityThreatDefaultAction') + } + if ($null -ne $policySettings.ModerateSeverityThreatDefaultAction) + { + $returnHashtable.Add('ModerateSeverityThreats', $policySettings.ModerateSeverityThreatDefaultAction) + $policySettings.Remove('ModerateSeverityThreatDefaultAction') + } + if ($null -ne $policySettings.LowSeverityThreatDefaultAction) + { + $returnHashtable.Add('LowSeverityThreats', $policySettings.LowSeverityThreatDefaultAction) + $policySettings.Remove('LowSeverityThreatDefaultAction') + } $returnHashtable += $policySettings $returnAssignments = @() @@ -530,151 +561,156 @@ function Set-TargetResource [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowarchivescanning, + $AllowArchiveScanning, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowbehaviormonitoring, + $AllowBehaviorMonitoring, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowcloudprotection, + $AllowCloudProtection, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowdatagramprocessingonwinserver, + $AllowDatagramProcessingOnWinServer, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowemailscanning, + $AllowEmailScanning, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowfullscanonmappednetworkdrives, + $AllowFullScanOnMappedNetworkDrives, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowfullscanremovabledrivescanning, + $AllowFullScanRemovableDriveScanning, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowintrusionpreventionsystem, + $AllowIntrusionPreventionSystem, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowioavprotection, + $AllowIOAVProtection, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allownetworkprotectiondownlevel, + $AllowNetworkProtectionDownLevel, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowrealtimemonitoring, + $AllowOnAccessProtection, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowscanningnetworkfiles, + $AllowRealtimeMonitoring, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowscriptscanning, + $AllowScanningNetworkFiles, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowuseruiaccess, + $AllowScriptScanning, + + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $AllowUserUIAccess, [Parameter()] [System.int32] - $avgcpuloadfactor, + $AvgCPULoadFactor, [Parameter()] [System.Int32] - $archivemaxdepth, + $ArchiveMaxDepth, [Parameter()] [System.Int32] - $archivemaxsize, + $ArchiveMaxSize, [Parameter()] [ValidateSet('0', '1')] [System.String] - $checkforsignaturesbeforerunningscan, + $CheckForSignaturesBeforeRunningScan, [Parameter()] [ValidateSet('0', '2', '4', '6')] [System.String] - $cloudblocklevel, + $CloudBlockLevel, [Parameter()] [System.Int32] - $cloudextendedtimeout, + $CloudExtendedTimeout, [Parameter()] [System.String] - $companyname, + $CompanyName, [Parameter()] [System.Int32] - $daystoretaincleanedmalware, + $DaysToRetainCleanedMalware, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disableaccountprotectionui, + $DisableAccountProtectionUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disableappbrowserui, + $DisableAppBrowserUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablecleartpmbutton, + $DisableClearTpmButton, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disabledevicesecurityui, + $DisableDeviceSecurityUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablednsovertcpparsing, + $DisableDnsOverTcpParsing, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disableenhancednotifications, + $DisableEnhancedNotifications, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablefamilyui, + $DisableFamilyUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablehealthui, + $DisableHealthUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablehttpparsing, + $DisableHttpParsing, [Parameter()] [ValidateSet('1', '0')] @@ -684,203 +720,208 @@ function Set-TargetResource [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablenetworkui, + $DisableNetworkUI, + + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $DisableTpmFirmwareUpdateWarning, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disabletpmfirmwareupdatewarning, + $DisableVirusUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablevirusui, + $DisableCatchupFullScan, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablecatchupfullscan, + $DisableCatchupQuickScan, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablecatchupquickscan, + $DisableCoreServiceECSIntegration, [Parameter()] + [ValidateSet('0', '1')] [System.String] - $email, + $DisableCoreServiceTelemetry, + + [Parameter()] + [System.String] + $Email, [Parameter()] [ValidateSet('0', '1')] [System.String] - $enablecustomizedtoasts, + $EnableCustomizedToasts, [Parameter()] [ValidateSet('0', '1')] [System.String] - $enableinappcustomization, + $EnableInAppCustomization, [Parameter()] [ValidateSet('0', '1')] [System.String] - $enablelowcpupriority, + $EnableLowCPUPriority, [Parameter()] [ValidateSet('0', '1', '2')] [System.String] - $enablenetworkprotection, + $EnableNetworkProtection, [Parameter()] [System.String[]] - $excludedextensions, + $ExcludedExtensions, [Parameter()] [System.String[]] - $excludedpaths, + $ExcludedPaths, [Parameter()] [System.String[]] - $excludedprocesses, + $ExcludedProcesses, [Parameter()] [ValidateSet('0', '1')] [System.String] - $hideransomwaredatarecovery, + $HideRansomwareDataRecovery, [Parameter()] [ValidateSet('0', '1')] [System.String] - $hidewindowssecuritynotificationareacontrol, + $HideWindowsSecurityNotificationAreaControl, [Parameter()] [System.String] - $phone, + $Phone, [Parameter()] [ValidateSet('0', '1', '2')] [System.String] - $puaprotection, + $PUAProtection, [Parameter()] [ValidateSet('0', '2', '3', '4', '5', '6')] [System.String] - $engineupdateschannel, + $EngineUpdatesChannel, [Parameter()] [ValidateSet('0', '1')] [System.String] - $meteredconnectionupdates, + $MeteredConnectionUpdates, [Parameter()] [ValidateSet('0', '2', '3', '4', '5', '6')] [System.String] - $platformupdateschannel, + $PlatformUpdatesChannel, [Parameter()] [ValidateSet('0', '4', '5')] [System.String] - $securityintelligenceupdateschannel, + $SecurityIntelligenceUpdatesChannel, [Parameter()] [ValidateSet('0', '1', '2')] [System.String] - $realtimescandirection, + $RealTimeScanDirection, [Parameter()] [ValidateSet('1', '2')] [System.String] - $scanparameter, + $ScanParameter, [Parameter()] [System.Int32] - $schedulequickscantime, + $ScheduleQuickScanTime, [Parameter()] [ValidateSet('0', '1', '2', '3', '4', '5', '6', '7', '8')] [System.String] - $schedulescanday, + $ScheduleScanDay, [Parameter()] [ValidateRange(0, 1380)] [System.Int32] - $schedulescantime, + $ScheduleScanTime, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disabletlsparsing, + $DisableTlsParsing, [Parameter()] [ValidateSet('0', '1')] [System.String] - $randomizescheduletasktimes, + $RandomizeScheduleTaskTimes, [Parameter()] [ValidateRange(1,23)] [System.Int32] - $schedulerrandomizationtime, + $SchedulerRandomizationTime, [Parameter()] [System.String[]] - $signatureupdatefallbackorder, + $SignatureUpdateFallbackOrder, [Parameter()] [System.String[]] - $signatureupdatefilesharessources, + $SignatureUpdateFileSharesSources, [Parameter()] [ValidateRange(0, 24)] [System.Int32] - $signatureupdateinterval, + $SignatureUpdateInterval, [Parameter()] [ValidateSet('0', '1', '2', '3')] [System.String] - $submitsamplesconsent, + $SubmitSamplesConsent, [Parameter()] [ValidateSet('0', '1')] [System.String] - $tamperprotection, + $TamperProtection, [Parameter()] [System.String] - $url, + $URL, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablelocaladminmerge, - - [Parameter()] - [ValidateSet('0', '1')] - [System.String] - $allowonaccessprotection, + $DisableLocalAdminMerge, [Parameter()] [ValidateSet('clean', 'quarantine', 'remove', 'allow', 'userdefined', 'block')] [System.String] - $lowseveritythreats, + $LowSeverityThreats, [Parameter()] [ValidateSet('clean', 'quarantine', 'remove', 'allow', 'userdefined', 'block')] [System.String] - $moderateseveritythreats, + $ModerateSeverityThreats, [Parameter()] [ValidateSet('clean', 'quarantine', 'remove', 'allow', 'userdefined', 'block')] [System.String] - $severethreats, + $SevereThreats, [Parameter()] [ValidateSet('clean', 'quarantine', 'remove', 'allow', 'userdefined', 'block')] [System.String] - $highseveritythreats, + $HighSeverityThreats, [Parameter()] [ValidateSet('d948ff9b-99cb-4ee0-8012-1fbc09685377_1', 'e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1', '45fea5e9-280d-4da1-9792-fb5736da0ca9_1', '804339ad-1553-4478-a742-138fb5807418_1')] [System.String] - $templateId, + $TemplateId, [Parameter()] [Microsoft.Management.Infrastructure.CimInstance[]] @@ -938,7 +979,28 @@ function Set-TargetResource $currentPolicy = Get-TargetResource @PSBoundParameters $BoundParameters = Remove-M365DSCAuthenticationParameter -BoundParameters $PSBoundParameters - $templateReferenceId = $templateId + if ($BoundParameters.ContainsKey('SevereThreats')) + { + $BoundParameters.Add('SevereThreatDefaultAction', $BoundParameters['SevereThreats']) + $BoundParameters.Remove('SevereThreats') + } + if ($BoundParameters.ContainsKey('HighSeverityThreats')) + { + $BoundParameters.Add('HighSeverityThreatDefaultAction', $BoundParameters['HighSeverityThreats']) + $BoundParameters.Remove('HighSeverityThreats') + } + if ($BoundParameters.ContainsKey('ModerateSeverityThreats')) + { + $BoundParameters.Add('ModerateSeverityThreatDefaultAction', $BoundParameters['ModerateSeverityThreats']) + $BoundParameters.Remove('ModerateSeverityThreats') + } + if ($BoundParameters.ContainsKey('LowSeverityThreats')) + { + $BoundParameters.Add('LowSeverityThreatDefaultAction', $BoundParameters['LowSeverityThreats']) + $BoundParameters.Remove('LowSeverityThreats') + } + + $templateReferenceId = $TemplateId $platforms = 'windows10' $technologies = 'mdm,microsoftSense' @@ -976,6 +1038,7 @@ function Set-TargetResource Write-Verbose -Message "Updating existing Endpoint Protection Policy {$($currentPolicy.DisplayName)}" $BoundParameters.Remove('Identity') | Out-Null $BoundParameters.Remove('Assignments') | Out-Null + $BoundParameters.Remove('TemplateId') | Out-Null $settings = Get-IntuneSettingCatalogPolicySetting ` -DSCParams ([System.Collections.Hashtable]$BoundParameters) ` @@ -1024,151 +1087,156 @@ function Test-TargetResource [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowarchivescanning, + $AllowArchiveScanning, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowbehaviormonitoring, + $AllowBehaviorMonitoring, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowcloudprotection, + $AllowCloudProtection, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowdatagramprocessingonwinserver, + $AllowDatagramProcessingOnWinServer, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowemailscanning, + $AllowEmailScanning, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowfullscanonmappednetworkdrives, + $AllowFullScanOnMappedNetworkDrives, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowfullscanremovabledrivescanning, + $AllowFullScanRemovableDriveScanning, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowintrusionpreventionsystem, + $AllowIntrusionPreventionSystem, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowioavprotection, + $AllowIOAVProtection, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allownetworkprotectiondownlevel, + $AllowNetworkProtectionDownLevel, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowrealtimemonitoring, + $AllowOnAccessProtection, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowscanningnetworkfiles, + $AllowRealtimeMonitoring, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowscriptscanning, + $AllowScanningNetworkFiles, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowuseruiaccess, + $AllowScriptScanning, + + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $AllowUserUIAccess, [Parameter()] [System.int32] - $avgcpuloadfactor, + $AvgCPULoadFactor, [Parameter()] [System.Int32] - $archivemaxdepth, + $ArchiveMaxDepth, [Parameter()] [System.Int32] - $archivemaxsize, + $ArchiveMaxSize, [Parameter()] [ValidateSet('0', '1')] [System.String] - $checkforsignaturesbeforerunningscan, + $CheckForSignaturesBeforeRunningScan, [Parameter()] [ValidateSet('0', '2', '4', '6')] [System.String] - $cloudblocklevel, + $CloudBlockLevel, [Parameter()] [System.Int32] - $cloudextendedtimeout, + $CloudExtendedTimeout, [Parameter()] [System.String] - $companyname, + $CompanyName, [Parameter()] [System.Int32] - $daystoretaincleanedmalware, + $DaysToRetainCleanedMalware, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disableaccountprotectionui, + $DisableAccountProtectionUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disableappbrowserui, + $DisableAppBrowserUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablecleartpmbutton, + $DisableClearTpmButton, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disabledevicesecurityui, + $DisableDeviceSecurityUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablednsovertcpparsing, + $DisableDnsOverTcpParsing, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disableenhancednotifications, + $DisableEnhancedNotifications, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablefamilyui, + $DisableFamilyUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablehealthui, + $DisableHealthUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablehttpparsing, + $DisableHttpParsing, [Parameter()] [ValidateSet('1', '0')] @@ -1178,203 +1246,208 @@ function Test-TargetResource [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablenetworkui, + $DisableNetworkUI, + + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $DisableTpmFirmwareUpdateWarning, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disabletpmfirmwareupdatewarning, + $DisableVirusUI, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablevirusui, + $DisableCatchupFullScan, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablecatchupfullscan, + $DisableCatchupQuickScan, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disablecatchupquickscan, + $DisableCoreServiceECSIntegration, + + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $DisableCoreServiceTelemetry, [Parameter()] [System.String] - $email, + $Email, [Parameter()] [ValidateSet('0', '1')] [System.String] - $enablecustomizedtoasts, + $EnableCustomizedToasts, [Parameter()] [ValidateSet('0', '1')] [System.String] - $enableinappcustomization, + $EnableInAppCustomization, [Parameter()] [ValidateSet('0', '1')] [System.String] - $enablelowcpupriority, + $EnableLowCPUPriority, [Parameter()] [ValidateSet('0', '1', '2')] [System.String] - $enablenetworkprotection, + $EnableNetworkProtection, [Parameter()] [System.String[]] - $excludedextensions, + $ExcludedExtensions, [Parameter()] [System.String[]] - $excludedpaths, + $ExcludedPaths, [Parameter()] [System.String[]] - $excludedprocesses, + $ExcludedProcesses, [Parameter()] [ValidateSet('0', '1')] [System.String] - $hideransomwaredatarecovery, + $HideRansomwareDataRecovery, [Parameter()] [ValidateSet('0', '1')] [System.String] - $hidewindowssecuritynotificationareacontrol, + $HideWindowsSecurityNotificationAreaControl, [Parameter()] [System.String] - $phone, + $Phone, [Parameter()] [ValidateSet('0', '1', '2')] [System.String] - $puaprotection, + $PUAProtection, [Parameter()] [ValidateSet('0', '2', '3', '4', '5', '6')] [System.String] - $engineupdateschannel, + $EngineUpdatesChannel, [Parameter()] [ValidateSet('0', '1')] [System.String] - $meteredconnectionupdates, + $MeteredConnectionUpdates, [Parameter()] [ValidateSet('0', '2', '3', '4', '5', '6')] [System.String] - $platformupdateschannel, + $PlatformUpdatesChannel, [Parameter()] [ValidateSet('0', '4', '5')] [System.String] - $securityintelligenceupdateschannel, + $SecurityIntelligenceUpdatesChannel, [Parameter()] [ValidateSet('0', '1', '2')] [System.String] - $realtimescandirection, + $RealTimeScanDirection, [Parameter()] [ValidateSet('1', '2')] [System.String] - $scanparameter, + $ScanParameter, [Parameter()] [System.Int32] - $schedulequickscantime, + $ScheduleQuickScanTime, [Parameter()] [ValidateSet('0', '1', '2', '3', '4', '5', '6', '7', '8')] [System.String] - $schedulescanday, + $ScheduleScanDay, [Parameter()] [ValidateRange(0, 1380)] [System.Int32] - $schedulescantime, + $ScheduleScanTime, [Parameter()] [ValidateSet('0', '1')] [System.String] - $disabletlsparsing, + $DisableTlsParsing, [Parameter()] [ValidateSet('0', '1')] [System.String] - $randomizescheduletasktimes, + $RandomizeScheduleTaskTimes, [Parameter()] [ValidateRange(1,23)] [System.Int32] - $schedulerrandomizationtime, + $SchedulerRandomizationTime, [Parameter()] [System.String[]] - $signatureupdatefallbackorder, + $SignatureUpdateFallbackOrder, [Parameter()] [System.String[]] - $signatureupdatefilesharessources, + $SignatureUpdateFileSharesSources, [Parameter()] [ValidateRange(0, 24)] [System.Int32] - $signatureupdateinterval, + $SignatureUpdateInterval, [Parameter()] [ValidateSet('0', '1', '2', '3')] [System.String] - $submitsamplesconsent, + $SubmitSamplesConsent, [Parameter()] [ValidateSet('0', '1')] [System.String] - $tamperprotection, + $TamperProtection, [Parameter()] [System.String] - $url, - - [Parameter()] - [ValidateSet('0', '1')] - [System.String] - $disablelocaladminmerge, + $URL, [Parameter()] [ValidateSet('0', '1')] [System.String] - $allowonaccessprotection, + $DisableLocalAdminMerge, [Parameter()] [ValidateSet('clean', 'quarantine', 'remove', 'allow', 'userdefined', 'block')] [System.String] - $lowseveritythreats, + $LowSeverityThreats, [Parameter()] [ValidateSet('clean', 'quarantine', 'remove', 'allow', 'userdefined', 'block')] [System.String] - $moderateseveritythreats, + $ModerateSeverityThreats, [Parameter()] [ValidateSet('clean', 'quarantine', 'remove', 'allow', 'userdefined', 'block')] [System.String] - $severethreats, + $SevereThreats, [Parameter()] [ValidateSet('clean', 'quarantine', 'remove', 'allow', 'userdefined', 'block')] [System.String] - $highseveritythreats, + $HighSeverityThreats, [Parameter()] [ValidateSet('d948ff9b-99cb-4ee0-8012-1fbc09685377_1', 'e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1', '45fea5e9-280d-4da1-9792-fb5736da0ca9_1', '804339ad-1553-4478-a742-138fb5807418_1')] [System.String] - $templateId, + $TemplateId, [Parameter()] [Microsoft.Management.Infrastructure.CimInstance[]] diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.schema.mof index da964ec534..c41a78c5df 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.schema.mof @@ -15,80 +15,82 @@ class MSFT_IntuneAntivirusPolicyWindows10SettingCatalog : OMI_BaseResource [Key, Description("Display name of the endpoint protection policy for Windows 10.")] String DisplayName; [Write, Description("Identity of the endpoint protection policy for Windows 10.")] String Identity; [Write, Description("Description of the endpoint protection policy for Windows 10.")] String Description; - [Write, Description("Allows or disallows scanning of archives. (0: enable feature. 1: disable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String tamperprotection; - [Write, Description("Use this policy setting to specify if to display the Account protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String disableaccountprotectionui; - [Write, Description("Use this policy setting if you want to disable the display of the app and browser protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String disableappbrowserui; - [Write, Description("Disable the Clear TPM button in Windows Security. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String disablecleartpmbutton; - [Write, Description("Use this policy setting if you want to disable the display of the Device security area in the Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String disabledevicesecurityui; - [Write, Description("Use this policy setting if you want to disable the display of the family options area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String disablefamilyui; - [Write, Description("Use this policy setting if you want to disable the display of the device performance and health area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String disablehealthui; - [Write, Description("Use this policy setting if you want to disable the display of the firewall and network protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String disablenetworkui; - [Write, Description("Use this policy setting if you want to disable the display of Windows Defender Security Center notifications. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String disableenhancednotifications; - [Write, Description("Hide the recommendation to update TPM Firmware when a vulnerable firmware is detected. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String disabletpmfirmwareupdatewarning; - [Write, Description("Use this policy setting if you want to disable the display of the virus and threat protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String disablevirusui; - [Write, Description("Use this policy setting to hide the Ransomware data recovery area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String hideransomwaredatarecovery; - [Write, Description("This policy setting hides the Windows Security notification area control. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String hidewindowssecuritynotificationareacontrol; - [Write, Description("Enable this policy to display your company name and contact options in the notifications. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String enablecustomizedtoasts; - [Write, Description("Enable this policy to have your company name and contact options displayed in a contact card fly out in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String enableinappcustomization; - [Write, Description("The company name that is displayed to the users. CompanyName is required for both EnableCustomizedToasts and EnableInAppCustomization.")] String companyname; - [Write, Description("The email address that is displayed to users. The default mail application is used to initiate email actions.")] String email; - [Write, Description("The phone number or Skype ID that is displayed to users. Skype is used to initiate the call.")] String phone; - [Write, Description("The help portal URL that is displayed to users. The default browser is used to initiate this action.")] String url; - [Write, Description("Allows or disallows scanning of archives. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allowarchivescanning; - [Write, Description("Allows or disallows Windows Defender Behavior Monitoring functionality. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allowbehaviormonitoring; - [Write, Description("To best protect your PC, Windows Defender will send information to Microsoft about any problems it finds. Microsoft will analyze that information, learn more about problems affecting you and other customers, and offer improved solutions. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allowcloudprotection; - [Write, Description("Allows or disallows Network Protection to enable datagram processing on Windows Server. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allowdatagramprocessingonwinserver; - [Write, Description("Allows or disallows scanning of email. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allowemailscanning; - [Write, Description("Allows or disallows a full scan of mapped network drives. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allowfullscanonmappednetworkdrives; - [Write, Description("Allows or disallows a full scan of removable drives. During a quick scan, removable drives may still be scanned. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allowfullscanremovabledrivescanning; - [Write, Description("https://github.com/MicrosoftDocs/memdocs/issues/2250 (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allowintrusionpreventionsystem; - [Write, Description("Allows or disallows Windows Defender IOAVP Protection functionality. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allowioavprotection; - [Write, Description("Allows or disallows Network Protection to be configured into block or audit mode on windows downlevel of RS3. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allownetworkprotectiondownlevel; - [Write, Description("Allows or disallows Windows Defender real-time Monitoring functionality. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allowrealtimemonitoring; - [Write, Description("Allows or disallows a scanning of network files. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allowscanningnetworkfiles; - [Write, Description("Allows or disallows Windows Defender Script Scanning functionality. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allowscriptscanning; - [Write, Description("Allows or disallows user access to the Windows Defender UI. I disallowed, all Windows Defender notifications will also be suppressed. (0: Prevents users from accessing UI. 1: Lets users access UI)"), ValueMap{"0","1"}, Values{"0","1"}] String allowuseruiaccess; - [Write, Description("Represents the average CPU load factor for the Windows Defender scan (in percent).")] sInt32 avgcpuloadfactor; - [Write, Description("Specify the maximum folder depth to extract from archive files for scanning.")] sInt32 archivemaxdepth; - [Write, Description("Specify the maximum size, in KB, of archive files to be extracted and scanned.")] sInt32 archivemaxsize; - [Write, Description("This policy setting allows you to manage whether a check for new virus and spyware definitions will occur before running a scan. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String checkforsignaturesbeforerunningscan; - [Write, Description("This policy setting determines how aggressive Microsoft Defender Antivirus will be in blocking and scanning suspicious files. Value type is integer.(0: Default windows defender blocking level, 2: High blocking level, 4:High+ blocking level, 6:Zero tolerance blocking level)"), ValueMap{"0","2","4","6"}, Values{"0","2","4","6"}] String cloudblocklevel; - [Write, Description("This feature allows Microsoft Defender Antivirus to block a suspicious file for up to 60 seconds, and scan it in the cloud to make sure it's safe. Value type is integer, range is 0 - 50.")] sInt32 cloudextendedtimeout; - [Write, Description("Time period (in days) that quarantine items will be stored on the system.")] sInt32 daystoretaincleanedmalware; - [Write, Description("This policy setting allows you to configure catch-up scans for scheduled full scans. (1: disabled, 0: enabled)"), ValueMap{"0","1"}, Values{"0","1"}] String disablecatchupfullscan; - [Write, Description("This policy setting allows you to configure catch-up scans for scheduled quick scans. (1: disabled, 0: enabled)"), ValueMap{"0","1"}, Values{"0","1"}] String disablecatchupquickscan; - [Write, Description("Disables or enables DNS over TCP Parsing for Network Protection. (0: enable feature. 1: disable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String disablednsovertcpparsing; - [Write, Description("Disables or enables HTTP Parsing for Network Protection. (0: enable feature. 1: disable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String disablehttpparsing; + [Write, Description("Allows or disallows scanning of archives. (0: enable feature. 1: disable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String TamperProtection; + [Write, Description("Use this policy setting to specify if to display the Account protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableAccountProtectionUI; + [Write, Description("Use this policy setting if you want to disable the display of the app and browser protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableAppBrowserUI; + [Write, Description("Disable the Clear TPM button in Windows Security. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableClearTpmButton; + [Write, Description("Use this policy setting if you want to disable the display of the Device security area in the Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableDeviceSecurityUI; + [Write, Description("Use this policy setting if you want to disable the display of the family options area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableFamilyUI; + [Write, Description("Use this policy setting if you want to disable the display of the device performance and health area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableHealthUI; + [Write, Description("Use this policy setting if you want to disable the display of the firewall and network protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableNetworkUI; + [Write, Description("Use this policy setting if you want to disable the display of Windows Defender Security Center notifications. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableEnhancedNotifications; + [Write, Description("Hide the recommendation to update TPM Firmware when a vulnerable firmware is detected. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableTpmFirmwareUpdateWarning; + [Write, Description("Use this policy setting if you want to disable the display of the virus and threat protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableVirusUI; + [Write, Description("Use this policy setting to hide the Ransomware data recovery area in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String HideRansomwareDataRecovery; + [Write, Description("This policy setting hides the Windows Security notification area control. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String HideWindowsSecurityNotificationAreaControl; + [Write, Description("Enable this policy to display your company name and contact options in the notifications. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String EnableCustomizedToasts; + [Write, Description("Enable this policy to have your company name and contact options displayed in a contact card fly out in Windows Defender Security Center. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String EnableInAppCustomization; + [Write, Description("The company name that is displayed to the users. CompanyName is required for both EnableCustomizedToasts and EnableInAppCustomization.")] String CompanyName; + [Write, Description("The email address that is displayed to users. The default mail application is used to initiate email actions.")] String Email; + [Write, Description("The phone number or Skype ID that is displayed to users. Skype is used to initiate the call.")] String Phone; + [Write, Description("The help portal URL that is displayed to users. The default browser is used to initiate this action.")] String URL; + [Write, Description("Allows or disallows scanning of archives. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowArchiveScanning; + [Write, Description("Allows or disallows Windows Defender Behavior Monitoring functionality. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowBehaviorMonitoring; + [Write, Description("To best protect your PC, Windows Defender will send information to Microsoft about any problems it finds. Microsoft will analyze that information, learn more about problems affecting you and other customers, and offer improved solutions. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowCloudProtection; + [Write, Description("Allows or disallows Network Protection to enable datagram processing on Windows Server. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowDatagramProcessingOnWinServer; + [Write, Description("Allows or disallows scanning of email. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowEmailScanning; + [Write, Description("Allows or disallows a full scan of mapped network drives. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowFullScanOnMappedNetworkDrives; + [Write, Description("Allows or disallows a full scan of removable drives. During a quick scan, removable drives may still be scanned. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowFullScanRemovableDriveScanning; + [Write, Description("https://github.com/MicrosoftDocs/memdocs/issues/2250 (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowIntrusionPreventionSystem; + [Write, Description("Allows or disallows Windows Defender IOAVP Protection functionality. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowIOAVProtection; + [Write, Description("Allows or disallows Network Protection to be configured into block or audit mode on windows downlevel of RS3. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowNetworkProtectionDownLevel; + [Write, Description("Allows or disallows Windows Defender real-time Monitoring functionality. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowRealtimeMonitoring; + [Write, Description("Allows or disallows a scanning of network files. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowScanningNetworkFiles; + [Write, Description("Allows or disallows Windows Defender Script Scanning functionality. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowScriptScanning; + [Write, Description("Allows or disallows user access to the Windows Defender UI. I disallowed, all Windows Defender notifications will also be suppressed. (0: Prevents users from accessing UI. 1: Lets users access UI)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowUserUIAccess; + [Write, Description("Represents the average CPU load factor for the Windows Defender scan (in percent).")] sInt32 AvgCPULoadFactor; + [Write, Description("Specify the maximum folder depth to extract from archive files for scanning.")] sInt32 ArchiveMaxDepth; + [Write, Description("Specify the maximum size, in KB, of archive files to be extracted and scanned.")] sInt32 ArchiveMaxSize; + [Write, Description("This policy setting allows you to manage whether a check for new virus and spyware definitions will occur before running a scan. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String CheckForSignaturesBeforeRunningScan; + [Write, Description("This policy setting determines how aggressive Microsoft Defender Antivirus will be in blocking and scanning suspicious files. Value type is integer.(0: Default windows defender blocking level, 2: High blocking level, 4:High+ blocking level, 6:Zero tolerance blocking level)"), ValueMap{"0","2","4","6"}, Values{"0","2","4","6"}] String CloudBlockLevel; + [Write, Description("This feature allows Microsoft Defender Antivirus to block a suspicious file for up to 60 seconds, and scan it in the cloud to make sure it's safe. Value type is integer, range is 0 - 50.")] sInt32 CloudExtendedTimeout; + [Write, Description("Time period (in days) that quarantine items will be stored on the system.")] sInt32 DaysToRetainCleanedMalware; + [Write, Description("This policy setting allows you to configure catch-up scans for scheduled full scans. (1: disabled, 0: enabled)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableCatchupFullScan; + [Write, Description("This policy setting allows you to configure catch-up scans for scheduled quick scans. (1: disabled, 0: enabled)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableCatchupQuickScan; + [Write, Description("Disable Core Service ECS Integration. (0: disabled, 1: enabled)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableCoreServiceECSIntegration; + [Write, Description("Disable Core Service Telemetry. (1: disabled, 0: enabled)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableCoreServiceTelemetry; + [Write, Description("Disables or enables DNS over TCP Parsing for Network Protection. (0: enable feature. 1: disable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableDnsOverTcpParsing; + [Write, Description("Disables or enables HTTP Parsing for Network Protection. (0: enable feature. 1: disable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableHttpParsing; [Write, Description("Disable Ssh Parsing (1: SSH parsing is disabled, 0: SSH parsing is enabled)"), ValueMap{"1", "0"}, Values{"1", "0"}] String DisableSshParsing; - [Write, Description("This policy setting allows you to enable or disable low CPU priority for scheduled scans. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String enablelowcpupriority; - [Write, Description("This policy allows you to turn on network protection (block/audit) or off. (0: disabled, 1: block mode, 2: audit mode)"), ValueMap{"0", "1", "2"}, Values{"0", "1", "2"}] String enablenetworkprotection; - [Write, Description("Allows an administrator to specify a list of file type extensions to ignore during a scan.")] String excludedextensions[]; - [Write, Description("Allows an administrator to specify a list of directory paths to ignore during a scan.")] String excludedpaths[]; - [Write, Description("Allows an administrator to specify a list of files opened by processes to ignore during a scan.")] String excludedprocesses[]; - [Write, Description("Specifies the level of detection for potentially unwanted applications (PUAs). (0: disabled, 1: block mode, 2: audit mode)"), ValueMap{"0", "1", "2"}, Values{"0", "1", "2"}] String puaprotection; - [Write, Description("Enable this policy to specify when devices receive Microsoft Defender engine updates during the monthly gradual rollout. (0: Not configured, 2: Beta Channel, 3: Current Channel (Preview), 4: Current Channel (Staged), 5: Current Channel (Broad), 6: Critical)"), ValueMap{"0", "2", "3", "4", "5", "6"}, Values{"0", "2", "3", "4", "5", "6"}] String engineupdateschannel; - [Write, Description("Allow managed devices to update through metered connections. (0: disabled, 1: enabled)")] String meteredconnectionupdates; - [Write, Description("Enable this policy to specify when devices receive Microsoft Defender platform updates during the monthly gradual rollout. (0: Not configured, 2: Beta Channel, 3: Current Channel (Preview), 4: Current Channel (Staged), 5: Current Channel (Broad), 6: Critical)"), ValueMap{"0", "2", "3", "4", "5", "6"}, Values{"0", "2", "3", "4", "5", "6"}] String platformupdateschannel; - [Write, Description("Enable this policy to specify when devices receive Microsoft Defender security intelligence updates during the daily gradual rollout. (0: Not configured, 4: Current Channel (Staged), 5: Current Channel (Broad))"), ValueMap{"0", "4", "5"}, Values{"0", "4", "5"}] String securityintelligenceupdateschannel; - [Write, Description("Controls which sets of files should be monitored. (0: Monitor all files (bi-directional), 1: Monitor incoming files, 2: Monitor outgoing files)"), ValueMap{"0", "1", "2"}, Values{"0", "1", "2"}] String realtimescandirection; - [Write, Description("Selects whether to perform a quick scan or full scan. (1: Quick scan, 2: Full scan)"), ValueMap{"1","2"}, Values{"1","2"}] String scanparameter; - [Write, Description("Selects the time of day that the Windows Defender quick scan should run.")] sInt32 schedulequickscantime; - [Write, Description("Selects the day that the Windows Defender scan should run. (0: Every day, 1: Sunday, 2: Monday, 3: Tuesday, 4: Wednesday, 5: Thursday, 6: Friday, 7: Saturday, 8: No scheduled scan)"), ValueMap{"0","1","2","3","4","5","6","7","8"}, Values{"0","1","2","3","4","5","6","7","8"}] String schedulescanday; - [Write, Description("Selects the time of day that the Windows Defender scan should run. Must be between 0 and 1380 minutes.")] sInt32 schedulescantime; - [Write, Description("This setting disables TLS Parsing for Network Protection. (0: enabled, 1: disabled)"), ValueMap{"0","1"}, Values{"0","1"}] String disabletlsparsing; - [Write, Description("Specifies if the start time of the scan is randomized. (0: no randomization, 1: randomized)"), ValueMap{"0","1"}, Values{"0","1"}] String randomizescheduletasktimes; - [Write, Description("This setting allows you to configure the scheduler randomization in hours. The randomization interval is [1 - 23] hours.")] sInt32 schedulerrandomizationtime; - [Write, Description("This policy setting allows you to define the order in which different definition update sources should be contacted.")] String signatureupdatefallbackorder[]; - [Write, Description("This policy setting allows you to configure UNC file share sources for downloading definition updates.")] String signatureupdatefilesharessources[]; - [Write, Description("Specifies the interval (in hours) that will be used to check for signatures, so instead of using the ScheduleDay and ScheduleTime the check for new signatures will be set according to the interval. Must be between 0 and 24 hours.")] sInt32 signatureupdateinterval; - [Write, Description("Checks for the user consent level in Windows Defender to send data. (0: Always prompt, 1: Send safe samples automatically, 2: Never send, 3: Send all samples automatically)"), ValueMap{"0","1","2","3"}, Values{"0","1","2","3"}] String submitsamplesconsent; - [Write, Description("This policy setting controls whether or not complex list settings configured by a local administrator are merged with managed settings. (0: enable local admin merge, 1: disable local admin merge)"), ValueMap{"0","1"}, Values{"0","1"}] String disablelocaladminmerge; - [Write, Description("Allows or disallows Windows Defender On Access Protection functionality. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String allowonaccessprotection; - [Write, Description("Allows an administrator to specify low severity threats corresponding action ID to take."),ValueMap{"clean", "quarantine","remove", "allow", "userdefined","block"}, Values{"clean", "quarantine","remove", "allow", "userdefined","block"}] String lowseveritythreats; - [Write, Description("Allows an administrator to specify moderate severity threats corresponding action ID to take."),ValueMap{"clean", "quarantine","remove", "allow", "userdefined","block"}, Values{"clean", "quarantine","remove", "allow", "userdefined","block"}] String moderateseveritythreats; - [Write, Description("Allows an administrator to specify high severity threats corresponding action ID to take."),ValueMap{"clean", "quarantine","remove", "allow", "userdefined","block"}, Values{"clean", "quarantine","remove", "allow", "userdefined","block"}] String severethreats; - [Write, Description("Allows an administrator to specify severe threats corresponding action ID to take."),ValueMap{"clean", "quarantine","remove", "allow", "userdefined","block"}, Values{"clean", "quarantine","remove", "allow", "userdefined","block"}] String highseveritythreats; - [Write, Description("Template Id of the policy. 0: Windows Security Experience, 1: Defender Update controls, 2: Microsoft Defender Antivirus exclusions, 3: Microsoft Defender Antivirus"),ValueMap{"d948ff9b-99cb-4ee0-8012-1fbc09685377_1", "e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1", "45fea5e9-280d-4da1-9792-fb5736da0ca9_1","804339ad-1553-4478-a742-138fb5807418_1"}, Values{"d948ff9b-99cb-4ee0-8012-1fbc09685377_1", "e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1", "45fea5e9-280d-4da1-9792-fb5736da0ca9_1","804339ad-1553-4478-a742-138fb5807418_1"}] String templateId; + [Write, Description("This policy setting allows you to enable or disable low CPU priority for scheduled scans. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String EnableLowCPUPriority; + [Write, Description("This policy allows you to turn on network protection (block/audit) or off. (0: disabled, 1: block mode, 2: audit mode)"), ValueMap{"0", "1", "2"}, Values{"0", "1", "2"}] String EnableNetworkProtection; + [Write, Description("Allows an administrator to specify a list of file type extensions to ignore during a scan.")] String ExcludedExtensions[]; + [Write, Description("Allows an administrator to specify a list of directory paths to ignore during a scan.")] String ExcludedPaths[]; + [Write, Description("Allows an administrator to specify a list of files opened by processes to ignore during a scan.")] String ExcludedProcesses[]; + [Write, Description("Specifies the level of detection for potentially unwanted applications (PUAs). (0: disabled, 1: block mode, 2: audit mode)"), ValueMap{"0", "1", "2"}, Values{"0", "1", "2"}] String PUAProtection; + [Write, Description("Enable this policy to specify when devices receive Microsoft Defender engine updates during the monthly gradual rollout. (0: Not configured, 2: Beta Channel, 3: Current Channel (Preview), 4: Current Channel (Staged), 5: Current Channel (Broad), 6: Critical)"), ValueMap{"0", "2", "3", "4", "5", "6"}, Values{"0", "2", "3", "4", "5", "6"}] String EngineUpdatesChannel; + [Write, Description("Allow managed devices to update through metered connections. (0: disabled, 1: enabled)")] String MeteredConnectionUpdates; + [Write, Description("Enable this policy to specify when devices receive Microsoft Defender platform updates during the monthly gradual rollout. (0: Not configured, 2: Beta Channel, 3: Current Channel (Preview), 4: Current Channel (Staged), 5: Current Channel (Broad), 6: Critical)"), ValueMap{"0", "2", "3", "4", "5", "6"}, Values{"0", "2", "3", "4", "5", "6"}] String PlatformUpdatesChannel; + [Write, Description("Enable this policy to specify when devices receive Microsoft Defender security intelligence updates during the daily gradual rollout. (0: Not configured, 4: Current Channel (Staged), 5: Current Channel (Broad))"), ValueMap{"0", "4", "5"}, Values{"0", "4", "5"}] String SecurityIntelligenceUpdatesChannel; + [Write, Description("Controls which sets of files should be monitored. (0: Monitor all files (bi-directional), 1: Monitor incoming files, 2: Monitor outgoing files)"), ValueMap{"0", "1", "2"}, Values{"0", "1", "2"}] String RealTimeScanDirection; + [Write, Description("Selects whether to perform a quick scan or full scan. (1: Quick scan, 2: Full scan)"), ValueMap{"1","2"}, Values{"1","2"}] String ScanParameter; + [Write, Description("Selects the time of day that the Windows Defender quick scan should run.")] sInt32 ScheduleQuickScanTime; + [Write, Description("Selects the day that the Windows Defender scan should run. (0: Every day, 1: Sunday, 2: Monday, 3: Tuesday, 4: Wednesday, 5: Thursday, 6: Friday, 7: Saturday, 8: No scheduled scan)"), ValueMap{"0","1","2","3","4","5","6","7","8"}, Values{"0","1","2","3","4","5","6","7","8"}] String ScheduleScanDay; + [Write, Description("Selects the time of day that the Windows Defender scan should run. Must be between 0 and 1380 minutes.")] sInt32 ScheduleScanTime; + [Write, Description("This setting disables TLS Parsing for Network Protection. (0: enabled, 1: disabled)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableTlsParsing; + [Write, Description("Specifies if the start time of the scan is randomized. (0: no randomization, 1: randomized)"), ValueMap{"0","1"}, Values{"0","1"}] String RandomizeScheduleTaskTimes; + [Write, Description("This setting allows you to configure the scheduler randomization in hours. The randomization interval is [1 - 23] hours.")] sInt32 SchedulerRandomizationTime; + [Write, Description("This policy setting allows you to define the order in which different definition update sources should be contacted.")] String SignatureUpdateFallbackOrder[]; + [Write, Description("This policy setting allows you to configure UNC file share sources for downloading definition updates.")] String SignatureUpdateFileSharesSources[]; + [Write, Description("Specifies the interval (in hours) that will be used to check for signatures, so instead of using the ScheduleDay and ScheduleTime the check for new signatures will be set according to the interval. Must be between 0 and 24 hours.")] sInt32 SignatureUpdateInterval; + [Write, Description("Checks for the user consent level in Windows Defender to send data. (0: Always prompt, 1: Send safe samples automatically, 2: Never send, 3: Send all samples automatically)"), ValueMap{"0","1","2","3"}, Values{"0","1","2","3"}] String SubmitSamplesConsent; + [Write, Description("This policy setting controls whether or not complex list settings configured by a local administrator are merged with managed settings. (0: enable local admin merge, 1: disable local admin merge)"), ValueMap{"0","1"}, Values{"0","1"}] String DisableLocalAdminMerge; + [Write, Description("Allows or disallows Windows Defender On Access Protection functionality. (0: disable feature. 1: enable feature)"), ValueMap{"0","1"}, Values{"0","1"}] String AllowOnAccessProtection; + [Write, Description("Allows an administrator to specify low severity threats corresponding action ID to take."),ValueMap{"clean", "quarantine","remove", "allow", "userdefined","block"}, Values{"clean", "quarantine","remove", "allow", "userdefined","block"}] String LowSeverityThreats; + [Write, Description("Allows an administrator to specify moderate severity threats corresponding action ID to take."),ValueMap{"clean", "quarantine","remove", "allow", "userdefined","block"}, Values{"clean", "quarantine","remove", "allow", "userdefined","block"}] String ModerateSeverityThreats; + [Write, Description("Allows an administrator to specify high severity threats corresponding action ID to take."),ValueMap{"clean", "quarantine","remove", "allow", "userdefined","block"}, Values{"clean", "quarantine","remove", "allow", "userdefined","block"}] String SevereThreats; + [Write, Description("Allows an administrator to specify severe threats corresponding action ID to take."),ValueMap{"clean", "quarantine","remove", "allow", "userdefined","block"}, Values{"clean", "quarantine","remove", "allow", "userdefined","block"}] String HighSeverityThreats; + [Write, Description("Template Id of the policy. 0: Windows Security Experience, 1: Defender Update controls, 2: Microsoft Defender Antivirus exclusions, 3: Microsoft Defender Antivirus"),ValueMap{"d948ff9b-99cb-4ee0-8012-1fbc09685377_1", "e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1", "45fea5e9-280d-4da1-9792-fb5736da0ca9_1","804339ad-1553-4478-a742-138fb5807418_1"}, Values{"d948ff9b-99cb-4ee0-8012-1fbc09685377_1", "e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1", "45fea5e9-280d-4da1-9792-fb5736da0ca9_1","804339ad-1553-4478-a742-138fb5807418_1"}] String TemplateId; [Write, Description("Represents the assignment to the Intune policy."), EmbeddedInstance("MSFT_DeviceManagementConfigurationPolicyAssignments")] String Assignments[]; [Write, Description("Present ensures the policy exists, absent ensures it is removed"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure; [Write, Description("Credentials of the Intune Admin"), EmbeddedInstance("MSFT_Credential")] string Credential; diff --git a/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 b/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 index c6ac727450..1361587dbd 100644 --- a/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 +++ b/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 @@ -1775,7 +1775,7 @@ function Get-IntuneSettingCatalogPolicySettingInstanceValue $instanceCount = 1 if (($Level -gt 1 -and $groupSettingCollectionDefinitionChildren.Count -gt 1) -or - ($Level -eq 1 -and $groupSettingCollectionDefinitionChildren.Count -ge 1 -and $groupSettingCollectionDefinitionChildren.AdditionalProperties.'@odata.type' -notcontains "#microsoft.graph.deviceManagementConfigurationSettingGroupCollectionDefinition")) + ($Level -eq 1 -and $SettingDefinition.AdditionalProperties.maximumCount -gt 1 -and $groupSettingCollectionDefinitionChildren.Count -ge 1 -and $groupSettingCollectionDefinitionChildren.AdditionalProperties.'@odata.type' -notcontains "#microsoft.graph.deviceManagementConfigurationSettingGroupCollectionDefinition")) { $SettingInstanceName += Get-SettingsCatalogSettingName -SettingDefinition $SettingDefinition -AllSettingDefinitions $AllSettingDefinitions $cimDSCParams = @() @@ -2480,7 +2480,7 @@ function Update-IntuneDeviceConfigurationPolicy 'settings' = $Settings } $body = $policy | ConvertTo-Json -Depth 20 - #Write-Verbose -Message $body + Write-Verbose -Message $body -Verbose Invoke-MgGraphRequest -Method PUT -Uri $Uri -Body $body -ErrorAction Stop } catch From 566f627735903d1cf01cd3fc271da678e4b686bd Mon Sep 17 00:00:00 2001 From: Fabien Tschanz Date: Sun, 10 Nov 2024 19:46:51 +0100 Subject: [PATCH 06/58] Remove duplicate EXO Data at Rest Encryption Policy --- CHANGELOG.md | 2 - ...SFT_EXOM365DataAtRestEncryptionPolicy.psm1 | 395 ------------------ ...OM365DataAtRestEncryptionPolicy.schema.mof | 16 - .../readme.md | 5 - .../settings.json | 30 -- .../1-Create.ps1 | 38 -- .../2-Update.ps1 | 38 -- .../3-Remove.ps1 | 38 -- ...XOM365DataAtRestEncryptionPolicy.Tests.ps1 | 207 --------- 9 files changed, 769 deletions(-) delete mode 100644 Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/MSFT_EXOM365DataAtRestEncryptionPolicy.psm1 delete mode 100644 Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/MSFT_EXOM365DataAtRestEncryptionPolicy.schema.mof delete mode 100644 Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/readme.md delete mode 100644 Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/settings.json delete mode 100644 Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/1-Create.ps1 delete mode 100644 Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/2-Update.ps1 delete mode 100644 Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/3-Remove.ps1 delete mode 100644 Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOM365DataAtRestEncryptionPolicy.Tests.ps1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6845ab5c9e..ecec49722f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -116,8 +116,6 @@ * EXOArcConfig * Fixed `Test-TargetResource` to correctly check property `ArcTrustedSealers` when it has an array -* EXOM365DataAtRestEncryptionPolicy - * Initial release. * EXOMailboxAuditBypassAssociation * Initial release. * EXOMailboxSettings diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/MSFT_EXOM365DataAtRestEncryptionPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/MSFT_EXOM365DataAtRestEncryptionPolicy.psm1 deleted file mode 100644 index 47e321452c..0000000000 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/MSFT_EXOM365DataAtRestEncryptionPolicy.psm1 +++ /dev/null @@ -1,395 +0,0 @@ -function Get-TargetResource -{ - [CmdletBinding()] - [OutputType([System.Collections.Hashtable])] - param - ( - [Parameter(Mandatory = $true)] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String[]] - $AzureKeyIDs, - - [Parameter()] - [ValidateSet('Present', 'Absent')] - [System.String] - $Ensure, - - [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.String] - $CertificateThumbprint, - - [Parameter()] - [Switch] - $ManagedIdentity, - - [Parameter()] - [System.String[]] - $AccessTokens - ) - - New-M365DSCConnection -Workload 'ExchangeOnline' ` - -InboundParameters $PSBoundParameters | Out-Null - - Confirm-M365DSCDependencies - - $ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '') - $CommandName = $MyInvocation.MyCommand - $data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName ` - -CommandName $CommandName ` - -Parameters $PSBoundParameters - Add-M365DSCTelemetryEvent -Data $data - - $nullResult = $PSBoundParameters - $nullResult.Ensure = 'Absent' - try - { - if ($null -ne $Script:exportedInstances -and $Script:ExportMode) - { - $instance = $Script:exportedInstances | Where-Object -FilterScript {$_.Identity.Name -eq $Identity} - } - else - { - $instance = Get-M365DataAtRestEncryptionPolicy -Identity $Identity -ErrorAction Stop - } - if ($null -eq $instance) - { - return $nullResult - } - - $results = @{ - Identity = $Identity - Description = [System.String]$instance.Description - Enabled = [System.Boolean]$instance.Enabled - Name = [System.String]$instance.Name - AzureKeyIDs = [System.String[]]$instance.AzureKeyIDs - Ensure = 'Present' - Credential = $Credential - ApplicationId = $ApplicationId - TenantId = $TenantId - CertificateThumbprint = $CertificateThumbprint - ManagedIdentity = $ManagedIdentity.IsPresent - AccessTokens = $AccessTokens - } - return [System.Collections.Hashtable] $results - } - catch - { - New-M365DSCLogEntry -Message 'Error retrieving data:' ` - -Exception $_ ` - -Source $($MyInvocation.MyCommand.Source) ` - -TenantId $TenantId ` - -Credential $Credential - - return $nullResult - } -} - -function Set-TargetResource -{ - [CmdletBinding()] - param - ( - [Parameter(Mandatory = $true)] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String[]] - $AzureKeyIDs, - - [Parameter()] - [ValidateSet('Present', 'Absent')] - [System.String] - $Ensure, - - [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.String] - $CertificateThumbprint, - - [Parameter()] - [Switch] - $ManagedIdentity, - - [Parameter()] - [System.String[]] - $AccessTokens - ) - - #Ensure the proper dependencies are installed in the current environment. - Confirm-M365DSCDependencies - - #region Telemetry - $ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '') - $CommandName = $MyInvocation.MyCommand - $data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName ` - -CommandName $CommandName ` - -Parameters $PSBoundParameters - Add-M365DSCTelemetryEvent -Data $data - #endregion - - $currentInstance = Get-TargetResource @PSBoundParameters - - $setParameters = Remove-M365DSCAuthenticationParameter -BoundParameters $PSBoundParameters - - # CREATE - if ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Absent') - { - $setParameters.Remove('Identity') - New-M365DataAtRestEncryptionPolicy @SetParameters - } - # UPDATE - elseif ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Present') - { - $setParameters.Remove('AzureKeyIDs') - $setParameters.Remove('Name') - Set-M365DataAtRestEncryptionPolicy @SetParameters - } - elseif ($Ensure -eq 'Absent' -and $currentInstance.Ensure -eq 'Present') - { - Write-Warning "Removal of EXOM365DataAtRestEncryptionPolicy is not supported." - } -} - -function Test-TargetResource -{ - [CmdletBinding()] - [OutputType([System.Boolean])] - param - ( - [Parameter(Mandatory = $true)] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String[]] - $AzureKeyIDs, - - [Parameter()] - [ValidateSet('Present', 'Absent')] - [System.String] - $Ensure, - - [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.String] - $CertificateThumbprint, - - [Parameter()] - [Switch] - $ManagedIdentity, - - [Parameter()] - [System.String[]] - $AccessTokens - ) - - #Ensure the proper dependencies are installed in the current environment. - Confirm-M365DSCDependencies - - #region Telemetry - $ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '') - $CommandName = $MyInvocation.MyCommand - $data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName ` - -CommandName $CommandName ` - -Parameters $PSBoundParameters - Add-M365DSCTelemetryEvent -Data $data - #endregion - - $CurrentValues = Get-TargetResource @PSBoundParameters - $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() - - Write-Verbose -Message "Current Values: $(Convert-M365DscHashtableToString -Hashtable $CurrentValues)" - Write-Verbose -Message "Target Values: $(Convert-M365DscHashtableToString -Hashtable $ValuesToCheck)" - - $testResult = Test-M365DSCParameterState -CurrentValues $CurrentValues ` - -Source $($MyInvocation.MyCommand.Source) ` - -DesiredValues $PSBoundParameters ` - -ValuesToCheck $ValuesToCheck.Keys - - Write-Verbose -Message "Test-TargetResource returned $testResult" - - return $testResult -} - -function Export-TargetResource -{ - [CmdletBinding()] - [OutputType([System.String])] - param - ( - [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ApplicationSecret, - - [Parameter()] - [System.String] - $CertificateThumbprint, - - [Parameter()] - [Switch] - $ManagedIdentity, - - [Parameter()] - [System.String[]] - $AccessTokens - ) - - $ConnectionMode = New-M365DSCConnection -Workload 'ExchangeOnline' ` - -InboundParameters $PSBoundParameters - - Confirm-M365DSCDependencies - - #region Telemetry - $ResourceName = $MyInvocation.MyCommand.ModuleName.Replace('MSFT_', '') - $CommandName = $MyInvocation.MyCommand - $data = Format-M365DSCTelemetryParameters -ResourceName $ResourceName ` - -CommandName $CommandName ` - -Parameters $PSBoundParameters - Add-M365DSCTelemetryEvent -Data $data - #endregion - - try - { - $Script:ExportMode = $true - [array] $Script:exportedInstances = Get-M365DataAtRestEncryptionPolicy -ErrorAction Stop - - $i = 1 - $dscContent = '' - if ($Script:exportedInstances.Length -eq 0) - { - Write-Host $Global:M365DSCEmojiGreenCheckMark - } - else - { - Write-Host "`r`n" -NoNewline - } - foreach ($config in $Script:exportedInstances) - { - $displayedKey = $config.Identity - Write-Host " |---[$i/$($Script:exportedInstances.Count)] $displayedKey" -NoNewline - $params = @{ - Identity = $config.Identity - Credential = $Credential - ApplicationId = $ApplicationId - TenantId = $TenantId - CertificateThumbprint = $CertificateThumbprint - ManagedIdentity = $ManagedIdentity.IsPresent - AccessTokens = $AccessTokens - } - - $Results = Get-TargetResource @Params - $Results = Update-M365DSCExportAuthenticationResults -ConnectionMode $ConnectionMode ` - -Results $Results - - $currentDSCBlock = Get-M365DSCExportContentForResource -ResourceName $ResourceName ` - -ConnectionMode $ConnectionMode ` - -ModulePath $PSScriptRoot ` - -Results $Results ` - -Credential $Credential - $dscContent += $currentDSCBlock - Save-M365DSCPartialExport -Content $currentDSCBlock ` - -FileName $Global:PartialExportFileName - $i++ - Write-Host $Global:M365DSCEmojiGreenCheckMark - } - return $dscContent - } - catch - { - Write-Host $Global:M365DSCEmojiRedX - - New-M365DSCLogEntry -Message 'Error during Export:' ` - -Exception $_ ` - -Source $($MyInvocation.MyCommand.Source) ` - -TenantId $TenantId ` - -Credential $Credential - - return '' - } -} diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/MSFT_EXOM365DataAtRestEncryptionPolicy.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/MSFT_EXOM365DataAtRestEncryptionPolicy.schema.mof deleted file mode 100644 index d790e46f09..0000000000 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/MSFT_EXOM365DataAtRestEncryptionPolicy.schema.mof +++ /dev/null @@ -1,16 +0,0 @@ -[ClassVersion("1.0.0.0"), FriendlyName("EXOM365DataAtRestEncryptionPolicy")] -class MSFT_EXOM365DataAtRestEncryptionPolicy : OMI_BaseResource -{ - [Key, Description("The Identity parameter specifies the data-at-rest encryption policy that you want to modify.")] String Identity; - [Write, Description("The Name parameter specifies a unique name for the Microsoft 365 data-at-rest encryption policy.")] String Name; - [Write, Description("The Description parameter specifies an optional description for the policy.")] String Description; - [Write, Description("The Enabled parameter specifies whether the policy is enabled or disabled. ")] Boolean Enabled; - [Write, Description("The AzureKeyIDs parameter specifies the URL of the encryption key in the Azure Key Vault that's used for encryption.")] String AzureKeyIDs[]; - [Write, Description("Present ensures the instance exists, absent ensures it is removed."), ValueMap{"Absent","Present"}, Values{"Absent","Present"}] string Ensure; - [Write, Description("Credentials of the workload's Admin"), EmbeddedInstance("MSFT_Credential")] string Credential; - [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId; - [Write, Description("Id of the Azure Active Directory tenant used for authentication.")] String TenantId; - [Write, Description("Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication.")] String CertificateThumbprint; - [Write, Description("Managed ID being used for authentication.")] Boolean ManagedIdentity; - [Write, Description("Access token used for authentication.")] String AccessTokens[]; -}; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/readme.md b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/readme.md deleted file mode 100644 index 77f3d11aeb..0000000000 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -# EXOM365DataAtRestEncryptionPolicy - -## Description - -Microsoft 365 data-at-rest encryption policy for multi-workload usage. diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/settings.json b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/settings.json deleted file mode 100644 index 0e930a6e20..0000000000 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOM365DataAtRestEncryptionPolicy/settings.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "resourceName": "EXOM365DataAtRestEncryptionPolicy", - "description": "Microsoft 365 data-at-rest encryption policy for multi-workload usage.", - "roles": { - "read": [ - "Global Reader" - ], - "update": [ - "Exchange Administrator" - ] - }, - "permissions": { - "graph": { - "delegated": { - "read": [], - "update": [] - }, - "application": { - "read": [], - "update": [] - } - }, - "exchange": { - "requiredroles": [ - "Compliance Admin" - ], - "requiredrolegroups": "Organization Management" - } - } -} diff --git a/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/1-Create.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/1-Create.ps1 deleted file mode 100644 index cd20934197..0000000000 --- a/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/1-Create.ps1 +++ /dev/null @@ -1,38 +0,0 @@ -<# -This example is used to test new resources and showcase the usage of new resources being worked on. -It is not meant to use as a production baseline. -#> - -Configuration Example -{ - param( - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.String] - $CertificateThumbprint - ) - Import-DscResource -ModuleName Microsoft365DSC - - node localhost - { - EXOM365DataAtRestEncryptionPolicy "M365DataAtRestEncryptionPolicy-Riyansh_Policy" - { - AzureKeyIDs = @("https://m365dataatrestencryption.vault.azure.net/keys/EncryptionKey","https://m365datariyansh.vault.azure.net/keys/EncryptionRiyansh"); - Description = "Tenant default policy 1"; - Enabled = $True; - Ensure = "Present"; - Identity = "Riyansh_Policy"; - Name = "Riyansh_Policy"; - ApplicationId = $ApplicationId; - TenantId = $TenantId; - CertificateThumbprint = $CertificateThumbprint; - } - } -} diff --git a/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/2-Update.ps1 deleted file mode 100644 index a2b808a007..0000000000 --- a/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/2-Update.ps1 +++ /dev/null @@ -1,38 +0,0 @@ -<# -This example is used to test new resources and showcase the usage of new resources being worked on. -It is not meant to use as a production baseline. -#> - -Configuration Example -{ - param( - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.String] - $CertificateThumbprint - ) - Import-DscResource -ModuleName Microsoft365DSC - - node localhost - { - EXOM365DataAtRestEncryptionPolicy "M365DataAtRestEncryptionPolicy-Riyansh_Policy" - { - AzureKeyIDs = @("https://m365dataatrestencryption.vault.azure.net/keys/EncryptionKey","https://m365datariyansh.vault.azure.net/keys/EncryptionRiyansh"); - Description = "Tenant default policy 2"; # drift - Enabled = $True; - Ensure = "Present"; - Identity = "Riyansh_Policy"; - Name = "Riyansh_Policy"; - ApplicationId = $ApplicationId; - TenantId = $TenantId; - CertificateThumbprint = $CertificateThumbprint; - } - } -} diff --git a/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/3-Remove.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/3-Remove.ps1 deleted file mode 100644 index 2fb04326d1..0000000000 --- a/Modules/Microsoft365DSC/Examples/Resources/EXOM365DataAtRestEncryptionPolicy/3-Remove.ps1 +++ /dev/null @@ -1,38 +0,0 @@ -<# -This example is used to test new resources and showcase the usage of new resources being worked on. -It is not meant to use as a production baseline. -#> - -Configuration Example -{ - param( - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.String] - $CertificateThumbprint - ) - Import-DscResource -ModuleName Microsoft365DSC - - node localhost - { - EXOM365DataAtRestEncryptionPolicy "M365DataAtRestEncryptionPolicy-Riyansh_Policy" - { - AzureKeyIDs = @("https://m365dataatrestencryption.vault.azure.net/keys/EncryptionKey","https://m365datariyansh.vault.azure.net/keys/EncryptionRiyansh"); - Description = "Tenant default policy 1"; - Enabled = $True; - Ensure = "Absent"; - Identity = "Riyansh_Policy"; - Name = "Riyansh_Policy"; - ApplicationId = $ApplicationId; - TenantId = $TenantId; - CertificateThumbprint = $CertificateThumbprint; - } - } -} diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOM365DataAtRestEncryptionPolicy.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOM365DataAtRestEncryptionPolicy.Tests.ps1 deleted file mode 100644 index 9969ea0126..0000000000 --- a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOM365DataAtRestEncryptionPolicy.Tests.ps1 +++ /dev/null @@ -1,207 +0,0 @@ -[CmdletBinding()] -param( -) -$M365DSCTestFolder = Join-Path -Path $PSScriptRoot ` - -ChildPath '..\..\Unit' ` - -Resolve -$CmdletModule = (Join-Path -Path $M365DSCTestFolder ` - -ChildPath '\Stubs\Microsoft365.psm1' ` - -Resolve) -$GenericStubPath = (Join-Path -Path $M365DSCTestFolder ` - -ChildPath '\Stubs\Generic.psm1' ` - -Resolve) -Import-Module -Name (Join-Path -Path $M365DSCTestFolder ` - -ChildPath '\UnitTestHelper.psm1' ` - -Resolve) - -$CurrentScriptPath = $PSCommandPath.Split('\') -$CurrentScriptName = $CurrentScriptPath[$CurrentScriptPath.Length -1] -$ResourceName = $CurrentScriptName.Split('.')[1] -$Global:DscHelper = New-M365DscUnitTestHelper -StubModule $CmdletModule ` - -DscResource $ResourceName -GenericStubModule $GenericStubPath - -Describe -Name $Global:DscHelper.DescribeHeader -Fixture { - InModuleScope -ModuleName $Global:DscHelper.ModuleName -ScriptBlock { - Invoke-Command -ScriptBlock $Global:DscHelper.InitializeScript -NoNewScope - BeforeAll { - - $secpasswd = ConvertTo-SecureString (New-Guid | Out-String) -AsPlainText -Force - $Credential = New-Object System.Management.Automation.PSCredential ('tenantadmin@mydomain.com', $secpasswd) - - Mock -CommandName Confirm-M365DSCDependencies -MockWith { - } - - Mock -CommandName New-M365DSCConnection -MockWith { - return "Credentials" - } - - Mock -CommandName Set-M365DataAtRestEncryptionPolicy -MockWith { - return $null - } - - Mock -CommandName New-M365DataAtRestEncryptionPolicy -MockWith { - return $null - } - - # Mock Write-Host to hide output during the tests - Mock -CommandName Write-Host -MockWith { - } - $Script:exportedInstances =$null - $Script:ExportMode = $false - } - # Test contexts - Context -Name "The instance should exist but it DOES NOT" -Fixture { - BeforeAll { - $testParams = @{ - Identity = 'FakeStringValue' - Name = 'FakeStringValue' - Description = 'FakeStringValue' - Enabled = $true - AzureKeyIDs = @('FakeStringValue1', 'FakeStringValue2') - Ensure = 'Present' - Credential = $Credential; - } - - Mock -CommandName Get-M365DataAtRestEncryptionPolicy -MockWith { - return $null - } - } - It 'Should return Values from the Get method' { - (Get-TargetResource @testParams).Ensure | Should -Be 'Absent' - } - It 'Should return false from the Test method' { - Test-TargetResource @testParams | Should -Be $false - } - - It 'Should create a new instance from the Set method' { - Set-TargetResource @testParams - Should -Invoke -CommandName New-M365DataAtRestEncryptionPolicy -Exactly 1 - } - } - - Context -Name "The instance exists but it SHOULD NOT" -Fixture { - BeforeAll { - $testParams = @{ - Identity = 'FakeStringValue' - Name = 'FakeStringValue' - Description = 'FakeStringValue' - Enabled = $true - AzureKeyIDs = @('FakeStringValue1', 'FakeStringValue2') - Ensure = 'Absent' - Credential = $Credential; - } - - Mock -CommandName Get-M365DataAtRestEncryptionPolicy -MockWith { - return @{ - Identity = 'FakeStringValue' - Name = 'FakeStringValue' - Description = 'FakeStringValue' - Enabled = $true - AzureKeyIDs = @('FakeStringValue1', 'FakeStringValue2') - } - } - } - It 'Should return Values from the Get method' { - (Get-TargetResource @testParams).Ensure | Should -Be 'Present' - } - It 'Should return false from the Test method' { - Test-TargetResource @testParams | Should -Be $false - } - - It 'Should remove the instance from the Set method' { - Set-TargetResource @testParams - } - } - - Context -Name "The instance exists and values are already in the desired state" -Fixture { - BeforeAll { - $testParams = @{ - Identity = 'FakeStringValue' - Name = 'FakeStringValue' - Description = 'FakeStringValue' - Enabled = $true - AzureKeyIDs = @('FakeStringValue1', 'FakeStringValue2') - Ensure = 'Present' - Credential = $Credential; - } - - Mock -CommandName Get-M365DataAtRestEncryptionPolicy -MockWith { - return @{ - Identity = 'FakeStringValue' - Name = 'FakeStringValue' - Description = 'FakeStringValue' - Enabled = $true - AzureKeyIDs = @('FakeStringValue1', 'FakeStringValue2') - } - } - } - - It 'Should return true from the Test method' { - Test-TargetResource @testParams | Should -Be $true - } - } - - Context -Name "The instance exists and values are NOT in the desired state" -Fixture { - BeforeAll { - $testParams = @{ - Identity = 'FakeStringValue' - Name = 'FakeStringValue' - Description = 'FakeStringValue' - Enabled = $true - AzureKeyIDs = @('FakeStringValue1', 'FakeStringValue2') - Ensure = 'Present' - Credential = $Credential; - } - - Mock -CommandName Get-M365DataAtRestEncryptionPolicy -MockWith { - return @{ - Identity = 'FakeStringValue' - Name = 'FakeStringValue' - Description = 'FakeStringValue2' #drift - Enabled = $true - AzureKeyIDs = @('FakeStringValue1', 'FakeStringValue2') - } - } - } - - It 'Should return Values from the Get method' { - (Get-TargetResource @testParams).Ensure | Should -Be 'Present' - } - - It 'Should return false from the Test method' { - Test-TargetResource @testParams | Should -Be $false - } - - It 'Should call the Set method' { - Set-TargetResource @testParams - Should -Invoke -CommandName Set-M365DataAtRestEncryptionPolicy -Exactly 1 - } - } - - Context -Name 'ReverseDSC Tests' -Fixture { - BeforeAll { - $Global:CurrentModeIsExport = $true - $Global:PartialExportFileName = "$(New-Guid).partial.ps1" - $testParams = @{ - Credential = $Credential; - } - - Mock -CommandName Get-M365DataAtRestEncryptionPolicy -MockWith { - return @{ - Identity = 'FakeStringValue' - Name = 'FakeStringValue' - Description = 'FakeStringValue2' #drift - Enabled = $true - AzureKeyIDs = @('FakeStringValue1', 'FakeStringValue2') - } - } - } - It 'Should Reverse Engineer resource from the Export method' { - $result = Export-TargetResource @testParams - $result | Should -Not -BeNullOrEmpty - } - } - } -} - -Invoke-Command -ScriptBlock $Global:DscHelper.CleanupScript -NoNewScope From b5bfd3e79c6bc835abc279653cc1842a86570311 Mon Sep 17 00:00:00 2001 From: "Arpita Mohapatra (from Dev Box)" Date: Mon, 11 Nov 2024 15:37:31 +0530 Subject: [PATCH 07/58] Added UTs --- .../MSFT_EXOMigration/MSFT_EXOMigration.psm1 | 4 +- .../Microsoft365DSC.EXOMigration.Tests.ps1 | 129 +- Tests/Unit/Stubs/Microsoft365.psm1 | 103418 ++------------- 3 files changed, 8112 insertions(+), 95439 deletions(-) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 index cb125202fc..eefee7e694 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 @@ -306,13 +306,13 @@ function Set-TargetResource # Retrieve the migration batch $migrationBatch = Get-MigrationBatch -Identity $currentInstance.Identity -ErrorAction Stop - if ($migrationBatch.Status.Value -in @('Completed', 'CompletedWithErrors', 'Stopped', 'Failed', 'SyncedWithErrors')) + if ($migrationBatch.Status -in @('Completed', 'CompletedWithErrors', 'Stopped', 'Failed', 'SyncedWithErrors')) { # If the migration batch is in a final state, remove it directly Remove-MigrationBatch -Identity $currentInstance.Identity -Confirm:$false Write-Host "Migration batch '$($currentInstance.Identity)' has been removed as it was in a completed or stopped state." } - elseif ($migrationBatch.Status.Value -in @('InProgress', 'Syncing', 'Queued', 'Completing')) + elseif ($migrationBatch.Status -in @('InProgress', 'Syncing', 'Queued', 'Completing')) { # If the migration batch is in progress, stop it first Stop-MigrationBatch -Identity $currentInstance.Identity -Confirm:$false diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 index 2ee7018452..85690291e3 100644 --- a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 @@ -53,6 +53,9 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Mock -CommandName Get-MigrationUser -MockWith { } + Mock -CommandName Get-MigrationUser -MockWith { + } + # Mock Write-Host to hide output during the tests Mock -CommandName Write-Host -MockWith { } @@ -70,9 +73,9 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Ensure = "Present"; Identity = "Arpita"; LargeItemLimit = "Unlimited"; - MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MigrationUsers = @("peixintest1@bellred.org","akstest39@bellred.org"); MoveOptions = @(); - NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; StartAfter = "7/30/2020 9:00:00 PM"; @@ -108,9 +111,9 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Ensure = "Absent"; Identity = "Arpita"; LargeItemLimit = "Unlimited"; - MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MigrationUsers = @("peixintest1@bellred.org","akstest39@bellred.org"); MoveOptions = @(); - NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; StartAfter = "7/30/2020 9:00:00 PM"; @@ -128,9 +131,9 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Ensure = "Present"; Identity = "Arpita"; LargeItemLimit = "Unlimited"; - MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MigrationUsers = @("peixintest1@bellred.org","akstest39@bellred.org"); MoveOptions = @(); - NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; StartAfter = "7/30/2020 9:00:00 PM"; @@ -164,9 +167,9 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Ensure = "Absent"; Identity = "Arpita"; LargeItemLimit = "Unlimited"; - MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MigrationUsers = @("peixintest1@bellred.org","akstest39@bellred.org"); MoveOptions = @(); - NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; StartAfter = "7/30/2020 9:00:00 PM"; @@ -184,9 +187,9 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Ensure = "Present"; Identity = "Arpita"; LargeItemLimit = "Unlimited"; - MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MigrationUsers = @("peixintest1@bellred.org","akstest39@bellred.org"); MoveOptions = @(); - NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; StartAfter = "7/30/2020 9:00:00 PM"; @@ -216,12 +219,12 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { BadItemLimit = "Unlimited"; CompleteAfter = "7/30/2020 9:00:00 PM"; Credential = $Credscredential; - Ensure = "Absent"; + Ensure = "Present"; Identity = "Arpita"; LargeItemLimit = "Unlimited"; - MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MigrationUsers = @("peixintest1@bellred.org","akstest39@bellred.org"); MoveOptions = @(); - NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; StartAfter = "7/30/2020 9:00:00 PM"; @@ -236,12 +239,12 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { BadItemLimit = "Unlimited"; CompleteAfter = "7/30/2020 9:00:00 PM"; Credential = $Credscredential; - Ensure = "Absent"; + Ensure = "Present"; Identity = "Arpita"; LargeItemLimit = "Unlimited"; - MigrationUsers = @("peixintest1@$OrganizationName","akstest39@$OrganizationName"); + MigrationUsers = @("peixintest1@bellred.org","akstest39@bellred.org"); MoveOptions = @(); - NotificationEmails = @("eac_admin@$OrganizationName","abc@$OrganizationName"); + NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; StartAfter = "7/30/2020 9:00:00 PM"; @@ -256,5 +259,99 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Test-TargetResource @testParams | Should -Be $true } } + + Context -Name "The instance exists and values are NOT in the desired state" -Fixture { + BeforeAll { + $testParams = @{ + AddUsers = $False; + BadItemLimit = "Unlimited"; + CompleteAfter = "7/30/2020 9:00:00 PM"; + Credential = $Credscredential; + Ensure = "Present"; + Identity = "Arpita"; + LargeItemLimit = "Unlimited"; + MigrationUsers = @("peixintest1@bellred.org","akstest39@bellred.org"); + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); + SkipMerging = @("abc"); + SourceEndpoint = "gmailCalendar"; + StartAfter = "7/30/2020 9:00:00 PM"; + Status = "Completing"; + TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; + Update = $False; + } + + Mock -CommandName Get-MigrationBatch -MockWith { + return @{ + AddUsers = $False; + BadItemLimit = "Unlimited"; + CompleteAfter = "7/30/2020 9:00:00 PM"; + Credential = $Credscredential; + Ensure = "Present"; + Identity = "Arpita"; + LargeItemLimit = "Unlimited"; + MigrationUsers = @("peixintest1@bellred.org","akstest39@bellred.org"); + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); + SkipMerging = @(); + SourceEndpoint = "gmailCalendar"; + StartAfter = "7/30/2020 9:00:00 PM"; + Status = "Completing"; + TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; + Update = $False; + } + } + } + + It 'Should return Values from the Get method' { + (Get-TargetResource @testParams).Ensure | Should -Be 'Present' + } + + It 'Should return false from the Test method' { + Test-TargetResource @testParams | Should -Be $false + } + + It 'Should call the Set method' { + Set-TargetResource @testParams + Should -Invoke -CommandName Set-MigrationBatch -Exactly 1 + } + } + + Context -Name 'ReverseDSC Tests' -Fixture { + BeforeAll { + $Global:CurrentModeIsExport = $true + $Global:PartialExportFileName = "$(New-Guid).partial.ps1" + $testParams = @{ + Credential = $Credential; + } + + Mock -CommandName Get-MigrationBatch -MockWith { + return @{ + AddUsers = $False; + BadItemLimit = "Unlimited"; + CompleteAfter = "7/30/2020 9:00:00 PM"; + Credential = $Credscredential; + Ensure = "Present"; + Identity = "Arpita"; + LargeItemLimit = "Unlimited"; + MigrationUsers = @("peixintest1@bellred.org","akstest39@bellred.org"); + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); + SkipMerging = @(); + SourceEndpoint = "gmailCalendar"; + StartAfter = "7/30/2020 9:00:00 PM"; + Status = "Completing"; + TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; + Update = $False; + } + } + } + It 'Should Reverse Engineer resource from the Export method' { + $result = Export-TargetResource @testParams + $result | Should -Not -BeNullOrEmpty + } + } } } + +Invoke-Command -ScriptBlock $Global:DscHelper.CleanupScript -NoNewScope diff --git a/Tests/Unit/Stubs/Microsoft365.psm1 b/Tests/Unit/Stubs/Microsoft365.psm1 index bf64f68f7a..a4d1231954 100644 --- a/Tests/Unit/Stubs/Microsoft365.psm1 +++ b/Tests/Unit/Stubs/Microsoft365.psm1 @@ -1,832 +1,503 @@ -#region Azure -function Invoke-AzRest +#region ExchangeOnlineManagement +function Get-DefaultTenantBriefingConfig { [CmdletBinding()] param( [Parameter()] - [System.String] - $Uri, - - [Parameter()] - [System.String] - $Payload, - - [Parameter()] - [System.String] - $Method + [PSObject] + $ResultSize ) } -#endregion - -#region M365DataAtRestEncryptionPolicy -function Get-M365DataAtRestEncryptionPolicy +function Get-DefaultTenantMyAnalyticsFeatureConfig { [CmdletBinding()] param( [Parameter()] - [System.String] - $Identity + [PSObject] + $ResultSize ) } - -function Set-M365DataAtRestEncryptionPolicy +function Set-DefaultTenantBriefingConfig { [CmdletBinding()] param( [Parameter()] [System.String] - $Identity, - - [Parameter()] - [System.String] - $Description, + $IsEnabledByDefault, [Parameter()] - [System.Boolean] - $Enabled + [PSObject] + $ResultSize ) } - -function New-M365DataAtRestEncryptionPolicy +function Set-DefaultTenantMyAnalyticsFeatureConfig { [CmdletBinding()] param( [Parameter()] [System.String] - $Description, + $Feature, [Parameter()] [System.Boolean] - $Enabled, - - [Parameter()] - [System.String] - $Name, + $IsEnabled, [Parameter()] - [System.String[]] - $AzureKeyIDs - ) -} -function Get-M365DataAtRestEncryptionPolicyAssignment -{ - [CmdletBinding()] - param() -} + [PSObject] + $ResultSize, -function Set-M365DataAtRestEncryptionPolicyAssignment -{ - [CmdletBinding()] - param( [Parameter()] - [System.String] - $DataEncryptionPolicy + [System.Nullable`1[System.Double]] + $SamplingRate ) } #endregion - -function Get-MgBetaPolicyDeviceRegistrationPolicy -{ - [CmdletBinding()] - param() -} - -function Get-MgBetaPolicyAdminConsentRequestPolicy -{ - [CmdletBinding()] - param() -} - - -#region Microsoft.Graph.Beta.Applications -function Get-MgBetaApplication +#region ExchangeOnlineManagement +function Add-AvailabilityAddressSpace { [CmdletBinding()] param( [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, + [System.Management.Automation.PSCredential] + $Credentials, [Parameter()] [System.String] - $ApplicationId, + $ForestName, [Parameter()] [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, + $TargetAutodiscoverEpr, [Parameter()] [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + $Confirm, [Parameter()] [System.String] - $Search, + $TargetTenantId, [Parameter()] [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, + $TargetServiceEpr, [Parameter()] - [PSObject] - $HttpPipelineAppend + [System.Object] + $AccessMethod ) } -function Update-MgBetaApplication +function Add-MailboxFolderPermission { [CmdletBinding()] param( [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HomeRealmDiscoveryPolicies, - - [Parameter()] - [PSObject] - $Spa, - - [Parameter()] - [PSObject] - $Synchronization, - - [Parameter()] - [System.String] - $DefaultRedirectUri, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $SignInAudience, - - [Parameter()] - [PSObject] - $VerifiedPublisher, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $OptionalClaims, - - [Parameter()] - [System.String[]] - $IdentifierUris, + [System.Object[]] + $AccessRights, [Parameter()] - [PSObject] - $AuthenticationBehaviors, + [System.Object] + $SharingPermissionFlags, [Parameter()] [System.Management.Automation.SwitchParameter] - $IsDeviceOnlyAuthSupported, - - [Parameter()] - [System.String] - $TokenEncryptionKeyId, - - [Parameter()] - [System.String] - $UniqueName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $TokenIssuancePolicies, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $Api, - - [Parameter()] - [System.String] - $PublisherDomain, - - [Parameter()] - [System.String] - $GroupMembershipClaims, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String[]] - $Tags, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [PSObject] - $FederatedIdentityCredentials, - - [Parameter()] - [PSObject] - $TokenLifetimePolicies, - - [Parameter()] - [PSObject] - $AppManagementPolicies, - - [Parameter()] - [System.String] - $DisabledByMicrosoftStatus, - - [Parameter()] - [PSObject] - $PasswordCredentials, - - [Parameter()] - [PSObject] - $PublicClient, - - [Parameter()] - [System.String] - $Notes, + $Confirm, [Parameter()] - [PSObject] - $RequiredResourceAccess, + [System.Object] + $User, [Parameter()] - [PSObject] - $ParentalControlSettings, + [System.Object] + $Identity, [Parameter()] - [PSObject] - $Web, - + [System.Boolean] + $SendNotificationToUser + ) +} +function Add-MailboxPermission +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $DisplayName, + [System.Object[]] + $AccessRights, [Parameter()] [System.Management.Automation.SwitchParameter] - $IsFallbackPublicClient, - - [Parameter()] - [System.String] - $NativeAuthenticationApisEnabled, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [PSObject] - $RequestSignatureVerification, - - [Parameter()] - [System.String] - $LogoInputFile, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $ApplicationId, + $GroupMailbox, [Parameter()] - [PSObject] - $AppRoles, + [System.Management.Automation.SwitchParameter] + $Deny, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $AutoMapping, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [PSObject] - $ExtensionProperties, - - [Parameter()] - [PSObject] - $Windows, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $CreatedOnBehalfOf, - - [Parameter()] - [PSObject] - $ConnectorGroup, + [System.Object] + $User, [Parameter()] - [PSObject] - $ServicePrincipalLockConfiguration, + [System.Object] + $Owner, [Parameter()] - [System.String] - $ServiceManagementReference, + [System.Object] + $Identity, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Management.Automation.SwitchParameter] + $IgnoreDefaultScope, [Parameter()] - [PSObject] - $KeyCredentials, - + [System.DirectoryServices.ActiveDirectorySecurityInheritance] + $InheritanceType + ) +} +function Add-RecipientPermission +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject] - $Certification, + [System.Object] + $AccessRights, [Parameter()] - [PSObject] - $OnPremisesPublishing, + [System.Object] + $Trustee, [Parameter()] - [System.String] - $SamlMetadataUrl, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject] - $Info, - + [System.Object] + $Identity + ) +} +function Add-RoleGroupMember +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $Identity, [Parameter()] - [System.String] - $AppId, + [System.Management.Automation.SwitchParameter] + $BypassSecurityGroupManagerCheck, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break + [System.Object] + $Member ) } -#endregion - -#region Azure -function Get-AzSentinelSetting +function Disable-ATPProtectionPolicyRule { [CmdletBinding()] param( [Parameter()] - [System.String] - $ResourceGroupName, - - [Parameter()] - [System.String] - $WorkspaceName, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $SubscriptionId + [System.Object] + $Identity ) } - -function Update-AzSentinelSetting +function Disable-EOPProtectionPolicyRule { [CmdletBinding()] param( [Parameter()] - [System.String] - $ResourceGroupName, - - [Parameter()] - [System.String] - $WorkspaceName, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String] - $SettingsName, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $DataSource + [System.Object] + $Identity ) } - -function Get-AzResource +function Enable-ATPProtectionPolicyRule { [CmdletBinding()] param( [Parameter()] - [System.String] - $ResourceType + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity ) } - -function Get-AzSubscription +function Enable-EOPProtectionPolicyRule { [CmdletBinding()] param( [Parameter()] - [System.String] - $SubscriptionId, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $SubscriptionName + [System.Object] + $Identity ) } - -function Get-AzSecurityPricing +function Enable-OrganizationCustomization { [CmdletBinding()] param( [Parameter()] - [System.String] - $Name + [System.Management.Automation.SwitchParameter] + $Confirm ) } - -function Set-AzSecurityPricing +function Get-AcceptedDomain { [CmdletBinding()] param( [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $PricingTier, - - [Parameter()] - [System.String] - $SubPlan, + [System.Object] + $Identity, [Parameter()] - [System.String] - $Extension + [System.Object] + $ResultSize ) } - -function Get-AzContext -{ - [CmdletBinding()] - param() -} - -function Set-AzContext +function Get-ActiveSyncDevice { [CmdletBinding()] param( [Parameter()] [System.String] - $Subscription - ) -} + $SortBy, -function Search-AzGraph -{ - [CmdletBinding()] - param( [Parameter()] - [System.String] - $Query, + [System.Object] + $Mailbox, [Parameter()] - [System.Int32] - $First, + [System.Object] + $OrganizationalUnit, [Parameter()] [System.String] - $SkipToken, + $Filter, [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseTenantScope + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $ResultSize ) } - - -function Enable-ATPProtectionPolicyRule +function Get-ActiveSyncDeviceAccessRule { [CmdletBinding()] param( [Parameter()] - [System.String] + [System.Object] $Identity ) } - -function Enable-AzSubscription +function Get-ActiveSyncMailboxPolicy { [CmdletBinding()] param( [Parameter()] - [System.String] - $Id + [System.Object] + $Identity ) } - -function Disable-ATPProtectionPolicyRule +function Get-AddressBookPolicy { [CmdletBinding()] param( [Parameter()] - [System.String] + [System.Object] $Identity ) } - -function Disable-AzSubscription +function Get-AddressList { [CmdletBinding()] param( [Parameter()] [System.String] - $Id + $SearchText, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $Container ) } -#endregion - -# region ExchangeOnlineManagement -function Get-EmailTenantSettings +function Get-AdminAuditLogConfig { [CmdletBinding()] param( + ) } - -function Set-EmailTenantSettings +function Get-AdministrativeUnit { [CmdletBinding()] param( [Parameter()] - [System.Boolean] - $EnablePriorityAccountProtection - ) -} + [System.Management.Automation.SwitchParameter] + $Confirm, -function Get-DnssecStatusForVerifiedDomain -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] - $DomainName + $Identity ) } - -function Enable-DnssecForVerifiedDomain +function Get-AntiPhishPolicy { [CmdletBinding()] param( [Parameter()] - [System.Object] - $DomainName - ) -} + [System.Management.Automation.SwitchParameter] + $Impersonation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Advanced, -function Disable-DnssecForVerifiedDomain -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] - $DomainName + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Spoof ) } - -function Get-MailboxIRMAccess +function Get-AntiPhishRule { [CmdletBinding()] param( [Parameter()] [System.Object] - $User, + $Identity, [Parameter()] [System.Object] - $Identity + $State ) } - -function Set-MailboxIRMAccess +function Get-App { [CmdletBinding()] param( [Parameter()] [System.Object] - $User, + $Mailbox, [Parameter()] [System.Object] $Identity, [Parameter()] - [System.Object] - $AccessLevel + [System.Management.Automation.SwitchParameter] + $OrganizationApp, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PrivateCatalog ) } - -function Remove-MailboxIRMAccess +function Get-ApplicationAccessPolicy { [CmdletBinding()] param( - [Parameter()] - [System.Object] - $User, - [Parameter()] [System.Object] $Identity ) } - function Get-ArcConfig { [CmdletBinding()] - param() -} + param( -function Set-ArcConfig + ) +} +function Get-ATPBuiltInProtectionRule { [CmdletBinding()] param( [Parameter()] - [System.String[]] - $ArcTrustedSealers, + [System.Object] + $Identity, [Parameter()] [System.Object] - $Identity + $State ) } - -function Get-ManagementScope +function Get-AtpPolicyForO365 { [CmdletBinding()] param( - [Parameter()] - [System.Boolean] - $Exclusive, - [Parameter()] [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Orphan + $Identity ) } - -function New-ManagementScope +function Get-ATPProtectionPolicyRule { [CmdletBinding()] param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Exclusive, - [Parameter()] [System.Object] - $RecipientRoot, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $RecipientRestrictionFilter, + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force + [System.Object] + $State ) } - -function Set-ManagementScope +function Get-AuditConfig { [CmdletBinding()] param( - [Parameter()] - [System.Object] - $RecipientRoot, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $RecipientRestrictionFilter, + ) +} +function Get-AuditConfigurationPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force + $Identity ) } - -function Remove-ManagementScope +function Get-AuthenticationPolicy { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $TenantId, [Parameter()] [System.Object] @@ -834,261 +505,218 @@ function Remove-ManagementScope [Parameter()] [System.Management.Automation.SwitchParameter] - $Force + $AllowLegacyExchangeTokens ) } - -function Get-FocusedInbox +function Get-AvailabilityAddressSpace { [CmdletBinding()] param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, - [Parameter()] [System.Object] $Identity ) } - -function Set-FocusedInbox +function Get-AvailabilityConfig { [CmdletBinding()] param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, - - [Parameter()] - [System.Object] - $Identity, - [Parameter()] [System.Object] - $FocusedInboxOn + $Identity ) } - -function Get-MailboxCalendarConfiguration +function Get-CalendarProcessing { [CmdletBinding()] param( [Parameter()] [System.Object] - $MailboxLocation, + $Identity, [Parameter()] [System.Object] - $Identity + $ResultSize ) } - -function Set-MailboxCalendarConfiguration +function Get-CASMailbox { [CmdletBinding()] param( [Parameter()] - [System.Int32] - $WeatherLocationBookmark, - - [Parameter()] - [System.Object] - $WorkspaceUserEnabled, + [System.Management.Automation.SwitchParameter] + $RecalculateHasActiveSyncDevicePartnership, [Parameter()] - [System.Boolean] - $ConversationalSchedulingEnabled, + [System.String] + $SortBy, [Parameter()] - [System.Boolean] - $HotelEventsFromEmailEnabled, + [System.Management.Automation.SwitchParameter] + $ProtocolSettings, [Parameter()] - [System.Boolean] - $SkipAgendaMailOnFreeDays, + [System.Management.Automation.SwitchParameter] + $ReadIsOptimizedForAccessibility, [Parameter()] - [System.Boolean] - $DiningEventsFromEmailEnabled, + [System.Management.Automation.PSCredential] + $Credential, [Parameter()] [System.Object] - $Identity, + $OrganizationalUnit, [Parameter()] - [System.Boolean] - $CreateEventsFromEmailAsPrivate, + [System.Management.Automation.SwitchParameter] + $ActiveSyncDebugLogging, [Parameter()] - [System.String] - $CalendarFeedsPreferredLanguage, + [System.Object] + $Identity, [Parameter()] - [System.Boolean] - $PackageDeliveryEventsFromEmailEnabled, + [System.Management.Automation.SwitchParameter] + $IgnoreDefaultScope, [Parameter()] - [System.Object] - $WorkingHoursTimeZone, + [System.Object[]] + $RecipientTypeDetails, [Parameter()] [System.Object] - $WeatherLocations, - - [Parameter()] - [System.Boolean] - $FlightEventsFromEmailEnabled, + $ResultSize, [Parameter()] - [System.Boolean] - $RentalCarEventsFromEmailEnabled, + [System.String] + $Filter, [Parameter()] - [System.Boolean] - $DeleteMeetingRequestOnRespond, + [System.Management.Automation.SwitchParameter] + $ActiveSyncSuppressReadReceipt, [Parameter()] - [System.Int32] - $DefaultMeetingDuration, - + [System.String] + $Anr + ) +} +function Get-CASMailboxPlan +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $ReminderSoundEnabled, + [System.String] + $SortBy, [Parameter()] - [System.TimeSpan] - $WorkingHoursEndTime, + [System.Management.Automation.PSCredential] + $Credential, [Parameter()] [System.Object] - $ShortenEventScopeDefault, - - [Parameter()] - [System.Boolean] - $InvoiceEventsFromEmailEnabled, - - [Parameter()] - [System.Boolean] - $UseBrightCalendarColorThemeInOwa, - - [Parameter()] - [System.TimeSpan] - $DefaultReminderTime, + $Identity, [Parameter()] - [System.Object] - $LocationDetailsInFreeBusy, + [System.Management.Automation.SwitchParameter] + $IgnoreDefaultScope, [Parameter()] [System.Object] - $WeatherEnabled, + $ResultSize, [Parameter()] [System.String] - $CalendarFeedsPreferredRegion, - - [Parameter()] - [System.Boolean] - $ServiceAppointmentEventsFromEmailEnabled, - - [Parameter()] - [System.Boolean] - $ShowWeekNumbers, - + $Filter + ) +} +function Get-ClientAccessRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $RemindersEnabled, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $WeekStartDay, + $Identity, [Parameter()] [System.Object] - $FirstWeekOfYear, - + $DomainController + ) +} +function Get-ComplianceTag +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AgendaMailIntroductionEnabled, - - [Parameter()] - [System.TimeSpan] - $WorkingHoursStartTime, - - [Parameter()] - [System.String] - $CalendarFeedsRootPageId, + $IncludingLabelState, [Parameter()] [System.Object] - $DailyAgendaMailSchedule, - - [Parameter()] - [System.Int32] - $DefaultMinutesToReduceLongEventsBy, - - [Parameter()] - [System.Int32] - $DefaultMinutesToReduceShortEventsBy, - + $Identity + ) +} +function Get-DataClassification +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $AutoDeclineWhenBusy, + [System.Object] + $Identity, [Parameter()] [System.Object] - $OnlineMeetingsByDefaultEnabled, - + $ClassificationRuleCollectionIdentity + ) +} +function Get-DataEncryptionPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $PreserveDeclinedMeetings, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $TimeIncrement, + $Identity, [Parameter()] [System.Object] - $WorkDays, - - [Parameter()] - [System.Boolean] - $EntertainmentEventsFromEmailEnabled, - - [Parameter()] - [System.Boolean] - $EventsFromEmailEnabled, - + $DomainController + ) +} +function Get-DeviceConditionalAccessPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $WeatherUnit, - + $Identity + ) +} +function Get-DeviceConditionalAccessRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $DefaultOnlineMeetingProvider, - + $Identity + ) +} +function Get-DeviceConfigurationPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $MailboxLocation, - - [Parameter()] - [System.Boolean] - $AgendaMailEnabled, - - [Parameter()] - [System.Boolean] - $AgendaPaneEnabled + $Identity ) } - - - -function Get-RetentionPolicy +function Get-DeviceConfigurationRule { [CmdletBinding()] param( @@ -1097,199 +725,187 @@ function Get-RetentionPolicy $Identity ) } - -function New-RetentionPolicy +function Get-DistributionGroup { [CmdletBinding()] param( [Parameter()] [System.String] - $Name, + $SortBy, [Parameter()] - [System.Object[]] - $RetentionPolicyTagLinks, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefaultArbitrationMailbox, + [System.String] + $Anr, [Parameter()] [System.Management.Automation.SwitchParameter] - $IsDefault, + $IncludeAcceptMessagesOnlyFromSendersOrMembersWithDisplayNames, [Parameter()] - [System.Guid] - $RetentionId, + [System.Management.Automation.SwitchParameter] + $IncludeAcceptMessagesOnlyFromWithDisplayNames, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - + $IncludeAcceptMessagesOnlyFromDLMembersWithDisplayNames, -function Remove-RetentionPolicy -{ - [CmdletBinding()] - param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Management.Automation.PSCredential] + $Credential, [Parameter()] [System.Object] - $Identity, + $ResultSize, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} - + [System.Object[]] + $RecipientTypeDetails, -function Set-RetentionPolicy -{ - [CmdletBinding()] - param( [Parameter()] - [System.String] - $Name, + [System.String[]] + $Properties, [Parameter()] - [System.Object[]] - $RetentionPolicyTagLinks, + [System.Management.Automation.SwitchParameter] + $Async, [Parameter()] [System.Management.Automation.SwitchParameter] - $IsDefault, + $IncludeBypassModerationFromSendersOrMembersWithDisplayNames, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $IncludeGrantSendOnBehalfToWithDisplayNames, [Parameter()] - [System.Guid] - $RetentionId, + [System.String] + $Filter, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefaultArbitrationMailbox, + [System.Object] + $ManagedBy, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $OrganizationalUnit, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force + $IncludeModeratedByWithDisplayNames ) } - -function Get-SweepRule +function Get-DistributionGroupMember { [CmdletBinding()] param( [Parameter()] - [System.Int32] - $SkipCount, - - [Parameter()] - [System.String] - $Provider, + [System.Management.Automation.SwitchParameter] + $IncludeSoftDeletedObjects, [Parameter()] [System.Object] - $Mailbox, + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $BypassScopeCheck, + [System.Management.Automation.PSCredential] + $Credential, [Parameter()] [System.Object] - $Identity, - + $ResultSize + ) +} +function Get-DkimSigningConfig +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $ResultSize + $Identity ) } -function New-ServicePrincipal +function Get-DnssecStatusForVerifiedDomain { [CmdletBinding()] param( [Parameter()] - [System.String] - $DisplayName, + [System.Management.Automation.SwitchParameter] + $SkipMtaStsValidation, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.String] - $ObjectId, + [System.Management.Automation.SwitchParameter] + $SkipMxValidation, [Parameter()] - [System.String] - $ServiceId, + [System.Management.Automation.SwitchParameter] + $SkipDnsValidation, [Parameter()] [System.String] - $AppId + $DomainName ) } -function New-SweepRule +function Get-EmailAddressPolicy { [CmdletBinding()] param( - [Parameter()] - [System.String] - $Name, - [Parameter()] [System.Object] - $DestinationFolder, - - [Parameter()] - [System.String] - $Provider, - + $Identity + ) +} +function Get-EmailTenantSettings +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $SystemCategory, - + $Identity + ) +} +function Get-EOPProtectionPolicyRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $KeepLatest, + $Identity, [Parameter()] [System.Object] - $SourceFolder, - + $State + ) +} +function Get-ExoPhishSimOverrideRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] [System.Object] - $Mailbox, + $Identity, [Parameter()] [System.Object] - $Sender, + $Policy, [Parameter()] [System.Object] - $KeepForDays, - - [Parameter()] - [System.Boolean] - $Enabled + $DomainController ) } -function Remove-ServicePrincipal +function Get-ExoSecOpsOverrideRule { [CmdletBinding()] param( @@ -1299,347 +915,294 @@ function Remove-ServicePrincipal [Parameter()] [System.Object] - $Identity - ) -} -function Remove-SweepRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + $Identity, [Parameter()] [System.Object] - $Mailbox, + $Policy, [Parameter()] [System.Object] - $Identity + $DomainController ) } -function Set-ServicePrincipal +function Get-ExternalInOutlook { [CmdletBinding()] param( [Parameter()] - [System.String] - $DisplayName, - + [System.Object] + $Identity + ) +} +function Get-FocusedInbox +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $UseCustomRouting, [Parameter()] [System.Object] $Identity ) } -function Set-SweepRule +function Get-GlobalAddressList { [CmdletBinding()] param( - [Parameter()] - [System.String] - $Name, - [Parameter()] [System.Object] - $Sender, + $Identity, [Parameter()] - [System.String] - $Provider, - + [System.Management.Automation.SwitchParameter] + $DefaultOnly + ) +} +function Get-Group +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $SystemCategory, + [System.String] + $SortBy, [Parameter()] [System.Object] - $KeepLatest, + $OrganizationalUnit, [Parameter()] [System.Object] - $SourceFolder, + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $RecipientTypeDetails, [Parameter()] [System.Object] - $Mailbox, + $ResultSize, [Parameter()] - [System.Object] - $Identity, + [System.String] + $Filter, [Parameter()] - [System.Object] - $DestinationFolder, - + [System.String] + $Anr + ) +} +function Get-HostedConnectionFilterPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $KeepForDays, - - [Parameter()] - [System.Boolean] - $Enabled + $Identity ) } - -function Get-ExoPhishSimOverrideRule +function Get-HostedContentFilterPolicy { [CmdletBinding()] param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - [Parameter()] [System.Object] - $Identity, - - [Parameter()] - [System.String] - $Policy + $Identity ) } - -function New-ExoPhishSimOverrideRule +function Get-HostedContentFilterRule { [CmdletBinding()] param( - [Parameter()] - [System.String] - $Name, - [Parameter()] [System.Object] - $SenderIpRanges, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + $Identity, [Parameter()] [System.Object] - $Domains, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.String] - $Policy + $State ) } - -function Remove-ExoPhishSimOverrideRule +function Get-HostedOutboundSpamFilterPolicy { [CmdletBinding()] param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - [Parameter()] [System.Object] $Identity ) } - -function Set-ExoPhishSimOverrideRule +function Get-HostedOutboundSpamFilterRule { [CmdletBinding()] param( [Parameter()] [System.Object] - $AddDomains, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment, + $Identity, [Parameter()] [System.Object] - $AddSenderIpRanges, - + $State + ) +} +function Get-InboundConnector +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] $Identity, [Parameter()] [System.Object] - $RemoveDomains, - - [Parameter()] - [System.Object] - $RemoveSenderIpRanges + $ResultSize ) } - -function Get-DefaultTenantBriefingConfig +function Get-IntraOrganizationConnector { [CmdletBinding()] param( [Parameter()] - [PSObject] - $ResultSize + [System.Object] + $Identity ) } -function Get-DefaultTenantMyAnalyticsFeatureConfig +function Get-IRMConfiguration { [CmdletBinding()] param( - [Parameter()] - [PSObject] - $ResultSize + ) } -function Set-DefaultTenantBriefingConfig +function Get-JournalRule { [CmdletBinding()] param( [Parameter()] - [System.String] - $IsEnabledByDefault, - - [Parameter()] - [PSObject] - $ResultSize + [System.Object] + $Identity ) } -function Set-DefaultTenantMyAnalyticsFeatureConfig +function Get-M365DataAtRestEncryptionPolicy { [CmdletBinding()] param( [Parameter()] - [System.String] - $Feature, - - [Parameter()] - [System.Boolean] - $IsEnabled, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject] - $ResultSize, + [System.Object] + $Identity, [Parameter()] - [System.Nullable`1[System.Double]] - $SamplingRate + [System.Object] + $DomainController ) } -#endregion -#region ExchangeOnlineManagement -function Add-AvailabilityAddressSpace +function Get-M365DataAtRestEncryptionPolicyAssignment { [CmdletBinding()] param( - [Parameter()] - [System.Management.Automation.PSCredential] - $Credentials, + ) +} +function Get-Mailbox +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $ForestName, + $SortBy, [Parameter()] - [System.Uri] - $TargetAutodiscoverEpr, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $InactiveMailboxOnly, [Parameter()] - [System.String] - $TargetTenantId, + [System.Management.Automation.SwitchParameter] + $PublicFolder, [Parameter()] [System.String] - $TargetServiceEpr, + $Anr, [Parameter()] - [System.Object] - $AccessMethod - ) -} -function Add-MailboxPermission -{ - [CmdletBinding()] - param( + [System.Management.Automation.SwitchParameter] + $Archive, + [Parameter()] - [System.Object] - $Owner, + [System.Management.Automation.SwitchParameter] + $SoftDeletedMailbox, [Parameter()] - [System.Object[]] - $AccessRights, + [System.Management.Automation.SwitchParameter] + $IncludeAcceptMessagesOnlyFromSendersOrMembersWithDisplayNames, [Parameter()] [System.Management.Automation.SwitchParameter] - $GroupMailbox, + $IncludeAcceptMessagesOnlyFromWithDisplayNames, [Parameter()] [System.Management.Automation.SwitchParameter] - $Deny, + $IncludeAcceptMessagesOnlyFromDLMembersWithDisplayNames, [Parameter()] [System.Object] - $AutoMapping, + $ResultSize, + + [Parameter()] + [System.Object] + $MailboxPlan, + + [Parameter()] + [System.Object[]] + $RecipientTypeDetails, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Migration, [Parameter()] - [System.Object] - $User, + [System.String[]] + $Properties, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $Async, [Parameter()] [System.Management.Automation.SwitchParameter] - $IgnoreDefaultScope, + $IncludeGrantSendOnBehalfToWithDisplayNames, [Parameter()] - [System.DirectoryServices.ActiveDirectorySecurityInheritance] - $InheritanceType - ) -} -function Add-RecipientPermission -{ - [CmdletBinding()] - param( + [System.String] + $Filter, + [Parameter()] - [System.Object] - $AccessRights, + [System.Management.Automation.SwitchParameter] + $GroupMailbox, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $IncludeInactiveMailbox, [Parameter()] [System.Object] - $Identity, + $OrganizationalUnit, [Parameter()] - [System.Object] - $Trustee + [System.Management.Automation.SwitchParameter] + $IncludeEmailAddressDisplayNames ) } -function Get-ExoSecOpsOverrideRule +function Get-MailboxAuditBypassAssociation { [CmdletBinding()] param( @@ -1649,89 +1212,68 @@ function Get-ExoSecOpsOverrideRule [Parameter()] [System.Object] - $Policy + $ResultSize ) } - -function New-ExoSecOpsOverrideRule +function Get-MailboxAutoReplyConfiguration { [CmdletBinding()] param( [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $Policy, - - [Parameter()] - [System.String] - $Comment - ) -} -function Remove-ExoSecOpsOverrideRule -{ - [CmdletBinding()] - param( + [System.Management.Automation.SwitchParameter] + $UseCustomRouting, [Parameter()] [System.Object] $Identity ) } -function Set-ExoSecOpsOverrideRule +function Get-MailboxCalendarConfiguration { [CmdletBinding()] param( [Parameter()] - [System.String] - $Comment, + [System.Object] + $MailboxLocation, [Parameter()] [System.Object] $Identity ) } -function Disable-JournalRule +function Get-MailboxCalendarFolder { [CmdletBinding()] param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $UseCustomRouting, [Parameter()] [System.Object] $Identity ) } -function Enable-JournalRule +function Get-MailboxFolderPermission { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Int32] + $SkipCount, [Parameter()] - [System.Object] - $Identity - ) -} -function Enable-OrganizationCustomization -{ - [CmdletBinding()] - param( + [System.Management.Automation.SwitchParameter] + $GroupMailbox, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function Get-AcceptedDomain -{ - [CmdletBinding()] - param( + $UseCustomRouting, + + [Parameter()] + [System.Object] + $User, + [Parameter()] [System.Object] $Identity, @@ -1741,99 +1283,144 @@ function Get-AcceptedDomain $ResultSize ) } -function Get-ActiveSyncDevice +function Get-MailboxFolderStatistics { [CmdletBinding()] param( + [Parameter()] + [System.Object] + $Database, + [Parameter()] [System.String] - $SortBy, + $DiagnosticInfo, [Parameter()] [System.Object] - $Mailbox, + $StoreMailboxIdentity, [Parameter()] - [System.Object] - $OrganizationalUnit, + [System.Management.Automation.SwitchParameter] + $IncludeOldestAndNewestItems, [Parameter()] - [System.String] - $Filter, + [System.Management.Automation.SwitchParameter] + $UseCustomRouting, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $Archive, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeSoftDeletedRecipients, + + [Parameter()] + [System.Int32] + $SkipCount, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeAnalysis, [Parameter()] [System.Object] - $ResultSize - ) -} + $ResultSize, -function Get-ActiveSyncMailboxPolicy -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] - $Identity - ) -} + $FolderScope, -function Get-ActiveSyncDeviceAccessRule -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] $Identity ) } -function Get-AddressBookPolicy +function Get-MailboxIRMAccess { [CmdletBinding()] param( + [Parameter()] + [System.Object] + $User, + [Parameter()] [System.Object] $Identity ) } -function Get-AddressList +function Get-MailboxPermission { [CmdletBinding()] param( [Parameter()] - [System.String] - $SearchText, + [System.Management.Automation.SwitchParameter] + $ReadFromDomainController, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeUnresolvedPermissions, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $GroupMailbox, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UseCustomRouting, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeSoftDeletedUserPermissions, + + [Parameter()] + [System.Object] + $User, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Owner, [Parameter()] [System.Object] $Identity, + [Parameter()] + [System.Management.Automation.PSCredential] + $Credential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SoftDeletedMailbox, + [Parameter()] [System.Object] - $Container + $ResultSize ) } -function Get-AdminAuditLogConfig +function Get-MailboxPlan { [CmdletBinding()] param( + [Parameter()] + [System.String] + $SortBy, - ) -} -function Get-AntiPhishPolicy -{ - [CmdletBinding()] - param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Impersonation, + [System.Management.Automation.PSCredential] + $Credential, + + [Parameter()] + [System.String] + $Filter, [Parameter()] [System.Management.Automation.SwitchParameter] - $Advanced, + $IgnoreDefaultScope, + + [Parameter()] + [System.Object] + $ResultSize, [Parameter()] [System.Object] @@ -1841,44 +1428,68 @@ function Get-AntiPhishPolicy [Parameter()] [System.Management.Automation.SwitchParameter] - $Spoof + $AllMailboxPlanReleases ) } -function Get-AntiPhishRule +function Get-MailboxRegionalConfiguration { [CmdletBinding()] param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $VerifyDefaultFolderNameLanguage, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UseCustomRouting, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Archive, + [Parameter()] [System.Object] $Identity, [Parameter()] [System.Object] - $State + $MailboxLocation ) } -function Get-App +function Get-MailContact { [CmdletBinding()] param( + [Parameter()] + [System.String] + $SortBy, + [Parameter()] [System.Object] - $Mailbox, + $OrganizationalUnit, [Parameter()] [System.Object] $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $OrganizationApp, + [System.Object[]] + $RecipientTypeDetails, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrivateCatalog + [System.Object] + $ResultSize, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Anr ) } -function Get-ApplicationAccessPolicy +function Get-MalwareFilterPolicy { [CmdletBinding()] param( @@ -1887,207 +1498,172 @@ function Get-ApplicationAccessPolicy $Identity ) } - -function Get-ATPProtectionPolicyRule +function Get-MalwareFilterRule { [CmdletBinding()] param( [Parameter()] - [System.String] + [System.Object] $Identity, [Parameter()] - [System.String] + [System.Object] $State ) } - -function Get-AtpPolicyForO365 +function Get-ManagementRole { [CmdletBinding()] param( [Parameter()] [System.Object] - $Identity - ) -} -function Get-AuditConfig -{ - [CmdletBinding()] - param( + $RoleType, - ) -} -function Get-AuditConfigurationPolicy -{ - [CmdletBinding()] - param( [Parameter()] - [System.Object] - $Identity - ) -} -function Get-AuthenticationPolicy -{ - [CmdletBinding()] - param( + [System.String[]] + $CmdletParameters, + + [Parameter()] + [System.String[]] + $ScriptParameters, + [Parameter()] [System.Object] - $Identity + $Identity, + + [Parameter()] + [System.String] + $Cmdlet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Recurse, + + [Parameter()] + [System.String] + $Script, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $GetChildren ) } -function Get-AvailabilityAddressSpace +function Get-ManagementRoleAssignment { [CmdletBinding()] param( [Parameter()] [System.Object] - $Identity - ) -} -function Get-AvailabilityConfig -{ - [CmdletBinding()] - param( + $RoleAssigneeType, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-CalendarProcessing -{ - [CmdletBinding()] - param( + $CustomRecipientWriteScope, + [Parameter()] [System.Object] $Identity, [Parameter()] [System.Object] - $ResultSize - ) -} -function Get-CASMailbox -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RecalculateHasActiveSyncDevicePartnership, + $RecipientGroupScope, [Parameter()] - [System.String] - $SortBy, + [System.Boolean] + $Enabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProtocolSettings, + [System.Object] + $RecipientWriteScope, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ReadIsOptimizedForAccessibility, + [System.Object] + $WritableRecipient, [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, + [System.Object] + $ConfigWriteScope, [Parameter()] - [System.Object] - $OrganizationalUnit, + [System.Boolean] + $Delegating, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ActiveSyncDebugLogging, + [System.Boolean] + $Exclusive, [Parameter()] - [System.Object] - $Identity, + [System.Object[]] + $AssignmentMethod, [Parameter()] [System.Management.Automation.SwitchParameter] - $IgnoreDefaultScope, + $GetEffectiveUsers, [Parameter()] - [System.Object[]] - $RecipientTypeDetails, + [System.Object] + $Role, [Parameter()] [System.Object] - $ResultSize, + $RecipientAdministrativeUnitScope, [Parameter()] - [System.String] - $Filter, + [System.Object] + $ExclusiveRecipientWriteScope, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ActiveSyncSuppressReadReceipt, + [System.Object] + $RecipientOrganizationalUnitScope, [Parameter()] - [System.String] - $Anr + [System.Object] + $RoleAssignee ) } -function Get-CASMailboxPlan +function Get-ManagementRoleEntry { [CmdletBinding()] param( [Parameter()] - [System.String] - $SortBy, + [System.Object[]] + $Type, [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, + [System.String] + $PSSnapinName, [Parameter()] [System.Object] $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IgnoreDefaultScope, + [System.String[]] + $Parameters, [Parameter()] [System.Object] - $ResultSize, - - [Parameter()] - [System.String] - $Filter + $ResultSize ) } -function Get-ClientAccessRule +function Get-ManagementScope { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $Exclusive, [Parameter()] [System.Object] $Identity, - [Parameter()] - [System.Object] - $DomainController - ) -} -function Get-ComplianceTag -{ - [CmdletBinding()] - param( [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludingLabelState, - - [Parameter()] - [System.Object] - $Identity + $Orphan ) } -function Get-DataClassification +function Get-MessageClassification { [CmdletBinding()] param( @@ -2096,17 +1672,21 @@ function Get-DataClassification $Identity, [Parameter()] - [System.Object] - $ClassificationRuleCollectionIdentity + [System.Management.Automation.SwitchParameter] + $IncludeLocales ) } -function Get-DataEncryptionPolicy +function Get-MigrationBatch { [CmdletBinding()] param( + [Parameter()] + [System.String] + $DiagnosticInfo, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $IncludeReport, [Parameter()] [System.Object] @@ -2114,476 +1694,438 @@ function Get-DataEncryptionPolicy [Parameter()] [System.Object] - $DomainController - ) -} -function Get-DeviceConditionalAccessPolicy -{ - [CmdletBinding()] - param( + $Partition, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-DeviceConditionalAccessRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $CompareToWorkload, + $ResultSize, [Parameter()] [System.Object] - $Identity, + $Status, [Parameter()] [System.Object] - $DomainController + $Endpoint ) } -function New-DeviceConditionalAccessRule +function Get-MigrationEndpoint { [CmdletBinding()] param( [Parameter()] - [System.Object] - $CameraEnabled, - - [Parameter()] - [System.Object] - $EnableRemovableStorage, - - [Parameter()] - [System.Object] - $AntiVirusSignatureStatus, - - [Parameter()] - [System.Object] - $FirewallStatus, + [System.String] + $DiagnosticInfo, [Parameter()] [System.Object] - $AllowAppStore, + $Type, [Parameter()] [System.Object] - $AllowAssistantWhileLocked, + $Identity, [Parameter()] [System.Object] - $AllowiCloudBackup, - + $Partition + ) +} +function Get-MigrationUser +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $AppsRating, + $EmailAddress, [Parameter()] [System.Object] - $PasswordHistoryCount, + $MailboxGuid, [Parameter()] - [System.Object] - $PasswordQuality, + [System.Management.Automation.SwitchParameter] + $IncludeAssociatedUsers, [Parameter()] [System.Object] - $PasswordMinComplexChars, + $Identity, [Parameter()] [System.Object] - $PhoneMemoryEncrypted, - - [Parameter()] - [System.String] - $EmailAddress, + $BatchId, [Parameter()] [System.Object] - $BluetoothEnabled, + $Partition, [Parameter()] [System.Object] - $AllowConvenienceLogon, + $ResultSize, [Parameter()] [System.Object] - $MaxPasswordGracePeriod, + $Status, [Parameter()] [System.Object] - $AllowiCloudDocSync, - + $StatusSummary + ) +} +function Get-MobileDevice +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $ForceAppStorePassword, + [System.Management.Automation.SwitchParameter] + $OWAforDevices, [Parameter()] - [System.Object] - $Policy, + [System.String] + $SortBy, [Parameter()] - [System.Object] - $TVShowsRating, + [System.Management.Automation.SwitchParameter] + $UniversalOutlook, [Parameter()] - [System.Object] - $AllowJailbroken, + [System.Management.Automation.SwitchParameter] + $ActiveSync, [Parameter()] [System.Object] - $RequireEmailProfile, + $Mailbox, [Parameter()] [System.Object] - $AllowDiagnosticSubmission, + $OrganizationalUnit, [Parameter()] [System.Object] - $AutoUpdateStatus, - - [Parameter()] - [System.String] - $AccountUserName, + $Identity, [Parameter()] - [System.Object] - $WLANEnabled, + [System.Management.Automation.SwitchParameter] + $RestApi, [Parameter()] [System.Object] - $AllowVoiceDialing, + $ResultSize, [Parameter()] [System.String] - $AccountName, - - [Parameter()] - [System.Object] - $PasswordExpirationDays, - + $Filter + ) +} +function Get-MobileDeviceMailboxPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $PasswordTimeout, - + $Identity + ) +} +function Get-OfflineAddressBook +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $AllowiCloudPhotoSync, - + $Identity + ) +} +function Get-OMEConfiguration +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $AllowSimplePassword, - + $Identity + ) +} +function Get-OnPremisesOrganization +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $AllowPassbookWhileLocked, - + $Identity + ) +} +function Get-OrganizationConfig +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $PasswordMinimumLength, - + [System.Management.Automation.SwitchParameter] + $RetrieveEwsOperationAccessPolicy + ) +} +function Get-OrganizationRelationship +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $AllowVideoConferencing, - + $Identity + ) +} +function Get-OutboundConnector +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $PasswordRequired, + [System.Boolean] + $IncludeTestModeConnectors, [Parameter()] [System.Object] - $MaxPasswordAttemptsBeforeWipe, + $Identity, [Parameter()] [System.Object] - $MoviesRating, + $ResultSize, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - + [System.Boolean] + $IsTransportRuleScoped + ) +} +function Get-OwaMailboxPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $DomainController, - + $Identity + ) +} +function Get-PartnerApplication +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $AntiVirusStatus, - - [Parameter()] - [System.String] - $WorkFoldersSyncUrl, - + $Identity + ) +} +function Get-PerimeterConfig +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $UserAccountControlStatus, - + $Identity + ) +} +function Get-Place +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $ForceEncryptedBackup, - - [Parameter()] - [System.String] - $ExchangeActiveSyncHost, + $Type, [Parameter()] - [System.Object] - $AllowScreenshot, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $PasswordComplexity, + $Identity, [Parameter()] [System.Object] - $TargetGroups, + $ResultSize + ) +} +function Get-PolicyConfig +{ + [CmdletBinding()] + param( + ) +} +function Get-PolicyTipConfig +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $AllowVoiceAssistant, + $Action, [Parameter()] - [System.Object] - $SystemSecurityTLS, + [System.Management.Automation.SwitchParameter] + $Original, [Parameter()] - [System.Object] - $RegionRatings, + [System.Globalization.CultureInfo] + $Locale, [Parameter()] [System.Object] - $SmartScreenEnabled + $Identity ) } -function Remove-DeviceConditionalAccessRule +function Get-ProtectionAlert { [CmdletBinding()] param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - [Parameter()] [System.Object] $Identity ) } -function Set-DeviceConditionalAccessRule +function Get-QuarantinePolicy { [CmdletBinding()] param( [Parameter()] [System.Object] - $CameraEnabled, + $Identity, [Parameter()] [System.Object] - $EnableRemovableStorage, + $QuarantinePolicyType + ) +} +function Get-Recipient +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $SortBy, [Parameter()] [System.Object] - $AntiVirusSignatureStatus, + $Identity, [Parameter()] - [System.Object] - $FirewallStatus, + [System.String] + $RecipientPreviewFilter, [Parameter()] - [System.Object] - $AllowAppStore, + [System.String] + $Anr, [Parameter()] - [System.Object] - $AllowAssistantWhileLocked, + [System.String] + $BookmarkDisplayName, [Parameter()] [System.Object] - $AllowiCloudBackup, + $Capabilities, [Parameter()] [System.Object] - $AppsRating, + $ResultSize, [Parameter()] - [System.Object] - $PasswordHistoryCount, + [System.Object[]] + $RecipientTypeDetails, [Parameter()] - [System.Object] - $PasswordQuality, + [System.String[]] + $Properties, [Parameter()] [System.Object] - $PasswordMinComplexChars, + $PropertySet, [Parameter()] [System.Object] - $PhoneMemoryEncrypted, + $AuthenticationType, [Parameter()] [System.String] - $EmailAddress, - - [Parameter()] - [System.Object] - $BluetoothEnabled, + $Filter, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $IncludeSoftDeletedRecipients, [Parameter()] - [System.Object] - $AllowConvenienceLogon, + [System.Object[]] + $RecipientType, [Parameter()] [System.Object] - $MaxPasswordGracePeriod, + $OrganizationalUnit, [Parameter()] - [System.Object] - $AllowiCloudDocSync, - + [System.Boolean] + $IncludeBookmarkObject + ) +} +function Get-RecipientPermission +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $ForceAppStorePassword, + [System.Management.Automation.SwitchParameter] + $ReadFromDomainController, [Parameter()] [System.Object] - $TVShowsRating, + $AccessRights, [Parameter()] [System.Object] - $AllowJailbroken, + $Identity, [Parameter()] [System.Object] - $RequireEmailProfile, + $ResultSize, [Parameter()] [System.Object] - $AllowDiagnosticSubmission, - + $Trustee + ) +} +function Get-RemoteDomain +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $AutoUpdateStatus, - - [Parameter()] - [System.String] - $AccountUserName, + $Identity, [Parameter()] [System.Object] - $WLANEnabled, - + $ResultSize + ) +} +function Get-ReportSubmissionPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $AllowVoiceDialing, - - [Parameter()] - [System.String] - $AccountName, - + $Identity + ) +} +function Get-ReportSubmissionRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $PasswordExpirationDays, + $Identity, [Parameter()] [System.Object] - $PasswordTimeout, + $State + ) +} +function Get-ResourceConfig +{ + [CmdletBinding()] + param( - [Parameter()] - [System.Object] - $AllowiCloudPhotoSync, - - [Parameter()] - [System.Object] - $AllowSimplePassword, - - [Parameter()] - [System.Object] - $AllowPassbookWhileLocked, - - [Parameter()] - [System.Object] - $PasswordMinimumLength, - - [Parameter()] - [System.Object] - $AllowVideoConferencing, - - [Parameter()] - [System.Object] - $PasswordRequired, - - [Parameter()] - [System.Object] - $MaxPasswordAttemptsBeforeWipe, - - [Parameter()] - [System.Object] - $MoviesRating, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $DomainController, - - [Parameter()] - [System.Object] - $AntiVirusStatus, - - [Parameter()] - [System.String] - $WorkFoldersSyncUrl, - - [Parameter()] - [System.Object] - $UserAccountControlStatus, - - [Parameter()] - [System.Object] - $ForceEncryptedBackup, - - [Parameter()] - [System.String] - $ExchangeActiveSyncHost, - - [Parameter()] - [System.Object] - $AllowScreenshot, - - [Parameter()] - [System.Object] - $PasswordComplexity, - - [Parameter()] - [System.Object] - $TargetGroups, - - [Parameter()] - [System.Object] - $AllowVoiceAssistant, - - [Parameter()] - [System.Object] - $SystemSecurityTLS, - - [Parameter()] - [System.Object] - $RegionRatings, - - [Parameter()] - [System.Object] - $SmartScreenEnabled ) } - -function Get-DeviceConfigurationPolicy +function Get-RetentionPolicy { [CmdletBinding()] param( @@ -2592,154 +2134,54 @@ function Get-DeviceConfigurationPolicy $Identity ) } -function Get-DistributionGroup +function Get-RoleAssignmentPolicy { [CmdletBinding()] param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeAcceptMessagesOnlyFromDLMembersWithDisplayNames, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeAcceptMessagesOnlyFromWithDisplayNames, - - [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, - - [Parameter()] - [System.Object] - $OrganizationalUnit, - [Parameter()] [System.Object] - $Identity, - - [Parameter()] - [System.Object[]] - $RecipientTypeDetails, - + $Identity + ) +} +function Get-RoleGroup +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $ManagedBy, + [System.String] + $SortBy, [Parameter()] [System.String] $Filter, - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeAcceptMessagesOnlyFromSendersOrMembersWithDisplayNames, - [Parameter()] [System.Object] $ResultSize, - [Parameter()] - [System.String] - $Anr, - - [Parameter()] - [System.String] - $SortBy - ) -} -function Get-DistributionGroupMember -{ - [CmdletBinding()] - param( [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeSoftDeletedObjects, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, + $ShowPartnerLinked, - [Parameter()] - [System.Object] - $ResultSize - ) -} -function Get-DkimSigningConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-EmailAddressPolicy -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] $Identity ) } -function Get-GlobalAddressList -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DefaultOnly - ) -} -function Get-Group +function Get-RoleGroupMember { [CmdletBinding()] param( - [Parameter()] - [System.String] - $SortBy, - - [Parameter()] - [System.Object] - $OrganizationalUnit, - [Parameter()] [System.Object] $Identity, - [Parameter()] - [System.Object[]] - $RecipientTypeDetails, - - [Parameter()] - [System.Object] - $ResultSize, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Anr - ) -} -function Get-HostedConnectionFilterPolicy -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] - $Identity + $ResultSize ) } -function Get-HostedContentFilterPolicy +function Get-SafeAttachmentPolicy { [CmdletBinding()] param( @@ -2748,7 +2190,7 @@ function Get-HostedContentFilterPolicy $Identity ) } -function Get-HostedContentFilterRule +function Get-SafeAttachmentRule { [CmdletBinding()] param( @@ -2761,7 +2203,7 @@ function Get-HostedContentFilterRule $State ) } -function Get-HostedOutboundSpamFilterPolicy +function Get-SafeLinksPolicy { [CmdletBinding()] param( @@ -2770,7 +2212,7 @@ function Get-HostedOutboundSpamFilterPolicy $Identity ) } -function Get-HostedOutboundSpamFilterRule +function Get-SafeLinksRule { [CmdletBinding()] param( @@ -2783,7 +2225,7 @@ function Get-HostedOutboundSpamFilterRule $State ) } -function Get-InboundConnector +function Get-ServicePrincipal { [CmdletBinding()] param( @@ -2793,10 +2235,10 @@ function Get-InboundConnector [Parameter()] [System.Object] - $ResultSize + $Organization ) } -function Get-IntraOrganizationConnector +function Get-SharingPolicy { [CmdletBinding()] param( @@ -2805,248 +2247,252 @@ function Get-IntraOrganizationConnector $Identity ) } -function Get-IRMConfiguration +function Get-SupervisoryReviewPolicyV2 { [CmdletBinding()] param( - + [Parameter()] + [System.Object] + $Identity ) } -function Get-JournalRule +function Get-SupervisoryReviewRule { [CmdletBinding()] param( [Parameter()] [System.Object] - $Identity + $Identity, + + [Parameter()] + [System.Object] + $Policy ) } -function Get-Mailbox +function Get-SweepRule { [CmdletBinding()] param( + [Parameter()] + [System.Int32] + $SkipCount, + [Parameter()] [System.String] - $SortBy, + $Provider, [Parameter()] [System.Object] - $Identity, + $Mailbox, [Parameter()] [System.Management.Automation.SwitchParameter] - $InactiveMailboxOnly, + $BypassScopeCheck, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolder, + [System.Object] + $Identity, [Parameter()] - [System.String] - $Anr, + [System.Object] + $ResultSize + ) +} +function Get-TenantAllowBlockListItems +{ + [CmdletBinding()] + param( + [Parameter()] + [System.DateTime] + $ExpirationDate, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Archive, + [System.Object[]] + $ListSubType, [Parameter()] [System.Management.Automation.SwitchParameter] - $SoftDeletedMailbox, + $Block, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeAcceptMessagesOnlyFromSendersOrMembersWithDisplayNames, + $OutputJson, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeAcceptMessagesOnlyFromWithDisplayNames, + $NoExpiration, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeAcceptMessagesOnlyFromDLMembersWithDisplayNames, + $Allow, [Parameter()] - [System.Object] - $ResultSize, + [System.String] + $Entry, [Parameter()] [System.Object] - $MailboxPlan, - - [Parameter()] - [System.Object[]] - $RecipientTypeDetails, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Migration, - + $ListType + ) +} +function Get-TenantAllowBlockListSpoofItems +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $GroupMailbox, + $Action, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeInactiveMailbox, + [System.String] + $SpoofType, [Parameter()] [System.Object] - $OrganizationalUnit, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeEmailAddressDisplayNames + $Identity ) } -function Get-MailboxAuditBypassAssociation +function Get-TransportConfig { [CmdletBinding()] param( - [Parameter()] - [System.Object] - $Identity, - [Parameter()] - [System.Object] - $ResultSize ) } -function Get-MailboxAutoReplyConfiguration +function Get-TransportRule { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $ReadFromDomainController, + [System.String] + $DlpPolicy, [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, + [System.Object] + $ResultSize, [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, + [System.Boolean] + $ExcludeConditionActionDetails, [Parameter()] - [System.Object] - $Identity, + [System.String] + $Filter, [Parameter()] [System.Object] - $ResultSize - ) -} -function Get-MailboxCalendarFolder -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, + $State, [Parameter()] [System.Object] $Identity ) } -function Get-MailboxFolder +function Get-UnifiedGroup { [CmdletBinding()] param( [Parameter()] [System.Management.Automation.SwitchParameter] - $MailFolderOnly, + $IncludeGrantSendOnBehalfToWithDisplayNames, [Parameter()] - [System.Management.Automation.SwitchParameter] - $GetChildren, + [System.String] + $SortBy, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $IncludeSoftDeletedGroups, [Parameter()] - [System.Object] - $ResultSize, + [System.Management.Automation.SwitchParameter] + $IncludeAcceptMessagesOnlyFromSendersOrMembersWithDisplayNames, [Parameter()] [System.Management.Automation.SwitchParameter] - $Recurse - ) -} -function Get-MailboxFolderPermission -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $SkipCount, + $IncludeModeratedByWithDisplayNames, [Parameter()] [System.Management.Automation.SwitchParameter] - $GroupMailbox, + $IncludeAllProperties, [Parameter()] [System.Management.Automation.SwitchParameter] - $UseCustomRouting, + $IncludeBypassModerationFromSendersOrMembersWithDisplayNames, [Parameter()] [System.Object] - $User, + $Identity, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $IncludeRejectMessagesFromSendersOrMembersWithDisplayNames, [Parameter()] [System.Object] - $ResultSize + $ResultSize, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Anr ) } -function Set-MailboxFolderPermission +function Get-User { [CmdletBinding()] param( [Parameter()] - [System.Object[]] - $AccessRights, + [System.String] + $SortBy, [Parameter()] - [System.Object] - $SharingPermissionFlags, + [System.Management.Automation.SwitchParameter] + $PublicFolder, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $IsVIP, [Parameter()] [System.Object] - $User, + $OrganizationalUnit, [Parameter()] [System.Object] $Identity, [Parameter()] - [System.Boolean] - $SendNotificationToUser + [System.Object[]] + $RecipientTypeDetails, + + [Parameter()] + [System.Object] + $ResultSize, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Anr ) } -function Add-MailboxFolderPermission +function New-ActiveSyncDeviceAccessRule { [CmdletBinding()] param( [Parameter()] - [System.Object[]] - $AccessRights, + [System.String] + $QueryString, [Parameter()] [System.Object] - $SharingPermissionFlags, + $Characteristic, [Parameter()] [System.Management.Automation.SwitchParameter] @@ -3054,548 +2500,471 @@ function Add-MailboxFolderPermission [Parameter()] [System.Object] - $User, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $SendNotificationToUser + $AccessLevel ) } -function Remove-MailboxFolderPermission +function New-ActiveSyncMailboxPolicy { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $AllowUnsignedApplications, [Parameter()] - [System.Object] - $User, + [System.Boolean] + $AllowUnsignedInstallationPackages, [Parameter()] - [System.Object] - $Identity, + [System.Boolean] + $AllowExternalDeviceManagement, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ResetDelegateUserCollection, + [System.Boolean] + $AllowIrDA, [Parameter()] [System.Boolean] - $SendNotificationToUser, + $AllowStorageCard, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Get-MailboxFolderStatistics -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Database, + [System.Boolean] + $AllowNonProvisionableDevices, [Parameter()] - [System.String] - $DiagnosticInfo, + [System.Boolean] + $AllowRemoteDesktop, [Parameter()] [System.Object] - $StoreMailboxIdentity, + $UnapprovedInROMApplicationList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeOldestAndNewestItems, + [System.Boolean] + $DevicePasswordEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, + [System.Boolean] + $RequireEncryptedSMIMEMessages, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Archive, + [System.Int32] + $DevicePasswordHistory, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeSoftDeletedRecipients, + [System.Boolean] + $RequireDeviceEncryption, [Parameter()] - [System.Int32] - $SkipCount, + [System.Boolean] + $AllowInternetSharing, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeAnalysis, + [System.Int32] + $MinDevicePasswordComplexCharacters, [Parameter()] [System.Object] - $ResultSize, + $RequireSignedSMIMEAlgorithm, [Parameter()] [System.Object] - $FolderScope, + $MaxEmailHTMLBodyTruncationSize, [Parameter()] [System.Object] - $Identity - ) -} -function Get-MailboxPermission -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ReadFromDomainController, + $DevicePasswordExpiration, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeUnresolvedPermissions, + [System.Boolean] + $UNCAccessEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $GroupMailbox, + [System.Boolean] + $AllowCamera, [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, + [System.Object] + $MaxDevicePasswordFailedAttempts, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeSoftDeletedUserPermissions, + [System.Boolean] + $AllowBrowser, + + [Parameter()] + [System.Boolean] + $RequireManualSyncWhenRoaming, [Parameter()] [System.Object] - $User, + $AllowSMIMEEncryptionAlgorithmNegotiation, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Owner, + [System.Boolean] + $DeviceEncryptionEnabled, [Parameter()] [System.Object] - $Identity, + $MaxEmailBodyTruncationSize, [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, + [System.Object] + $AllowBluetooth, [Parameter()] - [System.Management.Automation.SwitchParameter] - $SoftDeletedMailbox, + [System.Object] + $RequireEncryptionSMIMEAlgorithm, [Parameter()] [System.Object] - $ResultSize - ) -} -function Get-MailboxPlan -{ - [CmdletBinding()] - param( + $DevicePolicyRefreshInterval, + + [Parameter()] + [System.Boolean] + $AllowMobileOTAUpdate, + [Parameter()] [System.String] - $SortBy, + $Name, [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, + [System.Object] + $MaxAttachmentSize, [Parameter()] - [System.String] - $Filter, + [System.Boolean] + $AllowConsumerEmail, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IgnoreDefaultScope, + [System.Boolean] + $AllowDesktopSync, [Parameter()] [System.Object] - $ResultSize, + $MaxInactivityTimeDeviceLock, [Parameter()] - [System.Object] - $Identity, + [System.Boolean] + $AlphanumericDevicePasswordRequired, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllMailboxPlanReleases - ) -} -function Get-MailboxRegionalConfiguration -{ - [CmdletBinding()] - param( + [System.Boolean] + $RequireStorageCardEncryption, + [Parameter()] [System.Management.Automation.SwitchParameter] - $VerifyDefaultFolderNameLanguage, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, + [System.Boolean] + $AttachmentsEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Archive, + [System.Boolean] + $AllowSMIMESoftCerts, [Parameter()] [System.Object] - $Identity, + $MaxEmailAgeFilter, [Parameter()] - [System.Object] - $MailboxLocation - ) -} -function Get-MailContact -{ - [CmdletBinding()] - param( + [System.Boolean] + $AllowSimpleDevicePassword, + [Parameter()] - [System.String] - $SortBy, + [System.Boolean] + $PasswordRecoveryEnabled, [Parameter()] [System.Object] - $OrganizationalUnit, + $MaxCalendarAgeFilter, [Parameter()] - [System.Object] - $Identity, + [System.Boolean] + $AllowWiFi, [Parameter()] - [System.Object[]] - $RecipientTypeDetails, + [System.Boolean] + $AllowApplePushNotifications, [Parameter()] - [System.Object] - $ResultSize, + [System.Boolean] + $AllowPOPIMAPEmail, [Parameter()] - [System.String] - $Filter, + [System.Boolean] + $IsDefault, [Parameter()] - [System.String] - $Anr - ) -} -function Get-MalwareFilterPolicy -{ - [CmdletBinding()] - param( + [System.Boolean] + $IsDefaultPolicy, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-MalwareFilterRule -{ - [CmdletBinding()] - param( + $ApprovedApplicationList, + [Parameter()] - [System.Object] - $Identity, + [System.Boolean] + $AllowTextMessaging, + + [Parameter()] + [System.Boolean] + $WSSAccessEnabled, + + [Parameter()] + [System.Boolean] + $RequireSignedSMIMEMessages, + + [Parameter()] + [System.Boolean] + $AllowHTMLEmail, [Parameter()] [System.Object] - $State + $MinDevicePasswordLength, + + [Parameter()] + [System.Boolean] + $IrmEnabled ) } - -function Get-ManagementRoleEntry +function New-AddressBookPolicy { [CmdletBinding()] param( [Parameter()] - [System.String] - $Identity, + [System.Object] + $RoomList, [Parameter()] [System.String] - $ResultSize - ) -} + $Name, -function Get-MgBetaRoleManagementEntitlementManagementRoleAssignment -{ - [CmdletBinding()] - param( [Parameter()] - [System.String] - $UnifiedRoleAssignmentId, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $Filter, + [System.Object] + $GlobalAddressList, + + [Parameter()] + [System.Object[]] + $AddressLists, [Parameter()] - [Switch] - $All + [System.Object] + $OfflineAddressBook ) } -function Update-MgBetaEntitlementManagementSetting +function New-AddressList { [CmdletBinding()] param( [Parameter()] [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, + $RecipientFilter, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $ConditionalCustomAttribute8, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $DisplayName, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $ConditionalCustomAttribute10, [Parameter()] [System.String] - $ResponseHeadersVariable, + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $ConditionalCustomAttribute9, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Object] + $ConditionalCustomAttribute2, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $IncludedRecipients, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ConditionalCompany, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $ConditionalCustomAttribute6, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $ConditionalCustomAttribute3, [Parameter()] - [System.Int32] - $DaysUntilExternalUserDeletedAfterBlocked, + [System.Object] + $ConditionalCustomAttribute12, [Parameter()] - [System.String] - $ExternalUserLifecycleAction - ) -} + [System.Object] + $Container, -function Get-MgBetaEntitlementManagementSetting -{ - [CmdletBinding()] - param( [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $ConditionalCustomAttribute13, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $ConditionalCustomAttribute15, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $ConditionalDepartment, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $ConditionalStateOrProvince, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $ConditionalCustomAttribute7, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Object] + $ConditionalCustomAttribute14, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute4, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ConditionalCustomAttribute11, [Parameter()] - [System.String[]] - $Property, + [System.Object] + $ConditionalCustomAttribute1, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break + [System.Object] + $ConditionalCustomAttribute5 ) } - -function Get-MgBetaRoleManagementEntitlementManagementRoleDefinition +function New-AntiPhishPolicy { [CmdletBinding()] param( [Parameter()] - [System.String] - $UnifiedRoleDefinitionId, + [System.Boolean] + $EnableFirstContactSafetyTips, [Parameter()] - [System.String] - $Filter, + [System.Management.Automation.SwitchParameter] + $MakeDefault, [Parameter()] - [Switch] - $All - ) -} - -function Get-MgBetaPolicyAuthenticationFlowPolicy -{ - [CmdletBinding()] - param() -} + [System.Int32] + $PhishThresholdLevel, -function Update-MgBetaPolicyAuthenticationFlowPolicy -{ - [CmdletBinding()] - param( [Parameter()] [System.Boolean] - $SelfServiceSignUp - ) -} - -function New-MgBetaRoleManagementEntitlementManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AppScopeId, + $EnableTargetedUserProtection, [Parameter()] - [System.String] - $DirectoryScopeId, + [System.Boolean] + $EnableTargetedDomainsProtection, [Parameter()] - [System.String] - $PrincipalId, + [System.Boolean] + $HonorDmarcPolicy, [Parameter()] - [System.String] - $RoleDefinitionId - ) -} + [System.Boolean] + $Enabled, -function Remove-MgBetaRoleManagementEntitlementManagementRoleAssignment -{ - [CmdletBinding()] - param( [Parameter()] - [System.String] - $UnifiedRoleAssignmentId - ) -} + [System.Boolean] + $EnableViaTag, -function Get-MigrationEndpoint -{ - [CmdletBinding()] - param( [Parameter()] [System.String] - $DiagnosticInfo, + $Name, [Parameter()] [System.Object] - $Type, + $TargetedDomainsToProtect, [Parameter()] - [System.Object] - $Identity, + [System.Boolean] + $EnableSpoofIntelligence, [Parameter()] - [System.Object] - $Partition - ) -} + [System.Boolean] + $EnableSimilarUsersSafetyTips, -function Set-MigrationEndpoint -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] - $Identity, + $ExcludedDomains, [Parameter()] - [System.Boolean] - $AcceptUntrustedCertificates, + [System.Object] + $MailboxIntelligenceProtectionAction, [Parameter()] [System.Object] - $MaxConcurrentMigrations, + $MailboxIntelligenceProtectionActionRecipients, [Parameter()] - [System.Byte[]] - $ServiceAccountKeyFileData, + [System.Object] + $TargetedDomainActionRecipients, [Parameter()] [System.Object] - $TestMailbox, + $DmarcQuarantineAction, [Parameter()] [System.String] - $ExchangeServer, + $TargetedDomainQuarantineTag, [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipVerification, + [System.String] + $SimilarUsersSafetyTipsCustomText, [Parameter()] [System.Object] - $Authentication, + $ImpersonationProtectionState, [Parameter()] - [System.String] - $AppSecretKeyVaultUrl, + [System.Boolean] + $EnableOrganizationDomainsProtection, [Parameter()] [System.Object] - $Port, + $TargetedDomainProtectionAction, [Parameter()] [System.String] - $ApplicationId, + $AdminDisplayName, [Parameter()] [System.Object] - $RemoteServer, + $TargetedUsersToProtect, [Parameter()] [System.Object] - $Partition, + $TargetedUserProtectionAction, [Parameter()] [System.Object] - $MailboxPermission, + $RecommendedPolicyType, [Parameter()] [System.Management.Automation.SwitchParameter] @@ -3603,491 +2972,575 @@ function Set-MigrationEndpoint [Parameter()] [System.String] - $SourceMailboxLegacyDN, + $MailboxIntelligenceQuarantineTag, [Parameter()] [System.String] - $NspiServer, + $UnusualCharactersSafetyTipsCustomText, [Parameter()] - [System.Object] - $RPCProxyServer, + [System.Boolean] + $EnableSimilarDomainsSafetyTips, [Parameter()] [System.String] - $PublicFolderDatabaseServerLegacyDN, + $SpoofQuarantineTag, [Parameter()] - [System.Object] - $Security, + [System.Boolean] + $EnableUnauthenticatedSender, [Parameter()] [System.Object] - $MaxConcurrentIncrementalSyncs, - - [Parameter()] - [System.Management.Automation.PSCredential] - $Credentials - ) -} - -function New-MigrationEndpoint -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AcceptUntrustedCertificates, + $DmarcRejectAction, [Parameter()] [System.String] - $Name, + $PolicyTag, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExchangeRemoteMove, + [System.String] + $TargetedUserQuarantineTag, [Parameter()] [System.Object] - $MaxConcurrentMigrations, - - [Parameter()] - [System.Byte[]] - $ServiceAccountKeyFileData, + $ExcludedSubDomains, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolder, + [System.Boolean] + $EnableMailboxIntelligenceProtection, [Parameter()] - [System.Object] - $TestMailbox, + [System.Boolean] + $EnableUnusualCharactersSafetyTips, [Parameter()] - [System.String] - $ExchangeServer, + [System.Boolean] + $EnableMailboxIntelligence, [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipVerification, + [System.Object] + $AuthenticationFailAction, [Parameter()] [System.Object] - $Authentication, + $TargetedUserActionRecipients, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExchangeOutlookAnywhere, - + [System.Object] + $ExcludedSenders + ) +} +function New-AntiPhishRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Gmail, + [System.Int32] + $Priority, [Parameter()] [System.String] - $AppSecretKeyVaultUrl, + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Compliance, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [System.Int32] - $Port, + [System.Object] + $AntiPhishPolicy, [Parameter()] - [System.Security.SecureString] - $OAuthCode, + [System.Object[]] + $SentTo, [Parameter()] [System.String] - $ApplicationId, + $Comments, [Parameter()] - [System.Object] - $RemoteServer, + [System.Object[]] + $RecipientDomainIs, [Parameter()] - [System.Object] - $Partition, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.Object] - $MailboxPermission, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.String] - $SourceMailboxLegacyDN, + [System.Object[]] + $ExceptIfSentToMemberOf, + [Parameter()] + [System.Boolean] + $Enabled + ) +} +function New-App +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $IMAP, + $Confirm, [Parameter()] - [System.String] - $RemoteTenant, + [System.Management.Automation.SwitchParameter] + $AllowReadWriteMailbox, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolderToUnifiedGroup, + [System.Uri] + $Url, [Parameter()] - [System.String] - $NspiServer, + [System.IO.Stream] + $FileStream, + [Parameter()] + [System.Byte[]] + $FileData + ) +} +function New-ApplicationAccessPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $RedirectUri, + $Description, [Parameter()] [System.Object] - $RPCProxyServer, + $PolicyScopeGroupId, [Parameter()] - [System.Object] - $EmailAddress, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $Security, + $AccessRight, [Parameter()] - [System.Object] - $MaxConcurrentIncrementalSyncs, + [System.String[]] + $AppId + ) +} +function New-ATPProtectionPolicyRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $Priority, [Parameter()] [System.String] - $PublicFolderDatabaseServerLegacyDN, + $Name, [Parameter()] - [System.Management.Automation.PSCredential] - $Credentials, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Autodiscover - ) -} + [System.Object[]] + $SentTo, -function Remove-MigrationEndpoint -{ - [CmdletBinding()] - param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $Comments, + + [Parameter()] + [System.Object[]] + $RecipientDomainIs, [Parameter()] [System.Object] - $Identity, + $SafeAttachmentPolicy, [Parameter()] [System.Object] - $Partition + $SafeLinksPolicy, + + [Parameter()] + [System.Object[]] + $ExceptIfSentTo, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf, + + [Parameter()] + [System.Boolean] + $Enabled ) } - -function Set-ManagementRoleEntry +function New-AuthenticationPolicy { [CmdletBinding()] param( [Parameter()] [System.String] - $Identity, + $Name, [Parameter()] - [System.String[]] - $Parameters, + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthPop, [Parameter()] - [Switch] - $AddParameter, + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthSmtp, [Parameter()] - [Switch] - $RemoveParameter - ) -} + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthMapi, -function Get-ManagementRole -{ - [CmdletBinding()] - param( [Parameter()] - [System.Object] - $RoleType, + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthImap, [Parameter()] - [System.String[]] - $CmdletParameters, + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthAutodiscover, [Parameter()] - [System.String[]] - $ScriptParameters, + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthPowershell, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthRpc, [Parameter()] - [System.String] - $Cmdlet, + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthOfflineAddressBook, [Parameter()] [System.Management.Automation.SwitchParameter] - $Recurse, + $AllowBasicAuthReportingWebServices, [Parameter()] - [System.String] - $Script, + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthOutlookService, [Parameter()] [System.Management.Automation.SwitchParameter] - $GetChildren + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthActiveSync, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthWebServices ) } -function Get-ManagementRoleAssignment +function New-AvailabilityConfig { [CmdletBinding()] param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + [Parameter()] [System.Object] - $RoleAssigneeType, + $OrgWideAccount, [Parameter()] [System.Object] - $CustomRecipientWriteScope, + $AllowedTenantIds + ) +} +function New-ClientAccessRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $ExceptAnyOfClientIPAddressesOrRanges, [Parameter()] [System.Object] - $Identity, + $Action, [Parameter()] [System.Object] - $RecipientGroupScope, + $AnyOfClientIPAddressesOrRanges, [Parameter()] [System.Boolean] $Enabled, [Parameter()] - [System.Object] - $RecipientWriteScope, - - [Parameter()] - [System.Object] - $WritableRecipient, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $ConfigWriteScope, + [System.String] + $Name, [Parameter()] - [System.Boolean] - $Delegating, + [System.String] + $UserRecipientFilter, [Parameter()] - [System.Boolean] - $Exclusive, + [System.Object] + $ExceptAnyOfProtocols, [Parameter()] - [System.Object[]] - $AssignmentMethod, + [System.Int32] + $Priority, [Parameter()] - [System.Management.Automation.SwitchParameter] - $GetEffectiveUsers, + [System.Object] + $ExceptUsernameMatchesAnyOfPatterns, [Parameter()] [System.Object] - $Role, + $UsernameMatchesAnyOfPatterns, [Parameter()] [System.Object] - $RecipientAdministrativeUnitScope, + $AnyOfAuthenticationTypes, [Parameter()] [System.Object] - $ExclusiveRecipientWriteScope, + $AnyOfProtocols, [Parameter()] [System.Object] - $RecipientOrganizationalUnitScope, + $ExceptAnyOfAuthenticationTypes, [Parameter()] [System.Object] - $RoleAssignee + $Scope ) } -function Get-MessageClassification +function New-DataEncryptionPolicy { [CmdletBinding()] param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Name, + [Parameter()] [System.Object] - $Identity, + $DomainController, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeLocales + $Confirm, + + [Parameter()] + [System.Object] + $AzureKeyIDs, + + [Parameter()] + [System.Boolean] + $Enabled ) } -function Get-MobileDevice +function New-DistributionGroup { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $OWAforDevices, + [System.Object] + $ModeratedBy, + + [Parameter()] + [System.Boolean] + $RequireSenderAuthenticationEnabled, + + [Parameter()] + [System.Boolean] + $ModerationEnabled, [Parameter()] [System.String] - $SortBy, + $DisplayName, + + [Parameter()] + [System.Object] + $MemberDepartRestriction, + + [Parameter()] + [System.String] + $Name, [Parameter()] [System.Management.Automation.SwitchParameter] - $UniversalOutlook, + $IgnoreNamingPolicy, [Parameter()] [System.Management.Automation.SwitchParameter] - $ActiveSync, + $RoomList, [Parameter()] - [System.Object] - $Mailbox, + [System.Management.Automation.SwitchParameter] + $HiddenGroupMembershipEnabled, + + [Parameter()] + [System.Boolean] + $BypassNestedModerationEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $CopyOwnerToMember, + + [Parameter()] + [System.Boolean] + $BccBlocked, [Parameter()] [System.Object] - $OrganizationalUnit, + $Members, [Parameter()] [System.Object] - $Identity, + $Description, [Parameter()] [System.Management.Automation.SwitchParameter] - $RestApi, + $Confirm, + + [Parameter()] + [System.String] + $Notes, [Parameter()] [System.Object] - $ResultSize, + $MemberJoinRestriction, + + [Parameter()] + [System.Object] + $Type, + + [Parameter()] + [System.Object] + $ManagedBy, [Parameter()] [System.String] - $Filter - ) -} -function Get-MobileDeviceMailboxPolicy -{ - [CmdletBinding()] - param( + $Alias, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-OfflineAddressBook -{ - [CmdletBinding()] - param( + $PrimarySmtpAddress, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-OMEConfiguration -{ - [CmdletBinding()] - param( + $SendModerationNotifications, + [Parameter()] [System.Object] - $Identity + $OrganizationalUnit ) } -function Get-OnPremisesOrganization +function New-DkimSigningConfig { [CmdletBinding()] param( + [Parameter()] + [System.String] + $AdminDisplayName, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-OrganizationConfig -{ - [CmdletBinding()] - param( + $BodyCanonicalization, - ) -} -function Get-OrganizationRelationship -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] - $Identity - ) -} -function Get-OutboundConnector -{ - [CmdletBinding()] - param( + $HeaderCanonicalization, + [Parameter()] - [System.Boolean] - $IncludeTestModeConnectors, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $Identity, + [System.UInt16] + $KeySize, [Parameter()] [System.Object] - $ResultSize, + $DomainName, [Parameter()] [System.Boolean] - $IsTransportRuleScoped + $Enabled ) } -function Get-OwaMailboxPolicy +function New-EmailAddressPolicy { [CmdletBinding()] param( [Parameter()] [System.Object] - $Identity - ) -} -function Get-PartnerApplication -{ - [CmdletBinding()] - param( + $Priority, + + [Parameter()] + [System.String] + $Name, + [Parameter()] [System.Object] - $Identity + $EnabledEmailAddressTemplates, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $EnabledPrimarySMTPAddressTemplate, + + [Parameter()] + [System.String] + $ManagedByFilter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeUnifiedGroupRecipients ) } -function Get-PerimeterConfig +function New-ExoPhishSimOverrideRule { [CmdletBinding()] param( + [Parameter()] + [System.String] + $Name, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-Place -{ - [CmdletBinding()] - param( + $SenderIpRanges, + [Parameter()] [System.Object] - $Type, + $DomainController, [Parameter()] [System.Management.Automation.SwitchParameter] @@ -4095,1012 +3548,1031 @@ function Get-Place [Parameter()] [System.Object] - $Identity, + $Domains, + + [Parameter()] + [System.String] + $Comment, [Parameter()] [System.Object] - $ResultSize + $Policy ) } -function Get-PolicyTipConfig +function New-ExoSecOpsOverrideRule { [CmdletBinding()] param( + [Parameter()] + [System.String] + $Name, + [Parameter()] [System.Object] - $Action, + $Policy, [Parameter()] [System.Management.Automation.SwitchParameter] - $Original, + $Confirm, [Parameter()] - [System.Globalization.CultureInfo] - $Locale, + [System.String] + $Comment, [Parameter()] [System.Object] - $Identity + $DomainController ) } -function Get-QuarantinePolicy +function New-GlobalAddressList { [CmdletBinding()] param( + [Parameter()] + [System.String] + $RecipientFilter, + [Parameter()] [System.Object] - $Identity, + $ConditionalCustomAttribute8, [Parameter()] [System.Object] - $QuarantinePolicyType - ) -} -function Get-Recipient -{ - [CmdletBinding()] - param( + $ConditionalCustomAttribute10, + [Parameter()] [System.String] - $SortBy, + $Name, [Parameter()] [System.Object] - $Identity, + $ConditionalCustomAttribute9, [Parameter()] - [System.String] - $RecipientPreviewFilter, + [System.Object] + $ConditionalCustomAttribute2, [Parameter()] - [System.String] - $Anr, + [System.Object] + $IncludedRecipients, [Parameter()] - [System.String] - $BookmarkDisplayName, + [System.Object] + $ConditionalCompany, [Parameter()] [System.Object] - $Capabilities, + $ConditionalCustomAttribute6, [Parameter()] [System.Object] - $ResultSize, + $ConditionalCustomAttribute3, [Parameter()] - [System.Object[]] - $RecipientTypeDetails, + [System.Object] + $ConditionalCustomAttribute12, [Parameter()] - [System.String[]] - $Properties, + [System.Object] + $ConditionalCustomAttribute13, [Parameter()] [System.Object] - $PropertySet, + $ConditionalCustomAttribute15, [Parameter()] [System.Object] - $AuthenticationType, + $ConditionalDepartment, [Parameter()] - [System.String] - $Filter, + [System.Object] + $ConditionalStateOrProvince, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute7, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute14, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeSoftDeletedRecipients, + $Confirm, [Parameter()] - [System.Object[]] - $RecipientType, + [System.Object] + $ConditionalCustomAttribute4, [Parameter()] [System.Object] - $OrganizationalUnit, + $ConditionalCustomAttribute11, [Parameter()] - [System.Boolean] - $IncludeBookmarkObject + [System.Object] + $ConditionalCustomAttribute1, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute5 ) } -function Get-RecipientPermission +function New-HostedConnectionFilterPolicy { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $ReadFromDomainController, + [System.String] + $ConfigurationXmlRaw, [Parameter()] - [System.Object] - $AccessRights, + [System.String] + $Name, [Parameter()] - [System.Object] - $Identity, + [System.String] + $AdminDisplayName, + + [Parameter()] + [System.Boolean] + $EnableSafeList, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $ResultSize, + $IPBlockList, [Parameter()] [System.Object] - $Trustee + $IPAllowList ) } -function Get-RemoteDomain +function New-HostedContentFilterPolicy { [CmdletBinding()] param( [Parameter()] - [System.Object] - $Identity, + [System.Boolean] + $InlineSafetyTipsEnabled, [Parameter()] [System.Object] - $ResultSize - ) -} -function Get-ReportSubmissionPolicy -{ - [CmdletBinding()] - param( + $RegionBlockList, + + [Parameter()] + [System.String] + $HighConfidencePhishQuarantineTag, + + [Parameter()] + [System.Int32] + $EndUserSpamNotificationFrequency, + + [Parameter()] + [System.Int32] + $QuarantineRetentionPeriod, + + [Parameter()] + [System.Int32] + $EndUserSpamNotificationLimit, + + [Parameter()] + [System.Int32] + $BulkThreshold, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-ReportSubmissionRule -{ - [CmdletBinding()] - param( + $TestModeBccToRecipients, + + [Parameter()] + [System.String] + $PhishQuarantineTag, + + [Parameter()] + [System.String] + $AddXHeaderValue, + [Parameter()] [System.Object] - $Identity, + $MarkAsSpamEmbedTagsInHtml, [Parameter()] [System.Object] - $State - ) -} -function Get-ResourceConfig -{ - [CmdletBinding()] - param( + $MarkAsSpamFramesInHtml, - ) -} -function Get-RoleAssignmentPolicy -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] - $Identity - ) -} -function Get-RoleGroup -{ - [CmdletBinding()] - param( + $IncreaseScoreWithImageLinks, + [Parameter()] - [System.String] - $SortBy, + [System.Boolean] + $EnableLanguageBlockList, + + [Parameter()] + [System.Object] + $PhishSpamAction, [Parameter()] [System.String] - $Filter, + $EndUserSpamNotificationCustomFromName, [Parameter()] [System.Object] - $ResultSize, + $MarkAsSpamSensitiveWordList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ShowPartnerLinked, + [System.String] + $SpamQuarantineTag, [Parameter()] [System.Object] - $Identity - ) -} -function Get-RoleGroupMember -{ - [CmdletBinding()] - param( + $MarkAsSpamNdrBackscatter, + [Parameter()] [System.Object] - $Identity, + $BlockedSenders, [Parameter()] [System.Object] - $ResultSize - ) -} -function Get-SafeAttachmentPolicy -{ - [CmdletBinding()] - param( + $LanguageBlockList, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-SafeAttachmentRule -{ - [CmdletBinding()] - param( + $HighConfidenceSpamAction, + [Parameter()] [System.Object] - $Identity, + $AllowedSenderDomains, [Parameter()] [System.Object] - $State - ) -} -function Get-SafeLinksPolicy -{ - [CmdletBinding()] - param( + $IncreaseScoreWithBizOrInfoUrls, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-SafeLinksRule -{ - [CmdletBinding()] - param( + $MarkAsSpamWebBugsInHtml, + + [Parameter()] + [System.String] + $AdminDisplayName, + [Parameter()] [System.Object] - $Identity, + $IntraOrgFilterState, [Parameter()] [System.Object] - $State - ) -} -function Get-ServicePrincipal -{ - [CmdletBinding()] - param( + $MarkAsSpamFromAddressAuthFail, + + [Parameter()] + [System.String] + $Name, + [Parameter()] [System.Object] - $Identity, + $MarkAsSpamEmptyMessages, + + [Parameter()] + [System.String] + $BulkQuarantineTag, [Parameter()] [System.Object] - $Organization - ) -} -function Get-ServicePrincipal -{ - [CmdletBinding()] - param( + $MarkAsSpamFormTagsInHtml, + [Parameter()] [System.Object] - $Identity, + $MarkAsSpamObjectTagsInHtml, [Parameter()] [System.Object] - $Organization - ) -} -function Get-SharingPolicy -{ - [CmdletBinding()] - param( + $BulkSpamAction, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-SupervisoryReviewPolicyV2 -{ - [CmdletBinding()] - param( + $EndUserSpamNotificationLanguage, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-SupervisoryReviewRule -{ - [CmdletBinding()] - param( + $IncreaseScoreWithRedirectToOtherPort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + [Parameter()] [System.Object] - $Identity, + $HighConfidencePhishAction, [Parameter()] [System.Object] - $Policy - ) -} -function Get-TransportConfig -{ - [CmdletBinding()] - param( + $RedirectToRecipients, - ) -} -function Get-TransportRule -{ - [CmdletBinding()] - param( [Parameter()] - [System.String] - $DlpPolicy, + [System.Boolean] + $SpamZapEnabled, [Parameter()] [System.Object] - $ResultSize, + $TestModeAction, [Parameter()] [System.Boolean] - $ExcludeConditionActionDetails, + $EnableRegionBlockList, [Parameter()] [System.String] - $Filter, + $EndUserSpamNotificationCustomSubject, [Parameter()] [System.Object] - $State, + $MarkAsSpamSpfRecordHardFail, [Parameter()] [System.Object] - $Identity - ) -} + $EndUserSpamNotificationCustomFromAddress, -function Get-UnifiedAuditLogRetentionPolicy -{ - [CmdletBinding()] - param( [Parameter()] - [System.String] - $Operation, + [System.Boolean] + $DownloadLink, [Parameter()] - [System.String] - $RecordType, + [System.Object] + $SpamAction, [Parameter()] [System.String] - $RetentionDuration, + $ModifySubjectValue, [Parameter()] - [System.String] - $UserId - ) -} + [System.Object] + $IncreaseScoreWithNumericIps, -function Get-UnifiedGroup -{ - [CmdletBinding()] - param( [Parameter()] - [System.String] - $SortBy, + [System.Object] + $AllowedSenders, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeSoftDeletedGroups, + [System.Object] + $MarkAsSpamJavaScriptInHtml, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeAllProperties, + [System.Object] + $MarkAsSpamBulkMail, [Parameter()] - [System.String] - $Filter, + [System.Object] + $BlockedSenderDomains, [Parameter()] [System.Object] - $Identity, + $RecommendedPolicyType, [Parameter()] - [System.Object] - $ResultSize, + [System.Boolean] + $PhishZapEnabled, + + [Parameter()] + [System.Boolean] + $EnableEndUserSpamNotifications, [Parameter()] [System.String] - $Anr + $HighConfidenceSpamQuarantineTag ) } -function Get-User +function New-HostedContentFilterRule { [CmdletBinding()] param( [Parameter()] - [System.String] - $SortBy, + [System.Int32] + $Priority, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolder, + [System.String] + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsVIP, + [System.Object[]] + $SentToMemberOf, [Parameter()] [System.Object] - $OrganizationalUnit, + $HostedContentFilterPolicy, [Parameter()] - [System.Object] - $Identity, + [System.Object[]] + $SentTo, + + [Parameter()] + [System.String] + $Comments, [Parameter()] [System.Object[]] - $RecipientTypeDetails, + $RecipientDomainIs, [Parameter()] - [System.Object] - $ResultSize, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.String] - $Filter, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] - [System.String] - $Anr + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf, + + [Parameter()] + [System.Boolean] + $Enabled ) } -function New-ActiveSyncDeviceAccessRule +function New-HostedOutboundSpamFilterPolicy { [CmdletBinding()] param( + [Parameter()] + [System.Object] + $RecommendedPolicyType, + [Parameter()] [System.String] - $QueryString, + $Name, [Parameter()] - [System.Object] - $Characteristic, + [System.String] + $AdminDisplayName, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $BccSuspiciousOutboundAdditionalRecipients, [Parameter()] [System.Object] - $AccessLevel - ) -} + $NotifyOutboundSpamRecipients, -function New-ActiveSyncMailboxPolicy -{ - [CmdletBinding()] - param( [Parameter()] - [System.Boolean] - $AllowUnsignedApplications, + [System.UInt32] + $RecipientLimitPerDay, [Parameter()] - [System.Boolean] - $AllowUnsignedInstallationPackages, + [System.Object] + $ActionWhenThresholdReached, [Parameter()] - [System.Boolean] - $AllowExternalDeviceManagement, + [System.Object] + $AutoForwardingMode, [Parameter()] [System.Boolean] - $AllowIrDA, + $NotifyOutboundSpam, [Parameter()] [System.Boolean] - $AllowStorageCard, + $BccSuspiciousOutboundMail, [Parameter()] - [System.Boolean] - $AllowNonProvisionableDevices, + [System.UInt32] + $RecipientLimitInternalPerHour, [Parameter()] - [System.Boolean] - $AllowRemoteDesktop, + [System.UInt32] + $RecipientLimitExternalPerHour + ) +} +function New-HostedOutboundSpamFilterRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $Priority, [Parameter()] - [System.Object] - $UnapprovedInROMApplicationList, + [System.String] + $Name, [Parameter()] - [System.Boolean] - $DevicePasswordEnabled, + [System.Object[]] + $ExceptIfFromMemberOf, [Parameter()] - [System.Boolean] - $RequireEncryptedSMIMEMessages, + [System.Object[]] + $ExceptIfFrom, [Parameter()] - [System.Int32] - $DevicePasswordHistory, + [System.Object[]] + $ExceptIfSenderDomainIs, [Parameter()] - [System.Boolean] - $RequireDeviceEncryption, + [System.String] + $Comments, [Parameter()] - [System.Boolean] - $AllowInternetSharing, + [System.Object[]] + $FromMemberOf, [Parameter()] - [System.Int32] - $MinDevicePasswordComplexCharacters, + [System.Object[]] + $SenderDomainIs, [Parameter()] [System.Object] - $RequireSignedSMIMEAlgorithm, + $HostedOutboundSpamFilterPolicy, [Parameter()] - [System.Object] - $MaxEmailHTMLBodyTruncationSize, + [System.Object[]] + $From, [Parameter()] - [System.Object] - $DevicePasswordExpiration, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Boolean] - $UNCAccessEnabled, - + $Enabled + ) +} +function New-InboundConnector +{ + [CmdletBinding()] + param( [Parameter()] [System.Boolean] - $AllowCamera, + $RestrictDomainsToIPAddresses, [Parameter()] - [System.Object] - $MaxDevicePasswordFailedAttempts, + [System.Boolean] + $CloudServicesMailEnabled, [Parameter()] [System.Boolean] - $AllowBrowser, + $Enabled, [Parameter()] - [System.Boolean] - $RequireManualSyncWhenRoaming, + [System.Object] + $ClientHostNames, [Parameter()] [System.Object] - $AllowSMIMEEncryptionAlgorithmNegotiation, + $EFSkipMailGateway, [Parameter()] [System.Boolean] - $DeviceEncryptionEnabled, + $EFTestMode, [Parameter()] [System.Object] - $MaxEmailBodyTruncationSize, + $TrustedOrganizations, [Parameter()] [System.Object] - $AllowBluetooth, + $TlsSenderCertificateName, [Parameter()] [System.Object] - $RequireEncryptionSMIMEAlgorithm, + $ScanAndDropRecipients, [Parameter()] [System.Object] - $DevicePolicyRefreshInterval, - - [Parameter()] - [System.Boolean] - $AllowMobileOTAUpdate, + $AssociatedAcceptedDomains, [Parameter()] [System.String] $Name, [Parameter()] - [System.Object] - $MaxAttachmentSize, + [System.String] + $Comment, [Parameter()] [System.Boolean] - $AllowConsumerEmail, + $RequireTls, [Parameter()] - [System.Boolean] - $AllowDesktopSync, + [System.Object] + $SenderDomains, [Parameter()] [System.Object] - $MaxInactivityTimeDeviceLock, + $SenderIPAddresses, [Parameter()] [System.Boolean] - $AlphanumericDevicePasswordRequired, + $EFSkipLastIP, [Parameter()] - [System.Boolean] - $RequireStorageCardEncryption, + [System.Object] + $EFUsers, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Boolean] - $AttachmentsEnabled, + [System.Object] + $ConnectorType, [Parameter()] [System.Boolean] - $AllowSMIMESoftCerts, + $RestrictDomainsToCertificate, [Parameter()] [System.Object] - $MaxEmailAgeFilter, - - [Parameter()] - [System.Boolean] - $AllowSimpleDevicePassword, + $EFSkipIPs, [Parameter()] [System.Boolean] - $PasswordRecoveryEnabled, + $TreatMessagesAsInternal, [Parameter()] [System.Object] - $MaxCalendarAgeFilter, - + $ConnectorSource + ) +} +function New-IntraOrganizationConnector +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $AllowWiFi, + [System.String] + $Name, [Parameter()] - [System.Boolean] - $AllowApplePushNotifications, + [System.Object] + $TargetAddressDomains, [Parameter()] - [System.Boolean] - $AllowPOPIMAPEmail, - + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function New-M365DataAtRestEncryptionPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $IsDefault, + [System.String] + $Description, [Parameter()] - [System.Boolean] - $IsDefaultPolicy, + [System.String] + $Name, [Parameter()] [System.Object] - $ApprovedApplicationList, - - [Parameter()] - [System.Boolean] - $AllowTextMessaging, - - [Parameter()] - [System.Boolean] - $WSSAccessEnabled, - - [Parameter()] - [System.Boolean] - $RequireSignedSMIMEMessages, + $DomainController, [Parameter()] - [System.Boolean] - $AllowHTMLEmail, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $MinDevicePasswordLength, + $AzureKeyIDs, [Parameter()] [System.Boolean] - $IrmEnabled + $Enabled ) } - -function New-AddressBookPolicy +function New-Mailbox { [CmdletBinding()] param( [Parameter()] - [System.Object] - $RoomList, + [System.String] + $MailboxRegion, [Parameter()] [System.Object] - $OfflineAddressBook, + $ModeratedBy, [Parameter()] - [System.String] - $Name, + [System.Boolean] + $ModerationEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $Office, [Parameter()] - [System.Object] - $GlobalAddressList, + [System.String] + $DisplayName, [Parameter()] - [System.Object[]] - $AddressLists - ) -} -function New-AddressList -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Security.SecureString] + $Password, [Parameter()] [System.String] - $RecipientFilter, + $Name, [Parameter()] [System.Object] - $ConditionalCustomAttribute8, + $RemovedMailbox, [Parameter()] - [System.String] - $DisplayName, + [System.Management.Automation.SwitchParameter] + $PublicFolder, [Parameter()] - [System.Object] - $ConditionalCustomAttribute10, + [System.Management.Automation.SwitchParameter] + $Force, [Parameter()] [System.String] - $Name, + $LastName, [Parameter()] - [System.Object] - $ConditionalCustomAttribute9, + [System.Management.Automation.SwitchParameter] + $TargetAllMDBs, [Parameter()] [System.Object] - $ConditionalCustomAttribute2, + $RoleAssignmentPolicy, [Parameter()] [System.Object] - $IncludedRecipients, + $ResourceCapacity, [Parameter()] - [System.Object] - $ConditionalCompany, + [System.Management.Automation.SwitchParameter] + $Archive, [Parameter()] - [System.Object] - $ConditionalCustomAttribute6, + [System.Management.Automation.SwitchParameter] + $Equipment, [Parameter()] - [System.Object] - $ConditionalCustomAttribute3, + [System.String] + $ImmutableId, [Parameter()] - [System.Object] - $ConditionalCustomAttribute12, + [System.Management.Automation.SwitchParameter] + $CopyCustomAttributes, [Parameter()] - [System.Object] - $Container, + [System.Management.Automation.SwitchParameter] + $Scheduling, [Parameter()] - [System.Object] - $ConditionalCustomAttribute13, + [System.Security.SecureString] + $RoomMailboxPassword, [Parameter()] - [System.Object] - $ConditionalCustomAttribute15, + [System.Management.Automation.SwitchParameter] + $Shared, [Parameter()] - [System.Object] - $ConditionalDepartment, + [System.Boolean] + $IsExcludedFromServingHierarchy, [Parameter()] [System.Object] - $ConditionalStateOrProvince, + $MailboxPlan, [Parameter()] [System.Object] - $ConditionalCustomAttribute7, + $MicrosoftOnlineServicesID, [Parameter()] - [System.Object] - $ConditionalCustomAttribute14, + [System.Management.Automation.SwitchParameter] + $Migration, [Parameter()] - [System.Object] - $ConditionalCustomAttribute4, + [System.Management.Automation.SwitchParameter] + $Room, [Parameter()] - [System.Object] - $ConditionalCustomAttribute11, + [System.String] + $Initials, [Parameter()] [System.Object] - $ConditionalCustomAttribute1, + $InactiveMailbox, [Parameter()] - [System.Object] - $ConditionalCustomAttribute5 - ) -} -function New-AntiPhishPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $EnableFirstContactSafetyTips, + [System.String] + $FederatedIdentity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $MakeDefault, + [System.Object] + $ActiveSyncMailboxPolicy, [Parameter()] [System.Object] - $DmarcRejectAction, + $OrganizationalUnit, [Parameter()] - [System.Int32] - $PhishThresholdLevel, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $HoldForMigration, [Parameter()] - [System.Boolean] - $EnableTargetedDomainsProtection, + [System.Management.Automation.SwitchParameter] + $Discovery, [Parameter()] [System.Boolean] - $HonorDmarcPolicy, + $ResetPasswordOnNextLogon, [Parameter()] [System.Boolean] - $Enabled, + $EnableRoomMailboxAccount, [Parameter()] - [System.Boolean] - $EnableViaTag, + [System.String] + $FirstName, [Parameter()] [System.String] - $Name, + $Phone, [Parameter()] [System.Object] - $TargetedDomainsToProtect, + $PrimarySmtpAddress, + + [Parameter()] + [System.Object] + $SendModerationNotifications, + + [Parameter()] + [System.String] + $Alias, [Parameter()] [System.Boolean] - $EnableSpoofIntelligence, + $RemotePowerShellEnabled + ) +} +function New-MailContact +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $ModeratedBy, [Parameter()] [System.Boolean] - $EnableSimilarUsersSafetyTips, + $ModerationEnabled, [Parameter()] [System.Object] - $ExcludedDomains, + $MacAttachmentFormat, [Parameter()] - [System.Object] - $MailboxIntelligenceProtectionAction, + [System.String] + $DisplayName, [Parameter()] - [System.Object] - $TargetedDomainActionRecipients, + [System.String] + $Name, [Parameter()] - [System.Object] - $DmarcQuarantineAction, + [System.String] + $LastName, [Parameter()] [System.Boolean] - $EnableMailboxIntelligence, + $UsePreferMessageFormat, [Parameter()] - [System.String] - $TargetedDomainQuarantineTag, + [System.Object] + $MessageBodyFormat, [Parameter()] [System.String] - $SimilarUsersSafetyTipsCustomText, + $Initials, [Parameter()] - [System.Object] - $ImpersonationProtectionState, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $TargetedDomainProtectionAction, + $ExternalEmailAddress, [Parameter()] [System.String] - $AdminDisplayName, + $Alias, [Parameter()] [System.Object] - $TargetedUsersToProtect, + $MessageFormat, [Parameter()] - [System.Object] - $TargetedUserProtectionAction, + [System.String] + $FirstName, [Parameter()] [System.Object] - $RecommendedPolicyType, + $SendModerationNotifications, [Parameter()] [System.Object] - $MailboxIntelligenceProtectionActionRecipients, + $OrganizationalUnit + ) +} +function New-MalwareFilterPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $CustomFromName, [Parameter()] [System.String] - $MailboxIntelligenceQuarantineTag, + $AdminDisplayName, [Parameter()] [System.String] - $UnusualCharactersSafetyTipsCustomText, + $Name, [Parameter()] - [System.Boolean] - $EnableSimilarDomainsSafetyTips, + [System.String] + $CustomExternalBody, [Parameter()] [System.String] - $SpoofQuarantineTag, + $QuarantineTag, [Parameter()] [System.Boolean] - $EnableUnauthenticatedSender, + $CustomNotifications, [Parameter()] - [System.String] - $PolicyTag, + [System.Boolean] + $EnableExternalSenderAdminNotifications, [Parameter()] - [System.String] - $TargetedUserQuarantineTag, + [System.Object] + $InternalSenderAdminAddress, [Parameter()] - [System.Boolean] - $EnableOrganizationDomainsProtection, + [System.String[]] + $FileTypes, [Parameter()] [System.Boolean] - $EnableMailboxIntelligenceProtection, + $EnableInternalSenderAdminNotifications, [Parameter()] - [System.Boolean] - $EnableUnusualCharactersSafetyTips, + [System.Object] + $CustomFromAddress, + + [Parameter()] + [System.String] + $CustomExternalSubject, [Parameter()] [System.Boolean] - $EnableTargetedUserProtection, + $ZapEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $AuthenticationFailAction, + $ExternalSenderAdminAddress, [Parameter()] [System.Object] - $TargetedUserActionRecipients, + $RecommendedPolicyType, [Parameter()] [System.Object] - $ExcludedSenders + $FileTypeAction, + + [Parameter()] + [System.String] + $CustomInternalSubject, + + [Parameter()] + [System.String] + $CustomInternalBody, + + [Parameter()] + [System.Boolean] + $EnableFileFilter ) } -function New-AntiPhishRule +function New-MalwareFilterRule { [CmdletBinding()] param( @@ -5112,10 +4584,6 @@ function New-AntiPhishRule [System.String] $Name, - [Parameter()] - [System.Object] - $AntiPhishPolicy, - [Parameter()] [System.Object[]] $SentToMemberOf, @@ -5136,6 +4604,10 @@ function New-AntiPhishRule [System.Object[]] $ExceptIfRecipientDomainIs, + [Parameter()] + [System.Object] + $MalwareFilterPolicy, + [Parameter()] [System.Object[]] $ExceptIfSentTo, @@ -5153,1087 +4625,996 @@ function New-AntiPhishRule $Enabled ) } -function New-App +function New-ManagementRole { [CmdletBinding()] param( [Parameter()] - [System.Uri] - $Url, + [System.String] + $Description, [Parameter()] - [System.String] - $Identity, + [System.String[]] + $EnabledCmdlets, [Parameter()] - [System.Boolean] - $Enabled, + [System.String] + $Name, [Parameter()] - [System.Object] - $AddInOverrides, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $Mailbox, + $Parent, [Parameter()] - [System.IO.Stream] - $FileStream, - + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function New-ManagementRoleAssignment +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $MarketplaceServicesUrl, + [System.Object] + $CustomRecipientWriteScope, [Parameter()] - [System.String] - $Etoken, + [System.Object] + $RecipientGroupScope, [Parameter()] [System.String] - $MarketplaceCorrelationID, + $Name, [Parameter()] - [System.String] - $Version, + [System.Management.Automation.SwitchParameter] + $Force, [Parameter()] [System.Object] - $DefaultStateForUser, - - [Parameter()] - [System.String] - $MarketplaceQueryMarket, + $RecipientAdministrativeUnitScope, [Parameter()] - [System.String] - $MarketplaceUserProfileType, + [System.Object] + $SecurityGroup, [Parameter()] [System.Object] - $AllowSetting, + $ExclusiveRecipientWriteScope, [Parameter()] [System.Management.Automation.SwitchParameter] - $DownloadOnly, - - [Parameter()] - [System.Object] - $ProvidedTo, + $Delegating, [Parameter()] [System.Object] - $UserList, - - [Parameter()] - [System.String] - $AppState, + $User, [Parameter()] [System.Management.Automation.SwitchParameter] - $OrganizationApp, - - [Parameter()] - [System.String] - $AppType, + $Confirm, [Parameter()] - [System.String] - $MarketplaceAssetID, + [System.Object] + $App, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $Role, [Parameter()] - [System.Byte[]] - $FileData, + [System.Object] + $CustomResourceScope, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowReadWriteMailbox, + [System.Object] + $Policy, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrivateCatalog, + [System.Object] + $RecipientOrganizationalUnitScope, [Parameter()] - [System.Management.Automation.SwitchParameter] - $UpdateAppState + [System.Object] + $RecipientRelativeWriteScope ) } -function New-ApplicationAccessPolicy +function New-ManagementScope { [CmdletBinding()] param( [Parameter()] - [System.String] - $Description, + [System.Management.Automation.SwitchParameter] + $Exclusive, [Parameter()] [System.Object] - $PolicyScopeGroupId, + $RecipientRoot, + + [Parameter()] + [System.String] + $Name, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object] - $AccessRight, + [System.String] + $RecipientRestrictionFilter, [Parameter()] - [System.String[]] - $AppId + [System.Management.Automation.SwitchParameter] + $Force ) } - -function New-ATPProtectionPolicyRule +function New-MessageClassification { [CmdletBinding()] param( [Parameter()] [System.String] - $Name, + $SenderDescription, [Parameter()] [System.String] - $SafeAttachmentPolicy, + $DisplayName, [Parameter()] [System.String] - $SafeLinksPolicy, + $RecipientDescription, [Parameter()] [System.String] - $Comments, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String[]] - $ExceptIfRecipientDomainIs, + $Name, [Parameter()] - [System.String[]] - $ExceptIfSentTo, + [System.Globalization.CultureInfo] + $Locale, [Parameter()] - [System.String[]] - $ExceptIfSentToMemberOf, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.UInt32] - $Priority, + [System.Boolean] + $PermissionMenuVisible, [Parameter()] - [System.String[]] - $RecipientDomainIs, + [System.Guid] + $ClassificationID, [Parameter()] - [System.String[]] - $SentTo, + [System.Object] + $DisplayPrecedence, [Parameter()] - [System.String[]] - $SentToMemberOf + [System.Boolean] + $RetainClassificationEnabled ) } - -function New-AuthenticationPolicy +function New-MigrationBatch { [CmdletBinding()] param( [Parameter()] - [System.String] - $Name, + [System.Object] + $Partition, [Parameter()] [System.Management.Automation.SwitchParameter] - $AllowBasicAuthPop, + $SkipRules, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthSmtp, + [System.Object] + $TargetDatabases, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthMapi, + [System.Byte[]] + $CSVData, [Parameter()] [System.Management.Automation.SwitchParameter] - $AllowBasicAuthImap, + $SkipDelegates, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthAutodiscover, + [System.Object] + $Users, [Parameter()] [System.Management.Automation.SwitchParameter] - $AllowBasicAuthPowershell, + $SkipMail, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthRpc, + [System.Object] + $TimeZone, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthOfflineAddressBook, + [System.Object] + $NotificationEmails, [Parameter()] [System.Management.Automation.SwitchParameter] - $AllowBasicAuthReportingWebServices, + $ManagedGmailTeams, [Parameter()] [System.Management.Automation.SwitchParameter] - $AllowBasicAuthOutlookService, + $SkipCalendar, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $AutoStart, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthActiveSync, + [System.Boolean] + $AllowUnknownColumnsInCSV, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthWebServices - ) -} -function New-AvailabilityConfig -{ - [CmdletBinding()] - param( + [System.Object] + $MoveOptions, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $AdoptPreexisting, [Parameter()] [System.Object] - $OrgWideAccount, + $ExcludeFolders, [Parameter()] [System.Object] - $AllowedTenantIds - ) -} -function New-ClientAccessRule -{ - [CmdletBinding()] - param( + $TargetEndpoint, + [Parameter()] [System.Object] - $Action, + $StartAfter, [Parameter()] - [System.Object] - $AnyOfClientIPAddressesOrRanges, + [System.Management.Automation.SwitchParameter] + $RemoveOnCopy, [Parameter()] - [System.Boolean] - $Enabled, + [System.Byte[]] + $XMLData, [Parameter()] [System.Object] - $ExceptAnyOfClientIPAddressesOrRanges, + $UserIds, [Parameter()] - [System.String] - $Name, + [System.Management.Automation.SwitchParameter] + $PublicFolderToUnifiedGroup, [Parameter()] - [System.String] - $UserRecipientFilter, + [System.Object] + $ReportInterval, [Parameter()] - [System.Object] - $ExceptAnyOfProtocols, + [System.Management.Automation.SwitchParameter] + $AutoProvisioning, [Parameter()] - [System.Int32] - $Priority, + [System.Management.Automation.SwitchParameter] + $DisableOnCopy, [Parameter()] - [System.Object] - $ExceptUsernameMatchesAnyOfPatterns, + [System.Management.Automation.SwitchParameter] + $ArchiveOnly, [Parameter()] [System.Object] - $UsernameMatchesAnyOfPatterns, + $SkipMerging, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $MigrateTasks, [Parameter()] [System.Object] - $AnyOfAuthenticationTypes, + $CompleteAfter, [Parameter()] - [System.Object] - $AnyOfProtocols, + [System.Globalization.CultureInfo] + $ContentFilterLanguage, [Parameter()] - [System.Object] - $ExceptAnyOfAuthenticationTypes, + [System.Management.Automation.SwitchParameter] + $GoogleResource, [Parameter()] - [System.Object] - $Scope - ) -} -function New-DataEncryptionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, + [System.Management.Automation.SwitchParameter] + $Analyze, [Parameter()] - [System.String] - $Name, + [System.Guid] + $SourcePFPrimaryMailboxGuid, [Parameter()] [System.Object] - $DomainController, + $TargetDeliveryDomain, + + [Parameter()] + [System.String] + $ArchiveDomain, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $PrimaryOnly, [Parameter()] - [System.Object] - $AzureKeyIDs, + [System.Management.Automation.SwitchParameter] + $SkipProvisioning, [Parameter()] - [System.Boolean] - $Enabled - ) -} -function New-DistributionGroup -{ - [CmdletBinding()] - param( + [System.Management.Automation.SwitchParameter] + $SimplifiedSwitchOver, + [Parameter()] [System.Object] - $ModeratedBy, + $EndpointPartition, [Parameter()] - [System.Boolean] - $RequireSenderAuthenticationEnabled, + [System.Management.Automation.SwitchParameter] + $Restore, [Parameter()] - [System.Boolean] - $ModerationEnabled, + [System.Object] + $IncludeFolders, [Parameter()] [System.String] - $DisplayName, + $ContentFilter, [Parameter()] [System.Object] - $MemberDepartRestriction, + $SkipMoving, [Parameter()] [System.String] - $Name, + $WorkflowTemplate, [Parameter()] [System.Management.Automation.SwitchParameter] - $IgnoreNamingPolicy, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $RoomList, + [System.Object] + $SourceEndpoint, [Parameter()] [System.Management.Automation.SwitchParameter] - $HiddenGroupMembershipEnabled, + $AvoidMergeOverlap, [Parameter()] - [System.Boolean] - $BypassNestedModerationEnabled, + [System.Management.Automation.SwitchParameter] + $SkipReports, [Parameter()] [System.Management.Automation.SwitchParameter] - $CopyOwnerToMember, + $SkipContacts, [Parameter()] - [System.Boolean] - $BccBlocked, + [System.Object] + $BadItemLimit, [Parameter()] [System.Object] - $Members, + $TargetArchiveDatabases, [Parameter()] [System.Object] - $Description, + $WorkflowControlFlags, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [System.Object] - $MemberJoinRestriction, + $AutoComplete, [Parameter()] [System.Object] - $Type, + $LargeItemLimit, [Parameter()] - [System.Object] - $ManagedBy, + [System.Management.Automation.SwitchParameter] + $PointInTimeRecoveryProvisionOnly, [Parameter()] [System.String] - $Alias, + $Name, [Parameter()] [System.Object] - $PrimarySmtpAddress, + $ForwardingDisposition, [Parameter()] - [System.Object] - $SendModerationNotifications, + [System.Management.Automation.SwitchParameter] + $ExcludeDumpsters, [Parameter()] - [System.Object] - $OrganizationalUnit + [System.Management.Automation.SwitchParameter] + $RenamePrimaryCalendar, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PointInTimeRecovery ) } -function New-DkimSigningConfig +function New-MigrationEndpoint { [CmdletBinding()] param( [Parameter()] - [System.String] - $AdminDisplayName, + [System.Management.Automation.SwitchParameter] + $AcceptUntrustedCertificates, [Parameter()] - [System.Object] - $BodyCanonicalization, + [System.String] + $Name, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ExchangeRemoteMove, [Parameter()] [System.Object] - $HeaderCanonicalization, + $MaxConcurrentMigrations, [Parameter()] - [System.UInt16] - $KeySize, + [System.Byte[]] + $ServiceAccountKeyFileData, [Parameter()] - [System.Object] - $DomainName, + [System.Management.Automation.SwitchParameter] + $PublicFolder, - [Parameter()] - [System.Boolean] - $Enabled - ) -} -function New-EmailAddressPolicy -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] - $Priority, + $TestMailbox, [Parameter()] [System.String] - $Name, + $ExchangeServer, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SkipVerification, [Parameter()] [System.Object] - $EnabledEmailAddressTemplates, + $Authentication, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ExchangeOutlookAnywhere, [Parameter()] - [System.String] - $EnabledPrimarySMTPAddressTemplate, + [System.Management.Automation.SwitchParameter] + $Gmail, [Parameter()] [System.String] - $ManagedByFilter, + $AppSecretKeyVaultUrl, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeUnifiedGroupRecipients - ) -} -function New-GlobalAddressList -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $RecipientFilter, + $Compliance, [Parameter()] - [System.Object] - $ConditionalCustomAttribute8, + [System.Int32] + $Port, [Parameter()] - [System.Object] - $ConditionalCustomAttribute10, + [System.Security.SecureString] + $OAuthCode, [Parameter()] [System.String] - $Name, + $ApplicationId, [Parameter()] [System.Object] - $ConditionalCustomAttribute9, + $RemoteServer, [Parameter()] [System.Object] - $ConditionalCustomAttribute2, + $Partition, [Parameter()] [System.Object] - $IncludedRecipients, + $MailboxPermission, [Parameter()] - [System.Object] - $ConditionalCompany, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $ConditionalCustomAttribute6, + [System.String] + $SourceMailboxLegacyDN, [Parameter()] - [System.Object] - $ConditionalCustomAttribute3, + [System.Management.Automation.SwitchParameter] + $IMAP, [Parameter()] - [System.Object] - $ConditionalCustomAttribute12, + [System.String] + $RemoteTenant, [Parameter()] - [System.Object] - $ConditionalCustomAttribute13, + [System.Management.Automation.SwitchParameter] + $PublicFolderToUnifiedGroup, [Parameter()] - [System.Object] - $ConditionalCustomAttribute15, + [System.String] + $NspiServer, [Parameter()] - [System.Object] - $ConditionalDepartment, + [System.String] + $RedirectUri, [Parameter()] [System.Object] - $ConditionalStateOrProvince, + $RPCProxyServer, [Parameter()] [System.Object] - $ConditionalCustomAttribute7, + $EmailAddress, [Parameter()] [System.Object] - $ConditionalCustomAttribute14, + $Security, [Parameter()] [System.Object] - $ConditionalCustomAttribute4, + $MaxConcurrentIncrementalSyncs, [Parameter()] - [System.Object] - $ConditionalCustomAttribute11, + [System.String] + $PublicFolderDatabaseServerLegacyDN, [Parameter()] - [System.Object] - $ConditionalCustomAttribute1, + [System.Management.Automation.PSCredential] + $Credentials, [Parameter()] - [System.Object] - $ConditionalCustomAttribute5 + [System.Management.Automation.SwitchParameter] + $Autodiscover ) } -function New-HostedConnectionFilterPolicy +function New-MobileDeviceMailboxPolicy { [CmdletBinding()] param( [Parameter()] - [System.String] - $ConfigurationXmlRaw, + [System.Boolean] + $AllowMicrosoftPushNotifications, [Parameter()] - [System.String] - $Name, + [System.Boolean] + $AllowUnsignedApplications, [Parameter()] - [System.String] - $AdminDisplayName, + [System.Boolean] + $AllowUnsignedInstallationPackages, [Parameter()] [System.Boolean] - $EnableSafeList, + $AllowExternalDeviceManagement, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $AllowIrDA, [Parameter()] - [System.Object] - $IPBlockList, + [System.Boolean] + $RequireSignedSMIMEMessages, [Parameter()] - [System.Object] - $IPAllowList - ) -} -function New-HostedContentFilterPolicy -{ - [CmdletBinding()] - param( + [System.Boolean] + $AllowStorageCard, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Int32] + $PasswordHistory, [Parameter()] [System.Boolean] - $InlineSafetyTipsEnabled, + $AllowNonProvisionableDevices, [Parameter()] [System.Object] - $BulkSpamAction, + $UnapprovedInROMApplicationList, [Parameter()] - [System.String] - $HighConfidencePhishQuarantineTag, + [System.Boolean] + $RequireEncryptedSMIMEMessages, [Parameter()] - [System.Int32] - $EndUserSpamNotificationFrequency, + [System.Boolean] + $RequireDeviceEncryption, [Parameter()] - [System.Int32] - $EndUserSpamNotificationLimit, + [System.Boolean] + $AllowInternetSharing, [Parameter()] - [System.Int32] - $BulkThreshold, + [System.Boolean] + $PasswordEnabled, [Parameter()] [System.Object] - $TestModeBccToRecipients, - - [Parameter()] - [System.String] - $PhishQuarantineTag, + $RequireSignedSMIMEAlgorithm, [Parameter()] - [System.String] - $AddXHeaderValue, + [System.Object] + $MaxEmailHTMLBodyTruncationSize, [Parameter()] - [System.Object] - $MarkAsSpamEmbedTagsInHtml, + [System.Int32] + $MinPasswordComplexCharacters, [Parameter()] - [System.Object] - $MarkAsSpamFramesInHtml, + [System.Boolean] + $UNCAccessEnabled, [Parameter()] - [System.Object] - $IncreaseScoreWithImageLinks, + [System.Boolean] + $AllowCamera, [Parameter()] [System.Boolean] - $EnableLanguageBlockList, + $IrmEnabled, [Parameter()] [System.Object] - $PhishSpamAction, + $PasswordExpiration, [Parameter()] - [System.String] - $EndUserSpamNotificationCustomFromName, + [System.Boolean] + $AllowBrowser, [Parameter()] [System.Object] - $MarkAsSpamSensitiveWordList, + $MaxEmailAgeFilter, [Parameter()] - [System.String] - $SpamQuarantineTag, + [System.Boolean] + $RequireManualSyncWhenRoaming, [Parameter()] - [System.Object] - $MarkAsSpamNdrBackscatter, + [System.Boolean] + $AlphanumericPasswordRequired, [Parameter()] [System.Object] - $BlockedSenders, + $AllowSMIMEEncryptionAlgorithmNegotiation, [Parameter()] [System.Object] - $LanguageBlockList, + $MaxEmailBodyTruncationSize, [Parameter()] [System.Object] - $HighConfidenceSpamAction, + $AllowBluetooth, [Parameter()] - [System.Object] - $AllowedSenderDomains, + [System.Boolean] + $WSSAccessEnabled, [Parameter()] [System.Object] - $IncreaseScoreWithBizOrInfoUrls, + $RequireEncryptionSMIMEAlgorithm, [Parameter()] [System.Object] - $MarkAsSpamWebBugsInHtml, + $DevicePolicyRefreshInterval, [Parameter()] - [System.String] - $AdminDisplayName, + [System.Boolean] + $AllowGooglePushNotifications, [Parameter()] - [System.Object] - $IntraOrgFilterState, + [System.Boolean] + $AllowMobileOTAUpdate, [Parameter()] - [System.Object] - $RegionBlockList, + [System.String] + $Name, [Parameter()] [System.Object] - $MarkAsSpamFromAddressAuthFail, + $MaxAttachmentSize, [Parameter()] - [System.String] - $Name, + [System.Boolean] + $AllowSimplePassword, [Parameter()] - [System.Object] - $MarkAsSpamEmptyMessages, + [System.Boolean] + $AllowConsumerEmail, [Parameter()] - [System.String] - $BulkQuarantineTag, + [System.Boolean] + $AllowDesktopSync, [Parameter()] - [System.Object] - $MarkAsSpamFormTagsInHtml, + [System.Boolean] + $PasswordRecoveryEnabled, [Parameter()] - [System.Object] - $MarkAsSpamObjectTagsInHtml, + [System.Boolean] + $RequireStorageCardEncryption, [Parameter()] - [System.Object] - $EndUserSpamNotificationLanguage, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $IncreaseScoreWithRedirectToOtherPort, + [System.Boolean] + $AllowSMIMESoftCerts, [Parameter()] - [System.Int32] - $QuarantineRetentionPeriod, + [System.Boolean] + $AllowRemoteDesktop, [Parameter()] - [System.Object] - $HighConfidencePhishAction, + [System.Boolean] + $AttachmentsEnabled, [Parameter()] [System.Object] - $RedirectToRecipients, + $MaxCalendarAgeFilter, [Parameter()] [System.Boolean] - $SpamZapEnabled, + $AllowWiFi, [Parameter()] - [System.Object] - $TestModeAction, + [System.Boolean] + $AllowApplePushNotifications, [Parameter()] [System.Boolean] - $EnableRegionBlockList, + $AllowPOPIMAPEmail, [Parameter()] - [System.String] - $EndUserSpamNotificationCustomSubject, + [System.Boolean] + $IsDefault, [Parameter()] [System.Object] - $MarkAsSpamSpfRecordHardFail, + $MaxInactivityTimeLock, [Parameter()] [System.Object] - $EndUserSpamNotificationCustomFromAddress, + $ApprovedApplicationList, [Parameter()] [System.Boolean] - $DownloadLink, + $AllowTextMessaging, [Parameter()] [System.Object] - $SpamAction, - - [Parameter()] - [System.String] - $ModifySubjectValue, + $MaxPasswordFailedAttempts, [Parameter()] - [System.Object] - $IncreaseScoreWithNumericIps, + [System.Boolean] + $DeviceEncryptionEnabled, [Parameter()] [System.Object] - $AllowedSenders, + $MinPasswordLength, [Parameter()] - [System.Object] - $MarkAsSpamJavaScriptInHtml, - + [System.Boolean] + $AllowHTMLEmail + ) +} +function New-OfflineAddressBook +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $MarkAsSpamBulkMail, + [System.String] + $Name, [Parameter()] - [System.Object] - $BlockedSenderDomains, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $RecommendedPolicyType, + $DiffRetentionPeriod, [Parameter()] - [System.Boolean] - $PhishZapEnabled, + [System.Object[]] + $AddressLists, [Parameter()] [System.Boolean] - $EnableEndUserSpamNotifications, - - [Parameter()] - [System.String] - $HighConfidenceSpamQuarantineTag + $IsDefault ) } -function New-HostedContentFilterRule +function New-OMEConfiguration { [CmdletBinding()] param( [Parameter()] - [System.Int32] - $Priority, + [System.Double] + $ExternalMailExpiryInDays, [Parameter()] [System.String] - $Name, - - [Parameter()] - [System.Object[]] - $SentToMemberOf, + $ReadButtonText, [Parameter()] - [System.Object] - $HostedContentFilterPolicy, + [System.String] + $PortalText, [Parameter()] - [System.Object[]] - $SentTo, + [System.Byte[]] + $Image, [Parameter()] [System.String] - $Comments, + $IntroductionText, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.String] + $BackgroundColor, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.String] + $DisclaimerText, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $PrivacyStatementUrl, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, + [System.Boolean] + $SocialIdSignIn, + + [Parameter()] + [System.String] + $EmailText, [Parameter()] [System.Boolean] - $Enabled + $OTPEnabled, + + [Parameter()] + [System.Object] + $Identity ) } -function New-HostedOutboundSpamFilterPolicy +function New-OnPremisesOrganization { [CmdletBinding()] param( [Parameter()] [System.Object] - $RecommendedPolicyType, + $InboundConnector, [Parameter()] [System.String] $Name, - [Parameter()] - [System.String] - $AdminDisplayName, - - [Parameter()] - [System.Object] - $BccSuspiciousOutboundAdditionalRecipients, - [Parameter()] [System.Object] - $NotifyOutboundSpamRecipients, - - [Parameter()] - [System.UInt32] - $RecipientLimitPerDay, + $OutboundConnector, [Parameter()] - [System.Object] - $ActionWhenThresholdReached, + [System.String] + $OrganizationName, [Parameter()] - [System.Object] - $AutoForwardingMode, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $NotifyOutboundSpam, + [System.String] + $Comment, [Parameter()] - [System.Boolean] - $BccSuspiciousOutboundMail, + [System.Guid] + $OrganizationGuid, [Parameter()] - [System.UInt32] - $RecipientLimitInternalPerHour, + [System.Object] + $OrganizationRelationship, [Parameter()] - [System.UInt32] - $RecipientLimitExternalPerHour + [System.Object] + $HybridDomains ) } -function New-HostedOutboundSpamFilterRule +function New-OrganizationRelationship { [CmdletBinding()] param( [Parameter()] - [System.Int32] - $Priority, + [System.Object] + $MailboxMovePublishedScopes, [Parameter()] [System.String] $Name, [Parameter()] - [System.Object[]] - $ExceptIfFromMemberOf, - - [Parameter()] - [System.Object[]] - $ExceptIfFrom, - - [Parameter()] - [System.Object[]] - $ExceptIfSenderDomainIs, + [System.Object] + $MailTipsAccessLevel, [Parameter()] [System.String] - $Comments, - - [Parameter()] - [System.Object[]] - $FromMemberOf, + $OAuthApplicationId, [Parameter()] - [System.Object[]] - $SenderDomainIs, + [System.Object] + $MailTipsAccessScope, [Parameter()] [System.Object] - $HostedOutboundSpamFilterPolicy, + $MailboxMoveCapability, [Parameter()] - [System.Object[]] - $From, + [System.Object] + $DomainNames, [Parameter()] [System.Boolean] - $Enabled, + $DeliveryReportEnabled, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm + $Confirm, + + [Parameter()] + [System.Boolean] + $MailTipsAccessEnabled ) } -function New-InboundConnector +function New-OutboundConnector { [CmdletBinding()] param( [Parameter()] [System.Boolean] - $RestrictDomainsToIPAddresses, + $RouteAllMessagesViaOnPremises, [Parameter()] - [System.Boolean] - $CloudServicesMailEnabled, + [System.Object] + $RecipientDomains, [Parameter()] [System.Boolean] - $Enabled, - - [Parameter()] - [System.Object] - $EFSkipMailGateway, + $CloudServicesMailEnabled, [Parameter()] [System.Boolean] - $EFTestMode, + $Enabled, [Parameter()] - [System.Object] - $TrustedOrganizations, + [System.Guid] + $LinkForModifiedConnector, [Parameter()] - [System.Object] - $TlsSenderCertificateName, + [System.String] + $Name, [Parameter()] - [System.Object] - $ScanAndDropRecipients, + [System.Boolean] + $AllAcceptedDomains, [Parameter()] [System.Object] - $AssociatedAcceptedDomains, + $TlsDomain, [Parameter()] [System.String] @@ -6241,23 +5622,15 @@ function New-InboundConnector [Parameter()] [System.Boolean] - $RequireTls, - - [Parameter()] - [System.Object] - $SenderDomains, - - [Parameter()] - [System.Object] - $SenderIPAddresses, + $IsTransportRuleScoped, [Parameter()] [System.Boolean] - $EFSkipLastIP, + $UseMXRecord, [Parameter()] [System.Object] - $EFUsers, + $TlsSettings, [Parameter()] [System.Management.Automation.SwitchParameter] @@ -6267,28 +5640,24 @@ function New-InboundConnector [System.Object] $ConnectorType, - [Parameter()] - [System.Boolean] - $RestrictDomainsToCertificate, - [Parameter()] [System.Object] - $EFSkipIPs, + $SmartHosts, [Parameter()] [System.Boolean] - $TreatMessagesAsInternal, + $SenderRewritingEnabled, [Parameter()] - [System.Object] - $ConnectorSource, + [System.Boolean] + $TestMode, [Parameter()] - [System.String] - $Name + [System.Object] + $ConnectorSource ) } -function New-IntraOrganizationConnector +function New-OwaMailboxPolicy { [CmdletBinding()] param( @@ -6296,1881 +5665,1827 @@ function New-IntraOrganizationConnector [System.String] $Name, - [Parameter()] - [System.Object] - $TargetAddressDomains, - [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Uri] - $TargetSharingEpr, - - [Parameter()] - [System.Uri] - $DiscoveryEndpoint, - - [Parameter()] - [System.Boolean] - $Enabled + [System.Management.Automation.SwitchParameter] + $IsDefault ) } -function New-JournalRule +function New-PartnerApplication { [CmdletBinding()] param( + [Parameter()] + [System.String] + $ApplicationIdentifier, + [Parameter()] [System.String] $Name, [Parameter()] [System.Object] - $Scope, + $LinkedAccount, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object] - $JournalEmailAddress, + [System.Boolean] + $AcceptSecurityIdentifierInformation, [Parameter()] [System.Object] - $Recipient, + $AccountType, [Parameter()] [System.Boolean] $Enabled ) } -function New-Mailbox +function New-PolicyTipConfig { [CmdletBinding()] param( [Parameter()] [System.String] - $MailboxRegion, + $Value, [Parameter()] - [System.Object] - $ModeratedBy, + [System.String] + $Name, + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function New-ProtectionAlert +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function New-QuarantinePolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Boolean] - $ModerationEnabled, + $IncludeMessagesFromBlockedSenderAddress, [Parameter()] - [System.Boolean] - $EnableRoomMailboxAccount, + [System.Object] + $MultiLanguageCustomDisclaimer, + + [Parameter()] + [System.Object] + $AdminNotificationLanguage, [Parameter()] [System.String] - $Office, + $EndUserSpamNotificationCustomFromAddress, [Parameter()] [System.String] - $DisplayName, + $AdminDisplayName, [Parameter()] - [System.Security.SecureString] - $Password, + [System.String] + $CustomDisclaimer, [Parameter()] [System.String] $Name, [Parameter()] - [System.Object] - $RemovedMailbox, + [System.Int32] + $EndUserQuarantinePermissionsValue, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolder, + [System.Boolean] + $ESNEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, + [System.Object] + $EndUserQuarantinePermissions, [Parameter()] - [System.String] - $LastName, + [System.Boolean] + $AdminNotificationsEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $TargetAllMDBs, + [System.Object] + $EndUserSpamNotificationLanguage, [Parameter()] [System.Object] - $RoleAssignmentPolicy, + $DomainController, [Parameter()] [System.Object] - $ResourceCapacity, + $MultiLanguageSenderName, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Archive, + [System.Object] + $AdminQuarantinePermissionsList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Equipment, + [System.Object] + $MultiLanguageSetting, [Parameter()] - [System.String] - $ImmutableId, + [System.TimeSpan] + $EndUserSpamNotificationFrequency, [Parameter()] - [System.Security.SecureString] - $RoomMailboxPassword, + [System.Int32] + $QuarantineRetentionDays, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Shared, + [System.Object] + $EsnCustomSubject, [Parameter()] [System.Boolean] - $IsExcludedFromServingHierarchy, + $OrganizationBrandingEnabled, [Parameter()] - [System.Object] - $MailboxPlan, + [System.Int32] + $AdminNotificationFrequencyInDays, [Parameter()] [System.Object] - $MicrosoftOnlineServicesID, - + $QuarantinePolicyType + ) +} +function New-RemoteDomain +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Migration, + [System.String] + $Name, [Parameter()] [System.Management.Automation.SwitchParameter] - $Room, - - [Parameter()] - [System.String] - $Initials, + $Confirm, [Parameter()] [System.Object] - $InactiveMailbox, - + $DomainName + ) +} +function New-ReportSubmissionPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $FederatedIdentity, + $PostSubmitMessage, [Parameter()] [System.Object] - $ActiveSyncMailboxPolicy, + $ReportJunkAddresses, [Parameter()] - [System.Object] - $OrganizationalUnit, + [System.Boolean] + $NotificationsForPhishMalwareSubmissionAirInvestigationsEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $PhishingReviewResultMessage, [Parameter()] - [System.Management.Automation.SwitchParameter] - $HoldForMigration, + [System.String] + $PostSubmitMessageTitle, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Discovery, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonTextForNotJunk, [Parameter()] [System.Boolean] - $ResetPasswordOnNextLogon, - - [Parameter()] - [System.String] - $FirstName, + $EnableCustomizedMsg, [Parameter()] - [System.String] - $Phone, + [System.Object] + $NotificationSenderAddress, [Parameter()] - [System.Object] - $PrimarySmtpAddress, + [System.String[]] + $MultiLanguagePostSubmitMessageButtonTextForJunk, [Parameter()] - [System.Object] - $SendModerationNotifications, + [System.Boolean] + $NotificationsForSpamSubmissionAirInvestigationsEnabled, [Parameter()] [System.String] - $Alias, + $PostSubmitMessageForJunk, [Parameter()] - [System.Boolean] - $RemotePowerShellEnabled - ) -} -function New-MailContact -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $ModeratedBy, + [System.String[]] + $MultiLanguagePostSubmitMessageForPhishing, [Parameter()] [System.Boolean] - $ModerationEnabled, + $EnableThirdPartyAddress, [Parameter()] - [System.Object] - $MacAttachmentFormat, + [System.String] + $PreSubmitMessageTitleForPhishing, [Parameter()] [System.String] - $DisplayName, + $PreSubmitMessageForJunk, [Parameter()] - [System.String] - $Name, + [System.Int32] + $UserSubmissionOptions, + + [Parameter()] + [System.String[]] + $MultiLanguagePostSubmitMessageButtonTextForPhishing, [Parameter()] [System.String] - $LastName, + $PreSubmitMessageForNotJunk, [Parameter()] - [System.Boolean] - $UsePreferMessageFormat, + [System.String[]] + $MultiLanguagePostSubmitMessageTitleForPhishing, [Parameter()] - [System.Object] - $MessageBodyFormat, + [System.String[]] + $MultiLanguagePreSubmitMessageTitleForNotJunk, [Parameter()] - [System.String] - $Initials, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonTextForJunk, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String[]] + $MultiLanguagePreSubmitMessageForNotJunk, [Parameter()] - [System.Object] - $ExternalEmailAddress, + [System.Boolean] + $ReportJunkToCustomizedAddress, [Parameter()] - [System.String] - $Alias, + [System.String[]] + $MultiLanguagePostSubmitMessageButtonLinkForPhishing, [Parameter()] - [System.Object] - $MessageFormat, + [System.Boolean] + $ReportNotJunkToCustomizedAddress, [Parameter()] [System.String] - $FirstName, + $PostSubmitMessageTitleForJunk, [Parameter()] - [System.Object] - $SendModerationNotifications, + [System.String[]] + $MultiLanguagePreSubmitMessageForPhishing, - [Parameter()] - [System.Object] - $OrganizationalUnit - ) -} -function New-MalwareFilterPolicy -{ - [CmdletBinding()] - param( [Parameter()] [System.String] - $CustomFromName, + $NotificationFooterMessage, [Parameter()] - [System.String] - $AdminDisplayName, + [System.Boolean] + $EnableOrganizationBranding, [Parameter()] [System.String] - $Name, + $PreSubmitMessageForPhishing, [Parameter()] - [System.String] - $CustomExternalBody, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonLinkForNotJunk, [Parameter()] - [System.String] - $QuarantineTag, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonLinkForPhishing, [Parameter()] [System.Boolean] - $CustomNotifications, + $EnableReportToMicrosoft, + + [Parameter()] + [System.String] + $PreSubmitMessageTitleForJunk, [Parameter()] [System.Boolean] - $EnableExternalSenderAdminNotifications, + $ReportChatMessageEnabled, [Parameter()] [System.Object] - $InternalSenderAdminAddress, + $ThirdPartyReportAddresses, [Parameter()] [System.String[]] - $FileTypes, + $MultiLanguagePreSubmitMessageButtonLinkForJunk, [Parameter()] [System.Boolean] - $EnableInternalSenderAdminNotifications, + $NotificationsForCleanSubmissionAirInvestigationsEnabled, [Parameter()] - [System.Object] - $CustomFromAddress, + [System.String] + $PostSubmitMessageForNotJunk, [Parameter()] - [System.String] - $CustomExternalSubject, + [System.Object] + $MultiLanguageSetting, [Parameter()] - [System.Boolean] - $ZapEnabled, + [System.String[]] + $MultiLanguagePostSubmitMessageForJunk, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $DisableQuarantineReportingOption, [Parameter()] [System.Object] - $ExternalSenderAdminAddress, + $ReportNotJunkAddresses, [Parameter()] - [System.Object] - $RecommendedPolicyType, + [System.Boolean] + $EnableUserEmailNotification, [Parameter()] - [System.Object] - $FileTypeAction, + [System.String[]] + $MultiLanguagePreSubmitMessageForJunk, [Parameter()] [System.String] - $CustomInternalSubject, + $PostSubmitMessageTitleForPhishing, [Parameter()] - [System.String] - $CustomInternalBody, + [System.String[]] + $MultiLanguagePreSubmitMessageTitleForJunk, [Parameter()] [System.Boolean] - $EnableFileFilter - ) -} -function New-MalwareFilterRule -{ - [CmdletBinding()] - param( + $DisableUserSubmissionOptions, + [Parameter()] - [System.Int32] - $Priority, + [System.Boolean] + $OnlyShowPhishingDisclaimer, [Parameter()] [System.String] - $Name, + $PostSubmitMessageTitleForNotJunk, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [System.String] + $PreSubmitMessage, [Parameter()] - [System.Object[]] - $SentTo, + [System.String] + $PreSubmitMessageTitleForNotJunk, [Parameter()] [System.String] - $Comments, + $JunkReviewResultMessage, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Boolean] + $EnableCustomNotificationSender, [Parameter()] - [System.Object] - $MalwareFilterPolicy, + [System.Boolean] + $ReportChatMessageToCustomizedAddressEnabled, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.Object] + $ReportPhishAddresses, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.String[]] + $MultiLanguagePostSubmitMessageTitleForJunk, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $NotJunkReviewResultMessage, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, + [System.Boolean] + $NotificationsForSubmissionAirInvestigationsEnabled, [Parameter()] [System.Boolean] - $Enabled - ) -} -function New-ManagementRole -{ - [CmdletBinding()] - param( + $PreSubmitMessageEnabled, + + [Parameter()] + [System.Boolean] + $PostSubmitMessageEnabled, + [Parameter()] [System.String] - $Description, + $PreSubmitMessageTitle, [Parameter()] [System.String[]] - $EnabledCmdlets, + $MultiLanguagePreSubmitMessageTitleForPhishing, + + [Parameter()] + [System.String[]] + $MultiLanguagePreSubmitMessageButtonTextForPhishing, [Parameter()] [System.String] - $Name, + $UserSubmissionOptionsMessage, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $PostSubmitMessageForPhishing, [Parameter()] - [System.Object] - $Parent, + [System.String[]] + $MultiLanguagePostSubmitMessageButtonLinkForJunk, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force + [System.Boolean] + $ReportPhishToCustomizedAddress ) } -function New-ManagementRoleAssignment +function New-ReportSubmissionRule { [CmdletBinding()] param( [Parameter()] - [System.Object] - $CustomRecipientWriteScope, + [System.String] + $Name, [Parameter()] - [System.Object] - $RecipientGroupScope, + [System.Object[]] + $SentTo, [Parameter()] [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, + $Comments, [Parameter()] [System.Object] - $RecipientAdministrativeUnitScope, + $ReportSubmissionPolicy, [Parameter()] - [System.Object] - $SecurityGroup, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $ExclusiveRecipientWriteScope, + [System.Boolean] + $Enabled + ) +} +function New-RetentionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Delegating, + [System.Object[]] + $RetentionPolicyTagLinks, [Parameter()] - [System.Object] - $User, + [System.Management.Automation.SwitchParameter] + $IsDefaultArbitrationMailbox, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $IsDefault, [Parameter()] - [System.Object] - $App, + [System.Guid] + $RetentionId, [Parameter()] - [System.Object] - $Role, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function New-RoleAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, [Parameter()] - [System.Object] - $CustomResourceScope, + [System.String] + $Name, [Parameter()] - [System.Object] - $Policy, + [System.Object[]] + $Roles, [Parameter()] - [System.Object] - $RecipientOrganizationalUnitScope, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $RecipientRelativeWriteScope + [System.Management.Automation.SwitchParameter] + $IsDefault ) } -function New-MessageClassification +function New-RoleGroup { [CmdletBinding()] param( [Parameter()] [System.String] - $SenderDescription, + $Description, + + [Parameter()] + [System.Object] + $CustomRecipientWriteScope, [Parameter()] [System.String] $DisplayName, [Parameter()] - [System.String] - $RecipientDescription, + [System.Object] + $Members, [Parameter()] [System.String] $Name, - [Parameter()] - [System.Globalization.CultureInfo] - $Locale, - [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Boolean] - $RetainClassificationEnabled, + [System.Object[]] + $Roles, [Parameter()] - [System.Boolean] - $PermissionMenuVisible, + [System.String] + $WellKnownObject, [Parameter()] - [System.Guid] - $ClassificationID, + [System.Object] + $ManagedBy, [Parameter()] - [System.Object] - $DisplayPrecedence + [System.Management.Automation.SwitchParameter] + $Force ) } -function New-MobileDeviceMailboxPolicy +function New-SafeAttachmentPolicy { [CmdletBinding()] param( - [Parameter()] - [System.Boolean] - $AllowMicrosoftPushNotifications, - - [Parameter()] - [System.Boolean] - $AllowUnsignedApplications, - - [Parameter()] - [System.Boolean] - $AllowUnsignedInstallationPackages, - [Parameter()] [System.Object] - $MaxPasswordFailedAttempts, + $Action, [Parameter()] - [System.Boolean] - $AllowExternalDeviceManagement, + [System.Object] + $RecommendedPolicyType, [Parameter()] [System.Boolean] - $AllowIrDA, + $Redirect, [Parameter()] - [System.Boolean] - $RequireSignedSMIMEMessages, + [System.String] + $Name, [Parameter()] - [System.Boolean] - $AllowStorageCard, + [System.String] + $AdminDisplayName, [Parameter()] - [System.Int32] - $PasswordHistory, + [System.Management.Automation.SwitchParameter] + $MakeBuiltInProtection, [Parameter()] [System.Boolean] - $AllowNonProvisionableDevices, + $Enable, [Parameter()] [System.Object] - $UnapprovedInROMApplicationList, + $RedirectAddress, [Parameter()] - [System.Boolean] - $RequireEncryptedSMIMEMessages, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $RequireDeviceEncryption, - + [System.String] + $QuarantineTag + ) +} +function New-SafeAttachmentRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $AllowInternetSharing, + [System.Int32] + $Priority, [Parameter()] - [System.Boolean] - $PasswordEnabled, + [System.String] + $Name, [Parameter()] - [System.Object] - $RequireSignedSMIMEAlgorithm, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [System.Object] - $MaxEmailHTMLBodyTruncationSize, + [System.Object[]] + $SentTo, [Parameter()] - [System.Int32] - $MinPasswordComplexCharacters, + [System.String] + $Comments, [Parameter()] - [System.Boolean] - $UNCAccessEnabled, + [System.Object[]] + $RecipientDomainIs, [Parameter()] - [System.Boolean] - $AllowCamera, + [System.Object] + $SafeAttachmentPolicy, [Parameter()] - [System.Boolean] - $IrmEnabled, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.Object] - $PasswordExpiration, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] - [System.Boolean] - $AllowBrowser, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $MaxEmailAgeFilter, + [System.Object[]] + $ExceptIfSentToMemberOf, [Parameter()] [System.Boolean] - $RequireManualSyncWhenRoaming, - + $Enabled + ) +} +function New-SafeLinksPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Boolean] - $AlphanumericPasswordRequired, + $EnableOrganizationBranding, [Parameter()] - [System.Object] - $AllowSMIMEEncryptionAlgorithmNegotiation, + [System.String] + $AdminDisplayName, [Parameter()] - [System.Object] - $MaxEmailBodyTruncationSize, + [System.Boolean] + $UseTranslatedNotificationText, [Parameter()] - [System.Object] - $AllowBluetooth, + [System.String] + $Name, [Parameter()] - [System.Object] - $RequireEncryptionSMIMEAlgorithm, + [System.Management.Automation.SwitchParameter] + $MakeBuiltInProtection, [Parameter()] [System.Object] - $DevicePolicyRefreshInterval, + $DoNotRewriteUrls, [Parameter()] [System.Boolean] - $AllowGooglePushNotifications, + $EnableSafeLinksForTeams, [Parameter()] [System.Boolean] - $AllowMobileOTAUpdate, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $MaxAttachmentSize, + $DisableUrlRewrite, [Parameter()] [System.Boolean] - $AllowSimplePassword, + $EnableSafeLinksForOffice, [Parameter()] [System.Boolean] - $AllowConsumerEmail, + $TrackClicks, [Parameter()] [System.Boolean] - $AllowDesktopSync, + $AllowClickThrough, [Parameter()] - [System.Boolean] - $RequireStorageCardEncryption, + [System.Object] + $RecommendedPolicyType, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Boolean] - $AttachmentsEnabled, + [System.String] + $CustomNotificationText, [Parameter()] [System.Boolean] - $AllowSMIMESoftCerts, + $DeliverMessageAfterScan, [Parameter()] [System.Boolean] - $AllowRemoteDesktop, + $EnableSafeLinksForEmail, [Parameter()] [System.Boolean] - $PasswordRecoveryEnabled, + $ScanUrls, [Parameter()] - [System.Object] - $MaxCalendarAgeFilter, + [System.Boolean] + $EnableForInternalSenders + ) +} +function New-SafeLinksRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $Priority, [Parameter()] - [System.Boolean] - $AllowWiFi, + [System.String] + $Name, [Parameter()] - [System.Boolean] - $AllowApplePushNotifications, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [System.Boolean] - $AllowPOPIMAPEmail, + [System.Object[]] + $SentTo, [Parameter()] - [System.Boolean] - $IsDefault, + [System.String] + $Comments, [Parameter()] - [System.Object] - $MaxInactivityTimeLock, + [System.Object[]] + $RecipientDomainIs, [Parameter()] - [System.Object] - $ApprovedApplicationList, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.Boolean] - $AllowTextMessaging, + [System.Object] + $SafeLinksPolicy, [Parameter()] - [System.Boolean] - $WSSAccessEnabled, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] - [System.Boolean] - $DeviceEncryptionEnabled, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $MinPasswordLength, + [System.Object[]] + $ExceptIfSentToMemberOf, [Parameter()] [System.Boolean] - $AllowHTMLEmail + $Enabled ) } -function New-OfflineAddressBook +function New-ServicePrincipal { [CmdletBinding()] param( [Parameter()] [System.String] - $Name, + $DisplayName, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Boolean] - $IsDefault, + [System.String] + $ObjectId, [Parameter()] - [System.Object] - $DiffRetentionPeriod, + [System.String] + $ServiceId, [Parameter()] - [System.Object[]] - $AddressLists + [System.String] + $AppId ) } -function New-OMEConfiguration +function New-SweepRule { [CmdletBinding()] param( - [Parameter()] - [System.Double] - $ExternalMailExpiryInDays, - [Parameter()] [System.String] - $ReadButtonText, - - [Parameter()] - [System.String] - $PortalText, + $Name, [Parameter()] - [System.Byte[]] - $Image, + [System.Object] + $DestinationFolder, [Parameter()] [System.String] - $IntroductionText, + $Provider, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $SystemCategory, [Parameter()] - [System.String] - $BackgroundColor, + [System.Object] + $KeepLatest, [Parameter()] - [System.String] - $DisclaimerText, + [System.Object] + $SourceFolder, [Parameter()] - [System.String] - $PrivacyStatementUrl, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $SocialIdSignIn, + [System.Object] + $Mailbox, [Parameter()] - [System.String] - $EmailText, + [System.Object] + $Sender, [Parameter()] - [System.Boolean] - $OTPEnabled, + [System.Object] + $KeepForDays, [Parameter()] - [System.Object] - $Identity + [System.Boolean] + $Enabled ) } -function New-OnPremisesOrganization +function New-TenantAllowBlockListItems { [CmdletBinding()] param( + [Parameter()] + [System.DateTime] + $ExpirationDate, + [Parameter()] [System.Object] - $InboundConnector, + $ListSubType, [Parameter()] - [System.String] - $Name, + [System.Management.Automation.SwitchParameter] + $Block, [Parameter()] - [System.Object] - $OutboundConnector, + [System.Management.Automation.SwitchParameter] + $LogExtraDetails, [Parameter()] [System.String] - $OrganizationName, + $Notes, + + [Parameter()] + [System.Int32] + $RemoveAfter, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $OutputJson, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $NoExpiration, [Parameter()] [System.String] - $Comment, + $SubmissionID, [Parameter()] - [System.Guid] - $OrganizationGuid, + [System.Management.Automation.SwitchParameter] + $Allow, [Parameter()] - [System.Object] - $OrganizationRelationship, + [System.String[]] + $Entries, [Parameter()] [System.Object] - $HybridDomains + $ListType ) } -function New-OrganizationRelationship +function New-TenantAllowBlockListSpoofItems { [CmdletBinding()] param( [Parameter()] - [System.Object] - $MailTipsAccessLevel, - - [Parameter()] - [System.Uri] - $TargetAutodiscoverEpr, + [System.String] + $Action, [Parameter()] - [System.Boolean] - $Enabled, + [System.String] + $SendingInfrastructure, [Parameter()] [System.String] - $Name, + $SpoofType, [Parameter()] - [System.Object] - $FreeBusyAccessScope, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $DeliveryReportEnabled, + [System.Object] + $Identity, [Parameter()] [System.String] - $OAuthApplicationId, + $SpoofedUser + ) +} +function New-TransportRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $ActivationDate, [Parameter()] - [System.Boolean] - $MailTipsAccessEnabled, + [System.Object[]] + $AddToRecipients, [Parameter()] [System.Object] - $OrganizationContact, + $ApplyHtmlDisclaimerFallbackAction, [Parameter()] - [System.Boolean] - $ArchiveAccessEnabled, + [System.Object[]] + $ExceptIfRecipientADAttributeContainsWords, [Parameter()] - [System.Boolean] - $FreeBusyAccessEnabled, + [System.Object] + $AttachmentSizeOver, [Parameter()] - [System.Object] - $MailTipsAccessScope, + [System.Object[]] + $ExceptIfSenderADAttributeContainsWords, [Parameter()] - [System.Uri] - $TargetOwaURL, + [System.Object] + $SetSCL, [Parameter()] - [System.Uri] - $TargetApplicationUri, + [System.Object[]] + $AnyOfToHeaderMemberOf, [Parameter()] [System.Boolean] - $PhotosEnabled, + $Disconnect, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Int32] + $Priority, [Parameter()] - [System.Object] - $MailboxMovePublishedScopes, + [System.Object[]] + $ExceptIfSentToMemberOf, [Parameter()] - [System.Boolean] - $MailboxMoveEnabled, + [System.Object[]] + $ExceptIfAnyOfCcHeader, [Parameter()] - [System.Object] - $MailboxMoveCapability, + [System.Object[]] + $ExceptIfAttachmentMatchesPatterns, [Parameter()] - [System.Uri] - $TargetSharingEpr, + [System.Object[]] + $RecipientDomainIs, [Parameter()] [System.Object] - $FreeBusyAccessLevel, + $ManagerForEvaluatedUser, [Parameter()] - [System.Object] - $DomainNames - ) -} -function New-OutboundConnector -{ - [CmdletBinding()] - param( + [System.Object[]] + $ExceptIfHeaderMatchesPatterns, + [Parameter()] - [System.Boolean] - $RouteAllMessagesViaOnPremises, + [System.Object] + $ExceptIfFromScope, [Parameter()] [System.Object] - $RecipientDomains, + $AdComparisonAttribute, [Parameter()] - [System.Boolean] - $CloudServicesMailEnabled, + [System.Object[]] + $ExceptIfAttachmentContainsWords, [Parameter()] - [System.Boolean] - $Enabled, + [System.Object[]] + $ExceptIfHeaderContainsWords, [Parameter()] - [System.Guid] - $LinkForModifiedConnector, + [System.Object[]] + $HeaderMatchesPatterns, [Parameter()] - [System.String] - $Name, + [System.Object] + $AddManagerAsRecipientType, [Parameter()] [System.Boolean] - $AllAcceptedDomains, + $DeleteMessage, + + [Parameter()] + [System.Boolean] + $HasSenderOverride, [Parameter()] [System.Object] - $TlsDomain, + $SmtpRejectMessageRejectStatusCode, [Parameter()] [System.String] - $Comment, + $ExceptIfHasClassification, [Parameter()] [System.Boolean] - $IsTransportRuleScoped, + $Quarantine, [Parameter()] - [System.Boolean] - $UseMXRecord, + [System.Object[]] + $ExceptIfAnyOfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientInSenderList, [Parameter()] [System.Object] - $TlsSettings, + $RecipientAddressType, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $ExceptIfContentCharacterSetContainsWords, + + [Parameter()] + [System.Object[]] + $BlindCopyTo, [Parameter()] [System.Object] - $ConnectorType, + $ApplyHtmlDisclaimerLocation, [Parameter()] [System.Object] - $SmartHosts, + $ExceptIfMessageTypeMatches, [Parameter()] - [System.Boolean] - $SenderRewritingEnabled, + [System.Object] + $SenderIpRanges, [Parameter()] - [System.Boolean] - $TestMode, + [System.Collections.Hashtable[]] + $ExceptIfMessageContainsDataClassifications, [Parameter()] - [System.Object] - $ConnectorSource - ) -} -function New-OwaMailboxPolicy -{ - [CmdletBinding()] - param( + [System.Object[]] + $ModerateMessageByUser, + [Parameter()] - [System.String] - $Name, + [System.Boolean] + $HasNoClassification, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $ExceptIfSenderInRecipientList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault - ) -} -function New-PartnerApplication -{ - [CmdletBinding()] - param( + [System.Object] + $HeaderContainsMessageHeader, + [Parameter()] - [System.String] - $ApplicationIdentifier, + [System.Object] + $RemoveHeader, [Parameter()] [System.String] - $Name, + $HasClassification, [Parameter()] - [System.Object] - $LinkedAccount, + [System.Collections.Hashtable[]] + $MessageContainsDataClassifications, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $ExceptIfFromMemberOf, [Parameter()] - [System.Boolean] - $AcceptSecurityIdentifierInformation, + [System.Object] + $RuleSubType, [Parameter()] - [System.Boolean] - $Enabled, + [System.Object[]] + $AnyOfRecipientAddressMatchesPatterns, [Parameter()] [System.Object] - $AccountType - ) -} -function New-PolicyTipConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Value, + $SentToScope, [Parameter()] - [System.String] - $Name, + [System.Object[]] + $AnyOfToCcHeaderMemberOf, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function New-QuarantinePolicy -{ - [CmdletBinding()] - param( + [System.Object[]] + $From, + [Parameter()] - [System.Object] - $MultiLanguageCustomDisclaimer, + [System.Object[]] + $ExceptIfAnyOfRecipientAddressContainsWords, [Parameter()] [System.Object] - $AdminNotificationLanguage, + $ExceptIfWithImportance, [Parameter()] - [System.String] - $EndUserSpamNotificationCustomFromAddress, + [System.Object[]] + $ContentCharacterSetContainsWords, [Parameter()] - [System.String] - $AdminDisplayName, + [System.Object[]] + $SubjectContainsWords, [Parameter()] - [System.Int32] - $EndUserSpamNotificationFrequencyInDays, + [System.Object] + $RejectMessageEnhancedStatusCode, [Parameter()] - [System.String] - $CustomDisclaimer, + [System.Object[]] + $SenderADAttributeMatchesPatterns, [Parameter()] - [System.String] - $Name, + [System.Object[]] + $ExceptIfSenderADAttributeMatchesPatterns, [Parameter()] - [System.Int32] - $EndUserQuarantinePermissionsValue, + [System.Object[]] + $IncidentReportContent, [Parameter()] [System.Boolean] - $ESNEnabled, + $UseLegacyRegex, [Parameter()] - [System.Object] - $EndUserQuarantinePermissions, + [System.Object[]] + $FromMemberOf, [Parameter()] - [System.Boolean] - $AdminNotificationsEnabled, + [System.Object[]] + $AttachmentContainsWords, [Parameter()] [System.Object] - $EndUserSpamNotificationLanguage, + $ExceptIfSCLOver, [Parameter()] - [System.Object] - $DomainController, + [System.Object[]] + $ExceptIfBetweenMemberOf1, [Parameter()] [System.Object] - $MultiLanguageSenderName, + $GenerateNotification, [Parameter()] [System.Object] - $AdminQuarantinePermissionsList, + $NotifySender, [Parameter()] - [System.Object] - $MultiLanguageSetting, + [System.Boolean] + $ExceptIfAttachmentIsPasswordProtected, [Parameter()] - [System.TimeSpan] - $EndUserSpamNotificationFrequency, + [System.Object[]] + $ExceptIfAttachmentNameMatchesPatterns, [Parameter()] - [System.Int32] - $QuarantineRetentionDays, + [System.Object] + $ExceptIfSenderManagementRelationship, [Parameter()] - [System.Object] - $EsnCustomSubject, + [System.String] + $SetAuditSeverity, [Parameter()] - [System.Boolean] - $OrganizationBrandingEnabled, + [System.Object[]] + $AttachmentPropertyContainsWords, [Parameter()] - [System.Int32] - $AdminNotificationFrequencyInDays, + [System.Object[]] + $ExceptIfAnyOfToHeader, [Parameter()] [System.Object] - $QuarantinePolicyType - ) -} -function New-RemoteDomain -{ - [CmdletBinding()] - param( + $ApplyRightsProtectionCustomizationTemplate, + [Parameter()] - [System.String] - $Name, + [System.Object] + $SetHeaderName, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object] - $DomainName - ) -} -function New-ReportSubmissionPolicy -{ - [CmdletBinding()] - param( + [System.Boolean] + $RouteMessageOutboundRequireTls, + [Parameter()] - [System.String] - $PostSubmitMessage, + [System.Object] + $WithImportance, [Parameter()] [System.Object] - $ReportJunkAddresses, + $RuleErrorAction, [Parameter()] - [System.Boolean] - $NotificationsForPhishMalwareSubmissionAirInvestigationsEnabled, + [System.Object] + $FromScope, [Parameter()] - [System.String] - $PhishingReviewResultMessage, + [System.Object[]] + $AttachmentNameMatchesPatterns, [Parameter()] - [System.String] - $PostSubmitMessageTitle, + [System.Object[]] + $SentTo, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonTextForNotJunk, + [System.Object[]] + $ExceptIfFromAddressMatchesPatterns, [Parameter()] [System.Boolean] - $EnableCustomizedMsg, + $Enabled, [Parameter()] [System.Object] - $NotificationSenderAddress, + $ExceptIfAttachmentSizeOver, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonTextForJunk, + [System.Object] + $ExceptIfManagerForEvaluatedUser, [Parameter()] [System.Boolean] - $NotificationsForSpamSubmissionAirInvestigationsEnabled, + $RemoveOMEv2, [Parameter()] - [System.String] - $PostSubmitMessageForJunk, + [System.Object[]] + $ExceptIfFromAddressContainsWords, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageForPhishing, + [System.Boolean] + $AttachmentHasExecutableContent, [Parameter()] - [System.Boolean] - $EnableThirdPartyAddress, + [System.Object] + $RouteMessageOutboundConnector, [Parameter()] - [System.String] - $PreSubmitMessageTitleForPhishing, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.String] - $PreSubmitMessageForJunk, + [System.Object[]] + $ExceptIfSenderDomainIs, [Parameter()] - [System.Int32] - $UserSubmissionOptions, + [System.Object] + $SenderManagementRelationship, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonTextForPhishing, + [System.Object[]] + $ExceptIfBetweenMemberOf2, [Parameter()] - [System.String] - $PreSubmitMessageForNotJunk, + [System.Object[]] + $RedirectMessageTo, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageTitleForPhishing, + [System.Boolean] + $ApplyOME, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageTitleForNotJunk, + [System.Object[]] + $SenderDomainIs, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonTextForJunk, + [System.Object[]] + $SenderADAttributeContainsWords, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageForNotJunk, + [System.Object[]] + $ExceptIfAnyOfCcHeaderMemberOf, [Parameter()] - [System.Boolean] - $ReportJunkToCustomizedAddress, + [System.Object] + $ApplyHtmlDisclaimerText, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonLinkForPhishing, + [System.Boolean] + $ExceptIfAttachmentHasExecutableContent, [Parameter()] [System.Boolean] - $ReportNotJunkToCustomizedAddress, + $ExceptIfAttachmentIsUnsupported, [Parameter()] - [System.String] - $PostSubmitMessageTitleForJunk, + [System.Boolean] + $RemoveOME, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageForPhishing, + [System.Object] + $RejectMessageReasonText, [Parameter()] - [System.String] - $NotificationFooterMessage, + [System.Object[]] + $RecipientAddressContainsWords, [Parameter()] - [System.Boolean] - $EnableOrganizationBranding, + [System.Object] + $GenerateIncidentReport, [Parameter()] - [System.String] - $PreSubmitMessageForPhishing, + [System.Object[]] + $FromAddressContainsWords, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonLinkForNotJunk, + [System.Boolean] + $RemoveRMSAttachmentEncryption, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonLinkForPhishing, + [System.Object[]] + $RecipientAddressMatchesPatterns, [Parameter()] - [System.Boolean] - $EnableReportToMicrosoft, + [System.Object[]] + $ExceptIfSubjectContainsWords, [Parameter()] - [System.String] - $PreSubmitMessageTitleForJunk, + [System.Object[]] + $ExceptIfFrom, [Parameter()] - [System.Boolean] - $ReportChatMessageEnabled, + [System.Object[]] + $AnyOfToCcHeader, [Parameter()] [System.Object] - $ThirdPartyReportAddresses, + $ExceptIfSentToScope, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonLinkForJunk, + [System.Object[]] + $ExceptIfAnyOfToCcHeaderMemberOf, [Parameter()] [System.Boolean] - $NotificationsForCleanSubmissionAirInvestigationsEnabled, - - [Parameter()] - [System.String] - $PostSubmitMessageForNotJunk, + $ModerateMessageByManager, [Parameter()] [System.Object] - $MultiLanguageSetting, + $AdComparisonOperator, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageForJunk, + [System.Object] + $MessageSizeOver, [Parameter()] - [System.Boolean] - $DisableQuarantineReportingOption, + [System.Object[]] + $BetweenMemberOf2, [Parameter()] - [System.Object] - $ReportNotJunkAddresses, + [System.Object[]] + $SubjectMatchesPatterns, [Parameter()] [System.Boolean] - $EnableUserEmailNotification, + $AttachmentProcessingLimitExceeded, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageForJunk, + [System.Object[]] + $ExceptIfSubjectMatchesPatterns, [Parameter()] [System.String] - $PostSubmitMessageTitleForPhishing, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageTitleForJunk, + $Name, [Parameter()] - [System.Boolean] - $DisableUserSubmissionOptions, + [System.Object[]] + $ExceptIfRecipientAddressContainsWords, [Parameter()] - [System.Boolean] - $OnlyShowPhishingDisclaimer, + [System.Object] + $HeaderMatchesMessageHeader, [Parameter()] - [System.String] - $PostSubmitMessageTitleForNotJunk, + [System.Object[]] + $AnyOfRecipientAddressContainsWords, [Parameter()] - [System.String] - $PreSubmitMessage, + [System.Object[]] + $HeaderContainsWords, [Parameter()] [System.String] - $PreSubmitMessageTitleForNotJunk, + $Comments, [Parameter()] - [System.String] - $JunkReviewResultMessage, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [System.Boolean] - $EnableCustomNotificationSender, + [System.Object] + $ExceptIfAdComparisonAttribute, [Parameter()] - [System.Boolean] - $ReportChatMessageToCustomizedAddressEnabled, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] [System.Object] - $ReportPhishAddresses, + $ExceptIfAdComparisonOperator, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageTitleForJunk, + [System.Object[]] + $ExceptIfAnyOfToHeaderMemberOf, [Parameter()] - [System.String] - $NotJunkReviewResultMessage, + [System.Object] + $Mode, [Parameter()] - [System.Boolean] - $NotificationsForSubmissionAirInvestigationsEnabled, + [System.Object[]] + $RecipientInSenderList, [Parameter()] - [System.Boolean] - $PreSubmitMessageEnabled, + [System.Object[]] + $SubjectOrBodyMatchesPatterns, [Parameter()] - [System.Boolean] - $PostSubmitMessageEnabled, + [System.Object[]] + $ExceptIfAttachmentExtensionMatchesWords, [Parameter()] - [System.String] - $PreSubmitMessageTitle, + [System.Object[]] + $ExceptIfSubjectOrBodyMatchesPatterns, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageTitleForPhishing, + [System.Object[]] + $ExceptIfRecipientAddressMatchesPatterns, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonTextForPhishing, + [System.Boolean] + $ExceptIfHasNoClassification, [Parameter()] - [System.String] - $UserSubmissionOptionsMessage, + [System.Object] + $ExceptIfSenderIpRanges, [Parameter()] - [System.String] - $PostSubmitMessageForPhishing, + [System.Object[]] + $ExceptIfRecipientADAttributeMatchesPatterns, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonLinkForJunk, + [System.Object[]] + $RecipientADAttributeContainsWords, [Parameter()] [System.Boolean] - $ReportPhishToCustomizedAddress - ) -} -function New-ReportSubmissionRule -{ - [CmdletBinding()] - param( + $AttachmentIsUnsupported, + [Parameter()] - [System.String] - $Name, + [System.Object] + $ExpiryDate, [Parameter()] [System.Object[]] - $SentTo, + $AttachmentExtensionMatchesWords, [Parameter()] - [System.String] - $Comments, + [System.Object[]] + $ExceptIfSubjectOrBodyContainsWords, [Parameter()] [System.Object] - $ReportSubmissionPolicy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + $LogEventText, [Parameter()] - [System.Boolean] - $Enabled - ) -} -function New-RoleAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, + [System.Object[]] + $ExceptIfManagerAddresses, [Parameter()] - [System.String] - $Name, + [System.Object[]] + $SenderInRecipientList, [Parameter()] [System.Object[]] - $Roles, + $ExceptIfAnyOfToCcHeader, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $AttachmentMatchesPatterns, - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault - ) -} -function New-RoleGroup -{ - [CmdletBinding()] - param( [Parameter()] [System.String] - $Description, - - [Parameter()] - [System.Object] - $CustomRecipientWriteScope, + $DlpPolicy, [Parameter()] - [System.String] - $DisplayName, + [System.Object[]] + $ManagerAddresses, [Parameter()] [System.Object] - $Members, + $SenderAddressLocation, [Parameter()] - [System.String] - $Name, + [System.Object[]] + $CopyTo, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $SubjectOrBodyContainsWords, [Parameter()] [System.String] - $WellKnownObject, - - [Parameter()] - [System.Object] - $ManagedBy, + $ApplyClassification, [Parameter()] [System.Object[]] - $Roles, + $RecipientADAttributeMatchesPatterns, - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function New-SafeAttachmentPolicy -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] - $Action, + $SetHeaderValue, [Parameter()] - [System.Object] - $RecommendedPolicyType, + [System.Boolean] + $AttachmentIsPasswordProtected, [Parameter()] - [System.Boolean] - $Redirect, + [System.Object[]] + $BetweenMemberOf1, [Parameter()] - [System.String] - $Name, + [System.Object] + $ExceptIfMessageSizeOver, [Parameter()] - [System.String] - $AdminDisplayName, + [System.Collections.Hashtable[]] + $ExceptIfMessageContainsAllDataClassifications, [Parameter()] - [System.Management.Automation.SwitchParameter] - $MakeBuiltInProtection, + [System.Object[]] + $AnyOfCcHeader, [Parameter()] [System.Boolean] - $Enable, + $ExceptIfAttachmentProcessingLimitExceeded, [Parameter()] - [System.Object] - $RedirectAddress, + [System.Object[]] + $FromAddressMatchesPatterns, [Parameter()] - [System.String] - $QuarantineTag, + [System.Object] + $ExceptIfHeaderMatchesMessageHeader, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function New-SafeAttachmentRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $Priority, + [System.Object] + $SmtpRejectMessageRejectText, [Parameter()] - [System.String] - $Name, + [System.Object[]] + $AnyOfCcHeaderMemberOf, [Parameter()] [System.Object[]] - $SentToMemberOf, + $AnyOfToHeader, [Parameter()] - [System.Object[]] - $SentTo, + [System.Boolean] + $ExceptIfHasSenderOverride, [Parameter()] - [System.String] - $Comments, + [System.Object] + $SCLOver, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Object] + $PrependSubject, [Parameter()] [System.Object] - $SafeAttachmentPolicy, + $ApplyRightsProtectionTemplate, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.Object] + $MessageTypeMatches, [Parameter()] [System.Object[]] - $ExceptIfSentTo, + $ExceptIfAttachmentPropertyContainsWords, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $StopRuleProcessing, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, + [System.Collections.Hashtable[]] + $MessageContainsAllDataClassifications, [Parameter()] - [System.Boolean] - $Enabled + [System.Object] + $ExceptIfHeaderContainsMessageHeader ) } -function New-SafeLinksPolicy +function Remove-ActiveSyncDevice { [CmdletBinding()] param( [Parameter()] - [System.Boolean] - $EnableOrganizationBranding, - - [Parameter()] - [System.String] - $AdminDisplayName, - - [Parameter()] - [System.Boolean] - $UseTranslatedNotificationText, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $Name, - + [System.Object] + $Identity + ) +} +function Remove-ActiveSyncDeviceAccessRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $MakeBuiltInProtection, + $Confirm, [Parameter()] [System.Object] - $DoNotRewriteUrls, - - [Parameter()] - [System.Boolean] - $EnableSafeLinksForTeams, - + $Identity + ) +} +function Remove-ActiveSyncMailboxPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $DisableUrlRewrite, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $EnableSafeLinksForOffice, + [System.Object] + $Identity, [Parameter()] - [System.Boolean] - $TrackClicks, - + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Remove-AddressBookPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $AllowClickThrough, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $RecommendedPolicyType, - + $Identity + ) +} +function Remove-AddressList +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.String] - $CustomNotificationText, - - [Parameter()] - [System.Boolean] - $DeliverMessageAfterScan, - - [Parameter()] - [System.Boolean] - $EnableSafeLinksForEmail, - - [Parameter()] - [System.Boolean] - $ScanUrls, + [System.Object] + $Identity, [Parameter()] - [System.Boolean] - $EnableForInternalSenders + [System.Management.Automation.SwitchParameter] + $Recursive ) } -function New-SafeLinksRule +function Remove-AntiPhishPolicy { [CmdletBinding()] param( [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [System.String] - $Name, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [System.Object] + $Identity, [Parameter()] - [System.Object[]] - $SentTo, - + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Remove-AntiPhishRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $Comments, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object[]] - $RecipientDomainIs, - + [System.Object] + $Identity + ) +} +function Remove-ApplicationAccessPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $SafeLinksPolicy, - - [Parameter()] - [System.Object[]] - $ExceptIfSentTo, - + $Identity + ) +} +function Remove-ATPProtectionPolicyRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, - + [System.Object] + $Identity + ) +} +function Remove-AuditConfigurationPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $Enabled + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function New-SharingPolicy +function Remove-AuthenticationPolicy { [CmdletBinding()] param( [Parameter()] [System.String] - $Name, + $TenantId, [Parameter()] [System.Management.Automation.SwitchParameter] @@ -8178,95743 +7493,9004 @@ function New-SharingPolicy [Parameter()] [System.Object] - $Domains, + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $Default, - - [Parameter()] - [System.Boolean] - $Enabled + $AllowLegacyExchangeTokens ) } -function New-TransportRule +function Remove-AvailabilityAddressSpace { [CmdletBinding()] param( [Parameter()] - [System.Object] - $ActivationDate, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object[]] - $AddToRecipients, + [System.Object] + $Identity + ) +} +function Remove-AvailabilityConfig +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $ApplyHtmlDisclaimerFallbackAction, - + $Identity + ) +} +function Remove-ClientAccessRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $ExceptIfRecipientADAttributeContainsWords, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $AttachmentSizeOver, - + $Identity + ) +} +function Remove-DataClassification +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $ExceptIfSenderADAttributeContainsWords, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $SetSCL, - + $Identity + ) +} +function Remove-DistributionGroup +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $AnyOfToHeaderMemberOf, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $Disconnect, + [System.Object] + $Identity, [Parameter()] - [System.Int32] - $Priority, - + [System.Management.Automation.SwitchParameter] + $BypassSecurityGroupManagerCheck + ) +} +function Remove-EmailAddressPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfCcHeader, - + [System.Object] + $Identity + ) +} +function Remove-ExoPhishSimOverrideRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $ExceptIfAttachmentMatchesPatterns, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Object] + $Identity, [Parameter()] [System.Object] - $ManagerForEvaluatedUser, - + $DomainController + ) +} +function Remove-ExoSecOpsOverrideRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $ExceptIfHeaderMatchesPatterns, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $ExceptIfFromScope, + $Identity, [Parameter()] [System.Object] - $AdComparisonAttribute, - + $DomainController + ) +} +function Remove-GlobalAddressList +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $ExceptIfAttachmentContainsWords, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object[]] - $ExceptIfHeaderContainsWords, - + [System.Object] + $Identity + ) +} +function Remove-HostedConnectionFilterPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $HeaderMatchesPatterns, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $AddManagerAsRecipientType, - - [Parameter()] - [System.Boolean] - $DeleteMessage, - - [Parameter()] - [System.Boolean] - $HasSenderOverride, - - [Parameter()] - [System.Object] - $SmtpRejectMessageRejectStatusCode, - - [Parameter()] - [System.String] - $ExceptIfHasClassification, - - [Parameter()] - [System.Boolean] - $Quarantine, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientInSenderList, - - [Parameter()] - [System.Object] - $RecipientAddressType, - - [Parameter()] - [System.Object[]] - $ExceptIfContentCharacterSetContainsWords, - - [Parameter()] - [System.Object[]] - $BlindCopyTo, - - [Parameter()] - [System.Object] - $ApplyHtmlDisclaimerLocation, - - [Parameter()] - [System.Object] - $ExceptIfMessageTypeMatches, - - [Parameter()] - [System.Object] - $SenderIpRanges, - - [Parameter()] - [System.Collections.Hashtable[]] - $ExceptIfMessageContainsDataClassifications, - - [Parameter()] - [System.Object[]] - $ModerateMessageByUser, - - [Parameter()] - [System.Boolean] - $HasNoClassification, - - [Parameter()] - [System.Object[]] - $ExceptIfSenderInRecipientList, - - [Parameter()] - [System.Object] - $HeaderContainsMessageHeader, - - [Parameter()] - [System.Object] - $RemoveHeader, - - [Parameter()] - [System.String] - $HasClassification, - - [Parameter()] - [System.Collections.Hashtable[]] - $MessageContainsDataClassifications, - - [Parameter()] - [System.Object[]] - $ExceptIfFromMemberOf, - - [Parameter()] - [System.Object] - $RuleSubType, - - [Parameter()] - [System.Object] - $SentToScope, - - [Parameter()] - [System.Object[]] - $AnyOfToCcHeaderMemberOf, - - [Parameter()] - [System.Object[]] - $From, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfRecipientAddressContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfWithImportance, - - [Parameter()] - [System.Object[]] - $ContentCharacterSetContainsWords, - - [Parameter()] - [System.Object[]] - $SubjectContainsWords, - - [Parameter()] - [System.Object] - $RejectMessageEnhancedStatusCode, - - [Parameter()] - [System.Object[]] - $SenderADAttributeMatchesPatterns, - - [Parameter()] - [System.Object[]] - $ExceptIfSenderADAttributeMatchesPatterns, - - [Parameter()] - [System.Object[]] - $IncidentReportContent, - - [Parameter()] - [System.Boolean] - $UseLegacyRegex, - - [Parameter()] - [System.Object[]] - $FromMemberOf, - - [Parameter()] - [System.Object[]] - $AttachmentContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfSCLOver, - - [Parameter()] - [System.Object[]] - $ExceptIfBetweenMemberOf1, - - [Parameter()] - [System.Object] - $GenerateNotification, - - [Parameter()] - [System.Object] - $NotifySender, - - [Parameter()] - [System.Boolean] - $ExceptIfAttachmentIsPasswordProtected, - - [Parameter()] - [System.Object[]] - $ExceptIfAttachmentNameMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfSenderManagementRelationship, - - [Parameter()] - [System.String] - $SetAuditSeverity, - - [Parameter()] - [System.Object[]] - $AttachmentPropertyContainsWords, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToHeader, - - [Parameter()] - [System.Object] - $ApplyRightsProtectionCustomizationTemplate, - - [Parameter()] - [System.Object] - $SetHeaderName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $RouteMessageOutboundRequireTls, - - [Parameter()] - [System.Object] - $WithImportance, - - [Parameter()] - [System.Object] - $RuleErrorAction, - - [Parameter()] - [System.Object] - $FromScope, - - [Parameter()] - [System.Object[]] - $AttachmentNameMatchesPatterns, - - [Parameter()] - [System.Object[]] - $SentTo, - - [Parameter()] - [System.Object[]] - $ExceptIfFromAddressMatchesPatterns, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Object] - $ExceptIfAttachmentSizeOver, - - [Parameter()] - [System.Object] - $ExceptIfManagerForEvaluatedUser, - - [Parameter()] - [System.Boolean] - $RemoveOMEv2, - - [Parameter()] - [System.Object[]] - $ExceptIfFromAddressContainsWords, - - [Parameter()] - [System.Boolean] - $AttachmentHasExecutableContent, - - [Parameter()] - [System.Object] - $RouteMessageOutboundConnector, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.Object[]] - $ExceptIfSenderDomainIs, - - [Parameter()] - [System.Object] - $SenderManagementRelationship, - - [Parameter()] - [System.Object[]] - $ExceptIfBetweenMemberOf2, - - [Parameter()] - [System.Object[]] - $RedirectMessageTo, - - [Parameter()] - [System.Boolean] - $ApplyOME, - - [Parameter()] - [System.Object[]] - $SenderDomainIs, - - [Parameter()] - [System.Object[]] - $SenderADAttributeContainsWords, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfCcHeaderMemberOf, - - [Parameter()] - [System.Object] - $ApplyHtmlDisclaimerText, - - [Parameter()] - [System.Boolean] - $ExceptIfAttachmentHasExecutableContent, - - [Parameter()] - [System.Boolean] - $ExceptIfAttachmentIsUnsupported, - - [Parameter()] - [System.Boolean] - $RemoveOME, - - [Parameter()] - [System.Object] - $RejectMessageReasonText, - - [Parameter()] - [System.Object[]] - $RecipientAddressContainsWords, - - [Parameter()] - [System.Object] - $GenerateIncidentReport, - - [Parameter()] - [System.Object[]] - $FromAddressContainsWords, - - [Parameter()] - [System.Boolean] - $RemoveRMSAttachmentEncryption, - - [Parameter()] - [System.Object[]] - $RecipientAddressMatchesPatterns, - - [Parameter()] - [System.Object[]] - $ExceptIfSubjectContainsWords, - - [Parameter()] - [System.Object[]] - $ExceptIfFrom, - - [Parameter()] - [System.Object[]] - $AnyOfToCcHeader, - - [Parameter()] - [System.Object] - $ExceptIfSentToScope, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToCcHeaderMemberOf, - - [Parameter()] - [System.Boolean] - $ModerateMessageByManager, - - [Parameter()] - [System.Object] - $AdComparisonOperator, - - [Parameter()] - [System.Object] - $MessageSizeOver, - - [Parameter()] - [System.Object[]] - $BetweenMemberOf2, - - [Parameter()] - [System.Object[]] - $SubjectMatchesPatterns, - - [Parameter()] - [System.Boolean] - $AttachmentProcessingLimitExceeded, - - [Parameter()] - [System.Object[]] - $ExceptIfSubjectMatchesPatterns, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientAddressContainsWords, - - [Parameter()] - [System.Object] - $HeaderMatchesMessageHeader, - - [Parameter()] - [System.Object[]] - $AnyOfRecipientAddressContainsWords, - - [Parameter()] - [System.Object[]] - $HeaderContainsWords, - - [Parameter()] - [System.String] - $Comments, - - [Parameter()] - [System.Object[]] - $SentToMemberOf, - - [Parameter()] - [System.Object] - $ExceptIfAdComparisonAttribute, - - [Parameter()] - [System.Object[]] - $ExceptIfSentTo, - - [Parameter()] - [System.Object] - $ExceptIfAdComparisonOperator, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToHeaderMemberOf, - - [Parameter()] - [System.Object] - $Mode, - - [Parameter()] - [System.Object[]] - $RecipientInSenderList, - - [Parameter()] - [System.Object[]] - $SubjectOrBodyMatchesPatterns, - - [Parameter()] - [System.Object[]] - $ExceptIfAttachmentExtensionMatchesWords, - - [Parameter()] - [System.Object[]] - $ExceptIfSubjectOrBodyMatchesPatterns, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Boolean] - $ExceptIfHasNoClassification, - - [Parameter()] - [System.Object] - $ExceptIfSenderIpRanges, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientADAttributeMatchesPatterns, - - [Parameter()] - [System.Boolean] - $StopRuleProcessing, - - [Parameter()] - [System.Object[]] - $RecipientADAttributeContainsWords, - - [Parameter()] - [System.Boolean] - $AttachmentIsUnsupported, - - [Parameter()] - [System.Object] - $ExpiryDate, - - [Parameter()] - [System.Object[]] - $AttachmentExtensionMatchesWords, - - [Parameter()] - [System.Object[]] - $ExceptIfSubjectOrBodyContainsWords, - - [Parameter()] - [System.Object] - $LogEventText, - - [Parameter()] - [System.Object[]] - $ExceptIfManagerAddresses, - - [Parameter()] - [System.Object[]] - $SenderInRecipientList, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToCcHeader, - - [Parameter()] - [System.Object[]] - $AttachmentMatchesPatterns, - - [Parameter()] - [System.String] - $DlpPolicy, - - [Parameter()] - [System.Object[]] - $ManagerAddresses, - - [Parameter()] - [System.Object] - $SenderAddressLocation, - - [Parameter()] - [System.Object[]] - $CopyTo, - - [Parameter()] - [System.Object[]] - $SubjectOrBodyContainsWords, - - [Parameter()] - [System.String] - $ApplyClassification, - - [Parameter()] - [System.Object[]] - $RecipientADAttributeMatchesPatterns, - - [Parameter()] - [System.Object] - $SetHeaderValue, - - [Parameter()] - [System.Boolean] - $AttachmentIsPasswordProtected, - - [Parameter()] - [System.Object[]] - $BetweenMemberOf1, - - [Parameter()] - [System.Object] - $ExceptIfMessageSizeOver, - - [Parameter()] - [System.Object[]] - $AnyOfCcHeader, - - [Parameter()] - [System.Boolean] - $ExceptIfAttachmentProcessingLimitExceeded, - - [Parameter()] - [System.Object[]] - $FromAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfHeaderMatchesMessageHeader, - - [Parameter()] - [System.Object] - $SmtpRejectMessageRejectText, - - [Parameter()] - [System.Object[]] - $AnyOfCcHeaderMemberOf, - - [Parameter()] - [System.Object[]] - $AnyOfToHeader, - - [Parameter()] - [System.Boolean] - $ExceptIfHasSenderOverride, - - [Parameter()] - [System.Object] - $SCLOver, - - [Parameter()] - [System.Object] - $PrependSubject, - - [Parameter()] - [System.Object] - $ApplyRightsProtectionTemplate, - - [Parameter()] - [System.Object] - $MessageTypeMatches, - - [Parameter()] - [System.Object[]] - $ExceptIfAttachmentPropertyContainsWords, - - [Parameter()] - [System.Object[]] - $AnyOfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfHeaderContainsMessageHeader - ) -} - -function New-UnifiedAuditLogRetentionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.UInt32] - $Priority, - - [Parameter()] - [System.String] - $RetentionDuration, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String[]] - $Operations, - - [Parameter()] - [System.String[]] - $RecordTypes, - - [Parameter()] - [System.String[]] - $UserIds - ) -} - -function Remove-ActiveSyncDevice -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} - -function Remove-ActiveSyncMailboxPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} - -function Remove-ActiveSyncDeviceAccessRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-AddressBookPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-AddressList -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Recursive - ) -} -function Remove-AntiPhishPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-AntiPhishRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-App -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Mailbox, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String] - $AppType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OrganizationApp, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrivateCatalog - ) -} -function Remove-ApplicationAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} - -function Remove-ATPProtectionPolicyRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Identity - ) -} - -function Remove-AuditConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function Remove-AuthenticationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-AvailabilityAddressSpace -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-AvailabilityConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ClientAccessRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-DataClassification -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-DistributionGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BypassSecurityGroupManagerCheck - ) -} -function Remove-EmailAddressPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-GlobalAddressList -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-HostedConnectionFilterPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-HostedContentFilterPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-HostedContentFilterRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-HostedOutboundSpamFilterPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-HostedOutboundSpamFilterRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-InboundConnector -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-IntraOrganizationConnector -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-JournalRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-Mailbox -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolder, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PermanentlyDelete, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RemoveCNFPublicFolderMailboxPermanently, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Migration - ) -} -function Remove-MailboxPermission -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ClearAutoMapping, - - [Parameter()] - [System.Object[]] - $AccessRights, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $GroupMailbox, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Deny, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BypassMasterAccountSid, - - [Parameter()] - [System.Object] - $User, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IgnoreDefaultScope, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SoftDeletedMailbox, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ResetDefault, - - [Parameter()] - [System.DirectoryServices.ActiveDirectorySecurityInheritance] - $InheritanceType - ) -} -function Remove-MailContact -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-MalwareFilterPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-MalwareFilterRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ManagementRole -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Recurse - ) -} -function Remove-ManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-MessageClassification -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-MobileDevice -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-MobileDeviceMailboxPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-OfflineAddressBook -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-OMEConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-OnPremisesOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-OrganizationRelationship -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-OutboundConnector -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-OwaMailboxPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-PartnerApplication -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-PolicyTipConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-QuarantinePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $DomainController - ) -} -function Remove-RecipientPermission -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipDomainValidationForMailContact, - - [Parameter()] - [System.Object] - $AccessRights, - - [Parameter()] - [System.Object] - $Trustee, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Deny, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipDomainValidationForMailUser, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipDomainValidationForSharedMailbox - ) -} -function Remove-RemoteDomain -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ReportSubmissionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ReportSubmissionRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-RoleAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-RoleGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BypassSecurityGroupManagerCheck - ) -} -function Remove-SafeAttachmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-SafeAttachmentRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-SafeLinksPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-SafeLinksRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-SharingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-TransportRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} - -function Remove-UnifiedAuditLogRetentionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Identity - ) -} - -function Set-AcceptedDomain -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $CanHaveCloudCache, - - [Parameter()] - [System.Boolean] - $EnableNego2Authentication, - - [Parameter()] - [System.Boolean] - $OutboundOnly, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $SendingFromDomainDisabled, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $MatchSubDomains, - - [Parameter()] - [System.Object] - $DomainType - ) -} -function Set-ActiveSyncDeviceAccessRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $AccessLevel - ) -} - -function Set-ActiveSyncMailboxPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowUnsignedApplications, - - [Parameter()] - [System.Boolean] - $AllowUnsignedInstallationPackages, - - [Parameter()] - [System.Boolean] - $AllowExternalDeviceManagement, - - [Parameter()] - [System.Boolean] - $AllowIrDA, - - [Parameter()] - [System.Boolean] - $AllowStorageCard, - - [Parameter()] - [System.Boolean] - $AllowNonProvisionableDevices, - - [Parameter()] - [System.Boolean] - $AllowRemoteDesktop, - - [Parameter()] - [System.Object] - $UnapprovedInROMApplicationList, - - [Parameter()] - [System.Boolean] - $DevicePasswordEnabled, - - [Parameter()] - [System.Boolean] - $RequireEncryptedSMIMEMessages, - - [Parameter()] - [System.Int32] - $DevicePasswordHistory, - - [Parameter()] - [System.Boolean] - $RequireDeviceEncryption, - - [Parameter()] - [System.Boolean] - $AllowInternetSharing, - - [Parameter()] - [System.Int32] - $MinDevicePasswordComplexCharacters, - - [Parameter()] - [System.Object] - $RequireSignedSMIMEAlgorithm, - - [Parameter()] - [System.Object] - $MaxEmailHTMLBodyTruncationSize, - - [Parameter()] - [System.Object] - $DevicePasswordExpiration, - - [Parameter()] - [System.Boolean] - $UNCAccessEnabled, - - [Parameter()] - [System.Boolean] - $AllowCamera, - - [Parameter()] - [System.Object] - $MaxDevicePasswordFailedAttempts, - - [Parameter()] - [System.Boolean] - $AllowBrowser, - - [Parameter()] - [System.Boolean] - $RequireManualSyncWhenRoaming, - - [Parameter()] - [System.Object] - $AllowSMIMEEncryptionAlgorithmNegotiation, - - [Parameter()] - [System.Boolean] - $DeviceEncryptionEnabled, - - [Parameter()] - [System.Object] - $MaxEmailBodyTruncationSize, - - [Parameter()] - [System.Object] - $AllowBluetooth, - - [Parameter()] - [System.Object] - $RequireEncryptionSMIMEAlgorithm, - - [Parameter()] - [System.Object] - $DevicePolicyRefreshInterval, - - [Parameter()] - [System.Boolean] - $AllowMobileOTAUpdate, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $MaxAttachmentSize, - - [Parameter()] - [System.Boolean] - $AllowConsumerEmail, - - [Parameter()] - [System.Boolean] - $AllowDesktopSync, - - [Parameter()] - [System.Object] - $MaxInactivityTimeDeviceLock, - - [Parameter()] - [System.Boolean] - $AlphanumericDevicePasswordRequired, - - [Parameter()] - [System.Boolean] - $RequireStorageCardEncryption, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AttachmentsEnabled, - - [Parameter()] - [System.Boolean] - $AllowSMIMESoftCerts, - - [Parameter()] - [System.Object] - $MaxEmailAgeFilter, - - [Parameter()] - [System.Boolean] - $AllowSimpleDevicePassword, - - [Parameter()] - [System.Boolean] - $PasswordRecoveryEnabled, - - [Parameter()] - [System.Object] - $MaxCalendarAgeFilter, - - [Parameter()] - [System.Boolean] - $AllowWiFi, - - [Parameter()] - [System.Boolean] - $AllowApplePushNotifications, - - [Parameter()] - [System.Boolean] - $AllowPOPIMAPEmail, - - [Parameter()] - [System.Boolean] - $IsDefault, - - [Parameter()] - [System.Boolean] - $IsDefaultPolicy, - - [Parameter()] - [System.Object] - $ApprovedApplicationList, - - [Parameter()] - [System.Boolean] - $AllowTextMessaging, - - [Parameter()] - [System.Boolean] - $WSSAccessEnabled, - - [Parameter()] - [System.Boolean] - $RequireSignedSMIMEMessages, - - [Parameter()] - [System.Boolean] - $AllowHTMLEmail, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $MinDevicePasswordLength, - - [Parameter()] - [System.Boolean] - $IrmEnabled - ) -} - -function Set-AddressBookPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $RoomList, - - [Parameter()] - [System.Object] - $OfflineAddressBook, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $GlobalAddressList, - - [Parameter()] - [System.Object[]] - $AddressLists - ) -} -function Set-AddressList -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute8, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute10, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute9, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute2, - - [Parameter()] - [System.Object] - $IncludedRecipients, - - [Parameter()] - [System.Object] - $ConditionalCompany, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute6, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute3, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute12, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute13, - - [Parameter()] - [System.String] - $RecipientFilter, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute15, - - [Parameter()] - [System.Object] - $ConditionalDepartment, - - [Parameter()] - [System.Object] - $ConditionalStateOrProvince, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute7, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute14, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute4, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute11, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute1, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute5 - ) -} -function Set-AdminAuditLogConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $UnifiedAuditLogIngestionEnabled - ) -} -function Set-AntiPhishPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $EnableFirstContactSafetyTips, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $MakeDefault, - - [Parameter()] - [System.Object] - $DmarcRejectAction, - - [Parameter()] - [System.Int32] - $PhishThresholdLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $EnableTargetedDomainsProtection, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $HonorDmarcPolicy, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Boolean] - $EnableViaTag, - - [Parameter()] - [System.Object] - $MailboxIntelligenceProtectionAction, - - [Parameter()] - [System.Object] - $TargetedDomainsToProtect, - - [Parameter()] - [System.Boolean] - $EnableSpoofIntelligence, - - [Parameter()] - [System.Boolean] - $EnableSimilarUsersSafetyTips, - - [Parameter()] - [System.Object] - $ExcludedDomains, - - [Parameter()] - [System.String] - $PolicyTag, - - [Parameter()] - [System.Object] - $TargetedDomainActionRecipients, - - [Parameter()] - [System.Object] - $DmarcQuarantineAction, - - [Parameter()] - [System.Boolean] - $EnableMailboxIntelligence, - - [Parameter()] - [System.String] - $TargetedDomainQuarantineTag, - - [Parameter()] - [System.Object] - $ImpersonationProtectionState, - - [Parameter()] - [System.Object] - $TargetedDomainProtectionAction, - - [Parameter()] - [System.String] - $AdminDisplayName, - - [Parameter()] - [System.Object] - $TargetedUsersToProtect, - - [Parameter()] - [System.Object] - $TargetedUserProtectionAction, - - [Parameter()] - [System.Object] - $MailboxIntelligenceProtectionActionRecipients, - - [Parameter()] - [System.String] - $MailboxIntelligenceQuarantineTag, - - [Parameter()] - [System.Boolean] - $EnableSimilarDomainsSafetyTips, - - [Parameter()] - [System.String] - $SpoofQuarantineTag, - - [Parameter()] - [System.Boolean] - $EnableUnauthenticatedSender, - - [Parameter()] - [System.String] - $TargetedUserQuarantineTag, - - [Parameter()] - [System.Boolean] - $EnableOrganizationDomainsProtection, - - [Parameter()] - [System.Boolean] - $EnableMailboxIntelligenceProtection, - - [Parameter()] - [System.Boolean] - $EnableUnusualCharactersSafetyTips, - - [Parameter()] - [System.Boolean] - $EnableTargetedUserProtection, - - [Parameter()] - [System.Object] - $AuthenticationFailAction, - - [Parameter()] - [System.Object] - $TargetedUserActionRecipients, - - [Parameter()] - [System.Object] - $ExcludedSenders - ) -} -function Set-AntiPhishRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object[]] - $SentToMemberOf, - - [Parameter()] - [System.Object] - $AntiPhishPolicy, - - [Parameter()] - [System.Object[]] - $SentTo, - - [Parameter()] - [System.String] - $Comments, - - [Parameter()] - [System.Object[]] - $RecipientDomainIs, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.Object[]] - $ExceptIfSentTo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf - ) -} -function Set-App -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $UserList, - - [Parameter()] - [System.Object] - $DefaultStateForUser, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OrganizationApp, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrivateCatalog, - - [Parameter()] - [System.Object] - $ProvidedTo - ) -} -function Set-ApplicationAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Set-AtpPolicyForO365 -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $EnableATPForSPOTeamsODB, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $EnableSafeDocs, - - [Parameter()] - [System.Boolean] - $AllowSafeDocsOpen, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -function Set-ATPProtectionPolicyRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $Comments, - - [Parameter()] - [System.String] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.String] - $ExceptIfSentTo, - - [Parameter()] - [System.String] - $ExceptIfSentToMemberOf, - - [Parameter()] - [System.String] - $String, - - [Parameter()] - [System.UInt32] - $Priority, - - [Parameter()] - [System.String[]] - $RecipientDomainIs, - - [Parameter()] - [System.String[]] - $SentTo, - - [Parameter()] - [System.String[]] - $SentToMemberOf - ) -} - -function Set-AuthenticationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthPop, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthSmtp, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthMapi, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthImap, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthAutodiscover, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthPowershell, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthRpc, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthOfflineAddressBook, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthReportingWebServices, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthOutlookService, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthActiveSync, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthWebServices - ) -} -function Set-AvailabilityConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $OrgWideAccount, - - [Parameter()] - [System.Object] - $AllowedTenantIds - ) -} -function Set-CalendarProcessing -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $MaximumConflictInstances, - - [Parameter()] - [System.Object] - $BookingType, - - [Parameter()] - [System.Boolean] - $ForwardRequestsToDelegates, - - [Parameter()] - [System.Boolean] - $RemoveCanceledMeetings, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object[]] - $ResourceDelegates, - - [Parameter()] - [System.Boolean] - $DeleteNonCalendarItems, - - [Parameter()] - [System.Boolean] - $RemovePrivateProperty, - - [Parameter()] - [System.Boolean] - $DeleteComments, - - [Parameter()] - [System.Boolean] - $EnforceSchedulingHorizon, - - [Parameter()] - [System.Boolean] - $EnableResponseDetails, - - [Parameter()] - [System.Object[]] - $RequestInPolicy, - - [Parameter()] - [System.Boolean] - $EnforceCapacity, - - [Parameter()] - [System.Boolean] - $AllowConflicts, - - [Parameter()] - [System.Boolean] - $AllRequestInPolicy, - - [Parameter()] - [System.Boolean] - $AddOrganizerToSubject, - - [Parameter()] - [System.Object[]] - $BookInPolicy, - - [Parameter()] - [System.Int32] - $ConflictPercentageAllowed, - - [Parameter()] - [System.Object] - $AutomateProcessing, - - [Parameter()] - [System.Boolean] - $AllRequestOutOfPolicy, - - [Parameter()] - [System.Boolean] - $AddNewRequestsTentatively, - - [Parameter()] - [System.Boolean] - $EnableAutoRelease, - - [Parameter()] - [System.Int32] - $PostReservationMaxClaimTimeInMinutes, - - [Parameter()] - [System.Boolean] - $AllBookInPolicy, - - [Parameter()] - [System.Boolean] - $ProcessExternalMeetingMessages, - - [Parameter()] - [System.Boolean] - $DeleteAttachments, - - [Parameter()] - [System.Boolean] - $ScheduleOnlyDuringWorkHours, - - [Parameter()] - [System.String] - $AdditionalResponse, - - [Parameter()] - [System.Boolean] - $TentativePendingApproval, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Int32] - $MaximumDurationInMinutes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IgnoreDefaultScope, - - [Parameter()] - [System.Object[]] - $RequestOutOfPolicy, - - [Parameter()] - [System.Boolean] - $RemoveOldMeetingMessages, - - [Parameter()] - [System.Boolean] - $OrganizerInfo, - - [Parameter()] - [System.Boolean] - $AddAdditionalResponse, - - [Parameter()] - [System.Boolean] - $RemoveForwardedMeetingNotifications, - - [Parameter()] - [System.Int32] - $MinimumDurationInMinutes, - - [Parameter()] - [System.Int32] - $BookingWindowInDays, - - [Parameter()] - [System.Boolean] - $AllowRecurringMeetings, - - [Parameter()] - [System.Boolean] - $DeleteSubject - ) -} -function Set-CASMailbox -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $IsOptimizedForAccessibility, - - [Parameter()] - [System.Boolean] - $ImapEnabled, - - [Parameter()] - [System.Boolean] - $ImapSuppressReadReceipt, - - [Parameter()] - [System.Boolean] - $ActiveSyncSuppressReadReceipt, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $EwsBlockList, - - [Parameter()] - [System.Object] - $EwsAllowEntourage, - - [Parameter()] - [System.Object] - $OwaMailboxPolicy, - - [Parameter()] - [System.Boolean] - $PopUseProtocolDefaults, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $SmtpClientAuthenticationDisabled, - - [Parameter()] - [System.Boolean] - $PopForceICalForCalendarRetrievalOption, - - [Parameter()] - [System.Boolean] - $ImapForceICalForCalendarRetrievalOption, - - [Parameter()] - [System.Boolean] - $ShowGalAsDefaultView, - - [Parameter()] - [System.Object] - $ActiveSyncBlockedDeviceIDs, - - [Parameter()] - [System.Boolean] - $MAPIEnabled, - - [Parameter()] - [System.Object] - $EwsAllowOutlook, - - [Parameter()] - [System.Boolean] - $PopEnabled, - - [Parameter()] - [System.Object] - $ActiveSyncAllowedDeviceIDs, - - [Parameter()] - [System.Object] - $EwsEnabled, - - [Parameter()] - [System.Object] - $OutlookMobileEnabled, - - [Parameter()] - [System.Object] - $EwsAllowMacOutlook, - - [Parameter()] - [System.Object] - $EwsApplicationAccessPolicy, - - [Parameter()] - [System.Object] - $OneWinNativeOutlookEnabled, - - [Parameter()] - [System.Boolean] - $OWAEnabled, - - [Parameter()] - [System.Boolean] - $PublicFolderClientAccess, - - [Parameter()] - [System.Object] - $ActiveSyncMailboxPolicy, - - [Parameter()] - [System.Object] - $UniversalOutlookEnabled, - - [Parameter()] - [System.Boolean] - $ImapUseProtocolDefaults, - - [Parameter()] - [System.Boolean] - $ActiveSyncDebugLogging, - - [Parameter()] - [System.Boolean] - $OWAforDevicesEnabled, - - [Parameter()] - [System.Object] - $ImapMessagesRetrievalMimeFormat, - - [Parameter()] - [System.Boolean] - $ActiveSyncEnabled, - - [Parameter()] - [System.Object] - $MacOutlookEnabled, - - [Parameter()] - [System.Boolean] - $PopSuppressReadReceipt, - - [Parameter()] - [System.Object] - $EwsAllowList, - - [Parameter()] - [System.Object] - $PopMessagesRetrievalMimeFormat - ) -} -function set-CASMailboxPlan -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $ImapEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $OwaMailboxPolicy, - - [Parameter()] - [System.Boolean] - $PopEnabled, - - [Parameter()] - [System.Boolean] - $ActiveSyncEnabled - ) -} -function Set-ClientAccessRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $UsernameMatchesAnyOfPatterns, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Action, - - [Parameter()] - [System.Object] - $AnyOfClientIPAddressesOrRanges, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Object] - $ExceptAnyOfClientIPAddressesOrRanges, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $UserRecipientFilter, - - [Parameter()] - [System.Object] - $ExceptAnyOfProtocols, - - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [System.Object] - $ExceptUsernameMatchesAnyOfPatterns, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $AnyOfAuthenticationTypes, - - [Parameter()] - [System.Object] - $AnyOfProtocols, - - [Parameter()] - [System.Object] - $ExceptAnyOfAuthenticationTypes, - - [Parameter()] - [System.Object] - $Scope - ) -} -function Set-DataClassification -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Globalization.CultureInfo] - $Locale, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault, - - [Parameter()] - [System.Object] - $Fingerprints, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Set-DataEncryptionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $DomainController, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PermanentDataPurgeRequested, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String] - $PermanentDataPurgeReason, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String] - $PermanentDataPurgeContact, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Refresh - ) -} -function Set-DistributionGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $EmailAddresses, - - [Parameter()] - [System.Object] - $RejectMessagesFromDLMembers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RoomList, - - [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromSendersOrMembers, - - [Parameter()] - [System.String] - $CustomAttribute10, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute5, - - [Parameter()] - [System.String] - $CustomAttribute8, - - [Parameter()] - [System.String] - $CustomAttribute5, - - [Parameter()] - [System.Boolean] - $BccBlocked, - - [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromDLMembers, - - [Parameter()] - [System.String] - $SimpleDisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IgnoreNamingPolicy, - - [Parameter()] - [System.Boolean] - $ReportToManagerEnabled, - - [Parameter()] - [System.String] - $MailTip, - - [Parameter()] - [System.Object] - $ModeratedBy, - - [Parameter()] - [System.Object] - $GrantSendOnBehalfTo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ResetMigrationToUnifiedGroup, - - [Parameter()] - [System.Object] - $AcceptMessagesOnlyFrom, - - [Parameter()] - [System.Boolean] - $BypassNestedModerationEnabled, - - [Parameter()] - [System.Boolean] - $ModerationEnabled, - - [Parameter()] - [System.Object] - $MemberDepartRestriction, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute4, - - [Parameter()] - [System.String] - $CustomAttribute15, - - [Parameter()] - [System.Object] - $RejectMessagesFromSendersOrMembers, - - [Parameter()] - [System.Object] - $WindowsEmailAddress, - - [Parameter()] - [System.String] - $Alias, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Boolean] - $ReportToOriginatorEnabled, - - [Parameter()] - [System.Object] - $BypassModerationFromSendersOrMembers, - - [Parameter()] - [System.Object] - $RejectMessagesFrom, - - [Parameter()] - [System.String] - $CustomAttribute1, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceUpgrade, - - [Parameter()] - [System.Object] - $ManagedBy, - - [Parameter()] - [System.Object] - $Description, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute1, - - [Parameter()] - [System.String] - $CustomAttribute14, - - [Parameter()] - [System.Boolean] - $RequireSenderAuthenticationEnabled, - - [Parameter()] - [System.String] - $CustomAttribute9, - - [Parameter()] - [System.String] - $CustomAttribute6, - - [Parameter()] - [System.Boolean] - $SendOofMessageToOriginatorEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BypassSecurityGroupManagerCheck, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute2, - - [Parameter()] - [System.String] - $CustomAttribute13, - - [Parameter()] - [System.String] - $CustomAttribute2, - - [Parameter()] - [System.Object] - $PrimarySmtpAddress, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $SendModerationNotifications, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $HiddenGroupMembershipEnabled, - - [Parameter()] - [System.Object] - $MemberJoinRestriction, - - [Parameter()] - [System.Boolean] - $HiddenFromAddressListsEnabled, - - [Parameter()] - [System.Object] - $MailTipTranslations, - - [Parameter()] - [System.String] - $CustomAttribute7, - - [Parameter()] - [System.String] - $CustomAttribute4, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute3, - - [Parameter()] - [System.String] - $CustomAttribute12, - - [Parameter()] - [System.String] - $CustomAttribute3, - - [Parameter()] - [System.String] - $CustomAttribute11, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Set-DkimSigningConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AdminDisplayName, - - [Parameter()] - [System.Object] - $BodyCanonicalization, - - [Parameter()] - [System.Object] - $HeaderCanonicalization, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublishTxtRecords, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $Enabled - ) -} -function Set-EmailAddressPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Priority, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $EnabledEmailAddressTemplates, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceUpgrade, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $EnabledPrimarySMTPAddressTemplate, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Set-GlobalAddressList -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute8, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute10, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute9, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute2, - - [Parameter()] - [System.Object] - $IncludedRecipients, - - [Parameter()] - [System.Object] - $ConditionalCompany, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute6, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute3, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute12, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute13, - - [Parameter()] - [System.String] - $RecipientFilter, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute15, - - [Parameter()] - [System.Object] - $ConditionalDepartment, - - [Parameter()] - [System.Object] - $ConditionalStateOrProvince, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute7, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute14, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute4, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute1, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute5, - - [Parameter()] - [System.Object] - $ConditionalCustomAttribute11 - ) -} -function Set-HostedConnectionFilterPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ConfigurationXmlRaw, - - [Parameter()] - [System.String] - $AdminDisplayName, - - [Parameter()] - [System.Boolean] - $EnableSafeList, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $IPBlockList, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $IPAllowList, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $MakeDefault - ) -} -function Set-HostedContentFilterPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $InlineSafetyTipsEnabled, - - [Parameter()] - [System.Object] - $BulkSpamAction, - - [Parameter()] - [System.String] - $HighConfidencePhishQuarantineTag, - - [Parameter()] - [System.Int32] - $EndUserSpamNotificationFrequency, - - [Parameter()] - [System.Int32] - $EndUserSpamNotificationLimit, - - [Parameter()] - [System.Int32] - $BulkThreshold, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $MakeDefault, - - [Parameter()] - [System.Object] - $TestModeBccToRecipients, - - [Parameter()] - [System.String] - $PhishQuarantineTag, - - [Parameter()] - [System.String] - $AddXHeaderValue, - - [Parameter()] - [System.Object] - $MarkAsSpamEmbedTagsInHtml, - - [Parameter()] - [System.Object] - $MarkAsSpamFramesInHtml, - - [Parameter()] - [System.Object] - $IncreaseScoreWithImageLinks, - - [Parameter()] - [System.Boolean] - $EnableLanguageBlockList, - - [Parameter()] - [System.Object] - $PhishSpamAction, - - [Parameter()] - [System.String] - $EndUserSpamNotificationCustomFromName, - - [Parameter()] - [System.Object] - $MarkAsSpamSensitiveWordList, - - [Parameter()] - [System.String] - $SpamQuarantineTag, - - [Parameter()] - [System.Object] - $MarkAsSpamNdrBackscatter, - - [Parameter()] - [System.Object] - $BlockedSenders, - - [Parameter()] - [System.Object] - $LanguageBlockList, - - [Parameter()] - [System.Object] - $HighConfidenceSpamAction, - - [Parameter()] - [System.Object] - $AllowedSenderDomains, - - [Parameter()] - [System.Object] - $IncreaseScoreWithBizOrInfoUrls, - - [Parameter()] - [System.Object] - $MarkAsSpamWebBugsInHtml, - - [Parameter()] - [System.String] - $AdminDisplayName, - - [Parameter()] - [System.Object] - $IntraOrgFilterState, - - [Parameter()] - [System.Object] - $RegionBlockList, - - [Parameter()] - [System.Object] - $MarkAsSpamFromAddressAuthFail, - - [Parameter()] - [System.Object] - $MarkAsSpamEmptyMessages, - - [Parameter()] - [System.String] - $BulkQuarantineTag, - - [Parameter()] - [System.Object] - $MarkAsSpamFormTagsInHtml, - - [Parameter()] - [System.Object] - $MarkAsSpamObjectTagsInHtml, - - [Parameter()] - [System.Object] - $EndUserSpamNotificationLanguage, - - [Parameter()] - [System.Object] - $IncreaseScoreWithRedirectToOtherPort, - - [Parameter()] - [System.Int32] - $QuarantineRetentionPeriod, - - [Parameter()] - [System.Object] - $HighConfidencePhishAction, - - [Parameter()] - [System.Object] - $RedirectToRecipients, - - [Parameter()] - [System.Boolean] - $SpamZapEnabled, - - [Parameter()] - [System.Object] - $TestModeAction, - - [Parameter()] - [System.Boolean] - $EnableRegionBlockList, - - [Parameter()] - [System.String] - $EndUserSpamNotificationCustomSubject, - - [Parameter()] - [System.Object] - $MarkAsSpamSpfRecordHardFail, - - [Parameter()] - [System.Object] - $EndUserSpamNotificationCustomFromAddress, - - [Parameter()] - [System.Boolean] - $DownloadLink, - - [Parameter()] - [System.Object] - $SpamAction, - - [Parameter()] - [System.String] - $ModifySubjectValue, - - [Parameter()] - [System.Object] - $IncreaseScoreWithNumericIps, - - [Parameter()] - [System.Object] - $AllowedSenders, - - [Parameter()] - [System.Object] - $MarkAsSpamJavaScriptInHtml, - - [Parameter()] - [System.Object] - $MarkAsSpamBulkMail, - - [Parameter()] - [System.Object] - $BlockedSenderDomains, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $PhishZapEnabled, - - [Parameter()] - [System.Boolean] - $EnableEndUserSpamNotifications, - - [Parameter()] - [System.String] - $HighConfidenceSpamQuarantineTag - ) -} -function Set-HostedContentFilterRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object[]] - $SentToMemberOf, - - [Parameter()] - [System.Object] - $HostedContentFilterPolicy, - - [Parameter()] - [System.Object[]] - $SentTo, - - [Parameter()] - [System.String] - $Comments, - - [Parameter()] - [System.Object[]] - $RecipientDomainIs, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.Object[]] - $ExceptIfSentTo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf - ) -} -function Set-HostedOutboundSpamFilterPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AdminDisplayName, - - [Parameter()] - [System.Object] - $BccSuspiciousOutboundAdditionalRecipients, - - [Parameter()] - [System.Object] - $NotifyOutboundSpamRecipients, - - [Parameter()] - [System.UInt32] - $RecipientLimitPerDay, - - [Parameter()] - [System.Object] - $ActionWhenThresholdReached, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.UInt32] - $RecipientLimitExternalPerHour, - - [Parameter()] - [System.Object] - $AutoForwardingMode, - - [Parameter()] - [System.Boolean] - $NotifyOutboundSpam, - - [Parameter()] - [System.UInt32] - $RecipientLimitInternalPerHour, - - [Parameter()] - [System.Boolean] - $BccSuspiciousOutboundMail - ) -} -function Set-HostedOutboundSpamFilterRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object[]] - $ExceptIfFromMemberOf, - - [Parameter()] - [System.Object[]] - $ExceptIfFrom, - - [Parameter()] - [System.Object[]] - $ExceptIfSenderDomainIs, - - [Parameter()] - [System.String] - $Comments, - - [Parameter()] - [System.Object[]] - $FromMemberOf, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object[]] - $SenderDomainIs, - - [Parameter()] - [System.Object] - $HostedOutboundSpamFilterPolicy, - - [Parameter()] - [System.Object[]] - $From, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function Set-InboundConnector -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $RestrictDomainsToIPAddresses, - - [Parameter()] - [System.Boolean] - $CloudServicesMailEnabled, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $EFSkipMailGateway, - - [Parameter()] - [System.Boolean] - $EFTestMode, - - [Parameter()] - [System.Object] - $TrustedOrganizations, - - [Parameter()] - [System.Object] - $TlsSenderCertificateName, - - [Parameter()] - [System.Object] - $ScanAndDropRecipients, - - [Parameter()] - [System.Object] - $AssociatedAcceptedDomains, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Boolean] - $RequireTls, - - [Parameter()] - [System.Object] - $SenderDomains, - - [Parameter()] - [System.Object] - $SenderIPAddresses, - - [Parameter()] - [System.Boolean] - $EFSkipLastIP, - - [Parameter()] - [System.Object] - $EFUsers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $ConnectorType, - - [Parameter()] - [System.Boolean] - $RestrictDomainsToCertificate, - - [Parameter()] - [System.Object] - $EFSkipIPs, - - [Parameter()] - [System.Boolean] - $TreatMessagesAsInternal, - - [Parameter()] - [System.Object] - $ConnectorSource - ) -} -function Set-IntraOrganizationConnector -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $TargetAddressDomains, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Uri] - $DiscoveryEndpoint, - - [Parameter()] - [System.Uri] - $TargetSharingEpr, - - [Parameter()] - [System.Boolean] - $Enabled - ) -} -function Set-IRMConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $TransportDecryptionSetting, - - [Parameter()] - [System.Uri] - $RMSOnlineKeySharingLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Boolean] - $AzureRMSLicensingEnabled, - - [Parameter()] - [System.Boolean] - $EnablePortalTrackingLogs, - - [Parameter()] - [System.Boolean] - $DecryptAttachmentForEncryptOnly, - - [Parameter()] - [System.Boolean] - $RejectIfRecipientHasNoRights, - - [Parameter()] - [System.Boolean] - $SimplifiedClientAccessEncryptOnlyDisabled, - - [Parameter()] - [System.Boolean] - $InternalLicensingEnabled, - - [Parameter()] - [System.Boolean] - $EDiscoverySuperUserEnabled, - - [Parameter()] - [System.Boolean] - $JournalReportDecryptionEnabled, - - [Parameter()] - [System.Boolean] - $EnablePdfEncryption, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AutomaticServiceUpdateEnabled, - - [Parameter()] - [System.Boolean] - $SimplifiedClientAccessDoNotForwardDisabled, - - [Parameter()] - [System.Boolean] - $SearchEnabled, - - [Parameter()] - [System.Object] - $LicensingLocation, - - [Parameter()] - [System.Boolean] - $SimplifiedClientAccessEnabled - ) -} -function Set-JournalRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $Scope, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $JournalEmailAddress, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Recipient - ) -} -function Set-Mailbox -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $EmailAddresses, - - [Parameter()] - [System.Object] - $RejectMessagesFromDLMembers, - - [Parameter()] - [System.Object] - $AuditOwner, - - [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromSendersOrMembers, - - [Parameter()] - [System.Object] - $Type, - - [Parameter()] - [System.Object] - $UserCertificate, - - [Parameter()] - [System.String] - $CustomAttribute10, - - [Parameter()] - [System.Boolean] - $DeliverToMailboxAndForward, - - [Parameter()] - [System.String] - $RetentionUrl, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute5, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RecalculateInactiveMailbox, - - [Parameter()] - [System.String] - $CustomAttribute8, - - [Parameter()] - [System.Object] - $ProhibitSendReceiveQuota, - - [Parameter()] - [System.String] - $CustomAttribute5, - - [Parameter()] - [System.Security.SecureString] - $RoomMailboxPassword, - - [Parameter()] - [System.Boolean] - $CalendarVersionStoreDisabled, - - [Parameter()] - [System.Object] - $UseDatabaseQuotaDefaults, - - [Parameter()] - [System.Boolean] - $ElcProcessingDisabled, - - [Parameter()] - [System.String[]] - $ExcludeFromOrgHolds, - - [Parameter()] - [System.String] - $MailboxRegion, - - [Parameter()] - [System.String] - $MailTip, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $GroupMailbox, - - [Parameter()] - [System.Object] - $ResourceCapacity, - - [Parameter()] - [System.Object] - $GrantSendOnBehalfTo, - - [Parameter()] - [System.Object] - $UserSMimeCertificate, - - [Parameter()] - [System.Object] - $AcceptMessagesOnlyFrom, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RemoveDisabledArchive, - - [Parameter()] - [System.Object] - $Languages, - - [Parameter()] - [System.Object] - $JournalArchiveAddress, - - [Parameter()] - [System.Object] - $LitigationHoldDuration, - - [Parameter()] - [System.Object] - $ModeratedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProvisionedForOfficeGraph, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $InactiveMailbox, - - [Parameter()] - [System.String] - $RetentionComment, - - [Parameter()] - [System.Object] - $MaxReceiveSize, - - [Parameter()] - [System.Boolean] - $MessageCopyForSendOnBehalfEnabled, - - [Parameter()] - [System.String] - $CustomAttribute15, - - [Parameter()] - [System.Boolean] - $LitigationHoldEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UpdateEnforcedTimestamp, - - [Parameter()] - [System.String] - $ImmutableId, - - [Parameter()] - [System.Object] - $WindowsEmailAddress, - - [Parameter()] - [System.Boolean] - $UseDatabaseRetentionDefaults, - - [Parameter()] - [System.Boolean] - $SchedulerAssistant, - - [Parameter()] - [System.String[]] - $RemoveOrphanedHolds, - - [Parameter()] - [System.Object] - $RulesQuota, - - [Parameter()] - [System.String] - $Alias, - - [Parameter()] - [System.String] - $EnforcedTimestamps, - - [Parameter()] - [System.Object] - $RejectMessagesFromSendersOrMembers, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Object] - $ResourceCustom, - - [Parameter()] - [System.Boolean] - $MessageCopyForSMTPClientSubmissionEnabled, - - [Parameter()] - [System.Object] - $BypassModerationFromSendersOrMembers, - - [Parameter()] - [System.Object] - $DefaultAuditSet, - - [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromDLMembers, - - [Parameter()] - [System.String] - $CustomAttribute1, - - [Parameter()] - [System.Object] - $EmailAddressDisplayNames, - - [Parameter()] - [System.Boolean] - $CalendarRepairDisabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RemoveMailboxProvisioningConstraint, - - [Parameter()] - [System.Object] - $NonCompliantDevices, - - [Parameter()] - [System.Boolean] - $ModerationEnabled, - - [Parameter()] - [System.String] - $LitigationHoldOwner, - - [Parameter()] - [System.Object] - $ProhibitSendQuota, - - [Parameter()] - [System.Boolean] - $AccountDisabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ClearThrottlingPolicyAssignment, - - [Parameter()] - [System.Object] - $AuditDelegate, - - [Parameter()] - [System.String] - $CustomAttribute14, - - [Parameter()] - [System.Boolean] - $SingleItemRecoveryEnabled, - - [Parameter()] - [System.Boolean] - $RequireSenderAuthenticationEnabled, - - [Parameter()] - [System.String] - $CustomAttribute9, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String] - $CustomAttribute6, - - [Parameter()] - [System.Object] - $DataEncryptionPolicy, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute4, - - [Parameter()] - [System.Object] - $LitigationHoldDate, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $EnableRoomMailboxAccount, - - [Parameter()] - [System.Boolean] - $HiddenFromAddressListsEnabled, - - [Parameter()] - [System.Object] - $RetainDeletedItemsFor, - - [Parameter()] - [System.Object] - $MicrosoftOnlineServicesID, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RemoveDelayReleaseHoldApplied, - - [Parameter()] - [System.Object] - $AuditAdmin, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute2, - - [Parameter()] - [System.Object] - $DefaultPublicFolderMailbox, - - [Parameter()] - [System.Boolean] - $RetentionHoldEnabled, - - [Parameter()] - [System.String] - $CustomAttribute13, - - [Parameter()] - [System.Object] - $RetentionPolicy, - - [Parameter()] - [System.String] - $CustomAttribute2, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RemoveDelayHoldApplied, - - [Parameter()] - [System.Object] - $ExternalOofOptions, - - [Parameter()] - [System.Object] - $AuditLogAgeLimit, - - [Parameter()] - [System.Object] - $StartDateForRetentionHold, - - [Parameter()] - [System.Object] - $SendModerationNotifications, - - [Parameter()] - [System.Object] - $EndDateForRetentionHold, - - [Parameter()] - [System.Object] - $RoleAssignmentPolicy, - - [Parameter()] - [System.Boolean] - $IsExcludedFromServingHierarchy, - - [Parameter()] - [System.String] - $Office, - - [Parameter()] - [System.Object] - $MaxSendSize, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ApplyMandatoryProperties, - - [Parameter()] - [System.Object] - $RejectMessagesFrom, - - [Parameter()] - [System.Object] - $RecipientLimits, - - [Parameter()] - [System.Object] - $AddressBookPolicy, - - [Parameter()] - [System.Boolean] - $MessageCopyForSentAsEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolder, - - [Parameter()] - [System.Object] - $MailTipTranslations, - - [Parameter()] - [System.String] - $CustomAttribute7, - - [Parameter()] - [System.Object] - $SharingPolicy, - - [Parameter()] - [System.String] - $CustomAttribute4, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute1, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExcludeFromAllOrgHolds, - - [Parameter()] - [System.Object] - $ArchiveName, - - [Parameter()] - [System.Boolean] - $AuditEnabled, - - [Parameter()] - [System.Security.SecureString] - $Password, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Object] - $IssueWarningQuota, - - [Parameter()] - [System.Object] - $StsRefreshTokensValidFrom, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute3, - - [Parameter()] - [System.Object] - $ForwardingAddress, - - [Parameter()] - [System.String] - $CustomAttribute12, - - [Parameter()] - [System.String] - $CustomAttribute3, - - [Parameter()] - [System.String] - $CustomAttribute11, - - [Parameter()] - [System.String] - $SimpleDisplayName, - - [Parameter()] - [System.Object] - $ForwardingSmtpAddress, - - [Parameter()] - [System.Boolean] - $MessageTrackingReadStatusEnabled - ) -} -function Set-MailboxAuditBypassAssociation -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AuditBypassEnabled, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Set-MailboxAutoReplyConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $InternalMessage, - - [Parameter()] - [System.String] - $DeclineMeetingMessage, - - [Parameter()] - [System.Object] - $ExternalAudience, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IgnoreDefaultScope, - - [Parameter()] - [System.Boolean] - $DeclineEventsForScheduledOOF, - - [Parameter()] - [System.Boolean] - $AutoDeclineFutureRequestsWhenOOF, - - [Parameter()] - [System.Object] - $AutoReplyState, - - [Parameter()] - [System.String[]] - $EventsToDeleteIDs, - - [Parameter()] - [System.DateTime] - $StartTime, - - [Parameter()] - [System.Boolean] - $CreateOOFEvent, - - [Parameter()] - [System.String] - $OOFEventSubject, - - [Parameter()] - [System.Boolean] - $DeclineAllEventsForScheduledOOF, - - [Parameter()] - [System.DateTime] - $EndTime, - - [Parameter()] - [System.String] - $ExternalMessage - ) -} -function Set-MailboxCalendarFolder -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $SharedCalendarSyncStartDate, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SetAsSharingSource, - - [Parameter()] - [System.Boolean] - $SearchableUrlEnabled, - - [Parameter()] - [System.Boolean] - $PublishEnabled, - - [Parameter()] - [System.Object] - $PublishDateRangeTo, - - [Parameter()] - [System.Object] - $PublishDateRangeFrom, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseHttps, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ResetUrl, - - [Parameter()] - [System.Object] - $DetailLevel, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function Set-MailboxPlan -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $IssueWarningQuota, - - [Parameter()] - [System.Object] - $RoleAssignmentPolicy, - - [Parameter()] - [System.Object] - $RetentionPolicy, - - [Parameter()] - [System.Object] - $MaxSendSize, - - [Parameter()] - [System.Object] - $ProhibitSendReceiveQuota, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $ProhibitSendQuota, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $RetainDeletedItemsFor, - - [Parameter()] - [System.Object] - $RecipientLimits, - - [Parameter()] - [System.Object] - $MaxReceiveSize, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Set-MailboxRegionalConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DateFormat, - - [Parameter()] - [System.String] - $TimeFormat, - - [Parameter()] - [System.Object] - $MailboxLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Archive, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $LocalizeDefaultFolderName, - - [Parameter()] - [System.Object] - $TimeZone, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Globalization.CultureInfo] - $Language - ) -} -function Set-MailContact -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $WindowsEmailAddress, - - [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromDLMembers, - - [Parameter()] - [System.String] - $CustomAttribute10, - - [Parameter()] - [System.Boolean] - $RequireSenderAuthenticationEnabled, - - [Parameter()] - [System.Boolean] - $ModerationEnabled, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute4, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $MacAttachmentFormat, - - [Parameter()] - [System.String] - $CustomAttribute8, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $CustomAttribute3, - - [Parameter()] - [System.Object] - $RejectMessagesFrom, - - [Parameter()] - [System.Object] - $RejectMessagesFromSendersOrMembers, - - [Parameter()] - [System.Object] - $MailTipTranslations, - - [Parameter()] - [System.String] - $CustomAttribute7, - - [Parameter()] - [System.Object] - $UseMapiRichTextFormat, - - [Parameter()] - [System.String] - $CustomAttribute5, - - [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromSendersOrMembers, - - [Parameter()] - [System.Boolean] - $HiddenFromAddressListsEnabled, - - [Parameter()] - [System.String] - $CustomAttribute6, - - [Parameter()] - [System.Boolean] - $UsePreferMessageFormat, - - [Parameter()] - [System.String] - $CustomAttribute1, - - [Parameter()] - [System.Object] - $BypassModerationFromSendersOrMembers, - - [Parameter()] - [System.String] - $CustomAttribute11, - - [Parameter()] - [System.String] - $CustomAttribute13, - - [Parameter()] - [System.Object] - $ModeratedBy, - - [Parameter()] - [System.String] - $CustomAttribute14, - - [Parameter()] - [System.String] - $MailTip, - - [Parameter()] - [System.Object] - $MessageBodyFormat, - - [Parameter()] - [System.Object] - $AcceptMessagesOnlyFrom, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute3, - - [Parameter()] - [System.String] - $CustomAttribute15, - - [Parameter()] - [System.Object] - $UserSMimeCertificate, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute1, - - [Parameter()] - [System.Object] - $MessageFormat, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute5, - - [Parameter()] - [System.Object] - $ExternalEmailAddress, - - [Parameter()] - [System.String] - $CustomAttribute4, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute2, - - [Parameter()] - [System.String] - $CustomAttribute9, - - [Parameter()] - [System.Object] - $RejectMessagesFromDLMembers, - - [Parameter()] - [System.String] - $Alias, - - [Parameter()] - [System.String] - $SimpleDisplayName, - - [Parameter()] - [System.String] - $CustomAttribute2, - - [Parameter()] - [System.Object] - $UserCertificate, - - [Parameter()] - [System.Object] - $SendModerationNotifications, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $EmailAddresses, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceUpgrade, - - [Parameter()] - [System.Object] - $GrantSendOnBehalfTo, - - [Parameter()] - [System.String] - $CustomAttribute12 - ) -} -function Set-MalwareFilterPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $MakeDefault, - - [Parameter()] - [System.String] - $CustomFromName, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String] - $AdminDisplayName, - - [Parameter()] - [System.String] - $CustomExternalBody, - - [Parameter()] - [System.String] - $QuarantineTag, - - [Parameter()] - [System.Boolean] - $CustomNotifications, - - [Parameter()] - [System.Boolean] - $EnableExternalSenderAdminNotifications, - - [Parameter()] - [System.Object] - $InternalSenderAdminAddress, - - [Parameter()] - [System.String[]] - $FileTypes, - - [Parameter()] - [System.Boolean] - $EnableInternalSenderAdminNotifications, - - [Parameter()] - [System.Object] - $CustomFromAddress, - - [Parameter()] - [System.Boolean] - $IsPolicyOverrideApplied, - - [Parameter()] - [System.Boolean] - $ZapEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $ExternalSenderAdminAddress, - - [Parameter()] - [System.String] - $CustomExternalSubject, - - [Parameter()] - [System.Object] - $FileTypeAction, - - [Parameter()] - [System.String] - $CustomInternalSubject, - - [Parameter()] - [System.String] - $CustomInternalBody, - - [Parameter()] - [System.Boolean] - $EnableFileFilter - ) -} -function Set-MalwareFilterRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object[]] - $SentToMemberOf, - - [Parameter()] - [System.Object[]] - $SentTo, - - [Parameter()] - [System.String] - $Comments, - - [Parameter()] - [System.Object[]] - $RecipientDomainIs, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.Object] - $MalwareFilterPolicy, - - [Parameter()] - [System.Object[]] - $ExceptIfSentTo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf - ) -} -function Set-ManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $RecipientGroupScope, - - [Parameter()] - [System.Object] - $CustomRecipientWriteScope, - - [Parameter()] - [System.Object] - $RecipientAdministrativeUnitScope, - - [Parameter()] - [System.Object] - $ExclusiveRecipientWriteScope, - - [Parameter()] - [System.Object] - $CustomResourceScope, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $RecipientOrganizationalUnitScope, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $RecipientRelativeWriteScope, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Set-MessageClassification -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $SenderDescription, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $RecipientDescription, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $RetainClassificationEnabled, - - [Parameter()] - [System.Boolean] - $PermissionMenuVisible, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Guid] - $ClassificationID, - - [Parameter()] - [System.Object] - $DisplayPrecedence - ) -} -function Set-MobileDeviceMailboxPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowMicrosoftPushNotifications, - - [Parameter()] - [System.Boolean] - $AllowUnsignedApplications, - - [Parameter()] - [System.Boolean] - $AllowUnsignedInstallationPackages, - - [Parameter()] - [System.Object] - $MaxPasswordFailedAttempts, - - [Parameter()] - [System.Boolean] - $AllowExternalDeviceManagement, - - [Parameter()] - [System.Boolean] - $AllowIrDA, - - [Parameter()] - [System.Boolean] - $AllowStorageCard, - - [Parameter()] - [System.Int32] - $PasswordHistory, - - [Parameter()] - [System.Boolean] - $AllowNonProvisionableDevices, - - [Parameter()] - [System.Object] - $UnapprovedInROMApplicationList, - - [Parameter()] - [System.Boolean] - $RequireEncryptedSMIMEMessages, - - [Parameter()] - [System.Boolean] - $RequireDeviceEncryption, - - [Parameter()] - [System.Boolean] - $AllowInternetSharing, - - [Parameter()] - [System.Boolean] - $PasswordEnabled, - - [Parameter()] - [System.Object] - $RequireSignedSMIMEAlgorithm, - - [Parameter()] - [System.Object] - $MaxEmailHTMLBodyTruncationSize, - - [Parameter()] - [System.Int32] - $MinPasswordComplexCharacters, - - [Parameter()] - [System.Boolean] - $UNCAccessEnabled, - - [Parameter()] - [System.Boolean] - $AllowCamera, - - [Parameter()] - [System.Boolean] - $IrmEnabled, - - [Parameter()] - [System.Object] - $PasswordExpiration, - - [Parameter()] - [System.Boolean] - $AllowBrowser, - - [Parameter()] - [System.Object] - $MaxEmailAgeFilter, - - [Parameter()] - [System.Boolean] - $RequireManualSyncWhenRoaming, - - [Parameter()] - [System.Boolean] - $AlphanumericPasswordRequired, - - [Parameter()] - [System.Object] - $AllowSMIMEEncryptionAlgorithmNegotiation, - - [Parameter()] - [System.Boolean] - $DeviceEncryptionEnabled, - - [Parameter()] - [System.Object] - $MaxEmailBodyTruncationSize, - - [Parameter()] - [System.Object] - $AllowBluetooth, - - [Parameter()] - [System.Object] - $RequireEncryptionSMIMEAlgorithm, - - [Parameter()] - [System.Object] - $DevicePolicyRefreshInterval, - - [Parameter()] - [System.Boolean] - $AllowGooglePushNotifications, - - [Parameter()] - [System.Boolean] - $AllowMobileOTAUpdate, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $MaxAttachmentSize, - - [Parameter()] - [System.Boolean] - $AllowSimplePassword, - - [Parameter()] - [System.Boolean] - $AllowConsumerEmail, - - [Parameter()] - [System.Boolean] - $AllowDesktopSync, - - [Parameter()] - [System.Boolean] - $PasswordRecoveryEnabled, - - [Parameter()] - [System.Boolean] - $RequireStorageCardEncryption, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AllowSMIMESoftCerts, - - [Parameter()] - [System.Boolean] - $AllowRemoteDesktop, - - [Parameter()] - [System.Boolean] - $AttachmentsEnabled, - - [Parameter()] - [System.Object] - $MaxCalendarAgeFilter, - - [Parameter()] - [System.Boolean] - $AllowWiFi, - - [Parameter()] - [System.Boolean] - $AllowApplePushNotifications, - - [Parameter()] - [System.Boolean] - $AllowPOPIMAPEmail, - - [Parameter()] - [System.Boolean] - $IsDefault, - - [Parameter()] - [System.Object] - $MaxInactivityTimeLock, - - [Parameter()] - [System.Object] - $ApprovedApplicationList, - - [Parameter()] - [System.Boolean] - $AllowTextMessaging, - - [Parameter()] - [System.Boolean] - $WSSAccessEnabled, - - [Parameter()] - [System.Boolean] - $RequireSignedSMIMEMessages, - - [Parameter()] - [System.Object] - $MinPasswordLength, - - [Parameter()] - [System.Boolean] - $AllowHTMLEmail, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Set-OfflineAddressBook -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $Versions, - - [Parameter()] - [System.Object] - $Schedule, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ApplyMandatoryProperties, - - [Parameter()] - [System.Boolean] - $ZipOabFilesBeforeUploading, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UpgradeFromE14, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Int32] - $FullOabDownloadPreventionThreshold, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $DiffRetentionPeriod, - - [Parameter()] - [System.Object[]] - $AddressLists, - - [Parameter()] - [System.Object] - $ConfiguredAttributes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseDefaultAttributes, - - [Parameter()] - [System.Boolean] - $IsDefault - ) -} -function Set-OMEConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Double] - $ExternalMailExpiryInDays, - - [Parameter()] - [System.String] - $ReadButtonText, - - [Parameter()] - [System.String] - $PortalText, - - [Parameter()] - [System.Byte[]] - $Image, - - [Parameter()] - [System.String] - $IntroductionText, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $BackgroundColor, - - [Parameter()] - [System.String] - $DisclaimerText, - - [Parameter()] - [System.String] - $PrivacyStatementUrl, - - [Parameter()] - [System.Boolean] - $SocialIdSignIn, - - [Parameter()] - [System.String] - $EmailText, - - [Parameter()] - [System.Boolean] - $OTPEnabled, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Set-OnPremisesOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $InboundConnector, - - [Parameter()] - [System.Object] - $OutboundConnector, - - [Parameter()] - [System.String] - $OrganizationName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $OrganizationRelationship, - - [Parameter()] - [System.Object] - $HybridDomains - ) -} -function Set-Organization -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $UnifiedAuditLogIngestionEnabled - ) -} -function Set-OrganizationConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $FindTimeLockPollForAttendeesEnabled, - - [Parameter()] - [System.Boolean] - $ConnectorsEnabledForYammer, - - [Parameter()] - [System.Boolean] - $PublicFolderShowClientControl, - - [Parameter()] - [System.Boolean] - $MailTipsGroupMetricsEnabled, - - [Parameter()] - [System.Object] - $PublicFoldersEnabled, - - [Parameter()] - [System.Boolean] - $ReadTrackingEnabled, - - [Parameter()] - [System.Boolean] - $ExchangeNotificationEnabled, - - [Parameter()] - [System.Boolean] - $BookingsNamingPolicyPrefixEnabled, - - [Parameter()] - [System.Boolean] - $MailTipsExternalRecipientsTipsEnabled, - - [Parameter()] - [System.Object] - $FocusedInboxOn, - - [Parameter()] - [System.Object] - $EwsApplicationAccessPolicy, - - [Parameter()] - [System.Boolean] - $OAuth2ClientProfileEnabled, - - [Parameter()] - [System.Boolean] - $MobileAppEducationEnabled, - - [Parameter()] - [System.Boolean] - $EnableOutlookEvents, - - [Parameter()] - [System.Boolean] - $BookingsExposureOfStaffDetailsRestricted, - - [Parameter()] - [System.Boolean] - $ElcProcessingDisabled, - - [Parameter()] - [System.Boolean] - $UnblockUnsafeSenderPromptEnabled, - - [Parameter()] - [System.Boolean] - $AutoEnableArchiveMailbox, - - [Parameter()] - [System.Boolean] - $HybridRSVPEnabled, - - [Parameter()] - [System.Boolean] - $RefreshSessionEnabled, - - [Parameter()] - [System.Boolean] - $SmtpActionableMessagesEnabled, - - [Parameter()] - [System.Boolean] - $ConnectorsEnabledForTeams, - - [Parameter()] - [System.Boolean] - $ComplianceMLBgdCrawlEnabled, - - [Parameter()] - [System.Boolean] - $MailTipsAllTipsEnabled, - - [Parameter()] - [System.Boolean] - $PostponeRoamingSignaturesUntilLater, - - [Parameter()] - [System.Object] - $RemotePublicFolderMailboxes, - - [Parameter()] - [System.Boolean] - $BlockMoveMessagesForGroupFolders, - - [Parameter()] - [System.Int32] - $DefaultMinutesToReduceShortEventsBy, - - [Parameter()] - [System.Object] - $EwsAllowEntourage, - - [Parameter()] - [System.Boolean] - $OutlookGifPickerDisabled, - - [Parameter()] - [System.Object] - $OnlineMeetingsByDefaultEnabled, - - [Parameter()] - [System.Boolean] - $ConnectorsEnabledForOutlook, - - [Parameter()] - [System.Object] - $DefaultPublicFolderProhibitPostQuota, - - [Parameter()] - [System.Object] - $ExchangeNotificationRecipients, - - [Parameter()] - [System.Boolean] - $MessageRemindersEnabled, - - [Parameter()] - [System.Boolean] - $DirectReportsGroupAutoCreationEnabled, - - [Parameter()] - [System.Boolean] - $AuditDisabled, - - [Parameter()] - [System.Boolean] - $BookingsAuthEnabled, - - [Parameter()] - [System.Boolean] - $OutlookMobileGCCRestrictionsEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $BookingsCreationOfCustomQuestionsRestricted, - - [Parameter()] - [System.Boolean] - $BookingsSmsMicrosoftEnabled, - - [Parameter()] - [System.Object] - $DefaultAuthenticationPolicy, - - [Parameter()] - [System.Boolean] - $WebPushNotificationsDisabled, - - [Parameter()] - [System.Boolean] - $ActivityBasedAuthenticationTimeoutEnabled, - - [Parameter()] - [System.Boolean] - $BookingsAddressEntryRestricted, - - [Parameter()] - [System.String] - $BookingsNamingPolicyPrefix, - - [Parameter()] - [System.Object] - $DefaultPublicFolderDeletedItemRetention, - - [Parameter()] - [System.Int32] - $PreferredInternetCodePageForShiftJis, - - [Parameter()] - [System.Object] - $ShortenEventScopeDefault, - - [Parameter()] - [System.Object] - $HierarchicalAddressBookRoot, - - [Parameter()] - [System.Boolean] - $IsAgendaMailEnabled, - - [Parameter()] - [System.Boolean] - $FindTimeOnlineMeetingOptionDisabled, - - [Parameter()] - [System.Object] - $EwsEnabled, - - [Parameter()] - [System.Boolean] - $FindTimeAttendeeAuthenticationEnabled, - - [Parameter()] - [System.Boolean] - $AutomaticForcedReadReceiptEnabled, - - [Parameter()] - [System.Boolean] - $LeanPopoutEnabled, - - [Parameter()] - [System.Object] - $DistributionGroupNameBlockedWordsList, - - [Parameter()] - [System.Int32] - $RequiredCharsetCoverage, - - [Parameter()] - [System.Boolean] - $AsyncSendEnabled, - - [Parameter()] - [System.Boolean] - $ConnectorsEnabledForSharepoint, - - [Parameter()] - [System.Boolean] - $BookingsBlockedWordsEnabled, - - [Parameter()] - [System.Boolean] - $ActivityBasedAuthenticationTimeoutWithSingleSignOnEnabled, - - [Parameter()] - [System.Boolean] - $WorkspaceTenantEnabled, - - [Parameter()] - [System.Boolean] - $BookingsNamingPolicyEnabled, - - [Parameter()] - [System.Object] - $DefaultPublicFolderAgeLimit, - - [Parameter()] - [System.String] - $VisibleMeetingUpdateProperties, - - [Parameter()] - [System.Boolean] - $OutlookPayEnabled, - - [Parameter()] - [System.UInt32] - $MailTipsLargeAudienceThreshold, - - [Parameter()] - [System.Object] - $DefaultGroupAccessType, - - [Parameter()] - [System.Boolean] - $CalendarVersionStoreEnabled, - - [Parameter()] - [System.Boolean] - $BookingsPaymentsEnabled, - - [Parameter()] - [System.Object] - $MessageRecallEnabled, - - [Parameter()] - [System.Boolean] - $MessageHighlightsEnabled, - - [Parameter()] - [System.Boolean] - $WebSuggestedRepliesDisabled, - - [Parameter()] - [System.Boolean] - $DisablePlusAddressInRecipients, - - [Parameter()] - [System.Object] - $DistributionGroupNamingPolicy, - - [Parameter()] - [System.Boolean] - $PublicComputersDetectionEnabled, - - [Parameter()] - [System.Boolean] - $BookingsSocialSharingRestricted, - - [Parameter()] - [System.String] - $BookingsNamingPolicySuffix, - - [Parameter()] - [System.Boolean] - $BookingsNamingPolicySuffixEnabled, - - [Parameter()] - [System.Boolean] - $BookingsMembershipApprovalRequired, - - [Parameter()] - [System.Boolean] - $IsGroupMemberAllowedToEditContent, - - [Parameter()] - [System.Object] - $DefaultPublicFolderMovedItemRetention, - - [Parameter()] - [System.Object] - $DistributionGroupDefaultOU, - - [Parameter()] - [System.Boolean] - $OutlookTextPredictionDisabled, - - [Parameter()] - [System.Boolean] - $SharedDomainEmailAddressFlowEnabled, - - [Parameter()] - [System.Boolean] - $ConnectorsActionableMessagesEnabled, - - [Parameter()] - [System.Boolean] - $MailTipsMailboxSourcedTipsEnabled, - - [Parameter()] - [System.Boolean] - $BookingsEnabled, - - [Parameter()] - [System.Boolean] - $EndUserDLUpgradeFlowsDisabled, - - [Parameter()] - [System.Object] - $RecallReadMessagesEnabled, - - [Parameter()] - [System.Boolean] - $BookingsPhoneNumberEntryRestricted, - - [Parameter()] - [System.Boolean] - $AppsForOfficeEnabled, - - [Parameter()] - [System.Boolean] - $EnableForwardingAddressSyncForMailboxes, - - [Parameter()] - [System.Object] - $EwsAllowOutlook, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AutoExpandingArchive, - - [Parameter()] - [System.Boolean] - $LinkPreviewEnabled, - - [Parameter()] - [System.Boolean] - $BookingsSearchEngineIndexDisabled, - - [Parameter()] - [System.Object] - $EwsAllowMacOutlook, - - [Parameter()] - [System.Object] - $EwsAllowList, - - [Parameter()] - [System.Object] - $DefaultPublicFolderMaxItemSize, - - [Parameter()] - [System.Boolean] - $MatchSenderOrganizerProperties, - - [Parameter()] - [System.Int32] - $DefaultMinutesToReduceLongEventsBy, - - [Parameter()] - [System.Object] - $IPListBlocked, - - [Parameter()] - [System.Boolean] - $BookingsNotesEntryRestricted, - - [Parameter()] - [System.Boolean] - $SendFromAliasEnabled, - - [Parameter()] - [System.Boolean] - $AutodiscoverPartialDirSync, - - [Parameter()] - [System.Object] - $ActivityBasedAuthenticationTimeoutInterval, - - [Parameter()] - [System.Boolean] - $OutlookMobileSingleAccountEnabled, - - [Parameter()] - [System.Boolean] - $IsGroupFoldersAndRulesEnabled, - - [Parameter()] - [System.Boolean] - $MaskClientIpInReceivedHeadersEnabled, - - [Parameter()] - [System.Boolean] - $PerTenantSwitchToESTSEnabled, - - [Parameter()] - [System.Boolean] - $ConnectorsEnabled, - - [Parameter()] - [System.Object] - $EwsBlockList, - - [Parameter()] - [System.Boolean] - $CustomerLockboxEnabled, - - [Parameter()] - [System.Boolean] - $OutlookMobileHelpShiftEnabled, - - [Parameter()] - [System.Uri] - $SiteMailboxCreationURL, - - [Parameter()] - [System.Int32] - $ByteEncoderTypeFor7BitCharsets, - - [Parameter()] - [System.Boolean] - $FindTimeAutoScheduleDisabled, - - [Parameter()] - [System.Object] - $DefaultPublicFolderIssueWarningQuota - ) -} -function Set-OrganizationRelationship -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $MailTipsAccessLevel, - - [Parameter()] - [System.Uri] - $TargetAutodiscoverEpr, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $FreeBusyAccessScope, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Boolean] - $DeliveryReportEnabled, - - [Parameter()] - [System.String] - $OAuthApplicationId, - - [Parameter()] - [System.Boolean] - $MailTipsAccessEnabled, - - [Parameter()] - [System.Boolean] - $ArchiveAccessEnabled, - - [Parameter()] - [System.Boolean] - $FreeBusyAccessEnabled, - - [Parameter()] - [System.Object] - $MailTipsAccessScope, - - [Parameter()] - [System.Uri] - $TargetOwaURL, - - [Parameter()] - [System.Uri] - $TargetApplicationUri, - - [Parameter()] - [System.Object] - $OrganizationContact, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $MailboxMovePublishedScopes, - - [Parameter()] - [System.Boolean] - $MailboxMoveEnabled, - - [Parameter()] - [System.Object] - $MailboxMoveCapability, - - [Parameter()] - [System.Uri] - $TargetSharingEpr, - - [Parameter()] - [System.Object] - $FreeBusyAccessLevel, - - [Parameter()] - [System.Object] - $DomainNames, - - [Parameter()] - [System.Boolean] - $PhotosEnabled - ) -} -function Set-OutboundConnector -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $RouteAllMessagesViaOnPremises, - - [Parameter()] - [System.Object] - $RecipientDomains, - - [Parameter()] - [System.Boolean] - $CloudServicesMailEnabled, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Boolean] - $AllAcceptedDomains, - - [Parameter()] - [System.Object] - $TlsDomain, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Boolean] - $IsTransportRuleScoped, - - [Parameter()] - [System.Boolean] - $IsValidated, - - [Parameter()] - [System.Boolean] - $UseMXRecord, - - [Parameter()] - [System.Object] - $LastValidationTimestamp, - - [Parameter()] - [System.Object] - $TlsSettings, - - [Parameter()] - [System.String[]] - $ValidationRecipients, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $ConnectorType, - - [Parameter()] - [System.Object] - $SmartHosts, - - [Parameter()] - [System.Boolean] - $SenderRewritingEnabled, - - [Parameter()] - [System.Boolean] - $TestMode, - - [Parameter()] - [System.Object] - $ConnectorSource - ) -} -function Set-OwaMailboxPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Int32] - $DefaultClientLanguage, - - [Parameter()] - [System.Boolean] - $ContactsEnabled, - - [Parameter()] - [System.Boolean] - $PersonalAccountCalendarsEnabled, - - [Parameter()] - [System.Boolean] - $MessagePreviewsDisabled, - - [Parameter()] - [System.Boolean] - $ExplicitLogonEnabled, - - [Parameter()] - [System.Boolean] - $ShowOnlineArchiveEnabled, - - [Parameter()] - [System.Object] - $BlockedFileTypes, - - [Parameter()] - [System.Boolean] - $NpsSurveysEnabled, - - [Parameter()] - [System.Boolean] - $LinkedInEnabled, - - [Parameter()] - [System.Object] - $ConditionalAccessPolicy, - - [Parameter()] - [System.String[]] - $AllowedOrganizationAccountDomains, - - [Parameter()] - [System.Boolean] - $ChangePasswordEnabled, - - [Parameter()] - [System.String] - $BookingsMailboxDomain, - - [Parameter()] - [System.Boolean] - $AdditionalStorageProvidersAvailable, - - [Parameter()] - [System.Boolean] - $WacViewingOnPublicComputersEnabled, - - [Parameter()] - [System.Boolean] - $OutlookBetaToggleEnabled, - - [Parameter()] - [System.Boolean] - $SMimeSuppressNameChecksEnabled, - - [Parameter()] - [System.Object] - $ActionForUnknownFileAndMIMETypes, - - [Parameter()] - [System.String] - $ExternalSPMySiteHostURL, - - [Parameter()] - [System.Boolean] - $OfflineEnabledWeb, - - [Parameter()] - [System.Object] - $ForceSaveMimeTypes, - - [Parameter()] - [System.Boolean] - $CalendarEnabled, - - [Parameter()] - [System.Boolean] - $SpellCheckerEnabled, - - [Parameter()] - [System.Boolean] - $DisplayPhotosEnabled, - - [Parameter()] - [System.Boolean] - $TasksEnabled, - - [Parameter()] - [System.Boolean] - $GroupCreationEnabled, - - [Parameter()] - [System.Object] - $ForceSaveFileTypes, - - [Parameter()] - [System.Object] - $ChangeSettingsAccountEnabled, - - [Parameter()] - [System.Object] - $AdditionalAccountsEnabled, - - [Parameter()] - [System.Boolean] - $TeamsnapCalendarsEnabled, - - [Parameter()] - [System.Boolean] - $WacViewingOnPrivateComputersEnabled, - - [Parameter()] - [System.Boolean] - $TextMessagingEnabled, - - [Parameter()] - [System.Boolean] - $SearchFoldersEnabled, - - [Parameter()] - [System.Boolean] - $UserVoiceEnabled, - - [Parameter()] - [System.Boolean] - $ForceWacViewingFirstOnPublicComputers, - - [Parameter()] - [System.Boolean] - $GlobalAddressListEnabled, - - [Parameter()] - [System.Boolean] - $IRMEnabled, - - [Parameter()] - [System.Boolean] - $DirectFileAccessOnPublicComputersEnabled, - - [Parameter()] - [System.Boolean] - $WacOMEXEnabled, - - [Parameter()] - [System.Boolean] - $DirectFileAccessOnPrivateComputersEnabled, - - [Parameter()] - [System.Boolean] - $JournalEnabled, - - [Parameter()] - [System.Boolean] - $OfflineEnabledWin, - - [Parameter()] - [System.Object] - $ItemsToOtherAccountsEnabled, - - [Parameter()] - [System.Boolean] - $WSSAccessOnPublicComputersEnabled, - - [Parameter()] - [System.Boolean] - $SignaturesEnabled, - - [Parameter()] - [System.Boolean] - $OnSendAddinsEnabled, - - [Parameter()] - [System.Boolean] - $WacExternalServicesEnabled, - - [Parameter()] - [System.String] - $InternalSPMySiteHostURL, - - [Parameter()] - [System.Boolean] - $RemindersAndNotificationsEnabled, - - [Parameter()] - [System.Boolean] - $SatisfactionEnabled, - - [Parameter()] - [System.Boolean] - $OWALightEnabled, - - [Parameter()] - [System.Object] - $InstantMessagingType, - - [Parameter()] - [System.Boolean] - $ActiveSyncIntegrationEnabled, - - [Parameter()] - [System.Object] - $PersonalAccountsEnabled, - - [Parameter()] - [System.String] - $DefaultTheme, - - [Parameter()] - [System.Boolean] - $SetPhotoEnabled, - - [Parameter()] - [System.Boolean] - $ClassicAttachmentsEnabled, - - [Parameter()] - [System.Boolean] - $ForceWacViewingFirstOnPrivateComputers, - - [Parameter()] - [System.Object] - $AllowedMimeTypes, - - [Parameter()] - [System.Boolean] - $AllowCopyContactsToDeviceAddressBook, - - [Parameter()] - [System.Object] - $OutboundCharset, - - [Parameter()] - [System.Boolean] - $PlacesEnabled, - - [Parameter()] - [System.Boolean] - $ReportJunkEmailEnabled, - - [Parameter()] - [System.Boolean] - $UseISO885915, - - [Parameter()] - [System.Boolean] - $RecoverDeletedItemsEnabled, - - [Parameter()] - [System.Boolean] - $NotesEnabled, - - [Parameter()] - [System.Boolean] - $OrganizationEnabled, - - [Parameter()] - [System.Object] - $WebPartsFrameOptionsType, - - [Parameter()] - [System.String] - $SetPhotoURL, - - [Parameter()] - [System.Boolean] - $WacEditingEnabled, - - [Parameter()] - [System.Boolean] - $PublicFoldersEnabled, - - [Parameter()] - [System.Boolean] - $BookingsMailboxCreationEnabled, - - [Parameter()] - [System.Boolean] - $ForceSaveAttachmentFilteringEnabled, - - [Parameter()] - [System.Int32] - $LogonAndErrorLanguage, - - [Parameter()] - [System.Boolean] - $WSSAccessOnPrivateComputersEnabled, - - [Parameter()] - [System.Boolean] - $AllAddressListsEnabled, - - [Parameter()] - [System.Boolean] - $EmptyStateEnabled, - - [Parameter()] - [System.Boolean] - $ProjectMocaEnabled, - - [Parameter()] - [System.Boolean] - $DelegateAccessEnabled, - - [Parameter()] - [System.Boolean] - $PremiumClientEnabled, - - [Parameter()] - [System.Object] - $BlockedMimeTypes, - - [Parameter()] - [System.Boolean] - $UMIntegrationEnabled, - - [Parameter()] - [System.Boolean] - $FeedbackEnabled, - - [Parameter()] - [System.Boolean] - $SilverlightEnabled, - - [Parameter()] - [System.Boolean] - $WeatherEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault, - - [Parameter()] - [System.Boolean] - $UseGB18030, - - [Parameter()] - [System.Object] - $AllowOfflineOn, - - [Parameter()] - [System.Object] - $AllowedFileTypes, - - [Parameter()] - [System.Boolean] - $ExternalImageProxyEnabled, - - [Parameter()] - [System.Boolean] - $RulesEnabled, - - [Parameter()] - [System.Object] - $OneWinNativeOutlookEnabled, - - [Parameter()] - [System.Boolean] - $FreCardsEnabled, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Boolean] - $ThemeSelectionEnabled, - - [Parameter()] - [System.Boolean] - $InstantMessagingEnabled, - - [Parameter()] - [System.Boolean] - $LocalEventsEnabled, - - [Parameter()] - [System.Boolean] - $InterestingCalendarsEnabled, - - [Parameter()] - [System.Boolean] - $BizBarEnabled, - - [Parameter()] - [System.Boolean] - $OneDriveAttachmentsEnabled, - - [Parameter()] - [System.Boolean] - $PrintWithoutDownloadEnabled, - - [Parameter()] - [System.Boolean] - $SaveAttachmentsToCloudEnabled, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $PhoneticSupportEnabled, - - [Parameter()] - [System.Boolean] - $SkipCreateUnifiedGroupCustomSharepointClassification, - - [Parameter()] - [System.Boolean] - $ReferenceAttachmentsEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableFacebook - ) -} -function Set-PartnerApplication -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ApplicationIdentifier, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $LinkedAccount, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AcceptSecurityIdentifierInformation, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String[]] - $ActAsPermissions, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Object] - $AccountType - ) -} -function Set-PerimeterConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $GatewayIPAddresses - ) -} -function Set-Place -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $PostalCode, - - [Parameter()] - [System.String] - $Phone, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $CountryOrRegion, - - [Parameter()] - [System.String] - $ParentId, - - [Parameter()] - [System.String] - $Street, - - [Parameter()] - [System.Boolean] - $IsWheelChairAccessible, - - [Parameter()] - [System.String] - $AudioDeviceName, - - [Parameter()] - [System.String] - $DisplayDeviceName, - - [Parameter()] - [System.Object[]] - $Desks, - - [Parameter()] - [System.String] - $Building, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.String] - $City, - - [Parameter()] - [System.Object] - $Floor, - - [Parameter()] - [System.Object] - $ParentType, - - [Parameter()] - [System.String] - $VideoDeviceName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String[]] - $Tags, - - [Parameter()] - [System.String] - $FloorLabel, - - [Parameter()] - [System.Object] - $Capacity, - - [Parameter()] - [System.String] - $Label, - - [Parameter()] - [System.Object] - $GeoCoordinates, - - [Parameter()] - [System.Boolean] - $MTREnabled - ) -} -function Set-PolicyTipConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Value, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Set-QuarantinePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $MultiLanguageCustomDisclaimer, - - [Parameter()] - [System.Object] - $AdminNotificationLanguage, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String] - $EndUserSpamNotificationCustomFromAddress, - - [Parameter()] - [System.Int32] - $EndUserSpamNotificationFrequencyInDays, - - [Parameter()] - [System.String] - $CustomDisclaimer, - - [Parameter()] - [System.Int32] - $EndUserQuarantinePermissionsValue, - - [Parameter()] - [System.Boolean] - $ESNEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IgnoreDehydratedFlag, - - [Parameter()] - [System.Object] - $EndUserQuarantinePermissions, - - [Parameter()] - [System.Boolean] - $AdminNotificationsEnabled, - - [Parameter()] - [System.Object] - $EndUserSpamNotificationLanguage, - - [Parameter()] - [System.Object] - $DomainController, - - [Parameter()] - [System.Object] - $MultiLanguageSenderName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $AdminQuarantinePermissionsList, - - [Parameter()] - [System.Object] - $MultiLanguageSetting, - - [Parameter()] - [System.TimeSpan] - $EndUserSpamNotificationFrequency, - - [Parameter()] - [System.Int32] - $QuarantineRetentionDays, - - [Parameter()] - [System.Object] - $EsnCustomSubject, - - [Parameter()] - [System.Boolean] - $OrganizationBrandingEnabled, - - [Parameter()] - [System.Int32] - $AdminNotificationFrequencyInDays - ) -} -function Set-RemoteDomain -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AutoReplyEnabled, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $TNEFEnabled, - - [Parameter()] - [System.Boolean] - $DeliveryReportEnabled, - - [Parameter()] - [System.Object] - $RequiredCharsetCoverage, - - [Parameter()] - [System.Boolean] - $MeetingForwardNotificationEnabled, - - [Parameter()] - [System.Object] - $ContentType, - - [Parameter()] - [System.Object] - $ByteEncoderTypeFor7BitCharsets, - - [Parameter()] - [System.Boolean] - $AutoForwardEnabled, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Boolean] - $TrustedMailInboundEnabled, - - [Parameter()] - [System.Object] - $LineWrapSize, - - [Parameter()] - [System.String] - $CharacterSet, - - [Parameter()] - [System.Object] - $PreferredInternetCodePageForShiftJis, - - [Parameter()] - [System.Boolean] - $SmtpDaneMandatoryModeEnabled, - - [Parameter()] - [System.String] - $NonMimeCharacterSet, - - [Parameter()] - [System.Boolean] - $TargetDeliveryDomain, - - [Parameter()] - [System.Boolean] - $TrustedMailOutboundEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $DisplaySenderName, - - [Parameter()] - [System.Object] - $AllowedOOFType, - - [Parameter()] - [System.Boolean] - $NDREnabled, - - [Parameter()] - [System.Boolean] - $NDRDiagnosticInfoEnabled, - - [Parameter()] - [System.Boolean] - $IsInternal, - - [Parameter()] - [System.Boolean] - $UseSimpleDisplayName - ) -} -function Set-ReportSubmissionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $PostSubmitMessage, - - [Parameter()] - [System.Object] - $ReportJunkAddresses, - - [Parameter()] - [System.Boolean] - $NotificationsForPhishMalwareSubmissionAirInvestigationsEnabled, - - [Parameter()] - [System.String] - $PhishingReviewResultMessage, - - [Parameter()] - [System.String] - $PostSubmitMessageTitle, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonTextForNotJunk, - - [Parameter()] - [System.Boolean] - $EnableCustomizedMsg, - - [Parameter()] - [System.Object] - $NotificationSenderAddress, - - [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonTextForJunk, - - [Parameter()] - [System.Boolean] - $NotificationsForSpamSubmissionAirInvestigationsEnabled, - - [Parameter()] - [System.String] - $PostSubmitMessageForJunk, - - [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageForPhishing, - - [Parameter()] - [System.Boolean] - $EnableThirdPartyAddress, - - [Parameter()] - [System.String] - $PreSubmitMessageTitleForPhishing, - - [Parameter()] - [System.String] - $PreSubmitMessageForJunk, - - [Parameter()] - [System.Int32] - $UserSubmissionOptions, - - [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonTextForPhishing, - - [Parameter()] - [System.String] - $PreSubmitMessageForNotJunk, - - [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageTitleForPhishing, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageTitleForNotJunk, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonTextForJunk, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageForNotJunk, - - [Parameter()] - [System.Boolean] - $ReportJunkToCustomizedAddress, - - [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonLinkForPhishing, - - [Parameter()] - [System.Boolean] - $ReportNotJunkToCustomizedAddress, - - [Parameter()] - [System.String] - $PostSubmitMessageTitleForJunk, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageForPhishing, - - [Parameter()] - [System.String] - $NotificationFooterMessage, - - [Parameter()] - [System.Boolean] - $EnableOrganizationBranding, - - [Parameter()] - [System.String] - $PreSubmitMessageForPhishing, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonLinkForNotJunk, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonLinkForPhishing, - - [Parameter()] - [System.Boolean] - $EnableReportToMicrosoft, - - [Parameter()] - [System.String] - $PreSubmitMessageTitleForJunk, - - [Parameter()] - [System.Boolean] - $ReportChatMessageEnabled, - - [Parameter()] - [System.Object] - $ThirdPartyReportAddresses, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonLinkForJunk, - - [Parameter()] - [System.Boolean] - $NotificationsForCleanSubmissionAirInvestigationsEnabled, - - [Parameter()] - [System.String] - $PostSubmitMessageForNotJunk, - - [Parameter()] - [System.Object] - $MultiLanguageSetting, - - [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageForJunk, - - [Parameter()] - [System.Boolean] - $DisableQuarantineReportingOption, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $ReportNotJunkAddresses, - - [Parameter()] - [System.Boolean] - $EnableUserEmailNotification, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageForJunk, - - [Parameter()] - [System.String] - $PostSubmitMessageTitleForPhishing, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageTitleForJunk, - - [Parameter()] - [System.Boolean] - $DisableUserSubmissionOptions, - - [Parameter()] - [System.Boolean] - $OnlyShowPhishingDisclaimer, - - [Parameter()] - [System.String] - $PostSubmitMessageTitleForNotJunk, - - [Parameter()] - [System.String] - $PreSubmitMessage, - - [Parameter()] - [System.String] - $PreSubmitMessageTitleForNotJunk, - - [Parameter()] - [System.String] - $JunkReviewResultMessage, - - [Parameter()] - [System.Boolean] - $EnableCustomNotificationSender, - - [Parameter()] - [System.Boolean] - $ReportChatMessageToCustomizedAddressEnabled, - - [Parameter()] - [System.Object] - $ReportPhishAddresses, - - [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageTitleForJunk, - - [Parameter()] - [System.String] - $NotJunkReviewResultMessage, - - [Parameter()] - [System.Boolean] - $NotificationsForSubmissionAirInvestigationsEnabled, - - [Parameter()] - [System.Boolean] - $PreSubmitMessageEnabled, - - [Parameter()] - [System.Boolean] - $PostSubmitMessageEnabled, - - [Parameter()] - [System.String] - $PreSubmitMessageTitle, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageTitleForPhishing, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonTextForPhishing, - - [Parameter()] - [System.String] - $UserSubmissionOptionsMessage, - - [Parameter()] - [System.String] - $PostSubmitMessageForPhishing, - - [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonLinkForJunk, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $ReportPhishToCustomizedAddress - ) -} -function Set-ReportSubmissionRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object[]] - $SentTo, - - [Parameter()] - [System.String] - $Comments, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $ReportSubmissionPolicy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function Set-ResourceConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $ResourcePropertySchema - ) -} -function Set-RoleAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Set-RoleGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $WellKnownObject, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BypassSecurityGroupManagerCheck, - - [Parameter()] - [System.Object] - $ManagedBy - ) -} -function Set-SafeAttachmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Action, - - [Parameter()] - [System.Boolean] - $Redirect, - - [Parameter()] - [System.String] - $AdminDisplayName, - - [Parameter()] - [System.Boolean] - $Enable, - - [Parameter()] - [System.Object] - $RedirectAddress, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String] - $QuarantineTag - ) -} -function Set-SafeAttachmentRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object[]] - $SentToMemberOf, - - [Parameter()] - [System.Object[]] - $SentTo, - - [Parameter()] - [System.String] - $Comments, - - [Parameter()] - [System.Object[]] - $RecipientDomainIs, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $SafeAttachmentPolicy, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.Object[]] - $ExceptIfSentTo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf - ) -} -function Set-SafeLinksPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $EnableOrganizationBranding, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String] - $AdminDisplayName, - - [Parameter()] - [System.Boolean] - $UseTranslatedNotificationText, - - [Parameter()] - [System.Boolean] - $DisableUrlRewrite, - - [Parameter()] - [System.Object] - $DoNotRewriteUrls, - - [Parameter()] - [System.Boolean] - $EnableSafeLinksForTeams, - - [Parameter()] - [System.Boolean] - $EnableSafeLinksForOffice, - - [Parameter()] - [System.Boolean] - $TrackClicks, - - [Parameter()] - [System.Boolean] - $AllowClickThrough, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $CustomNotificationText, - - [Parameter()] - [System.Boolean] - $DeliverMessageAfterScan, - - [Parameter()] - [System.Boolean] - $EnableSafeLinksForEmail, - - [Parameter()] - [System.Boolean] - $ScanUrls, - - [Parameter()] - [System.Boolean] - $EnableForInternalSenders - ) -} -function Set-SafeLinksRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object[]] - $SentToMemberOf, - - [Parameter()] - [System.Object[]] - $SentTo, - - [Parameter()] - [System.String] - $Comments, - - [Parameter()] - [System.Object[]] - $RecipientDomainIs, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.Object] - $SafeLinksPolicy, - - [Parameter()] - [System.Object[]] - $ExceptIfSentTo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf - ) -} -function Set-SharingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Domains, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Default, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $Enabled - ) -} -function Set-TransportConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $InternalDelayDsnEnabled, - - [Parameter()] - [System.Boolean] - $InternalDsnSendHtml, - - [Parameter()] - [System.Boolean] - $ExternalDelayDsnEnabled, - - [Parameter()] - [System.Object] - $DSNConversionMode, - - [Parameter()] - [System.Boolean] - $SmtpClientAuthenticationDisabled, - - [Parameter()] - [System.Globalization.CultureInfo] - $InternalDsnDefaultLanguage, - - [Parameter()] - [System.Object] - $MessageExpiration, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Boolean] - $ReplyAllStormProtectionEnabled, - - [Parameter()] - [System.Boolean] - $InternalDsnLanguageDetectionEnabled, - - [Parameter()] - [System.Boolean] - $AddressBookPolicyRoutingEnabled, - - [Parameter()] - [System.Boolean] - $ExternalDsnLanguageDetectionEnabled, - - [Parameter()] - [System.Boolean] - $ExternalDsnSendHtml, - - [Parameter()] - [System.Boolean] - $Rfc2231EncodingEnabled, - - [Parameter()] - [System.Object] - $HeaderPromotionModeSetting, - - [Parameter()] - [System.Boolean] - $VoicemailJournalingEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $JournalingReportNdrTo, - - [Parameter()] - [System.Boolean] - $ConvertDisclaimerWrapperToEml, - - [Parameter()] - [System.Object] - $InternalDsnReportingAuthority, - - [Parameter()] - [System.Int32] - $JournalMessageExpirationDays, - - [Parameter()] - [System.Object] - $MaxRecipientEnvelopeLimit, - - [Parameter()] - [System.Int32] - $ReplyAllStormDetectionMinimumReplies, - - [Parameter()] - [System.Object] - $ExternalDsnReportingAuthority, - - [Parameter()] - [System.Globalization.CultureInfo] - $ExternalDsnDefaultLanguage, - - [Parameter()] - [System.Object] - $AllowLegacyTLSClients, - - [Parameter()] - [System.Boolean] - $ClearCategories, - - [Parameter()] - [System.Int32] - $ReplyAllStormBlockDurationHours, - - [Parameter()] - [System.Object] - $ExternalPostmasterAddress, - - [Parameter()] - [System.Int32] - $ReplyAllStormDetectionMinimumRecipients - ) -} -function Set-TransportRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $ActivationDate, - - [Parameter()] - [System.Object[]] - $AddToRecipients, - - [Parameter()] - [System.Object] - $ApplyHtmlDisclaimerFallbackAction, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientADAttributeContainsWords, - - [Parameter()] - [System.Object] - $AttachmentSizeOver, - - [Parameter()] - [System.Object[]] - $ExceptIfSenderADAttributeContainsWords, - - [Parameter()] - [System.Object] - $SetSCL, - - [Parameter()] - [System.Object[]] - $AnyOfToHeaderMemberOf, - - [Parameter()] - [System.Boolean] - $Disconnect, - - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfCcHeader, - - [Parameter()] - [System.Object[]] - $ExceptIfAttachmentMatchesPatterns, - - [Parameter()] - [System.Object[]] - $RecipientDomainIs, - - [Parameter()] - [System.Object] - $ManagerForEvaluatedUser, - - [Parameter()] - [System.Object[]] - $ExceptIfHeaderMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfFromScope, - - [Parameter()] - [System.Object] - $AdComparisonAttribute, - - [Parameter()] - [System.Object[]] - $ExceptIfHeaderContainsWords, - - [Parameter()] - [System.Object[]] - $HeaderMatchesPatterns, - - [Parameter()] - [System.Object] - $AddManagerAsRecipientType, - - [Parameter()] - [System.Boolean] - $DeleteMessage, - - [Parameter()] - [System.Boolean] - $HasSenderOverride, - - [Parameter()] - [System.Object] - $SmtpRejectMessageRejectStatusCode, - - [Parameter()] - [System.String] - $ExceptIfHasClassification, - - [Parameter()] - [System.Boolean] - $Quarantine, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientInSenderList, - - [Parameter()] - [System.Object] - $RecipientAddressType, - - [Parameter()] - [System.Object[]] - $ExceptIfContentCharacterSetContainsWords, - - [Parameter()] - [System.Object[]] - $BlindCopyTo, - - [Parameter()] - [System.Object] - $ApplyHtmlDisclaimerLocation, - - [Parameter()] - [System.Object] - $ExceptIfMessageTypeMatches, - - [Parameter()] - [System.Object] - $SenderIpRanges, - - [Parameter()] - [System.Collections.Hashtable[]] - $ExceptIfMessageContainsDataClassifications, - - [Parameter()] - [System.Object[]] - $ModerateMessageByUser, - - [Parameter()] - [System.Boolean] - $HasNoClassification, - - [Parameter()] - [System.Object[]] - $ExceptIfSenderInRecipientList, - - [Parameter()] - [System.Object] - $HeaderContainsMessageHeader, - - [Parameter()] - [System.Object] - $RemoveHeader, - - [Parameter()] - [System.String] - $HasClassification, - - [Parameter()] - [System.Collections.Hashtable[]] - $MessageContainsDataClassifications, - - [Parameter()] - [System.Object[]] - $ExceptIfFromMemberOf, - - [Parameter()] - [System.Object] - $RuleSubType, - - [Parameter()] - [System.Object[]] - $AnyOfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $SentToScope, - - [Parameter()] - [System.Object[]] - $AnyOfToCcHeaderMemberOf, - - [Parameter()] - [System.Object[]] - $From, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfRecipientAddressContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfWithImportance, - - [Parameter()] - [System.Object[]] - $ContentCharacterSetContainsWords, - - [Parameter()] - [System.Object[]] - $SubjectContainsWords, - - [Parameter()] - [System.Object] - $RejectMessageEnhancedStatusCode, - - [Parameter()] - [System.Object[]] - $SenderADAttributeMatchesPatterns, - - [Parameter()] - [System.Object[]] - $ExceptIfSenderADAttributeMatchesPatterns, - - [Parameter()] - [System.Object[]] - $IncidentReportContent, - - [Parameter()] - [System.Object[]] - $FromMemberOf, - - [Parameter()] - [System.Object[]] - $AttachmentContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfSCLOver, - - [Parameter()] - [System.Object[]] - $ExceptIfBetweenMemberOf1, - - [Parameter()] - [System.Object] - $GenerateNotification, - - [Parameter()] - [System.Object] - $NotifySender, - - [Parameter()] - [System.Boolean] - $ExceptIfAttachmentIsPasswordProtected, - - [Parameter()] - [System.Object[]] - $ExceptIfAttachmentNameMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfSenderManagementRelationship, - - [Parameter()] - [System.String] - $SetAuditSeverity, - - [Parameter()] - [System.Object[]] - $AttachmentPropertyContainsWords, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToHeader, - - [Parameter()] - [System.Object] - $ApplyRightsProtectionCustomizationTemplate, - - [Parameter()] - [System.Object] - $SetHeaderName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $RouteMessageOutboundRequireTls, - - [Parameter()] - [System.Object] - $WithImportance, - - [Parameter()] - [System.Object] - $RuleErrorAction, - - [Parameter()] - [System.Object] - $FromScope, - - [Parameter()] - [System.Object[]] - $AttachmentNameMatchesPatterns, - - [Parameter()] - [System.Object[]] - $SentTo, - - [Parameter()] - [System.Object[]] - $ExceptIfFromAddressMatchesPatterns, - - [Parameter()] - [System.Object[]] - $AnyOfCcHeaderMemberOf, - - [Parameter()] - [System.Object] - $ExceptIfAttachmentSizeOver, - - [Parameter()] - [System.Object] - $ExceptIfManagerForEvaluatedUser, - - [Parameter()] - [System.Boolean] - $RemoveOMEv2, - - [Parameter()] - [System.Object[]] - $ExceptIfFromAddressContainsWords, - - [Parameter()] - [System.Boolean] - $AttachmentHasExecutableContent, - - [Parameter()] - [System.Object] - $RouteMessageOutboundConnector, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.Object[]] - $ExceptIfSenderDomainIs, - - [Parameter()] - [System.Object] - $SenderManagementRelationship, - - [Parameter()] - [System.Object[]] - $ExceptIfBetweenMemberOf2, - - [Parameter()] - [System.Object[]] - $RedirectMessageTo, - - [Parameter()] - [System.Boolean] - $ApplyOME, - - [Parameter()] - [System.Object[]] - $SenderDomainIs, - - [Parameter()] - [System.Object[]] - $SenderADAttributeContainsWords, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfCcHeaderMemberOf, - - [Parameter()] - [System.Object] - $ApplyHtmlDisclaimerText, - - [Parameter()] - [System.Boolean] - $ExceptIfAttachmentHasExecutableContent, - - [Parameter()] - [System.Boolean] - $ExceptIfAttachmentIsUnsupported, - - [Parameter()] - [System.Boolean] - $RemoveOME, - - [Parameter()] - [System.Object] - $RejectMessageReasonText, - - [Parameter()] - [System.Object[]] - $RecipientAddressContainsWords, - - [Parameter()] - [System.Object] - $GenerateIncidentReport, - - [Parameter()] - [System.Object[]] - $FromAddressContainsWords, - - [Parameter()] - [System.Boolean] - $RemoveRMSAttachmentEncryption, - - [Parameter()] - [System.Object[]] - $RecipientAddressMatchesPatterns, - - [Parameter()] - [System.Object[]] - $ExceptIfSubjectContainsWords, - - [Parameter()] - [System.Object[]] - $ExceptIfFrom, - - [Parameter()] - [System.Object[]] - $AnyOfToCcHeader, - - [Parameter()] - [System.Object] - $ExceptIfSentToScope, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToCcHeaderMemberOf, - - [Parameter()] - [System.Boolean] - $ModerateMessageByManager, - - [Parameter()] - [System.Object] - $AdComparisonOperator, - - [Parameter()] - [System.Object] - $MessageSizeOver, - - [Parameter()] - [System.Object[]] - $BetweenMemberOf2, - - [Parameter()] - [System.Object[]] - $SubjectMatchesPatterns, - - [Parameter()] - [System.Boolean] - $AttachmentProcessingLimitExceeded, - - [Parameter()] - [System.Object[]] - $ExceptIfSubjectMatchesPatterns, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientAddressContainsWords, - - [Parameter()] - [System.Object] - $HeaderMatchesMessageHeader, - - [Parameter()] - [System.Object[]] - $AnyOfRecipientAddressContainsWords, - - [Parameter()] - [System.Object[]] - $HeaderContainsWords, - - [Parameter()] - [System.String] - $Comments, - - [Parameter()] - [System.Object[]] - $SentToMemberOf, - - [Parameter()] - [System.Object] - $ExceptIfAdComparisonAttribute, - - [Parameter()] - [System.Object[]] - $ExceptIfSentTo, - - [Parameter()] - [System.Object] - $ExceptIfAdComparisonOperator, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToHeaderMemberOf, - - [Parameter()] - [System.Object] - $Mode, - - [Parameter()] - [System.Object[]] - $RecipientInSenderList, - - [Parameter()] - [System.Object[]] - $SubjectOrBodyMatchesPatterns, - - [Parameter()] - [System.Object[]] - $ExceptIfAttachmentExtensionMatchesWords, - - [Parameter()] - [System.Object[]] - $ExceptIfSubjectOrBodyMatchesPatterns, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Boolean] - $ExceptIfHasNoClassification, - - [Parameter()] - [System.Object] - $ExceptIfSenderIpRanges, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientADAttributeMatchesPatterns, - - [Parameter()] - [System.Object[]] - $RecipientADAttributeContainsWords, - - [Parameter()] - [System.Boolean] - $AttachmentIsUnsupported, - - [Parameter()] - [System.Object] - $ExpiryDate, - - [Parameter()] - [System.Object[]] - $AttachmentExtensionMatchesWords, - - [Parameter()] - [System.Object[]] - $ExceptIfSubjectOrBodyContainsWords, - - [Parameter()] - [System.Object] - $LogEventText, - - [Parameter()] - [System.Object[]] - $ExceptIfManagerAddresses, - - [Parameter()] - [System.Object[]] - $SenderInRecipientList, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToCcHeader, - - [Parameter()] - [System.Object[]] - $AttachmentMatchesPatterns, - - [Parameter()] - [System.String] - $DlpPolicy, - - [Parameter()] - [System.Object[]] - $ManagerAddresses, - - [Parameter()] - [System.Object] - $SenderAddressLocation, - - [Parameter()] - [System.Object[]] - $CopyTo, - - [Parameter()] - [System.Object[]] - $SubjectOrBodyContainsWords, - - [Parameter()] - [System.String] - $ApplyClassification, - - [Parameter()] - [System.Object[]] - $RecipientADAttributeMatchesPatterns, - - [Parameter()] - [System.Object] - $SetHeaderValue, - - [Parameter()] - [System.Boolean] - $AttachmentIsPasswordProtected, - - [Parameter()] - [System.Object[]] - $BetweenMemberOf1, - - [Parameter()] - [System.Object] - $ExceptIfMessageSizeOver, - - [Parameter()] - [System.Object[]] - $AnyOfCcHeader, - - [Parameter()] - [System.Boolean] - $ExceptIfAttachmentProcessingLimitExceeded, - - [Parameter()] - [System.Object[]] - $FromAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfHeaderMatchesMessageHeader, - - [Parameter()] - [System.Object] - $SmtpRejectMessageRejectText, - - [Parameter()] - [System.Object[]] - $ExceptIfAttachmentContainsWords, - - [Parameter()] - [System.Object[]] - $AnyOfToHeader, - - [Parameter()] - [System.Boolean] - $ExceptIfHasSenderOverride, - - [Parameter()] - [System.Object] - $SCLOver, - - [Parameter()] - [System.Object] - $PrependSubject, - - [Parameter()] - [System.Object] - $ApplyRightsProtectionTemplate, - - [Parameter()] - [System.Object] - $MessageTypeMatches, - - [Parameter()] - [System.Object[]] - $ExceptIfAttachmentPropertyContainsWords, - - [Parameter()] - [System.Boolean] - $StopRuleProcessing, - - [Parameter()] - [System.Object] - $ExceptIfHeaderContainsMessageHeader - ) -} -function Set-UnifiedGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $EmailAddresses, - - [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromSendersOrMembers, - - [Parameter()] - [System.String] - $CustomAttribute12, - - [Parameter()] - [System.String] - $CustomAttribute10, - - [Parameter()] - [System.Globalization.CultureInfo] - $Language, - - [Parameter()] - [System.Object] - $IsMemberAllowedToEditContent, - - [Parameter()] - [System.String] - $CustomAttribute8, - - [Parameter()] - [System.String] - $CustomAttribute5, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UnifiedGroupWelcomeMessageEnabled, - - [Parameter()] - [System.String] - $MailTip, - - [Parameter()] - [System.Object] - $ModeratedBy, - - [Parameter()] - [System.Object] - $PrimarySmtpAddress, - - [Parameter()] - [System.String] - $Classification, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AutoSubscribeNewMembers, - - [Parameter()] - [System.Object] - $AuditLogAgeLimit, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $HiddenFromExchangeClientsEnabled, - - [Parameter()] - [System.Object] - $MaxReceiveSize, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute5, - - [Parameter()] - [System.String] - $CustomAttribute15, - - [Parameter()] - [System.Object] - $RejectMessagesFromSendersOrMembers, - - [Parameter()] - [System.String] - $Alias, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $CustomAttribute1, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SubscriptionEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceUpgrade, - - [Parameter()] - [System.Object] - $AccessType, - - [Parameter()] - [System.String] - $MailboxRegion, - - [Parameter()] - [System.Object] - $GrantSendOnBehalfTo, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute1, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [System.String] - $CustomAttribute14, - - [Parameter()] - [System.Boolean] - $RequireSenderAuthenticationEnabled, - - [Parameter()] - [System.String] - $CustomAttribute9, - - [Parameter()] - [System.String] - $CustomAttribute6, - - [Parameter()] - [System.Object] - $DataEncryptionPolicy, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute4, - - [Parameter()] - [System.Object] - $SensitivityLabelId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AlwaysSubscribeMembersToCalendarEvents, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute2, - - [Parameter()] - [System.String] - $CustomAttribute13, - - [Parameter()] - [System.String] - $CustomAttribute2, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $CalendarMemberReadOnly, - - [Parameter()] - [System.Object] - $InformationBarrierMode, - - [Parameter()] - [System.Object] - $MaxSendSize, - - [Parameter()] - [System.Object] - $MailTipTranslations, - - [Parameter()] - [System.String] - $CustomAttribute7, - - [Parameter()] - [System.String] - $CustomAttribute4, - - [Parameter()] - [System.Object] - $ExtensionCustomAttribute3, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ConnectorsEnabled, - - [Parameter()] - [System.Boolean] - $ModerationEnabled, - - [Parameter()] - [System.String] - $CustomAttribute3, - - [Parameter()] - [System.String] - $CustomAttribute11, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $HiddenFromAddressListsEnabled - ) -} - -function Set-UnifiedAuditLogRetentionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.UInt32] - $Priority, - - [Parameter()] - [System.String] - $RetentionDuration, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String[]] - $Operations, - - [Parameter()] - [System.String[]] - $RecordTypes, - - [Parameter()] - [System.String[]] - $UserIds - ) -} - -function Set-User -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $MailboxRegion, - - [Parameter()] - [System.Boolean] - $IsShadowMailbox, - - [Parameter()] - [System.String] - $Phone, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String] - $Office, - - [Parameter()] - [System.Object] - $CountryOrRegion, - - [Parameter()] - [System.Object] - $AuthenticationPolicy, - - [Parameter()] - [System.Object] - $OtherTelephone, - - [Parameter()] - [System.String] - $Pager, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $PhoneticDisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ClearDataEncryptionPolicy, - - [Parameter()] - [System.String] - $Fax, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Object] - $ManagedOnboardingType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RemoveMailboxProvisioningConstraint, - - [Parameter()] - [System.Boolean] - $ResetPasswordOnNextLogon, - - [Parameter()] - [System.Boolean] - $BlockCloudCache, - - [Parameter()] - [System.Object] - $SeniorityIndex, - - [Parameter()] - [System.String] - $City, - - [Parameter()] - [System.Boolean] - $VIP, - - [Parameter()] - [System.String] - $Title, - - [Parameter()] - [System.String] - $MobilePhone, - - [Parameter()] - [System.String] - $AssistantName, - - [Parameter()] - [System.String] - $Company, - - [Parameter()] - [System.String] - $StateOrProvince, - - [Parameter()] - [System.String] - $Initials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $WebPage, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [System.String] - $LastName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PermanentlyClearPreviousMailboxInfo, - - [Parameter()] - [System.Object] - $Manager, - - [Parameter()] - [System.Object] - $StsRefreshTokensValidFrom, - - [Parameter()] - [System.Object] - $OtherFax, - - [Parameter()] - [System.String] - $SimpleDisplayName, - - [Parameter()] - [System.Object] - $MailboxRegionSuffix, - - [Parameter()] - [System.String] - $HomePhone, - - [Parameter()] - [System.String] - $Department, - - [Parameter()] - [System.String] - $FirstName, - - [Parameter()] - [System.Object] - $PostOfficeBox, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolder, - - [Parameter()] - [System.Object] - $WindowsEmailAddress, - - [Parameter()] - [System.String] - $StreetAddress, - - [Parameter()] - [System.Boolean] - $RemotePowerShellEnabled, - - [Parameter()] - [System.String] - $PostalCode, - - [Parameter()] - [System.Object] - $GeoCoordinates, - - [Parameter()] - [System.Object] - $OtherHomePhone, - - [Parameter()] - [System.Object] - $DesiredWorkloads, - - [Parameter()] - [System.Boolean] - $CanHaveCloudCache - ) -} -function Update-RoleGroupMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BypassSecurityGroupManagerCheck, - - [Parameter()] - [System.Object] - $Members - ) -} -#endregion - -#region Microsoft.Graph.Applications -function Get-MgApplication -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgApplicationOwner -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgServicePrincipal -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $ServicePrincipalId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgServicePrincipalAppRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AppRoleAssignmentId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $ServicePrincipalId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgApplication -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $OptionalClaims, - - [Parameter()] - [PSObject] - $HomeRealmDiscoveryPolicies, - - [Parameter()] - [PSObject] - $Spa, - - [Parameter()] - [PSObject] - $Synchronization, - - [Parameter()] - [System.String] - $DefaultRedirectUri, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $ApplicationTemplateId, - - [Parameter()] - [System.String] - $SignInAudience, - - [Parameter()] - [PSObject] - $VerifiedPublisher, - - [Parameter()] - [System.String[]] - $IdentifierUris, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDeviceOnlyAuthSupported, - - [Parameter()] - [System.String] - $TokenEncryptionKeyId, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $TokenIssuancePolicies, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $Api, - - [Parameter()] - [System.String] - $PublisherDomain, - - [Parameter()] - [System.String] - $GroupMembershipClaims, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String[]] - $Tags, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [PSObject] - $FederatedIdentityCredentials, - - [Parameter()] - [PSObject] - $TokenLifetimePolicies, - - [Parameter()] - [PSObject] - $AppManagementPolicies, - - [Parameter()] - [System.String] - $DisabledByMicrosoftStatus, - - [Parameter()] - [PSObject] - $PasswordCredentials, - - [Parameter()] - [PSObject] - $PublicClient, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Oauth2RequirePostResponse, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [PSObject] - $RequiredResourceAccess, - - [Parameter()] - [PSObject] - $ParentalControlSettings, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsFallbackPublicClient, - - [Parameter()] - [PSObject] - $AddIns, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [PSObject] - $RequestSignatureVerification, - - [Parameter()] - [System.String] - $LogoInputFile, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $AppRoles, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ExtensionProperties, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $CreatedOnBehalfOf, - - [Parameter()] - [System.String] - $ServiceManagementReference, - - [Parameter()] - [PSObject] - $KeyCredentials, - - [Parameter()] - [PSObject] - $Certification, - - [Parameter()] - [System.String] - $SamlMetadataUrl, - - [Parameter()] - [PSObject] - $Info, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $AppId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgApplicationOwnerByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgServicePrincipal -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $ServicePrincipalNames, - - [Parameter()] - [System.String[]] - $AlternativeNames, - - [Parameter()] - [System.String] - $AppDescription, - - [Parameter()] - [PSObject] - $HomeRealmDiscoveryPolicies, - - [Parameter()] - [PSObject] - $Oauth2PermissionScopes, - - [Parameter()] - [PSObject] - $Synchronization, - - [Parameter()] - [PSObject] - $AppRoleAssignments, - - [Parameter()] - [System.String] - $ApplicationTemplateId, - - [Parameter()] - [System.String] - $SignInAudience, - - [Parameter()] - [PSObject] - $VerifiedPublisher, - - [Parameter()] - [System.String[]] - $NotificationEmailAddresses, - - [Parameter()] - [PSObject] - $ClaimsMappingPolicies, - - [Parameter()] - [System.String] - $TokenEncryptionKeyId, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $TokenIssuancePolicies, - - [Parameter()] - [System.String] - $PreferredTokenSigningKeyThumbprint, - - [Parameter()] - [System.String] - $AppDisplayName, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $AppRoleAssignedTo, - - [Parameter()] - [System.String] - $Homepage, - - [Parameter()] - [System.String] - $ServicePrincipalType, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $SamlSingleSignOnSettings, - - [Parameter()] - [System.String[]] - $Tags, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [PSObject] - $OwnedObjects, - - [Parameter()] - [PSObject] - $FederatedIdentityCredentials, - - [Parameter()] - [System.String] - $LoginUrl, - - [Parameter()] - [PSObject] - $TokenLifetimePolicies, - - [Parameter()] - [PSObject] - $AppManagementPolicies, - - [Parameter()] - [PSObject] - $CreatedObjects, - - [Parameter()] - [System.String] - $DisabledByMicrosoftStatus, - - [Parameter()] - [PSObject] - $DelegatedPermissionClassifications, - - [Parameter()] - [System.Collections.Hashtable] - $CustomSecurityAttributes, - - [Parameter()] - [PSObject] - $PasswordCredentials, - - [Parameter()] - [PSObject] - $MemberOf, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [PSObject] - $Endpoints, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $AppOwnerOrganizationId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $TransitiveMemberOf, - - [Parameter()] - [PSObject] - $AppRoles, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $ReplyUrls, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AppRoleAssignmentRequired, - - [Parameter()] - [PSObject] - $KeyCredentials, - - [Parameter()] - [PSObject] - $Oauth2PermissionGrants, - - [Parameter()] - [PSObject] - $ResourceSpecificApplicationPermissions, - - [Parameter()] - [PSObject] - $AddIns, - - [Parameter()] - [PSObject] - $Info, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AccountEnabled, - - [Parameter()] - [System.String] - $PreferredSingleSignOnMode, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $AppId, - - [Parameter()] - [System.String] - $LogoutUrl, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgApplication -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgApplicationOwnerDirectoryObjectByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgServicePrincipal -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ServicePrincipalId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgApplication -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $OptionalClaims, - - [Parameter()] - [PSObject] - $HomeRealmDiscoveryPolicies, - - [Parameter()] - [PSObject] - $Spa, - - [Parameter()] - [System.String[]] - $Tags, - - [Parameter()] - [System.String] - $DefaultRedirectUri, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $ApplicationTemplateId, - - [Parameter()] - [System.String] - $SignInAudience, - - [Parameter()] - [PSObject] - $VerifiedPublisher, - - [Parameter()] - [System.String[]] - $IdentifierUris, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDeviceOnlyAuthSupported, - - [Parameter()] - [System.String] - $TokenEncryptionKeyId, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $TokenIssuancePolicies, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $Api, - - [Parameter()] - [System.String] - $PublisherDomain, - - [Parameter()] - [System.String] - $GroupMembershipClaims, - - [Parameter()] - [System.String] - $SamlMetadataUrl, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [PSObject] - $FederatedIdentityCredentials, - - [Parameter()] - [PSObject] - $TokenLifetimePolicies, - - [Parameter()] - [PSObject] - $AppManagementPolicies, - - [Parameter()] - [System.String] - $DisabledByMicrosoftStatus, - - [Parameter()] - [PSObject] - $PasswordCredentials, - - [Parameter()] - [PSObject] - $PublicClient, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Oauth2RequirePostResponse, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [PSObject] - $RequiredResourceAccess, - - [Parameter()] - [PSObject] - $ParentalControlSettings, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsFallbackPublicClient, - - [Parameter()] - [PSObject] - $Synchronization, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [PSObject] - $RequestSignatureVerification, - - [Parameter()] - [System.String] - $LogoInputFile, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [PSObject] - $AppRoles, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ExtensionProperties, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $CreatedOnBehalfOf, - - [Parameter()] - [System.String] - $ServiceManagementReference, - - [Parameter()] - [PSObject] - $KeyCredentials, - - [Parameter()] - [PSObject] - $Certification, - - [Parameter()] - [PSObject] - $AddIns, - - [Parameter()] - [PSObject] - $Info, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $AppId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgServicePrincipal -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $ServicePrincipalNames, - - [Parameter()] - [System.String[]] - $AlternativeNames, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $AppDescription, - - [Parameter()] - [PSObject] - $HomeRealmDiscoveryPolicies, - - [Parameter()] - [PSObject] - $Oauth2PermissionScopes, - - [Parameter()] - [PSObject] - $Synchronization, - - [Parameter()] - [PSObject] - $AppRoleAssignments, - - [Parameter()] - [System.String] - $ServicePrincipalId, - - [Parameter()] - [System.String] - $ApplicationTemplateId, - - [Parameter()] - [System.String] - $SignInAudience, - - [Parameter()] - [PSObject] - $VerifiedPublisher, - - [Parameter()] - [System.String[]] - $NotificationEmailAddresses, - - [Parameter()] - [PSObject] - $ClaimsMappingPolicies, - - [Parameter()] - [System.String] - $TokenEncryptionKeyId, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $TokenIssuancePolicies, - - [Parameter()] - [System.String] - $PreferredTokenSigningKeyThumbprint, - - [Parameter()] - [System.String] - $AppDisplayName, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $AppRoleAssignedTo, - - [Parameter()] - [System.String] - $Homepage, - - [Parameter()] - [System.String] - $ServicePrincipalType, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $SamlSingleSignOnSettings, - - [Parameter()] - [System.String[]] - $Tags, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $OwnedObjects, - - [Parameter()] - [PSObject] - $FederatedIdentityCredentials, - - [Parameter()] - [System.String] - $LoginUrl, - - [Parameter()] - [PSObject] - $TokenLifetimePolicies, - - [Parameter()] - [PSObject] - $AppManagementPolicies, - - [Parameter()] - [PSObject] - $CreatedObjects, - - [Parameter()] - [System.String] - $DisabledByMicrosoftStatus, - - [Parameter()] - [PSObject] - $DelegatedPermissionClassifications, - - [Parameter()] - [System.Collections.Hashtable] - $CustomSecurityAttributes, - - [Parameter()] - [PSObject] - $PasswordCredentials, - - [Parameter()] - [PSObject] - $MemberOf, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [PSObject] - $Endpoints, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $AppOwnerOrganizationId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $TransitiveMemberOf, - - [Parameter()] - [PSObject] - $AppRoles, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $ReplyUrls, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AppRoleAssignmentRequired, - - [Parameter()] - [PSObject] - $KeyCredentials, - - [Parameter()] - [PSObject] - $Oauth2PermissionGrants, - - [Parameter()] - [PSObject] - $ResourceSpecificApplicationPermissions, - - [Parameter()] - [PSObject] - $AddIns, - - [Parameter()] - [PSObject] - $Info, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AccountEnabled, - - [Parameter()] - [System.String] - $PreferredSingleSignOnMode, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $AppId, - - [Parameter()] - [System.String] - $LogoutUrl, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -#endregion -#region Microsoft.Graph.Authentication -function Connect-MgGraph -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.Security.Cryptography.X509Certificates.X509Certificate2] - $Certificate, - - [Parameter()] - [System.String[]] - $Scopes, - - [Parameter()] - [System.String] - $ClientId, - - [Parameter()] - [System.Security.SecureString] - $AccessToken, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnvironmentVariable, - - [Parameter()] - [System.String] - $CertificateSubjectName, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ClientSecretCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseDeviceCode, - - [Parameter()] - [System.Double] - $ClientTimeout, - - [Parameter()] - [System.String] - $CertificateThumbprint, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $Environment, - - [Parameter()] - [PSObject] - $ContextScope - ) -} -function Get-MgContext -{ - [CmdletBinding()] - param( - - ) -} -function Invoke-MgGraphRequest -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $InputFilePath, - - [Parameter()] - [System.String] - $StatusCodeVariable, - - [Parameter()] - [PSObject] - $OutputType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipHttpErrorCheck, - - [Parameter()] - [System.String] - $UserAgent, - - [Parameter()] - [System.String] - $ContentType, - - [Parameter()] - [System.Uri] - $Uri, - - [Parameter()] - [PSObject] - $GraphRequestSession, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $InferOutputFileName, - - [Parameter()] - [System.String] - $OutputFilePath, - - [Parameter()] - [PSObject] - $Method, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.Object] - $Body, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipHeaderValidation, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $SessionVariable, - - [Parameter()] - [System.Collections.IDictionary] - $Headers - ) -} - -function New-MgBetaIdentityCustomAuthenticationExtension -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Collections.Hashtable] - $EndpointConfiguration, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AuthenticationConfiguration, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $ClientConfiguration, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaIdentityCustomAuthenticationExtension -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Collections.Hashtable] - $EndpointConfiguration, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AuthenticationConfiguration, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $ClientConfiguration, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CustomAuthenticationExtensionId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaIdentityCustomAuthenticationExtension -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $CustomAuthenticationExtensionId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaIdentityCustomAuthenticationExtension -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $CustomAuthenticationExtensionId, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -#endregion - -#region Microsoft.Graph.Beta.DeviceManagement -function Get-MgBetaDeviceManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} - -function Get-MgBetaDeviceManagementAndroidManagedStoreAccountEnterpriseSetting { - [CmdletBinding()] - param ( - [Parameter()] - [System.String] - $AndroidManagedStoreAccountEnterpriseSettingsId, - - [Parameter()] - [System.String] - $BindStatus, - - [Parameter()] - [System.String] - $OwnerUserPrincipalName, - - [Parameter()] - [System.String] - $OwnerOrganizationName, - - [Parameter()] - [System.String] - $EnrollmentTarget, - - [Parameter()] - [System.Boolean] - $DeviceOwnerManagementEnabled, - - [Parameter()] - [System.Boolean] - $AndroidDeviceOwnerFullyManagedEnrollmentEnabled, - - [Parameter()] - [ValidateSet('Present', 'Absent')] - [System.String] - $Ensure = 'Present' - ) -} - -function Get-MgBetaDeviceManagementAssignmentFilter -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $DeviceAndAppManagementAssignmentFilterId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementConfigurationPolicyAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyId, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyAssignmentId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementConfigurationPolicySetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationSettingId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyId, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementConfigurationPolicyTemplate -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyTemplateId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementConfigurationPolicyTemplateSettingTemplate -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DeviceManagementConfigurationSettingTemplateId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyTemplateId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementDataSharingConsent { - [CmdletBinding()] - param ( - [Parameter()] - [System.String] - $DataSharingConsentId, - - [Parameter()] - [System.Boolean] - $Granted - ) -} -function Get-MgBetaDeviceManagementDeviceCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $DeviceCategoryId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementDeviceCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $DeviceCompliancePolicyId - ) -} -function Get-MgBetaDeviceManagementDeviceCompliancePolicyAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DeviceCompliancePolicyAssignmentId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $DeviceCompliancePolicyId - ) -} -function Get-MgBetaDeviceManagementDeviceConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $DeviceConfigurationId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementDeviceConfigurationAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $DeviceConfigurationId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $DeviceConfigurationAssignmentId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementGroupPolicyConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementGroupPolicyConfigurationAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationAssignmentId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} - -function New-MgBetaDeviceManagementDerivedCredential { - - [CmdletBinding()] - param ( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $HelpUrl, - - [Parameter()] - [ValidateSet('intercede', 'entrustData', 'purebred')] - [System.String] - $Issuer, - - [Parameter()] - [ValidateSet('none', 'email', 'companyPortal')] - [System.String] - $NotificationType = 'none' - ) -} - -function Get-MgBetaDeviceManagementDerivedCredential { - [CmdletBinding()] - param ( - [Parameter()] - [System.String] - $DeviceManagementDerivedCredentialSettingsId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $HelpUrl, - - [Parameter()] - [ValidateSet('intercede', 'entrustData', 'purebred')] - [System.String] - $Issuer, - - [Parameter()] - [ValidateSet('none', 'email', 'companyPortal')] - [System.String] - $NotificationType = 'none' - ) -} - -function Remove-MgBetaDeviceManagementAndroidManagedStoreAccountEnterpriseSetting { - [CmdletBinding()] - param ( - [Parameter(Mandatory = $true)] - [System.String] - $AndroidManagedStoreAccountEnterpriseSettingsId, - - [Parameter()] - [System.Boolean] - $Confirm = $true - ) -} - -function Remove-MgBetaDeviceManagementDerivedCredential -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DeviceManagementDerivedCredentialSettingsId, - - [Parameter()] - [System.Boolean] - $Confirm - ) -} - -function New-MgBetaDeviceAppManagementMobileApp { - [CmdletBinding()] - param ( - [Parameter()] - [System.String] - $DeviceManagementDerivedCredentialSettingsId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Developer, - - [Parameter()] - [System.String] - $InformationUrl, - - [Parameter()] - [System.Boolean] - $IsFeatured, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [System.String] - $Owner, - - [Parameter()] - [System.String] - $PrivacyInformationUrl, - - [Parameter()] - [System.String] - $Publisher, - - [Parameter()] - [System.String] - [ValidateSet('notPublished', 'processing','published')] - $PublishingState, - - [Parameter()] - [Microsoft.Management.Infrastructure.CimInstance[]] - $Categories, - - [Parameter()] - [Microsoft.Management.Infrastructure.CimInstance[]] - $Assignments, - - [Parameter()] - [Microsoft.Management.Infrastructure.CimInstance[]] - $ChildApps, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds - ) -} - -function Get-MgBetaDeviceAppManagementMobileApp { - [CmdletBinding()] - param ( - [Parameter()] - [System.String] - $MobileAppId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Developer, - - [Parameter()] - [System.String] - $InformationUrl, - - [Parameter()] - [System.Boolean] - $IsFeatured, - - [Parameter()] - [System.Boolean] - $IgnoreVersionDetection, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [System.String] - $Owner, - - [Parameter()] - [System.String] - $PrivacyInformationUrl, - - [Parameter()] - [System.String] - $Publisher, - - [Parameter()] - [System.String] - [ValidateSet('notPublished', 'processing','published')] - $PublishingState, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds - ) -} -function Update-MgBetaDeviceAppManagementMobileApp { - [CmdletBinding()] - param ( - [Parameter()] - [System.String] - $MobileAppId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Developer, - - [Parameter()] - [System.String] - $InformationUrl, - - [Parameter()] - [System.Boolean] - $IsFeatured, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [System.String] - $Owner, - - [Parameter()] - [System.String] - $PrivacyInformationUrl, - - [Parameter()] - [System.String] - $Publisher, - - [Parameter()] - [System.String] - [ValidateSet('notPublished', 'processing','published')] - $PublishingState, - - [Parameter()] - [System.Object[]] - $Categories, - - [Parameter()] - [System.Object[]] - $Assignments, - - [Parameter()] - [System.Object[]] - $ChildApps, - - [Parameter()] - [System.Object[]] - $RoleScopeTagIds - ) -} - -function Remove-MgBetaDeviceAppManagementMobileApp { - [CmdletBinding()] - param ( - [Parameter()] - [System.String] - $MobileAppId, - - [Parameter()] - [System.Boolean] - $Confirm - ) -} - -function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValue -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $GroupPolicyDefinitionValueId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValueDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $GroupPolicyDefinitionValueId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValuePresentationValue -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $GroupPolicyDefinitionValueId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $GroupPolicyPresentationValueId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementIntent -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DeviceManagementIntentId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementIntentAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DeviceManagementIntentAssignmentId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $DeviceManagementIntentId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementIntentSetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DeviceManagementSettingInstanceId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DeviceManagementIntentId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementTemplate -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceManagementTemplateId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementTemplateCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceManagementTemplateSettingCategoryId, - - [Parameter()] - [System.String] - $DeviceManagementTemplateId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementTemplateCategoryRecommendedSetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DeviceManagementSettingInstanceId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DeviceManagementTemplateSettingCategoryId, - - [Parameter()] - [System.String] - $DeviceManagementTemplateId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementAssignmentFilter -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $Payloads, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $RoleScopeTags, - - [Parameter()] - [System.String] - $Rule, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AssignmentFilterManagementType, - - [Parameter()] - [PSObject] - $Platform, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $PriorityMetaData, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $TemplateReference, - - [Parameter()] - [System.Int32] - $SettingCount, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $Platforms, - - [Parameter()] - [PSObject] - $Technologies, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $CreationSource, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementDeviceCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $BodyParameter - ) -} -function New-MgBetaDeviceManagementDeviceCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $UserStatuses, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $DeviceStatusOverview, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $UserStatusOverview, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [PSObject] - $DeviceStatuses, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $ScheduledActionsForRule, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $DeviceSettingStateSummaries, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementDeviceConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $UserStatuses, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $DeviceStatuses, - - [Parameter()] - [PSObject] - $DeviceStatusOverview, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $DeviceManagementApplicabilityRuleOSVersion, - - [Parameter()] - [PSObject] - $UserStatusOverview, - - [Parameter()] - [PSObject] - $GroupAssignments, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $DeviceSettingStateSummaries, - - [Parameter()] - [PSObject] - $DeviceManagementApplicabilityRuleDeviceMode, - - [Parameter()] - [PSObject] - $DeviceManagementApplicabilityRuleOSEdition, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementGroupPolicyConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $DefinitionValues, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $PolicyConfigurationIngestionType, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementIntent -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMigratingToConfigurationPolicy, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [PSObject] - $DeviceSettingStateSummaries, - - [Parameter()] - [PSObject] - $DeviceStates, - - [Parameter()] - [PSObject] - $Categories, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $DeviceStateSummary, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $UserStates, - - [Parameter()] - [PSObject] - $UserStateSummary, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementAssignmentFilter -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceAndAppManagementAssignmentFilterId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyId, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementDeviceCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DeviceCategoryId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaDeviceManagementDeviceCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $DeviceCompliancePolicyId, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementDeviceConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementGroupPolicyConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementIntent -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceManagementIntentId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $TermsAndConditions, - - [Parameter()] - [PSObject] - $AndroidForWorkSettings, - - [Parameter()] - [PSObject] - $MicrosoftTunnelHealthThresholds, - - [Parameter()] - [PSObject] - $RoleScopeTags, - - [Parameter()] - [PSObject] - $ExchangeConnectors, - - [Parameter()] - [PSObject] - $TroubleshootingEvents, - - [Parameter()] - [PSObject] - $PrivilegeManagementElevations, - - [Parameter()] - [PSObject] - $IntuneBrandingProfiles, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [PSObject] - $GroupPolicyObjectFiles, - - [Parameter()] - [PSObject] - $WindowsAutopilotDeploymentProfiles, - - [Parameter()] - [PSObject] - $ResourceOperations, - - [Parameter()] - [PSObject] - $ConfigManagerCollections, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthDevicePerformance, - - [Parameter()] - [PSObject] - $ZebraFotaConnector, - - [Parameter()] - [PSObject] - $VirtualEndpoint, - - [Parameter()] - [PSObject] - $ConfigurationCategories, - - [Parameter()] - [PSObject] - $ManagedDeviceEncryptionStates, - - [Parameter()] - [PSObject] - $MicrosoftTunnelSites, - - [Parameter()] - [PSObject] - $DeviceEnrollmentConfigurations, - - [Parameter()] - [PSObject] - $ExchangeOnPremisesPolicy, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthAppImpact, - - [Parameter()] - [PSObject] - $WindowsInformationProtectionAppLearningSummaries, - - [Parameter()] - [PSObject] - $AndroidDeviceOwnerEnrollmentProfiles, - - [Parameter()] - [PSObject] - $ReusableSettings, - - [Parameter()] - [PSObject] - $GroupPolicyMigrationReports, - - [Parameter()] - [PSObject] - $WindowsInformationProtectionNetworkLearningSummaries, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsMetricHistory, - - [Parameter()] - [PSObject] - $ZebraFotaArtifacts, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsWorkFromAnywhereMetrics, - - [Parameter()] - [PSObject] - $EmbeddedSimActivationCodePools, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsModelScores, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $CompliancePolicies, - - [Parameter()] - [PSObject] - $MobileThreatDefenseConnectors, - - [Parameter()] - [PSObject] - $ImportedWindowsAutopilotDeviceIdentities, - - [Parameter()] - [PSObject] - $DataProcessorServiceForWindowsFeaturesOnboarding, - - [Parameter()] - [PSObject] - $DeviceProtectionOverview, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceStartupHistory, - - [Parameter()] - [PSObject] - $DepOnboardingSettings, - - [Parameter()] - [PSObject] - $GroupPolicyDefinitionFiles, - - [Parameter()] - [PSObject] - $RoleAssignments, - - [Parameter()] - [PSObject] - $WindowsDriverUpdateProfiles, - - [Parameter()] - [PSObject] - $CartToClassAssociations, - - [Parameter()] - [PSObject] - $DeviceManagementScripts, - - [Parameter()] - [PSObject] - $SubscriptionState, - - [Parameter()] - [PSObject] - $WindowsMalwareInformation, - - [Parameter()] - [PSObject] - $GroupPolicyDefinitions, - - [Parameter()] - [PSObject] - $DetectedApps, - - [Parameter()] - [PSObject] - $AdvancedThreatProtectionOnboardingStateSummary, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceScopes, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBaselines, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsScoreHistory, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthApplicationPerformance, - - [Parameter()] - [System.DateTime] - $AccountMoveCompletionDateTime, - - [Parameter()] - [PSObject] - $Reports, - - [Parameter()] - [PSObject] - $ConfigurationPolicies, - - [Parameter()] - [PSObject] - $AndroidManagedStoreAccountEnterpriseSettings, - - [Parameter()] - [PSObject] - $DeviceConfigurations, - - [Parameter()] - [PSObject] - $RemoteAssistanceSettings, - - [Parameter()] - [PSObject] - $CertificateConnectorDetails, - - [Parameter()] - [PSObject] - $AuditEvents, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAnomaly, - - [Parameter()] - [PSObject] - $GroupPolicyConfigurations, - - [Parameter()] - [PSObject] - $ConnectorStatus, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthOverview, - - [Parameter()] - [PSObject] - $WindowsAutopilotSettings, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthDeviceAppImpact, - - [Parameter()] - [PSObject] - $ConfigurationPolicyTemplates, - - [Parameter()] - [PSObject] - $DeviceShellScripts, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceMetricHistory, - - [Parameter()] - [PSObject] - $RemoteAssistancePartners, - - [Parameter()] - [PSObject] - $ComplianceManagementPartners, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDevicesWithoutCloudIdentity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthCapacityDetails, - - [Parameter()] - [PSObject] - $ManagedDeviceOverview, - - [Parameter()] - [PSObject] - $TemplateInsights, - - [Parameter()] - [PSObject] - $GroupPolicyUploadedDefinitionFiles, - - [Parameter()] - [PSObject] - $DeviceManagementPartners, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAnomalyDevice, - - [Parameter()] - [PSObject] - $AndroidManagedStoreAppConfigurationSchemas, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsResourcePerformance, - - [Parameter()] - [PSObject] - $MacOSSoftwareUpdateAccountSummaries, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsWorkFromAnywhereModelPerformance, - - [Parameter()] - [PSObject] - $ComplianceCategories, - - [Parameter()] - [PSObject] - $DeviceConfigurationConflictSummary, - - [Parameter()] - [PSObject] - $TelecomExpenseManagementPartners, - - [Parameter()] - [PSObject] - $Templates, - - [Parameter()] - [PSObject] - $MicrosoftTunnelConfigurations, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $WindowsMalwareOverview, - - [Parameter()] - [PSObject] - $ResourceAccessProfiles, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory, - - [Parameter()] - [PSObject] - $Intents, - - [Parameter()] - [PSObject] - $WindowsFeatureUpdateProfiles, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthRuntimeDetails, - - [Parameter()] - [PSObject] - $ComplianceSettings, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceScores, - - [Parameter()] - [System.String] - $IntuneAccountId, - - [Parameter()] - [PSObject] - $ConditionalAccessSettings, - - [Parameter()] - [PSObject] - $IosUpdateStatuses, - - [Parameter()] - [PSObject] - $ZebraFotaDeployments, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAnomalyCorrelationGroupOverview, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsImpactingProcess, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAnomalySeverityOverview, - - [Parameter()] - [PSObject] - $DerivedCredentials, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthModelPerformance, - - [Parameter()] - [PSObject] - $DeviceCompliancePolicies, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $AndroidForWorkAppConfigurationSchemas, - - [Parameter()] - [PSObject] - $AdminConsent, - - [Parameter()] - [PSObject] - $SettingDefinitions, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsSettings, - - [Parameter()] - [PSObject] - $ManagedDevices, - - [Parameter()] - [PSObject] - $AppleUserInitiatedEnrollmentProfiles, - - [Parameter()] - [PSObject] - $DeviceConfigurationDeviceStateSummaries, - - [Parameter()] - [PSObject] - $ServiceNowConnections, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric, - - [Parameter()] - [PSObject] - $ReusablePolicySettings, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsRemoteConnection, - - [Parameter()] - [PSObject] - $ConfigurationSettings, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceScope, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsCategories, - - [Parameter()] - [PSObject] - $DeviceConfigurationRestrictedAppsViolations, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceStartupProcesses, - - [Parameter()] - [PSObject] - $ExchangeOnPremisesPolicies, - - [Parameter()] - [PSObject] - $MobileAppTroubleshootingEvents, - - [Parameter()] - [PSObject] - $RoleDefinitions, - - [Parameter()] - [PSObject] - $CloudPcConnectivityIssues, - - [Parameter()] - [PSObject] - $ApplePushNotificationCertificate, - - [Parameter()] - [PSObject] - $DeviceCategories, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion, - - [Parameter()] - [PSObject] - $DeviceCompliancePolicySettingStateSummaries, - - [Parameter()] - [System.Collections.Hashtable] - $TenantAttachRbac, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $AndroidForWorkEnrollmentProfiles, - - [Parameter()] - [PSObject] - $ComanagementEligibleDevices, - - [Parameter()] - [PSObject] - $NotificationMessageTemplates, - - [Parameter()] - [PSObject] - $IntuneBrand, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsOverview, - - [Parameter()] - [PSObject] - $TemplateSettings, - - [Parameter()] - [PSObject] - $RemoteActionAudits, - - [Parameter()] - [PSObject] - $WindowsUpdateCatalogItems, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthDevicePerformanceDetails, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsNotAutopilotReadyDevice, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthOSVersionPerformance, - - [Parameter()] - [PSObject] - $Monitoring, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $DeviceHealthScripts, - - [Parameter()] - [PSObject] - $AutopilotEvents, - - [Parameter()] - [PSObject] - $GroupPolicyCategories, - - [Parameter()] - [PSObject] - $DeviceConfigurationUserStateSummaries, - - [Parameter()] - [PSObject] - $DeviceConfigurationsAllManagedDeviceCertificateStates, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthDevicePerformance, - - [Parameter()] - [PSObject] - $DeviceCustomAttributeShellScripts, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthDeviceModelPerformance, - - [Parameter()] - [PSObject] - $ImportedDeviceIdentities, - - [Parameter()] - [System.Int32] - $MaximumDepTokens, - - [Parameter()] - [PSObject] - $SoftwareUpdateStatusSummary, - - [Parameter()] - [PSObject] - $WindowsQualityUpdateProfiles, - - [Parameter()] - [PSObject] - $AssignmentFilters, - - [Parameter()] - [PSObject] - $NdesConnectors, - - [Parameter()] - [PSObject] - $MicrosoftTunnelServerLogCollectionResponses, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthOSPerformance, - - [Parameter()] - [PSObject] - $UserPfxCertificates, - - [Parameter()] - [PSObject] - $WindowsAutopilotDeviceIdentities, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceStartupProcessPerformance, - - [Parameter()] - [PSObject] - $ChromeOSOnboardingSettings, - - [Parameter()] - [PSObject] - $DomainJoinConnectors, - - [Parameter()] - [PSObject] - $Categories, - - [Parameter()] - [PSObject] - $ComanagedDevices, - - [Parameter()] - [PSObject] - $DeviceCompliancePolicyDeviceStateSummary, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDevicePerformance, - - [Parameter()] - [PSObject] - $DeviceComplianceScripts, - - [Parameter()] - [PSObject] - $Subscriptions, - - [Parameter()] - [PSObject] - $ManagedDeviceCleanupSettings, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceTimelineEvent, - - [Parameter()] - [PSObject] - $DataSharingConsents - ) -} -function Update-MgBetaDeviceManagementAssignmentFilter -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $Payloads, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $RoleScopeTags, - - [Parameter()] - [System.String] - $Rule, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AssignmentFilterManagementType, - - [Parameter()] - [PSObject] - $Platform, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $DeviceAndAppManagementAssignmentFilterId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $TemplateReference, - - [Parameter()] - [System.Int32] - $SettingCount, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $Technologies, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [PSObject] - $Platforms, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $PriorityMetaData, - - [Parameter()] - [System.String] - $CreationSource, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementDeviceCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $DeviceCategoryId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementDeviceCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $UserStatuses, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $DeviceCompliancePolicyId, - - [Parameter()] - [PSObject] - $DeviceStatusOverview, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $UserStatusOverview, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [PSObject] - $DeviceStatuses, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $ScheduledActionsForRule, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $DeviceSettingStateSummaries, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementDeviceConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $UserStatuses, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $DeviceStatuses, - - [Parameter()] - [PSObject] - $DeviceStatusOverview, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $DeviceManagementApplicabilityRuleOSVersion, - - [Parameter()] - [PSObject] - $UserStatusOverview, - - [Parameter()] - [PSObject] - $GroupAssignments, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [PSObject] - $DeviceSettingStateSummaries, - - [Parameter()] - [System.String] - $DeviceConfigurationId, - - [Parameter()] - [PSObject] - $DeviceManagementApplicabilityRuleOSEdition, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $DeviceManagementApplicabilityRuleDeviceMode, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementGroupPolicyConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $DefinitionValues, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $PolicyConfigurationIngestionType, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementIntent -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMigratingToConfigurationPolicy, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [PSObject] - $DeviceSettingStateSummaries, - - [Parameter()] - [PSObject] - $DeviceStates, - - [Parameter()] - [PSObject] - $Categories, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $DeviceManagementIntentId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $UserStates, - - [Parameter()] - [PSObject] - $UserStateSummary, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $DeviceStateSummary, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementIntentSetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DeviceManagementSettingInstanceId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $ValueJson, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DeviceManagementIntentId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $DefinitionId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Beta.Devices.CorporateManagement -function Get-MgBetaDeviceAppManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaDeviceAppManagementAndroidManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $AndroidManagedAppProtectionId, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceAppManagementiOSManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $IosManagedAppProtectionId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceAppManagementiOSManagedAppProtectionApp -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $IosManagedAppProtectionId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ManagedMobileAppId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $MdmWindowsInformationProtectionPolicyId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceAppManagementTargetedManagedAppConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $TargetedManagedAppConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceAppManagementTargetedManagedAppConfigurationAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $TargetedManagedAppPolicyAssignmentId, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $TargetedManagedAppConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Invoke-MgBetaTargetDeviceAppManagementTargetedManagedAppConfigurationApp -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $TargetedManagedAppConfigurationId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaDeviceAppManagementAndroidManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AppActionIfDevicePasscodeComplexityLessThanHigh, - - [Parameter()] - [PSObject] - $MaximumAllowedDeviceThreatLevel, - - [Parameter()] - [System.String] - $CustomBrowserDisplayName, - - [Parameter()] - [System.String] - $MinimumRequiredPatchVersion, - - [Parameter()] - [PSObject] - $AppActionIfAndroidDeviceModelNotAllowed, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableAppEncryptionIfDeviceEncryptionIsEnabled, - - [Parameter()] - [PSObject] - $MobileThreatDefensePartnerPriority, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String[]] - $AllowedAndroidDeviceModels, - - [Parameter()] - [PSObject] - $ManagedBrowser, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.TimeSpan] - $PeriodOnlineBeforeAccessCheck, - - [Parameter()] - [System.Int32] - $PreviousPinBlockCount, - - [Parameter()] - [System.String] - $MaximumWarningOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ContactSyncBlocked, - - [Parameter()] - [System.String] - $MinimumWarningCompanyPortalVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RequireClass3Biometrics, - - [Parameter()] - [System.String] - $MinimumWarningPatchVersion, - - [Parameter()] - [PSObject] - $AppActionIfDeviceComplianceRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SaveAsBlocked, - - [Parameter()] - [System.String] - $CustomDialerAppDisplayName, - - [Parameter()] - [PSObject] - $AllowedDataIngestionLocations, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Int32] - $DeployedAppCount, - - [Parameter()] - [PSObject] - $NotificationRestriction, - - [Parameter()] - [System.String] - $CustomBrowserPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BiometricAuthenticationBlocked, - - [Parameter()] - [PSObject] - $AppActionIfDevicePasscodeComplexityLessThanMedium, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $MobileThreatDefenseRemediationAction, - - [Parameter()] - [PSObject] - $ApprovedKeyboards, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DeviceComplianceRequired, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeAccessCheck, - - [Parameter()] - [PSObject] - $AppActionIfUnableToAuthenticateUser, - - [Parameter()] - [System.String] - $MinimumRequiredOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RequirePinAfterBiometricChange, - - [Parameter()] - [System.String] - $MaximumRequiredOSVersion, - - [Parameter()] - [System.String] - $MinimumWipePatchVersion, - - [Parameter()] - [System.String] - $MinimumWarningAppVersion, - - [Parameter()] - [PSObject] - $AllowedOutboundClipboardSharingLevel, - - [Parameter()] - [System.Int32] - $MaximumPinRetries, - - [Parameter()] - [PSObject] - $RequiredAndroidSafetyNetAppsVerificationType, - - [Parameter()] - [PSObject] - $AppActionIfMaximumPinRetriesExceeded, - - [Parameter()] - [System.String] - $MinimumWipeCompanyPortalVersion, - - [Parameter()] - [PSObject] - $AllowedOutboundDataTransferDestinations, - - [Parameter()] - [PSObject] - $AppActionIfAndroidDeviceManufacturerNotAllowed, - - [Parameter()] - [System.String] - $MinimumWipeAppVersion, - - [Parameter()] - [System.String] - $AllowedAndroidDeviceManufacturers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OrganizationalCredentialsRequired, - - [Parameter()] - [System.String] - $CustomDialerAppPackageId, - - [Parameter()] - [PSObject] - $AllowedDataStorageLocations, - - [Parameter()] - [System.Int32] - $BlockAfterCompanyPortalUpdateDeferralInDays, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $DialerRestrictionLevel, - - [Parameter()] - [System.Int32] - $AllowedOutboundClipboardSharingExceptionLength, - - [Parameter()] - [PSObject] - $AppActionIfAndroidSafetyNetDeviceAttestationFailed, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [PSObject] - $AppActionIfAndroidSafetyNetAppsVerificationFailed, - - [Parameter()] - [System.String] - $MinimumWipeOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DataBackupBlocked, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeWipeIsEnforced, - - [Parameter()] - [System.TimeSpan] - $PinRequiredInsteadOfBiometricTimeout, - - [Parameter()] - [System.String] - $MinimumRequiredAppVersion, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $KeyboardsRestricted, - - [Parameter()] - [PSObject] - $DeploymentSummary, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ScreenCaptureBlocked, - - [Parameter()] - [PSObject] - $PinCharacterSet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ManagedBrowserToOpenLinksRequired, - - [Parameter()] - [System.String] - $MaximumWipeOSVersion, - - [Parameter()] - [System.Int32] - $MinimumPinLength, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SimplePinBlocked, - - [Parameter()] - [System.String] - $MinimumWarningOSVersion, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EncryptAppData, - - [Parameter()] - [System.TimeSpan] - $GracePeriodToBlockAppsDuringOffClockHours, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ConnectToVpnOnLaunch, - - [Parameter()] - [System.Int32] - $WipeAfterCompanyPortalUpdateDeferralInDays, - - [Parameter()] - [PSObject] - $RequiredAndroidSafetyNetEvaluationType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PinRequired, - - [Parameter()] - [PSObject] - $AppActionIfAccountIsClockedOut, - - [Parameter()] - [System.Int32] - $WarnAfterCompanyPortalUpdateDeferralInDays, - - [Parameter()] - [PSObject] - $AppActionIfDevicePasscodeComplexityLessThanLow, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FingerprintBlocked, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $MinimumRequiredCompanyPortalVersion, - - [Parameter()] - [System.TimeSpan] - $PeriodBeforePinReset, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BlockDataIngestionIntoOrganizationDocuments, - - [Parameter()] - [PSObject] - $AppActionIfDeviceLockNotSet, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $AllowedInboundDataTransferSources, - - [Parameter()] - [PSObject] - $RequiredAndroidSafetyNetDeviceAttestationType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FingerprintAndBiometricEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableAppPinIfDevicePinIsSet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrintBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DeviceLockRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $ExemptedAppPackages, - - [Parameter()] - [PSObject] - $TargetedAppManagementLevels - ) -} -function New-MgBetaDeviceAppManagementiOSManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String[]] - $ExemptedUniversalLinks, - - [Parameter()] - [PSObject] - $MaximumAllowedDeviceThreatLevel, - - [Parameter()] - [System.String] - $MinimumWipeSdkVersion, - - [Parameter()] - [PSObject] - $AppDataEncryptionType, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $MobileThreatDefensePartnerPriority, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $TargetedAppManagementLevels, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ThirdPartyKeyboardsBlocked, - - [Parameter()] - [PSObject] - $ManagedBrowser, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.TimeSpan] - $PeriodOnlineBeforeAccessCheck, - - [Parameter()] - [System.Int32] - $PreviousPinBlockCount, - - [Parameter()] - [System.String] - $MaximumWarningOSVersion, - - [Parameter()] - [System.TimeSpan] - $PeriodBeforePinReset, - - [Parameter()] - [PSObject] - $AppActionIfDeviceComplianceRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrintBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PinRequired, - - [Parameter()] - [PSObject] - $AllowedDataIngestionLocations, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Int32] - $DeployedAppCount, - - [Parameter()] - [PSObject] - $NotificationRestriction, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $AllowedOutboundClipboardSharingLevel, - - [Parameter()] - [System.String] - $MinimumWarningSdkVersion, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DeviceComplianceRequired, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeAccessCheck, - - [Parameter()] - [PSObject] - $AppActionIfUnableToAuthenticateUser, - - [Parameter()] - [System.String] - $MinimumRequiredOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ManagedBrowserToOpenLinksRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FilterOpenInToOnlyManagedApps, - - [Parameter()] - [System.String] - $MaximumRequiredOSVersion, - - [Parameter()] - [System.String] - $AllowedIosDeviceModels, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ContactSyncBlocked, - - [Parameter()] - [System.Int32] - $MaximumPinRetries, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeWipeIsEnforced, - - [Parameter()] - [PSObject] - $AllowedOutboundDataTransferDestinations, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DataBackupBlocked, - - [Parameter()] - [System.String] - $MinimumWipeAppVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OrganizationalCredentialsRequired, - - [Parameter()] - [PSObject] - $AllowedDataStorageLocations, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FaceIdBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SaveAsBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProtectInboundDataFromUnknownSources, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $DialerRestrictionLevel, - - [Parameter()] - [System.String] - $MinimumWarningAppVersion, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.String] - $MinimumWipeOSVersion, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [System.TimeSpan] - $PinRequiredInsteadOfBiometricTimeout, - - [Parameter()] - [System.String] - $MinimumRequiredAppVersion, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $MobileThreatDefenseRemediationAction, - - [Parameter()] - [System.Int32] - $AllowedOutboundClipboardSharingExceptionLength, - - [Parameter()] - [PSObject] - $DeploymentSummary, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SimplePinBlocked, - - [Parameter()] - [PSObject] - $PinCharacterSet, - - [Parameter()] - [System.String] - $MaximumWipeOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableProtectionOfManagedOutboundOpenInData, - - [Parameter()] - [System.Int32] - $MinimumPinLength, - - [Parameter()] - [System.String] - $MinimumWarningOSVersion, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.TimeSpan] - $GracePeriodToBlockAppsDuringOffClockHours, - - [Parameter()] - [PSObject] - $ExemptedAppProtocols, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [PSObject] - $AppActionIfMaximumPinRetriesExceeded, - - [Parameter()] - [PSObject] - $AppActionIfIosDeviceModelNotAllowed, - - [Parameter()] - [System.String] - $CustomDialerAppProtocol, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FingerprintBlocked, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BlockDataIngestionIntoOrganizationDocuments, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.String] - $CustomBrowserProtocol, - - [Parameter()] - [PSObject] - $AllowedInboundDataTransferSources, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableAppPinIfDevicePinIsSet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $MinimumRequiredSdkVersion, - - [Parameter()] - [System.String[]] - $ManagedUniversalLinks - ) -} -function New-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $EnterpriseProxiedDomains, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnterpriseProxyServersAreAuthoritative, - - [Parameter()] - [PSObject] - $SmbAutoEncryptedFileExtensions, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProtectionUnderLockConfigRequired, - - [Parameter()] - [PSObject] - $EnforcementLevel, - - [Parameter()] - [System.String] - $EnterpriseDomain, - - [Parameter()] - [PSObject] - $EnterpriseInternalProxyServers, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $EnterpriseNetworkDomainNames, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [PSObject] - $EnterpriseProxyServers, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $RightsManagementServicesTemplateId, - - [Parameter()] - [PSObject] - $ExemptAppLockerFiles, - - [Parameter()] - [PSObject] - $DataRecoveryCertificate, - - [Parameter()] - [PSObject] - $ExemptApps, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $EnterpriseProtectedDomainNames, - - [Parameter()] - [PSObject] - $NeutralDomainResources, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AzureRightsManagementServicesAllowed, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnterpriseIPRangesAreAuthoritative, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IconsVisible, - - [Parameter()] - [PSObject] - $ProtectedAppLockerFiles, - - [Parameter()] - [PSObject] - $ProtectedApps, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RevokeOnUnenrollDisabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $EnterpriseIPRanges, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IndexingEncryptedStoresOrItemsBlocked - ) -} -function New-MgBetaDeviceAppManagementTargetedManagedAppConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $DeployedAppCount, - - [Parameter()] - [PSObject] - $TargetedAppManagementLevels, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [PSObject] - $DeploymentSummary, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $CustomSettings, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceAppManagementAndroidManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $AndroidManagedAppProtectionId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceAppManagementiOSManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $IosManagedAppProtectionId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $MdmWindowsInformationProtectionPolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceAppManagementTargetedManagedAppConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TargetedManagedAppConfigurationId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Set-MgBetaDeviceAppManagementTargetedManagedAppConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $TargetedManagedAppConfigurationId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaDeviceAppManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [System.DateTime] - $MicrosoftStoreForBusinessLastSuccessfulSyncDateTime, - - [Parameter()] - [PSObject] - $TargetedManagedAppConfigurations, - - [Parameter()] - [PSObject] - $PolicySets, - - [Parameter()] - [PSObject] - $ManagedEBooks, - - [Parameter()] - [PSObject] - $MobileApps, - - [Parameter()] - [PSObject] - $EnterpriseCodeSigningCertificates, - - [Parameter()] - [PSObject] - $ManagedAppPolicies, - - [Parameter()] - [PSObject] - $DeviceAppManagementTasks, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ManagedAppStatuses, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $WindowsManagementApp, - - [Parameter()] - [PSObject] - $ManagedAppRegistrations, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $WindowsManagedAppProtections, - - [Parameter()] - [PSObject] - $DefaultManagedAppProtections, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabledForMicrosoftStoreForBusiness, - - [Parameter()] - [PSObject] - $WindowsInformationProtectionWipeActions, - - [Parameter()] - [System.String] - $MicrosoftStoreForBusinessLanguage, - - [Parameter()] - [PSObject] - $ManagedEBookCategories, - - [Parameter()] - [System.DateTime] - $MicrosoftStoreForBusinessLastCompletedApplicationSyncTime, - - [Parameter()] - [PSObject] - $SymantecCodeSigningCertificate, - - [Parameter()] - [PSObject] - $IosManagedAppProtections, - - [Parameter()] - [PSObject] - $IosLobAppProvisioningConfigurations, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $MobileAppCategories, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $WindowsInformationProtectionDeviceRegistrations, - - [Parameter()] - [PSObject] - $VppTokens, - - [Parameter()] - [PSObject] - $WindowsInformationProtectionPolicies, - - [Parameter()] - [PSObject] - $MicrosoftStoreForBusinessPortalSelection, - - [Parameter()] - [PSObject] - $AndroidManagedAppProtections, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $MdmWindowsInformationProtectionPolicies, - - [Parameter()] - [PSObject] - $MobileAppConfigurations, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $WdacSupplementalPolicies - ) -} -function Update-MgBetaDeviceAppManagementAndroidManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AppActionIfDevicePasscodeComplexityLessThanHigh, - - [Parameter()] - [System.String] - $AndroidManagedAppProtectionId, - - [Parameter()] - [PSObject] - $MaximumAllowedDeviceThreatLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $KeyboardsRestricted, - - [Parameter()] - [System.String] - $CustomBrowserDisplayName, - - [Parameter()] - [System.String] - $MinimumRequiredPatchVersion, - - [Parameter()] - [PSObject] - $AppActionIfAndroidDeviceModelNotAllowed, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableAppEncryptionIfDeviceEncryptionIsEnabled, - - [Parameter()] - [PSObject] - $MobileThreatDefensePartnerPriority, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String[]] - $AllowedAndroidDeviceModels, - - [Parameter()] - [PSObject] - $ManagedBrowser, - - [Parameter()] - [System.TimeSpan] - $PeriodOnlineBeforeAccessCheck, - - [Parameter()] - [System.Int32] - $PreviousPinBlockCount, - - [Parameter()] - [System.String] - $MaximumWarningOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ContactSyncBlocked, - - [Parameter()] - [System.String] - $MinimumWarningCompanyPortalVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RequireClass3Biometrics, - - [Parameter()] - [System.String] - $MinimumWarningPatchVersion, - - [Parameter()] - [PSObject] - $AppActionIfDeviceComplianceRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SaveAsBlocked, - - [Parameter()] - [System.String] - $CustomDialerAppDisplayName, - - [Parameter()] - [PSObject] - $AllowedDataIngestionLocations, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Int32] - $DeployedAppCount, - - [Parameter()] - [PSObject] - $NotificationRestriction, - - [Parameter()] - [System.String] - $CustomBrowserPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BiometricAuthenticationBlocked, - - [Parameter()] - [PSObject] - $AppActionIfDevicePasscodeComplexityLessThanMedium, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $MobileThreatDefenseRemediationAction, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DeviceComplianceRequired, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeAccessCheck, - - [Parameter()] - [PSObject] - $AppActionIfUnableToAuthenticateUser, - - [Parameter()] - [System.String] - $MinimumRequiredOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RequirePinAfterBiometricChange, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DataBackupBlocked, - - [Parameter()] - [System.String] - $MaximumRequiredOSVersion, - - [Parameter()] - [System.String] - $MinimumWipePatchVersion, - - [Parameter()] - [PSObject] - $AllowedOutboundClipboardSharingLevel, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $RequiredAndroidSafetyNetAppsVerificationType, - - [Parameter()] - [PSObject] - $AppActionIfMaximumPinRetriesExceeded, - - [Parameter()] - [System.String] - $MinimumWipeCompanyPortalVersion, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [PSObject] - $AllowedOutboundDataTransferDestinations, - - [Parameter()] - [PSObject] - $AppActionIfAndroidDeviceManufacturerNotAllowed, - - [Parameter()] - [System.String] - $MinimumWipeAppVersion, - - [Parameter()] - [System.String] - $AllowedAndroidDeviceManufacturers, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OrganizationalCredentialsRequired, - - [Parameter()] - [System.String] - $CustomDialerAppPackageId, - - [Parameter()] - [PSObject] - $AllowedDataStorageLocations, - - [Parameter()] - [System.Int32] - $BlockAfterCompanyPortalUpdateDeferralInDays, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $DialerRestrictionLevel, - - [Parameter()] - [System.String] - $MinimumWarningAppVersion, - - [Parameter()] - [PSObject] - $AppActionIfAndroidSafetyNetDeviceAttestationFailed, - - [Parameter()] - [System.Int32] - $MaximumPinRetries, - - [Parameter()] - [PSObject] - $AppActionIfAndroidSafetyNetAppsVerificationFailed, - - [Parameter()] - [System.String] - $MinimumWipeOSVersion, - - [Parameter()] - [PSObject] - $ApprovedKeyboards, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeWipeIsEnforced, - - [Parameter()] - [System.TimeSpan] - $PinRequiredInsteadOfBiometricTimeout, - - [Parameter()] - [System.String] - $MinimumRequiredAppVersion, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.Int32] - $AllowedOutboundClipboardSharingExceptionLength, - - [Parameter()] - [PSObject] - $DeploymentSummary, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ScreenCaptureBlocked, - - [Parameter()] - [PSObject] - $PinCharacterSet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ManagedBrowserToOpenLinksRequired, - - [Parameter()] - [System.String] - $MaximumWipeOSVersion, - - [Parameter()] - [System.Int32] - $MinimumPinLength, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SimplePinBlocked, - - [Parameter()] - [System.String] - $MinimumWarningOSVersion, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EncryptAppData, - - [Parameter()] - [System.TimeSpan] - $GracePeriodToBlockAppsDuringOffClockHours, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ConnectToVpnOnLaunch, - - [Parameter()] - [System.Int32] - $WipeAfterCompanyPortalUpdateDeferralInDays, - - [Parameter()] - [PSObject] - $RequiredAndroidSafetyNetEvaluationType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PinRequired, - - [Parameter()] - [PSObject] - $AppActionIfAccountIsClockedOut, - - [Parameter()] - [System.Int32] - $WarnAfterCompanyPortalUpdateDeferralInDays, - - [Parameter()] - [PSObject] - $AppActionIfDevicePasscodeComplexityLessThanLow, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FingerprintBlocked, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $MinimumRequiredCompanyPortalVersion, - - [Parameter()] - [System.TimeSpan] - $PeriodBeforePinReset, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BlockDataIngestionIntoOrganizationDocuments, - - [Parameter()] - [PSObject] - $AppActionIfDeviceLockNotSet, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $AllowedInboundDataTransferSources, - - [Parameter()] - [PSObject] - $RequiredAndroidSafetyNetDeviceAttestationType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FingerprintAndBiometricEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableAppPinIfDevicePinIsSet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrintBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DeviceLockRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $ExemptedAppPackages, - - [Parameter()] - [PSObject] - $TargetedAppManagementLevels - ) -} -function Update-MgBetaDeviceAppManagementiOSManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String[]] - $ExemptedUniversalLinks, - - [Parameter()] - [PSObject] - $MaximumAllowedDeviceThreatLevel, - - [Parameter()] - [System.String] - $MinimumWipeSdkVersion, - - [Parameter()] - [PSObject] - $AppDataEncryptionType, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $MobileThreatDefensePartnerPriority, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $TargetedAppManagementLevels, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ThirdPartyKeyboardsBlocked, - - [Parameter()] - [PSObject] - $ManagedBrowser, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.TimeSpan] - $PeriodOnlineBeforeAccessCheck, - - [Parameter()] - [System.Int32] - $PreviousPinBlockCount, - - [Parameter()] - [PSObject] - $AllowedOutboundClipboardSharingLevel, - - [Parameter()] - [System.Int32] - $MinimumPinLength, - - [Parameter()] - [PSObject] - $AppActionIfDeviceComplianceRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SaveAsBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PinRequired, - - [Parameter()] - [PSObject] - $AllowedDataIngestionLocations, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Int32] - $DeployedAppCount, - - [Parameter()] - [PSObject] - $NotificationRestriction, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $IosManagedAppProtectionId, - - [Parameter()] - [System.String] - $MinimumWarningSdkVersion, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DeviceComplianceRequired, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeAccessCheck, - - [Parameter()] - [PSObject] - $AppActionIfUnableToAuthenticateUser, - - [Parameter()] - [System.String] - $MinimumRequiredOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ManagedBrowserToOpenLinksRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FilterOpenInToOnlyManagedApps, - - [Parameter()] - [System.String] - $MaximumRequiredOSVersion, - - [Parameter()] - [System.String] - $AllowedIosDeviceModels, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ContactSyncBlocked, - - [Parameter()] - [System.Int32] - $MaximumPinRetries, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrintBlocked, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeWipeIsEnforced, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $AllowedOutboundDataTransferDestinations, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DataBackupBlocked, - - [Parameter()] - [System.String] - $MinimumWipeAppVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OrganizationalCredentialsRequired, - - [Parameter()] - [PSObject] - $AllowedDataStorageLocations, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FaceIdBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProtectInboundDataFromUnknownSources, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $DialerRestrictionLevel, - - [Parameter()] - [System.String] - $MinimumWarningAppVersion, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.String] - $MinimumWipeOSVersion, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [System.String] - $MinimumRequiredSdkVersion, - - [Parameter()] - [System.TimeSpan] - $PinRequiredInsteadOfBiometricTimeout, - - [Parameter()] - [System.String] - $MinimumRequiredAppVersion, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $MobileThreatDefenseRemediationAction, - - [Parameter()] - [System.Int32] - $AllowedOutboundClipboardSharingExceptionLength, - - [Parameter()] - [PSObject] - $DeploymentSummary, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SimplePinBlocked, - - [Parameter()] - [System.String] - $MaximumWipeOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableProtectionOfManagedOutboundOpenInData, - - [Parameter()] - [System.TimeSpan] - $GracePeriodToBlockAppsDuringOffClockHours, - - [Parameter()] - [System.String] - $MinimumWarningOSVersion, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $ExemptedAppProtocols, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [PSObject] - $AppActionIfMaximumPinRetriesExceeded, - - [Parameter()] - [PSObject] - $AppActionIfIosDeviceModelNotAllowed, - - [Parameter()] - [System.String] - $CustomDialerAppProtocol, - - [Parameter()] - [System.String] - $MaximumWarningOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FingerprintBlocked, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.TimeSpan] - $PeriodBeforePinReset, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BlockDataIngestionIntoOrganizationDocuments, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.String] - $CustomBrowserProtocol, - - [Parameter()] - [PSObject] - $AllowedInboundDataTransferSources, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableAppPinIfDevicePinIsSet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $PinCharacterSet, - - [Parameter()] - [System.String[]] - $ManagedUniversalLinks - ) -} -function Update-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $EnterpriseProxiedDomains, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $SmbAutoEncryptedFileExtensions, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnterpriseProxyServersAreAuthoritative, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProtectionUnderLockConfigRequired, - - [Parameter()] - [PSObject] - $EnforcementLevel, - - [Parameter()] - [System.String] - $EnterpriseDomain, - - [Parameter()] - [PSObject] - $EnterpriseInternalProxyServers, - - [Parameter()] - [PSObject] - $EnterpriseNetworkDomainNames, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [PSObject] - $EnterpriseProxyServers, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $RightsManagementServicesTemplateId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $ExemptAppLockerFiles, - - [Parameter()] - [PSObject] - $DataRecoveryCertificate, - - [Parameter()] - [System.String] - $MdmWindowsInformationProtectionPolicyId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $EnterpriseProtectedDomainNames, - - [Parameter()] - [PSObject] - $NeutralDomainResources, - - [Parameter()] - [PSObject] - $ExemptApps, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AzureRightsManagementServicesAllowed, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnterpriseIPRangesAreAuthoritative, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IconsVisible, - - [Parameter()] - [PSObject] - $ProtectedAppLockerFiles, - - [Parameter()] - [PSObject] - $ProtectedApps, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RevokeOnUnenrollDisabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $EnterpriseIPRanges, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IndexingEncryptedStoresOrItemsBlocked - ) -} -function Update-MgBetaDeviceAppManagementTargetedManagedAppConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $DeploymentSummary, - - [Parameter()] - [PSObject] - $TargetedAppManagementLevels, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.Int32] - $DeployedAppCount, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $CustomSettings, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [System.String] - $TargetedManagedAppConfigurationId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Beta.DeviceManagement.Administration -function Get-MgBetaDeviceManagementRoleScopeTag -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $RoleScopeTagId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Beta.DeviceManagement.Enrollment -function Get-MgBetaDeviceManagementDeviceEnrollmentConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DeviceEnrollmentConfigurationId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementDeviceEnrollmentConfigurationAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DeviceEnrollmentConfigurationId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $EnrollmentConfigurationAssignmentId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $WindowsAutopilotDeploymentProfileId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementWindowsAutopilotDeploymentProfileAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $WindowsAutopilotDeploymentProfileAssignmentId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $WindowsAutopilotDeploymentProfileId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementWindowsFeatureUpdateProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $WindowsFeatureUpdateProfileId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementWindowsFeatureUpdateProfileAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $WindowsFeatureUpdateProfileId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $WindowsFeatureUpdateProfileAssignmentId, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaRoleManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaDeviceManagementDeviceEnrollmentConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $DeviceEnrollmentConfigurationType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExtractHardwareHash, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ManagementServiceAppId, - - [Parameter()] - [PSObject] - $EnrollmentStatusScreenSettings, - - [Parameter()] - [System.String] - $DeviceNameTemplate, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnableWhiteGlove, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $DeviceType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AssignedDevices, - - [Parameter()] - [PSObject] - $OutOfBoxExperienceSettings, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Language, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementWindowsFeatureUpdateProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $RolloutSettings, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $DeployableContentDisplayName, - - [Parameter()] - [System.DateTime] - $EndOfSupportDate, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $FeatureUpdateVersion, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementDeviceEnrollmentConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceEnrollmentConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $WindowsAutopilotDeploymentProfileId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementWindowsFeatureUpdateProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $WindowsFeatureUpdateProfileId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementDeviceEnrollmentConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $DeviceEnrollmentConfigurationId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $DeviceEnrollmentConfigurationType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExtractHardwareHash, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ManagementServiceAppId, - - [Parameter()] - [PSObject] - $EnrollmentStatusScreenSettings, - - [Parameter()] - [System.String] - $DeviceNameTemplate, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnableWhiteGlove, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $DeviceType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AssignedDevices, - - [Parameter()] - [PSObject] - $OutOfBoxExperienceSettings, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Language, - - [Parameter()] - [System.String] - $WindowsAutopilotDeploymentProfileId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementWindowsFeatureUpdateProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $WindowsFeatureUpdateProfileId, - - [Parameter()] - [PSObject] - $RolloutSettings, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $DeployableContentDisplayName, - - [Parameter()] - [System.DateTime] - $EndOfSupportDate, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $FeatureUpdateVersion, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaRoleManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $CloudPc, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $EnterpriseApps, - - [Parameter()] - [PSObject] - $EntitlementManagement, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Exchange, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $Directory, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $DeviceManagement - ) -} - -function Get-MgBetaDeviceManagementMobileThreatDefenseConnector -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $MobileThreatDefenseConnectorId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Boolean] - $AllowPartnerToCollectIosApplicationMetadata, - - [Parameter()] - [System.Boolean] - $AllowPartnerToCollectIosPersonalApplicationMetadata, - - [Parameter()] - [System.Boolean] - $AndroidDeviceBlockedOnMissingPartnerData, - - [Parameter()] - [System.Boolean] - $AndroidEnabled, - - [Parameter()] - [System.Boolean] - $AndroidMobileApplicationManagementEnabled, - - [Parameter()] - [System.Boolean] - $IosDeviceBlockedOnMissingPartnerData, - - [Parameter()] - [System.Boolean] - $IosEnabled, - - [Parameter()] - [System.Boolean] - $IosMobileApplicationManagementEnabled, - - [Parameter()] - [System.DateTime] - $LastHeartbeatDateTime, - - [Parameter()] - [System.Boolean] - $MicrosoftDefenderForEndpointAttachEnabled, - - [Parameter()] - [System.String] - $PartnerState, - - [Parameter()] - [System.Int32] - $PartnerUnresponsivenessThresholdInDays, - - [Parameter()] - [System.Boolean] - $PartnerUnsupportedOSVersionBlocked, - - [Parameter()] - [System.Boolean] - $WindowsDeviceBlockedOnMissingPartnerData, - - [Parameter()] - [System.Boolean] - $WindowsEnabled - ) -} - -function New-MgBetaDeviceManagementMobileThreatDefenseConnector -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $MobileThreatDefenseConnectorId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Boolean] - $AllowPartnerToCollectIosApplicationMetadata, - - [Parameter()] - [System.Boolean] - $AllowPartnerToCollectIosPersonalApplicationMetadata, - - [Parameter()] - [System.Boolean] - $AndroidDeviceBlockedOnMissingPartnerData, - - [Parameter()] - [System.Boolean] - $AndroidEnabled, - - [Parameter()] - [System.Boolean] - $AndroidMobileApplicationManagementEnabled, - - [Parameter()] - [System.Boolean] - $IosDeviceBlockedOnMissingPartnerData, - - [Parameter()] - [System.Boolean] - $IosEnabled, - - [Parameter()] - [System.Boolean] - $IosMobileApplicationManagementEnabled, - - [Parameter()] - [System.DateTime] - $LastHeartbeatDateTime, - - [Parameter()] - [System.Boolean] - $MicrosoftDefenderForEndpointAttachEnabled, - - [Parameter()] - [System.String] - $PartnerState, - - [Parameter()] - [System.Int32] - $PartnerUnresponsivenessThresholdInDays, - - [Parameter()] - [System.Boolean] - $PartnerUnsupportedOSVersionBlocked, - - [Parameter()] - [System.Boolean] - $WindowsDeviceBlockedOnMissingPartnerData, - - [Parameter()] - [System.Boolean] - $WindowsEnabled - ) -} - -function Update-MgBetaDeviceManagementMobileThreatDefenseConnector -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $MobileThreatDefenseConnectorId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Boolean] - $AllowPartnerToCollectIosApplicationMetadata, - - [Parameter()] - [System.Boolean] - $AllowPartnerToCollectIosPersonalApplicationMetadata, - - [Parameter()] - [System.Boolean] - $AndroidDeviceBlockedOnMissingPartnerData, - - [Parameter()] - [System.Boolean] - $AndroidEnabled, - - [Parameter()] - [System.Boolean] - $AndroidMobileApplicationManagementEnabled, - - [Parameter()] - [System.Boolean] - $IosDeviceBlockedOnMissingPartnerData, - - [Parameter()] - [System.Boolean] - $IosEnabled, - - [Parameter()] - [System.Boolean] - $IosMobileApplicationManagementEnabled, - - [Parameter()] - [System.DateTime] - $LastHeartbeatDateTime, - - [Parameter()] - [System.Boolean] - $MicrosoftDefenderForEndpointAttachEnabled, - - [Parameter()] - [System.String] - $PartnerState, - - [Parameter()] - [System.Int32] - $PartnerUnresponsivenessThresholdInDays, - - [Parameter()] - [System.Boolean] - $PartnerUnsupportedOSVersionBlocked, - - [Parameter()] - [System.Boolean] - $WindowsDeviceBlockedOnMissingPartnerData, - - [Parameter()] - [System.Boolean] - $WindowsEnabled - ) -} - -function Remove-MgBetaDeviceManagementMobileThreatDefenseConnector -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $MobileThreatDefenseConnectorId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -#endregion - -#region Microsoft.Graph.Beta.Identity.DirectoryManagement -function Get-MgBetaDevice -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectory -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaDirectoryAdministrativeUnit -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectoryAdministrativeUnitMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectoryAdministrativeUnitScopedRoleMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $ScopedRoleMembershipId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectoryRole -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DirectoryRoleId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectoryRoleTemplate -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $DirectoryRoleTemplateId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectorySetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DirectorySettingId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaOrganizationSetting -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaOrganizationSettingItemInsight -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaOrganizationSettingPersonInsight -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaSubscribedSku -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $SubscribedSkuId, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $Search - ) -} -function New-MgBetaDevice -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.DateTime] - $RegistrationDateTime, - - [Parameter()] - [System.String] - $Status, - - [Parameter()] - [PSObject] - $UsageRights, - - [Parameter()] - [System.String] - $DeviceMetadata, - - [Parameter()] - [System.String] - $TrustType, - - [Parameter()] - [System.Int32] - $DeviceVersion, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [PSObject] - $AlternativeSecurityIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $Commands, - - [Parameter()] - [System.String] - $OnPremisesSecurityIdentifier, - - [Parameter()] - [System.String] - $OperatingSystemVersion, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.DateTime] - $OnPremisesLastSyncDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $DeviceId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsCompliant, - - [Parameter()] - [System.String] - $EnrollmentType, - - [Parameter()] - [System.String] - $ProfileType, - - [Parameter()] - [PSObject] - $ExtensionAttributes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OnPremisesSyncEnabled, - - [Parameter()] - [PSObject] - $MemberOf, - - [Parameter()] - [System.String[]] - $Hostnames, - - [Parameter()] - [System.String[]] - $PhysicalIds, - - [Parameter()] - [System.DateTime] - $ComplianceExpirationDateTime, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $DeviceCategory, - - [Parameter()] - [System.String] - $DomainName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsManagementRestricted, - - [Parameter()] - [PSObject] - $TransitiveMemberOf, - - [Parameter()] - [System.String] - $Model, - - [Parameter()] - [System.String[]] - $SystemLabels, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $RegisteredOwners, - - [Parameter()] - [PSObject] - $RegisteredUsers, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $OperatingSystem, - - [Parameter()] - [System.String] - $Manufacturer, - - [Parameter()] - [System.String] - $DeviceOwnership, - - [Parameter()] - [System.DateTime] - $ApproximateLastSignInDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsManaged, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $Platform, - - [Parameter()] - [System.String] - $EnrollmentProfileName, - - [Parameter()] - [System.String] - $MdmAppId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsRooted, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AccountEnabled, - - [Parameter()] - [System.String] - $ManagementType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $Kind - ) -} -function New-MgBetaDirectoryAdministrativeUnit -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMemberManagementRestricted, - - [Parameter()] - [PSObject] - $ScopedRoleMembers, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Visibility, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDirectoryAdministrativeUnitMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaDirectoryAdministrativeUnitMemberByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaDirectoryAdministrativeUnitScopedRoleMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $AdministrativeUnitId1, - - [Parameter()] - [System.String] - $RoleId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $RoleMemberInfo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDirectoryRole -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $RoleTemplateId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $ScopedMembers, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDirectoryRoleMemberByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DirectoryRoleId, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaDirectorySetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Values, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaDevice -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDirectoryAdministrativeUnit -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaDirectoryAdministrativeUnitMemberDirectoryObjectByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaDirectoryAdministrativeUnitScopedRoleMember -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ScopedRoleMembershipId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaDirectoryRole -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $DirectoryRoleId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaDirectoryRoleMemberByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DirectoryRoleId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaDirectorySetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DirectorySettingId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Restore-MgBetaDirectoryDeletedItem -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaDevice -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.DateTime] - $RegistrationDateTime, - - [Parameter()] - [System.String] - $Status, - - [Parameter()] - [PSObject] - $UsageRights, - - [Parameter()] - [System.String] - $DeviceMetadata, - - [Parameter()] - [System.String] - $TrustType, - - [Parameter()] - [System.Int32] - $DeviceVersion, - - [Parameter()] - [System.String] - $OperatingSystem, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [PSObject] - $AlternativeSecurityIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $Commands, - - [Parameter()] - [System.String] - $OnPremisesSecurityIdentifier, - - [Parameter()] - [System.String] - $OperatingSystemVersion, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.DateTime] - $OnPremisesLastSyncDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $DeviceId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsCompliant, - - [Parameter()] - [System.String] - $EnrollmentType, - - [Parameter()] - [System.String] - $ProfileType, - - [Parameter()] - [PSObject] - $ExtensionAttributes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OnPremisesSyncEnabled, - - [Parameter()] - [PSObject] - $MemberOf, - - [Parameter()] - [System.String[]] - $Hostnames, - - [Parameter()] - [System.String[]] - $PhysicalIds, - - [Parameter()] - [System.DateTime] - $ComplianceExpirationDateTime, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $DeviceCategory, - - [Parameter()] - [System.String] - $DomainName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsManagementRestricted, - - [Parameter()] - [PSObject] - $TransitiveMemberOf, - - [Parameter()] - [System.String] - $Model, - - [Parameter()] - [System.String[]] - $SystemLabels, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $RegisteredOwners, - - [Parameter()] - [PSObject] - $RegisteredUsers, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $DeviceId1, - - [Parameter()] - [System.String] - $Manufacturer, - - [Parameter()] - [System.String] - $DeviceOwnership, - - [Parameter()] - [System.DateTime] - $ApproximateLastSignInDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsManaged, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $Platform, - - [Parameter()] - [System.String] - $EnrollmentProfileName, - - [Parameter()] - [System.String] - $MdmAppId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsRooted, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AccountEnabled, - - [Parameter()] - [System.String] - $ManagementType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $Kind - ) -} -function Update-MgBetaDirectory -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InboundSharedUserProfiles, - - [Parameter()] - [PSObject] - $SharedEmailDomains, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $OutboundSharedUserProfiles, - - [Parameter()] - [PSObject] - $FederationConfigurations, - - [Parameter()] - [PSObject] - $OnPremisesSynchronization, - - [Parameter()] - [PSObject] - $AdministrativeUnits, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Recommendations, - - [Parameter()] - [PSObject] - $AttributeSets, - - [Parameter()] - [PSObject] - $Subscriptions, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [PSObject] - $DeletedItems, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ImpactedResources, - - [Parameter()] - [PSObject] - $CertificateAuthorities, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $CustomSecurityAttributeDefinitions, - - [Parameter()] - [PSObject] - $FeatureRolloutPolicies, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDirectoryAdministrativeUnit -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMemberManagementRestricted, - - [Parameter()] - [PSObject] - $ScopedRoleMembers, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Visibility, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDirectorySetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Values, - - [Parameter()] - [System.String] - $DirectorySettingId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $PostalCode, - - [Parameter()] - [PSObject] - $VerifiedDomains, - - [Parameter()] - [System.String] - $DefaultUsageLocation, - - [Parameter()] - [PSObject] - $CertificateConnectorSetting, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.String] - $Street, - - [Parameter()] - [PSObject] - $PartnerInformation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $PreferredLanguage, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.String] - $City, - - [Parameter()] - [System.String[]] - $MarketingNotificationEmails, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $AssignedPlans, - - [Parameter()] - [PSObject] - $MobileDeviceManagementAuthority, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMultipleDataLocationsForServicesEnabled, - - [Parameter()] - [System.String] - $Country, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String[]] - $SecurityComplianceNotificationMails, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $CertificateBasedAuthConfiguration, - - [Parameter()] - [System.String[]] - $TechnicalNotificationMails, - - [Parameter()] - [PSObject] - $PrivacyProfile, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.DateTime] - $OnPremisesLastSyncDateTime, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [PSObject] - $ProvisionedPlans, - - [Parameter()] - [PSObject] - $DirectorySizeQuota, - - [Parameter()] - [System.DateTime] - $OnPremisesLastPasswordSyncDateTime, - - [Parameter()] - [PSObject] - $Branding, - - [Parameter()] - [System.String] - $CountryLetterCode, - - [Parameter()] - [System.String[]] - $BusinessPhones, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OnPremisesSyncEnabled, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [System.String[]] - $SecurityComplianceNotificationPhones, - - [Parameter()] - [System.String] - $PartnerTenantType - ) -} -function Update-MgBetaOrganizationSetting -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $PeopleInsights, - - [Parameter()] - [PSObject] - $ItemInsights, - - [Parameter()] - [PSObject] - $MicrosoftApplicationDataAccess, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $ContactInsights, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaOrganizationSettingItemInsight -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabledInOrganization, - - [Parameter()] - [System.String] - $DisabledForGroup, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaOrganizationSettingPersonInsight -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabledInOrganization, - - [Parameter()] - [System.String] - $DisabledForGroup, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaDirectoryDeletedApplication -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Beta.Identity.Governance -function Get-MgBetaProgram -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ProgramId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter - ) -} - -function Remove-MgBetaProgram -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ProgramId - ) -} - -function Update-MgBetaProgram -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ProgramId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $BodyParameter - ) -} - -function New-MgBetaProgram -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $BodyParameter - ) -} - -function Get-MgBetaAgreement -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.String] - $AgreementId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaEntitlementManagementAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $CatalogId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DisplayNameContains, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DisplayNameEq, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $AccessPackageAssignmentId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $AccessPackageAssignmentPolicyId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DisplayNameContains, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DisplayNameEq, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageCatalog -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DisplayNameContains, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DisplayNameEq, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageCatalogAccessPackageResource -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageCatalogAccessPackageResourceRole -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageIncompatibleGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageIncompatibleWith -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $AccessPackageId1, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementConnectedOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DisplayNameContains, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DisplayNameEq, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementConnectedOrganizationExternalSponsor -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementConnectedOrganizationInternalSponsor -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} - -function Get-MgBetaIdentityGovernanceLifecycleWorkflow -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $WorkflowId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaIdentityGovernanceLifecycleWorkflowTask -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $WorkflowId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $TaskId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaIdentityGovernanceLifecycleWorkflow -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $TaskReports, - - [Parameter()] - [System.DateTime] - $NextScheduleRunDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.Hashtable] - $ExecutionConditions, - - [Parameter()] - [PSObject] - $Runs, - - [Parameter()] - [PSObject] - $Versions, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $UserProcessingResults, - - [Parameter()] - [PSObject] - $CreatedBy, - - [Parameter()] - [PSObject] - $ExecutionScope, - - [Parameter()] - [System.String] - $Category, - - [Parameter()] - [PSObject] - $LastModifiedBy, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $Tasks, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsSchedulingEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabled, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaIdentityGovernanceLifecycleWorkflowNewVersion -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $WorkflowId, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $Workflow, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaIdentityGovernanceLifecycleWorkflow -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $WorkflowId, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} - -function Update-MgBetaIdentityGovernanceLifecycleWorkflow -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.String] - $WorkflowId, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $TaskReports, - - [Parameter()] - [System.DateTime] - $NextScheduleRunDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.Hashtable] - $ExecutionConditions, - - [Parameter()] - [PSObject] - $Runs, - - [Parameter()] - [PSObject] - $Versions, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $UserProcessingResults, - - [Parameter()] - [PSObject] - $CreatedBy, - - [Parameter()] - [PSObject] - $ExecutionScope, - - [Parameter()] - [System.String] - $Category, - - [Parameter()] - [PSObject] - $LastModifiedBy, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $Tasks, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsSchedulingEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabled, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaRoleManagementDirectory -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaRoleManagementDirectoryRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $UnifiedRoleAssignmentId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaRoleManagementDirectoryRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.String] - $UnifiedRoleDefinitionId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaRoleManagementDirectoryRoleEligibilitySchedule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $UnifiedRoleEligibilityScheduleId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $UnifiedRoleEligibilityScheduleRequestId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $AccessPackagesIncompatibleWith, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $IncompatibleGroups, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $AccessPackageCatalog, - - [Parameter()] - [System.String] - $CatalogId, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AccessPackageAssignmentPolicies, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsRoleScopesVisible, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $IncompatibleAccessPackages, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AccessPackageResourceRoleScopes, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsHidden - ) -} -function New-MgBetaEntitlementManagementAccessPackageAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Justification, - - [Parameter()] - [System.String[]] - $RequiredUserId, - - [Parameter()] - [PSObject] - $Answers, - - [Parameter()] - [PSObject] - $ExistingAssignment, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.PSObject[]] - $RequiredGroupMember, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $StartDate, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $AssignmentPolicyId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $CustomExtensionStageSettings, - - [Parameter()] - [PSObject] - $AccessPackageCatalog, - - [Parameter()] - [PSObject] - $Questions, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AccessReviewSettings, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [PSObject] - $RequestorSettings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $CanExtend, - - [Parameter()] - [PSObject] - $VerifiableCredentialSettings, - - [Parameter()] - [PSObject] - $CustomExtensionHandlers, - - [Parameter()] - [System.Int32] - $DurationInDays, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.DateTime] - $ExpirationDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $RequestApprovalSettings, - - [Parameter()] - [PSObject] - $AccessPackage, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageCatalog -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsExternallyVisible, - - [Parameter()] - [PSObject] - $AccessPackageCustomWorkflowExtensions, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $AccessPackages, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [PSObject] - $AccessPackageResourceScopes, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AccessPackageResources, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [PSObject] - $CustomAccessPackageWorkflowExtensions, - - [Parameter()] - [System.String] - $CatalogStatus, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $AccessPackageResourceRoles, - - [Parameter()] - [System.String] - $CatalogType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackageByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaEntitlementManagementAccessPackageIncompatibleGroupByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaEntitlementManagementAccessPackageResourceRequest -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Justification, - - [Parameter()] - [PSObject] - $AccessPackageResource, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExecuteImmediately, - - [Parameter()] - [System.String] - $CatalogId, - - [Parameter()] - [System.String] - $RequestType, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Requestor, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsValidationOnly, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.DateTime] - $ExpirationDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $RequestState, - - [Parameter()] - [System.String] - $RequestStatus, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageResourceRoleScope -{ - [CmdletBinding()] - param( - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [PSObject] - $AccessPackageResourceScope, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $AccessPackageResourceRole, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementConnectedOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $ExternalSponsors, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $IdentitySources, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $InternalSponsors, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.String] - $DomainName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaRoleManagementDirectoryRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Principal, - - [Parameter()] - [System.String] - $ResourceScope, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $DirectoryScope, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $PrincipalId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $Condition, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [PSObject] - $RoleDefinition, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AppScope, - - [Parameter()] - [System.String] - $DirectoryScopeId, - - [Parameter()] - [System.String] - $PrincipalOrganizationId, - - [Parameter()] - [System.String] - $AppScopeId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaRoleManagementDirectoryRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String[]] - $ResourceScopes, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsPrivileged, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltIn, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $InheritsPermissionsFrom, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $AllowedPrincipalTypes, - - [Parameter()] - [PSObject] - $RolePermissions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabled, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaRoleManagementDirectoryRoleEligibilitySchedule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $MemberType, - - [Parameter()] - [PSObject] - $Principal, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $CreatedUsing, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $ScheduleInfo, - - [Parameter()] - [PSObject] - $DirectoryScope, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $PrincipalId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Status, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [PSObject] - $RoleDefinition, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AppScope, - - [Parameter()] - [System.String] - $DirectoryScopeId, - - [Parameter()] - [System.String] - $AppScopeId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Justification, - - [Parameter()] - [PSObject] - $Principal, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $Action, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $ScheduleInfo, - - [Parameter()] - [PSObject] - $DirectoryScope, - - [Parameter()] - [PSObject] - $TargetSchedule, - - [Parameter()] - [System.String] - $ApprovalId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CustomData, - - [Parameter()] - [PSObject] - $CreatedBy, - - [Parameter()] - [System.String] - $PrincipalId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsValidationOnly, - - [Parameter()] - [System.DateTime] - $CompletedDateTime, - - [Parameter()] - [PSObject] - $TicketInfo, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Status, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $TargetScheduleId, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [PSObject] - $RoleDefinition, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AppScope, - - [Parameter()] - [System.String] - $DirectoryScopeId, - - [Parameter()] - [System.String] - $AppScopeId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaEntitlementManagementAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $AccessPackageAssignmentId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageAssignmentPolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageCatalog -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackageByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageId1, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageIncompatibleGroupByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageResourceRoleScope -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageResourceRoleScopeId, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaEntitlementManagementConnectedOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorDirectoryObjectByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorDirectoryObjectByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaRoleManagementDirectory -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaRoleManagementDirectoryRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $UnifiedRoleAssignmentId, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaRoleManagementDirectoryRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $UnifiedRoleDefinitionId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Set-MgBetaEntitlementManagementAccessPackageAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $CustomExtensionHandlers, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $CustomExtensionStageSettings, - - [Parameter()] - [PSObject] - $AccessPackageCatalog, - - [Parameter()] - [PSObject] - $Questions, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AccessReviewSettings, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.String] - $AccessPackageAssignmentPolicyId, - - [Parameter()] - [PSObject] - $RequestorSettings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $CanExtend, - - [Parameter()] - [PSObject] - $VerifiableCredentialSettings, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Int32] - $DurationInDays, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.DateTime] - $ExpirationDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $RequestApprovalSettings, - - [Parameter()] - [PSObject] - $AccessPackage, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaEntitlementManagementAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $AccessPackagesIncompatibleWith, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $IncompatibleGroups, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $AccessPackageCatalog, - - [Parameter()] - [System.String] - $CatalogId, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AccessPackageAssignmentPolicies, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsRoleScopesVisible, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $IncompatibleAccessPackages, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AccessPackageResourceRoleScopes, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsHidden - ) -} -function Update-MgBetaEntitlementManagementAccessPackageCatalog -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsExternallyVisible, - - [Parameter()] - [PSObject] - $AccessPackageCustomWorkflowExtensions, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $AccessPackages, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $AccessPackageResourceScopes, - - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AccessPackageResources, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [PSObject] - $CustomAccessPackageWorkflowExtensions, - - [Parameter()] - [System.String] - $CatalogStatus, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $AccessPackageResourceRoles, - - [Parameter()] - [System.String] - $CatalogType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaEntitlementManagementConnectedOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $ExternalSponsors, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $IdentitySources, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [PSObject] - $InternalSponsors, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaRoleManagementDirectory -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $RoleAssignmentScheduleRequests, - - [Parameter()] - [PSObject] - $TransitiveRoleAssignments, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $RoleEligibilitySchedules, - - [Parameter()] - [PSObject] - $ResourceNamespaces, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $RoleDefinitions, - - [Parameter()] - [PSObject] - $RoleEligibilityScheduleRequests, - - [Parameter()] - [PSObject] - $RoleAssignmentSchedules, - - [Parameter()] - [PSObject] - $RoleAssignments, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $RoleEligibilityScheduleInstances, - - [Parameter()] - [PSObject] - $RoleAssignmentScheduleInstances, - - [Parameter()] - [PSObject] - $RoleAssignmentApprovals, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaRoleManagementDirectoryRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String[]] - $ResourceScopes, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsPrivileged, - - [Parameter()] - [System.String] - $UnifiedRoleDefinitionId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltIn, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $InheritsPermissionsFrom, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $AllowedPrincipalTypes, - - [Parameter()] - [PSObject] - $RolePermissions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabled, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Beta.Identity.SignIns - -#region Microsoft.Graph.Authentication -function Get-MgBetaIdentityUserFlowAttribute -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $IdentityUserFlowAttributeId, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Sort - ) -} -function New-MgBetaIdentityUserFlowAttribute -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DataType, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName - ) -} -function Update-MgBetaIdentityUserFlowAttribute -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DataType, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $IdentityUserFlowAttributeId, - - [Parameter()] - [System.String] - $Id - ) -} -function Remove-MgBetaIdentityUserFlowAttribute -{ - [CmdletBinding()] - param( - - [Parameter()] - [System.String] - $IdentityUserFlowAttributeId - ) -} -#endregion - - -function Get-MgBetaIdentityConditionalAccess -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaIdentityConditionalAccessAuthenticationContextClassReference -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $AuthenticationContextClassReferenceId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaIdentityConditionalAccessNamedLocation -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $NamedLocationId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaIdentityConditionalAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $ConditionalAccessPolicyId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyAccessReviewPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaIdentityProvider -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $IdentityProviderBaseId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaOauth2PermissionGrant -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $OAuth2PermissionGrantId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyAuthenticationMethodPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $AuthenticationMethodConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyAuthenticationStrengthPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $AuthenticationStrengthPolicyId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyAuthorizationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $AuthorizationPolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyCrossTenantAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaPolicyCrossTenantAccessPolicyDefault -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaPolicyCrossTenantAccessPolicyPartner -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $CrossTenantAccessPolicyConfigurationPartnerTenantId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyExternalIdentityPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaPolicyIdentitySecurityDefaultEnforcementPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaPolicyRoleManagementPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyRoleManagementPolicyAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyAssignmentId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyRoleManagementPolicyRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyRuleId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyTokenLifetimePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $TokenLifetimePolicyId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaIdentityConditionalAccessAuthenticationContextClassReference -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAvailable, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaIdentityConditionalAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $SessionControls, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [PSObject] - $Conditions, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $GrantControls, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaIdentityProvider -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $ExcludeTargets - ) -} -function New-MgBetaPolicyAuthenticationStrengthPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $PolicyType, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $RequirementsSatisfied, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String[]] - $AllowedCombinations, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $CombinationConfigurations, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaPolicyCrossTenantAccessPolicyPartner -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [PSObject] - $TenantRestrictions, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $InboundTrust, - - [Parameter()] - [PSObject] - $AutomaticUserConsentSettings, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $B2BDirectConnectOutbound, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsInMultiTenantOrganization, - - [Parameter()] - [PSObject] - $B2BDirectConnectInbound, - - [Parameter()] - [PSObject] - $B2BCollaborationOutbound, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $IdentitySynchronization, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $B2BCollaborationInbound, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsServiceProvider, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaPolicyTokenLifetimePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Definition, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [PSObject] - $AppliesTo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaIdentityConditionalAccess -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaIdentityConditionalAccessAuthenticationContextClassReference -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AuthenticationContextClassReferenceId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaIdentityConditionalAccessNamedLocation -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $NamedLocationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaIdentityConditionalAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ConditionalAccessPolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaIdentityProvider -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $IdentityProviderBaseId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaPolicyAuthenticationMethodPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AuthenticationMethodConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaPolicyAuthenticationStrengthPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AuthenticationStrengthPolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaPolicyCrossTenantAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaPolicyCrossTenantAccessPolicyPartner -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $CrossTenantAccessPolicyConfigurationPartnerTenantId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaPolicyTokenLifetimePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $TokenLifetimePolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaIdentityConditionalAccess -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Templates, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $AuthenticationStrengths, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $NamedLocations, - - [Parameter()] - [PSObject] - $AuthenticationContextClassReferences, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $AuthenticationStrength, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Policies, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaIdentityConditionalAccessAuthenticationContextClassReference -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAvailable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $AuthenticationContextClassReferenceId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaIdentityConditionalAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $SessionControls, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [PSObject] - $Conditions, - - [Parameter()] - [System.String] - $ConditionalAccessPolicyId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $GrantControls, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaIdentityProvider -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $IdentityProviderBaseId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaPolicyAuthenticationMethodPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Int32] - $ReconfirmationInDays, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.String] - $PolicyMigrationState, - - [Parameter()] - [PSObject] - $SystemCredentialPreferences, - - [Parameter()] - [System.String] - $PolicyVersion, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $RegistrationEnforcement, - - [Parameter()] - [PSObject] - $AuthenticationMethodConfigurations, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ReportSuspiciousActivitySettings, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AuthenticationMethodConfigurationId, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $ExcludeTargets - ) -} -function Update-MgBetaPolicyAuthenticationStrengthPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $PolicyType, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $AuthenticationStrengthPolicyId, - - [Parameter()] - [System.String] - $RequirementsSatisfied, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String[]] - $AllowedCombinations, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $CombinationConfigurations, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaPolicyAuthenticationStrengthPolicyAllowedCombination -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String[]] - $AllowedCombinations, - - [Parameter()] - [System.String] - $AuthenticationStrengthPolicyId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaPolicyAccessReviewPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsGroupOwnerManagementEnabled, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaPolicyAuthorizationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BlockMsolPowerShell, - - [Parameter()] - [System.String] - $AuthorizationPolicyId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowedToUseSspr, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowUserConsentForRiskyApps, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $GuestUserRoleId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowedToSignUpEmailBasedSubscriptions, - - [Parameter()] - [PSObject] - $DefaultUserRoleOverrides, - - [Parameter()] - [System.String] - $AllowInvitesFrom, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowEmailVerifiedUsersToJoinOrganization, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String[]] - $PermissionGrantPolicyIdsAssignedToDefaultUserRole, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $DefaultUserRolePermissions, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String[]] - $EnabledPreviewFeatures - ) -} -function Update-MgBetaPolicyCrossTenantAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Definition, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $Templates, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Partners, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String[]] - $AllowedCloudEndpoints, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Default - ) -} -function Update-MgBetaPolicyCrossTenantAccessPolicyDefault -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsServiceDefault, - - [Parameter()] - [System.Collections.Hashtable] - $InvitationRedemptionIdentityProviderConfiguration, - - [Parameter()] - [PSObject] - $TenantRestrictions, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $InboundTrust, - - [Parameter()] - [PSObject] - $AutomaticUserConsentSettings, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $B2BDirectConnectOutbound, - - [Parameter()] - [PSObject] - $B2BDirectConnectInbound, - - [Parameter()] - [PSObject] - $B2BCollaborationOutbound, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $B2BCollaborationInbound, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaPolicyCrossTenantAccessPolicyPartner -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [PSObject] - $TenantRestrictions, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $InboundTrust, - - [Parameter()] - [PSObject] - $AutomaticUserConsentSettings, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $B2BDirectConnectOutbound, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsInMultiTenantOrganization, - - [Parameter()] - [System.String] - $CrossTenantAccessPolicyConfigurationPartnerTenantId, - - [Parameter()] - [PSObject] - $B2BDirectConnectInbound, - - [Parameter()] - [PSObject] - $B2BCollaborationOutbound, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $IdentitySynchronization, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $B2BCollaborationInbound, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsServiceProvider, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaPolicyExternalIdentityPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowExternalIdentitiesToLeave, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowDeletedIdentitiesDataRemoval, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaPolicyIdentitySecurityDefaultEnforcementPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabled, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaPolicyRoleManagementPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $EffectiveRules, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $ScopeType, - - [Parameter()] - [System.String] - $ScopeId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, - - [Parameter()] - [PSObject] - $LastModifiedBy, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $Rules, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaPolicyRoleManagementPolicyRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyRuleId, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $Target, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaPolicyTokenLifetimePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Definition, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $TokenLifetimePolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [PSObject] - $AppliesTo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetwork -function Get-MgBetaNetworkAccessConnectivityRemoteNetwork -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $RemoteNetworkId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaNetworkAccessConnectivityRemoteNetwork -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $RemoteNetworkId - ) -} -function Remove-MgBetaNetworkAccessConnectivityRemoteNetworkDeviceLink -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $DeviceLinkId, - - [Parameter()] - [System.String] - $RemoteNetworkId - ) -} -function New-MgBetaNetworkAccessConnectivityRemoteNetwork -{ - [CmdletBinding()] - param( - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $ConnectivityConfiguration, - - [Parameter()] - [PSObject] - $DeviceLinks, - - [Parameter()] - [PSObject] - $ForwardingProfiles, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $Region, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaNetworkAccessConnectivityRemoteNetworkDeviceLink -{ - [CmdletBinding()] - param( - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $RedundancyConfiguration, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BgpConfiguration, - - [Parameter()] - [System.String] - $RemoteNetworkId, - - [Parameter()] - [System.String] - $IPAddress, - - [Parameter()] - [PSObject] - $TunnelConfiguration, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $BandwidthCapacityInMbps, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $DeviceVendor, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Beta.Teams -function Get-MgBetaTeam -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaTeamChannel -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaTeamChannelTab -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $TeamsTabId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaTeam -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Specialization, - - [Parameter()] - [PSObject] - $PrimaryChannel, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMembershipLimitedToOwners, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Classification, - - [Parameter()] - [PSObject] - $AllChannels, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsArchived, - - [Parameter()] - [System.String] - $InternalId, - - [Parameter()] - [PSObject] - $Channels, - - [Parameter()] - [PSObject] - $Group, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $IncomingChannels, - - [Parameter()] - [PSObject] - $Tags, - - [Parameter()] - [PSObject] - $Photo, - - [Parameter()] - [System.String] - $Visibility, - - [Parameter()] - [PSObject] - $MessagingSettings, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [PSObject] - $PermissionGrants, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $InstalledApps, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [PSObject] - $FunSettings, - - [Parameter()] - [PSObject] - $Schedule, - - [Parameter()] - [PSObject] - $Operations, - - [Parameter()] - [PSObject] - $GuestSettings, - - [Parameter()] - [System.String] - $WebUrl, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Collections.Hashtable] - $Template, - - [Parameter()] - [PSObject] - $Summary, - - [Parameter()] - [PSObject] - $DiscoverySettings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $TemplateDefinition, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $MemberSettings - ) -} -function New-MgBetaTeamChannel -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $FilesFolder, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [PSObject] - $Tabs, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $SharedWithTeams, - - [Parameter()] - [PSObject] - $Messages, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsFavoriteByDefault, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.String] - $Email, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ModerationSettings, - - [Parameter()] - [System.String] - $MembershipType, - - [Parameter()] - [System.String] - $WebUrl, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $Summary, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaTeamChannelTab -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TeamsAppId, - - [Parameter()] - [System.String] - $MessageId, - - [Parameter()] - [System.String] - $SortOrderIndex, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [PSObject] - $TeamsApp, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Configuration, - - [Parameter()] - [System.String] - $WebUrl, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaTeam -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaTeamChannel -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaTeamChannelTab -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [System.String] - $TeamsTabId, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaTeam -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $PrimaryChannel, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $Tags, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMembershipLimitedToOwners, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $AllChannels, - - [Parameter()] - [System.String] - $Classification, - - [Parameter()] - [System.String] - $InternalId, - - [Parameter()] - [PSObject] - $MemberSettings, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Group, - - [Parameter()] - [System.String] - $Specialization, - - [Parameter()] - [PSObject] - $IncomingChannels, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsArchived, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [PSObject] - $Photo, - - [Parameter()] - [System.String] - $Visibility, - - [Parameter()] - [PSObject] - $MessagingSettings, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [PSObject] - $PermissionGrants, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $InstalledApps, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [PSObject] - $FunSettings, - - [Parameter()] - [PSObject] - $Schedule, - - [Parameter()] - [PSObject] - $Operations, - - [Parameter()] - [PSObject] - $GuestSettings, - - [Parameter()] - [System.String] - $WebUrl, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Collections.Hashtable] - $Template, - - [Parameter()] - [PSObject] - $Summary, - - [Parameter()] - [PSObject] - $DiscoverySettings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $TemplateDefinition, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Channels - ) -} -function Update-MgBetaTeamChannel -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $FilesFolder, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [PSObject] - $Tabs, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $SharedWithTeams, - - [Parameter()] - [PSObject] - $Messages, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsFavoriteByDefault, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.String] - $Email, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ModerationSettings, - - [Parameter()] - [System.String] - $MembershipType, - - [Parameter()] - [System.String] - $WebUrl, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $Summary, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaTeamChannelTab -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TeamsAppId, - - [Parameter()] - [System.String] - $MessageId, - - [Parameter()] - [System.String] - $SortOrderIndex, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [PSObject] - $TeamsApp, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Configuration, - - [Parameter()] - [System.String] - $WebUrl, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $TeamsTabId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion - -#region Microsoft.Graph.deviceManagement - -function New-MgBetaDeviceAppManagementMobileAppCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $DisplayName - ) -} - -function Get-MgBetaDeviceAppManagementMobileAppCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $MobileAppCategoryId, - - [Parameter()] - [System.String] - $DisplayName - ) -} - -function Update-MgBetaDeviceAppManagementMobileAppCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $MobileAppCategoryId, - - [Parameter()] - [System.String] - $DisplayName - ) -} - -function Remove-MgBetaDeviceAppManagementMobileAppCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $MobileAppCategoryId, - - [Parameter()] - [System.Boolean] - $Confirm - ) -} - -#region Microsoft.Graph.DeviceManagement.Administration -function Get-MgDeviceManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $DeviceAndAppManagementRoleAssignmentId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgDeviceManagementRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgDeviceManagementRoleDefinitionRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $RoleAssignmentId, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgDeviceManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String[]] - $ResourceScopes, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String[]] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $RoleDefinition, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgDeviceManagementRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $RoleAssignments, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltIn, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $RolePermissions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgDeviceManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceAndAppManagementRoleAssignmentId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgDeviceManagementRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgDeviceManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String[]] - $ResourceScopes, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceAndAppManagementRoleAssignmentId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $RoleDefinition, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgDeviceManagementRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $RoleAssignments, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltIn, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [PSObject] - $RolePermissions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion - -#endregion Microsoft.Graph.DeviceManagement - -#region Microsoft.Graph.DirectoryObjects -function Get-MgDirectoryObject -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Beta.Identity.Governance -function Get-MgBetaAgreement -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AgreementId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $CatalogId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DisplayNameContains, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $DisplayNameEq, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $AccessPackageAssignmentId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $AccessPackageAssignmentPolicyId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DisplayNameContains, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $DisplayNameEq, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageCatalog -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DisplayNameContains, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $DisplayNameEq, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageCatalogAccessPackageResource -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageCatalogAccessPackageResourceRole -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageIncompatibleGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageIncompatibleWith -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $AccessPackageId1, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementConnectedOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DisplayNameContains, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $DisplayNameEq, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementConnectedOrganizationExternalSponsor -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementConnectedOrganizationInternalSponsor -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementSetting -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaRoleManagementDirectory -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaRoleManagementDirectoryRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $UnifiedRoleAssignmentId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaRoleManagementDirectoryRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.String] - $UnifiedRoleDefinitionId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaRoleManagementDirectoryRoleEligibilitySchedule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $UnifiedRoleEligibilityScheduleId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $UnifiedRoleEligibilityScheduleRequestId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaRoleManagementEntitlementManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaRoleManagementEntitlementManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $UnifiedRoleAssignmentId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaRoleManagementEntitlementManagementRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.String] - $UnifiedRoleDefinitionId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $UniqueName, - - [Parameter()] - [PSObject] - $AccessPackagesIncompatibleWith, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $IncompatibleGroups, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AccessPackageCatalog, - - [Parameter()] - [System.String] - $CatalogId, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AccessPackageAssignmentPolicies, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsRoleScopesVisible, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $IncompatibleAccessPackages, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $AccessPackageResourceRoleScopes, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsHidden - ) -} -function New-MgBetaEntitlementManagementAccessPackageAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Justification, - - [Parameter()] - [System.String[]] - $RequiredUserId, - - [Parameter()] - [PSObject] - $Answers, - - [Parameter()] - [PSObject] - $ExistingAssignment, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.PSObject[]] - $RequiredGroupMember, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $StartDate, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $AssignmentPolicyId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $CustomExtensionStageSettings, - - [Parameter()] - [PSObject] - $AccessPackageCatalog, - - [Parameter()] - [PSObject] - $Questions, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [PSObject] - $VerifiableCredentialSettings, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AccessReviewSettings, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [PSObject] - $RequestorSettings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $CanExtend, - - [Parameter()] - [PSObject] - $CustomExtensionHandlers, - - [Parameter()] - [System.Int32] - $DurationInDays, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.DateTime] - $ExpirationDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $RequestApprovalSettings, - - [Parameter()] - [PSObject] - $AccessPackage, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $AccessPackageNotificationSettings, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageCatalog -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsExternallyVisible, - - [Parameter()] - [System.String] - $UniqueName, - - [Parameter()] - [PSObject] - $AccessPackageCustomWorkflowExtensions, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $AccessPackages, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [PSObject] - $AccessPackageResourceScopes, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AccessPackageResources, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [PSObject] - $CustomAccessPackageWorkflowExtensions, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $CatalogStatus, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $AccessPackageResourceRoles, - - [Parameter()] - [System.String] - $CatalogType, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackageByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageIncompatibleGroupByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageResourceRequest -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Justification, - - [Parameter()] - [PSObject] - $AccessPackageResource, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExecuteImmediately, - - [Parameter()] - [System.String] - $CatalogId, - - [Parameter()] - [System.String] - $RequestType, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Requestor, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsValidationOnly, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.DateTime] - $ExpirationDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $RequestState, - - [Parameter()] - [System.String] - $RequestStatus, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageResourceRoleScope -{ - [CmdletBinding()] - param( - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [PSObject] - $AccessPackageResourceScope, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $AccessPackageResourceRole, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementConnectedOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $ExternalSponsors, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $IdentitySources, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $InternalSponsors, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $DomainName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaRoleManagementDirectoryRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Principal, - - [Parameter()] - [System.String] - $ResourceScope, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $DirectoryScope, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $PrincipalId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $Condition, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [PSObject] - $RoleDefinition, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AppScope, - - [Parameter()] - [System.String] - $DirectoryScopeId, - - [Parameter()] - [System.String] - $PrincipalOrganizationId, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $AppScopeId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaRoleManagementDirectoryRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String[]] - $ResourceScopes, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsPrivileged, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltIn, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $InheritsPermissionsFrom, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $AllowedPrincipalTypes, - - [Parameter()] - [PSObject] - $RolePermissions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabled, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaRoleManagementDirectoryRoleEligibilitySchedule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $MemberType, - - [Parameter()] - [PSObject] - $Principal, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $CreatedUsing, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $ScheduleInfo, - - [Parameter()] - [PSObject] - $DirectoryScope, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $PrincipalId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Status, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [PSObject] - $RoleDefinition, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AppScope, - - [Parameter()] - [System.String] - $DirectoryScopeId, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $AppScopeId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Justification, - - [Parameter()] - [PSObject] - $Principal, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $Action, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $ScheduleInfo, - - [Parameter()] - [PSObject] - $DirectoryScope, - - [Parameter()] - [PSObject] - $TargetSchedule, - - [Parameter()] - [System.String] - $ApprovalId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CustomData, - - [Parameter()] - [PSObject] - $CreatedBy, - - [Parameter()] - [System.String] - $PrincipalId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsValidationOnly, - - [Parameter()] - [System.DateTime] - $CompletedDateTime, - - [Parameter()] - [PSObject] - $TicketInfo, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Status, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $TargetScheduleId, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [PSObject] - $RoleDefinition, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AppScope, - - [Parameter()] - [System.String] - $DirectoryScopeId, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $AppScopeId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaRoleManagementEntitlementManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Principal, - - [Parameter()] - [System.String] - $ResourceScope, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $DirectoryScope, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $PrincipalId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $Condition, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [PSObject] - $RoleDefinition, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AppScope, - - [Parameter()] - [System.String] - $DirectoryScopeId, - - [Parameter()] - [System.String] - $PrincipalOrganizationId, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $AppScopeId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaEntitlementManagementAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $AccessPackageAssignmentId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageAssignmentPolicyId, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageCatalog -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackageByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageIncompatibleGroupByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageResourceRoleScope -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $AccessPackageResourceRoleScopeId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementConnectedOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorDirectoryObjectByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorDirectoryObjectByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaRoleManagementDirectory -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaRoleManagementDirectoryRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $UnifiedRoleAssignmentId, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaRoleManagementDirectoryRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $UnifiedRoleDefinitionId, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaRoleManagementEntitlementManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaRoleManagementEntitlementManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $UnifiedRoleAssignmentId, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Set-MgBetaEntitlementManagementAccessPackageAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $CustomExtensionStageSettings, - - [Parameter()] - [PSObject] - $AccessPackageCatalog, - - [Parameter()] - [PSObject] - $Questions, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AccessReviewSettings, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.String] - $AccessPackageAssignmentPolicyId, - - [Parameter()] - [PSObject] - $RequestorSettings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $CanExtend, - - [Parameter()] - [PSObject] - $VerifiableCredentialSettings, - - [Parameter()] - [PSObject] - $CustomExtensionHandlers, - - [Parameter()] - [System.Int32] - $DurationInDays, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.DateTime] - $ExpirationDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $RequestApprovalSettings, - - [Parameter()] - [PSObject] - $AccessPackage, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $AccessPackageNotificationSettings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaEntitlementManagementAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $AccessPackagesIncompatibleWith, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $IncompatibleGroups, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $AccessPackageCatalog, - - [Parameter()] - [System.String] - $CatalogId, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AccessPackageAssignmentPolicies, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsRoleScopesVisible, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $IncompatibleAccessPackages, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AccessPackageResourceRoleScopes, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $UniqueName, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsHidden - ) -} -function Update-MgBetaEntitlementManagementAccessPackageCatalog -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsExternallyVisible, - - [Parameter()] - [System.String] - $UniqueName, - - [Parameter()] - [PSObject] - $AccessPackageCustomWorkflowExtensions, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $AccessPackages, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AccessPackageResources, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [PSObject] - $CustomAccessPackageWorkflowExtensions, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $CatalogStatus, - - [Parameter()] - [PSObject] - $AccessPackageResourceScopes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $AccessPackageResourceRoles, - - [Parameter()] - [System.String] - $CatalogType, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaEntitlementManagementConnectedOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $ExternalSponsors, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $IdentitySources, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [PSObject] - $InternalSponsors, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaEntitlementManagementSetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Int32] - $DaysUntilExternalUserDeletedAfterBlocked, - - [Parameter()] - [System.String] - $ExternalUserLifecycleAction - ) -} -function Update-MgBetaRoleManagementDirectory -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $RoleAssignmentScheduleRequests, - - [Parameter()] - [PSObject] - $TransitiveRoleAssignments, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $RoleEligibilitySchedules, - - [Parameter()] - [PSObject] - $ResourceNamespaces, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $RoleDefinitions, - - [Parameter()] - [PSObject] - $RoleEligibilityScheduleRequests, - - [Parameter()] - [PSObject] - $RoleAssignmentSchedules, - - [Parameter()] - [PSObject] - $RoleAssignments, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $RoleEligibilityScheduleInstances, - - [Parameter()] - [PSObject] - $RoleAssignmentScheduleInstances, - - [Parameter()] - [PSObject] - $RoleAssignmentApprovals, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaRoleManagementDirectoryRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String[]] - $ResourceScopes, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsPrivileged, - - [Parameter()] - [System.String] - $UnifiedRoleDefinitionId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltIn, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $InheritsPermissionsFrom, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $AllowedPrincipalTypes, - - [Parameter()] - [PSObject] - $RolePermissions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion - -#region Microsoft.Graph.Groups -function Get-MgGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgGroupLifecyclePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupLifecyclePolicyId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaGroupMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgGroupMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgGroupMemberOf -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaGroupMemberOf -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgGroupOwner -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaGroupOwner -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Mail, - - [Parameter()] - [System.String] - $Visibility, - - [Parameter()] - [PSObject] - $PermissionGrants, - - [Parameter()] - [PSObject] - $Sites, - - [Parameter()] - [PSObject] - $AppRoleAssignments, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SecurityEnabled, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $Calendar, - - [Parameter()] - [System.String] - $SecurityIdentifier, - - [Parameter()] - [PSObject] - $AssignedLicenses, - - [Parameter()] - [System.DateTime] - $RenewedDateTime, - - [Parameter()] - [PSObject] - $RejectedSenders, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [System.Int32] - $UnseenCount, - - [Parameter()] - [System.String] - $Classification, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AutoSubscribeNewMembers, - - [Parameter()] - [System.String[]] - $ProxyAddresses, - - [Parameter()] - [System.String] - $OnPremisesNetBiosName, - - [Parameter()] - [System.DateTime] - $ExpirationDateTime, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $OnPremisesProvisioningErrors, - - [Parameter()] - [System.String] - $OnPremisesSecurityIdentifier, - - [Parameter()] - [System.String] - $PreferredLanguage, - - [Parameter()] - [PSObject] - $TransitiveMembers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $HideFromAddressLists, - - [Parameter()] - [PSObject] - $Planner, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.DateTime] - $OnPremisesLastSyncDateTime, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [PSObject] - $GroupLifecyclePolicies, - - [Parameter()] - [PSObject] - $LicenseProcessingState, - - [Parameter()] - [System.String] - $OnPremisesDomainName, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [PSObject] - $AssignedLabels, - - [Parameter()] - [PSObject] - $AcceptedSenders, - - [Parameter()] - [PSObject] - $Onenote, - - [Parameter()] - [System.String] - $MembershipRuleProcessingState, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $MemberOf, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $MailEnabled, - - [Parameter()] - [PSObject] - $Drives, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowExternalSenders, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $Photo, - - [Parameter()] - [System.String] - $Theme, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $HasMembersWithLicenseErrors, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $TransitiveMemberOf, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OnPremisesSyncEnabled, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsArchived, - - [Parameter()] - [PSObject] - $Drive, - - [Parameter()] - [System.String] - $MailNickname, - - [Parameter()] - [PSObject] - $CalendarView, - - [Parameter()] - [PSObject] - $Photos, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssignableToRole, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $CreatedOnBehalfOf, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $HideFromOutlookClients, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsSubscribedByMail, - - [Parameter()] - [PSObject] - $Events, - - [Parameter()] - [PSObject] - $Threads, - - [Parameter()] - [PSObject] - $Team, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [System.String[]] - $GroupTypes, - - [Parameter()] - [System.String] - $MembershipRule, - - [Parameter()] - [System.String] - $PreferredDataLocation, - - [Parameter()] - [System.String] - $OnPremisesSamAccountName, - - [Parameter()] - [PSObject] - $Conversations, - - [Parameter()] - [PSObject] - $MembersWithLicenseErrors, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgGroupLifecyclePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $GroupLifetimeInDays, - - [Parameter()] - [System.String] - $AlternateNotificationEmails, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $ManagedGroupTypes, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgGroupMember -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaGroupMember -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgGroupMemberByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} - -function New-MgBetaGroupMemberByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgGroupOwner -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaGroupOwnerByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgGroupOwnerByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgGroupLifecyclePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $GroupLifecyclePolicyId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgGroupMemberDirectoryObjectByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgGroupOwnerDirectoryObjectByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Set-MgGroupLicense -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $RemoveLicenses, - - [Parameter()] - [PSObject] - $AddLicenses, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Mail, - - [Parameter()] - [System.String] - $Visibility, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $PermissionGrants, - - [Parameter()] - [PSObject] - $Sites, - - [Parameter()] - [PSObject] - $AppRoleAssignments, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SecurityEnabled, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $Calendar, - - [Parameter()] - [System.String] - $SecurityIdentifier, - - [Parameter()] - [PSObject] - $AssignedLicenses, - - [Parameter()] - [System.DateTime] - $RenewedDateTime, - - [Parameter()] - [PSObject] - $RejectedSenders, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [System.Int32] - $UnseenCount, - - [Parameter()] - [System.String] - $Classification, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AutoSubscribeNewMembers, - - [Parameter()] - [System.String] - $MailNickname, - - [Parameter()] - [System.String[]] - $ProxyAddresses, - - [Parameter()] - [System.DateTime] - $ExpirationDateTime, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $OnPremisesProvisioningErrors, - - [Parameter()] - [System.String] - $OnPremisesSecurityIdentifier, - - [Parameter()] - [System.String] - $PreferredLanguage, - - [Parameter()] - [PSObject] - $TransitiveMembers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $HideFromAddressLists, - - [Parameter()] - [PSObject] - $Planner, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.DateTime] - $OnPremisesLastSyncDateTime, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [PSObject] - $GroupLifecyclePolicies, - - [Parameter()] - [PSObject] - $LicenseProcessingState, - - [Parameter()] - [System.String] - $OnPremisesDomainName, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [PSObject] - $AssignedLabels, - - [Parameter()] - [PSObject] - $AcceptedSenders, - - [Parameter()] - [PSObject] - $Onenote, - - [Parameter()] - [System.String] - $MembershipRuleProcessingState, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $MemberOf, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $MailEnabled, - - [Parameter()] - [PSObject] - $Drives, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowExternalSenders, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $Photo, - - [Parameter()] - [System.String] - $Theme, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $HasMembersWithLicenseErrors, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $TransitiveMemberOf, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OnPremisesSyncEnabled, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsArchived, - - [Parameter()] - [PSObject] - $Drive, - - [Parameter()] - [System.String] - $OnPremisesNetBiosName, - - [Parameter()] - [PSObject] - $CalendarView, - - [Parameter()] - [PSObject] - $Photos, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssignableToRole, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $CreatedOnBehalfOf, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $HideFromOutlookClients, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsSubscribedByMail, - - [Parameter()] - [PSObject] - $Events, - - [Parameter()] - [PSObject] - $Threads, - - [Parameter()] - [PSObject] - $Team, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [System.String[]] - $GroupTypes, - - [Parameter()] - [System.String] - $MembershipRule, - - [Parameter()] - [System.String] - $PreferredDataLocation, - - [Parameter()] - [System.String] - $OnPremisesSamAccountName, - - [Parameter()] - [PSObject] - $Conversations, - - [Parameter()] - [PSObject] - $MembersWithLicenseErrors, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgGroupLifecyclePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Int32] - $GroupLifetimeInDays, - - [Parameter()] - [System.String] - $AlternateNotificationEmails, - - [Parameter()] - [System.String] - $GroupLifecyclePolicyId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $ManagedGroupTypes, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Planner -function Get-MgGroupPlanner -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgGroupPlannerPlan -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $PlannerPlanId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgGroupPlannerPlanTask -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $PlannerPlanId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgPlanner -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgPlannerPlan -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $PlannerPlanId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgPlannerPlanBucket -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $PlannerPlanId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgPlannerTask -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $PlannerTaskId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgPlannerTaskDetail -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $PlannerTaskId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgPlannerBucket -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $OrderHint, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $PlanId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $Tasks, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgPlannerPlan -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Buckets, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $Owner, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Tasks, - - [Parameter()] - [PSObject] - $Container, - - [Parameter()] - [PSObject] - $CreatedBy, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Title, - - [Parameter()] - [PSObject] - $Details, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgPlannerTask -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $ReferenceCount, - - [Parameter()] - [System.String] - $PlanId, - - [Parameter()] - [System.Collections.Hashtable] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $ProgressTaskBoardFormat, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Collections.Hashtable] - $AppliedCategories, - - [Parameter()] - [System.String] - $BucketId, - - [Parameter()] - [PSObject] - $CreatedBy, - - [Parameter()] - [System.Int32] - $PercentComplete, - - [Parameter()] - [System.String] - $Title, - - [Parameter()] - [System.String] - $PreviewType, - - [Parameter()] - [PSObject] - $AssignedToTaskBoardFormat, - - [Parameter()] - [System.DateTime] - $CompletedDateTime, - - [Parameter()] - [System.Int32] - $ChecklistItemCount, - - [Parameter()] - [System.String] - $AssigneePriority, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.DateTime] - $StartDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $CompletedBy, - - [Parameter()] - [PSObject] - $Details, - - [Parameter()] - [PSObject] - $BucketTaskBoardFormat, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $OrderHint, - - [Parameter()] - [System.DateTime] - $DueDateTime, - - [Parameter()] - [System.Int32] - $ActiveChecklistItemCount, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $HasDescription, - - [Parameter()] - [System.String] - $ConversationThreadId - ) -} -function Remove-MgPlannerTask -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $PlannerTaskId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgPlanner -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $Buckets, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $Tasks, - - [Parameter()] - [PSObject] - $Plans, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgPlannerPlan -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $PlannerPlanId, - - [Parameter()] - [PSObject] - $Buckets, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $Owner, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Tasks, - - [Parameter()] - [PSObject] - $Container, - - [Parameter()] - [PSObject] - $CreatedBy, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Title, - - [Parameter()] - [PSObject] - $Details, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Users -function Get-MgUser -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $UserId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgUserLicenseDetail -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $UserId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $LicenseDetailsId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgUser -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Todo, - - [Parameter()] - [PSObject] - $Insights, - - [Parameter()] - [PSObject] - $OnlineMeetings, - - [Parameter()] - [PSObject] - $AssignedPlans, - - [Parameter()] - [System.String] - $ExternalUserState, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.DateTime] - $EmployeeHireDate, - - [Parameter()] - [System.String] - $OnPremisesImmutableId, - - [Parameter()] - [PSObject] - $RegisteredDevices, - - [Parameter()] - [PSObject] - $AppRoleAssignments, - - [Parameter()] - [System.String] - $PreferredName, - - [Parameter()] - [System.DateTime] - $ExternalUserStateChangeDateTime, - - [Parameter()] - [System.String[]] - $ImAddresses, - - [Parameter()] - [System.String] - $OnPremisesDomainName, - - [Parameter()] - [System.String] - $AboutMe, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.DateTime] - $SignInSessionsValidFromDateTime, - - [Parameter()] - [System.DateTime] - $Birthday, - - [Parameter()] - [System.DateTime] - $HireDate, - - [Parameter()] - [PSObject] - $Chats, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $EmployeeOrgData, - - [Parameter()] - [System.DateTime] - $LastPasswordChangeDateTime, - - [Parameter()] - [PSObject] - $Manager, - - [Parameter()] - [PSObject] - $InferenceClassification, - - [Parameter()] - [PSObject] - $CalendarGroups, - - [Parameter()] - [PSObject] - $MailFolders, - - [Parameter()] - [PSObject] - $ScopedRoleMemberOf, - - [Parameter()] - [System.String] - $ConsentProvidedForMinor, - - [Parameter()] - [PSObject] - $AgreementAcceptances, - - [Parameter()] - [System.String] - $EmployeeType, - - [Parameter()] - [PSObject] - $OwnedObjects, - - [Parameter()] - [PSObject] - $AuthorizationInfo, - - [Parameter()] - [PSObject] - $Photos, - - [Parameter()] - [PSObject] - $Oauth2PermissionGrants, - - [Parameter()] - [System.String] - $PreferredDataLocation, - - [Parameter()] - [PSObject] - $MailboxSettings, - - [Parameter()] - [System.String] - $Country, - - [Parameter()] - [System.String] - $OnPremisesDistinguishedName, - - [Parameter()] - [System.String[]] - $Skills, - - [Parameter()] - [System.String] - $MobilePhone, - - [Parameter()] - [System.String] - $FaxNumber, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.Int32] - $DeviceEnrollmentLimit, - - [Parameter()] - [System.String] - $Mail, - - [Parameter()] - [System.String] - $GivenName, - - [Parameter()] - [PSObject] - $ContactFolders, - - [Parameter()] - [PSObject] - $People, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsResourceAccount, - - [Parameter()] - [System.String[]] - $OtherMails, - - [Parameter()] - [System.String] - $PasswordPolicies, - - [Parameter()] - [System.String] - $CreationType, - - [Parameter()] - [System.String] - $OnPremisesUserPrincipalName, - - [Parameter()] - [System.String] - $PreferredLanguage, - - [Parameter()] - [System.DateTime] - $OnPremisesLastSyncDateTime, - - [Parameter()] - [System.String] - $AgeGroup, - - [Parameter()] - [PSObject] - $Planner, - - [Parameter()] - [PSObject] - $Contacts, - - [Parameter()] - [PSObject] - $Calendars, - - [Parameter()] - [PSObject] - $Drive, - - [Parameter()] - [System.String] - $UsageLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ShowInAddressList, - - [Parameter()] - [System.String] - $JobTitle, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AccountEnabled, - - [Parameter()] - [System.String[]] - $Schools, - - [Parameter()] - [PSObject] - $SignInActivity, - - [Parameter()] - [System.String] - $City, - - [Parameter()] - [PSObject] - $Teamwork, - - [Parameter()] - [PSObject] - $ManagedAppRegistrations, - - [Parameter()] - [PSObject] - $Messages, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [PSObject] - $Identities, - - [Parameter()] - [PSObject] - $JoinedTeams, - - [Parameter()] - [System.String] - $MySite, - - [Parameter()] - [System.String[]] - $BusinessPhones, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String[]] - $ProxyAddresses, - - [Parameter()] - [System.String] - $OfficeLocation, - - [Parameter()] - [PSObject] - $Presence, - - [Parameter()] - [PSObject] - $PasswordProfile, - - [Parameter()] - [System.String] - $UserType, - - [Parameter()] - [PSObject] - $TransitiveMemberOf, - - [Parameter()] - [PSObject] - $ManagedDevices, - - [Parameter()] - [PSObject] - $CreatedObjects, - - [Parameter()] - [PSObject] - $Photo, - - [Parameter()] - [PSObject] - $LicenseDetails, - - [Parameter()] - [System.String] - $StreetAddress, - - [Parameter()] - [PSObject] - $CalendarView, - - [Parameter()] - [PSObject] - $Onenote, - - [Parameter()] - [System.String] - $SecurityIdentifier, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $OwnedDevices, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $FollowedSites, - - [Parameter()] - [PSObject] - $Drives, - - [Parameter()] - [System.String[]] - $Interests, - - [Parameter()] - [System.String] - $LegalAgeGroupClassification, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $OnPremisesSecurityIdentifier, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Calendar, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OnPremisesSyncEnabled, - - [Parameter()] - [System.String] - $Department, - - [Parameter()] - [System.String] - $CompanyName, - - [Parameter()] - [PSObject] - $MemberOf, - - [Parameter()] - [System.String] - $EmployeeId, - - [Parameter()] - [PSObject] - $AssignedLicenses, - - [Parameter()] - [PSObject] - $Events, - - [Parameter()] - [System.String] - $UserPrincipalName, - - [Parameter()] - [System.String[]] - $Responsibilities, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $ProvisionedPlans, - - [Parameter()] - [PSObject] - $OnPremisesProvisioningErrors, - - [Parameter()] - [System.String] - $MailNickname, - - [Parameter()] - [PSObject] - $OnPremisesExtensionAttributes, - - [Parameter()] - [System.String[]] - $PastProjects, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $DirectReports, - - [Parameter()] - [PSObject] - $Authentication, - - [Parameter()] - [PSObject] - $LicenseAssignmentStates, - - [Parameter()] - [PSObject] - $Activities, - - [Parameter()] - [PSObject] - $Outlook, - - [Parameter()] - [PSObject] - $DeviceManagementTroubleshootingEvents, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $OnPremisesSamAccountName, - - [Parameter()] - [System.DateTime] - $EmployeeLeaveDateTime, - - [Parameter()] - [System.String] - $PostalCode, - - [Parameter()] - [System.String] - $Surname - ) -} -function Remove-MgUser -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $UserId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgUser -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Todo, - - [Parameter()] - [PSObject] - $Insights, - - [Parameter()] - [PSObject] - $OnlineMeetings, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $AssignedPlans, - - [Parameter()] - [System.String] - $ExternalUserState, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.DateTime] - $EmployeeHireDate, - - [Parameter()] - [System.String] - $OnPremisesImmutableId, - - [Parameter()] - [PSObject] - $RegisteredDevices, - - [Parameter()] - [PSObject] - $AppRoleAssignments, - - [Parameter()] - [System.DateTime] - $ExternalUserStateChangeDateTime, - - [Parameter()] - [System.String[]] - $ImAddresses, - - [Parameter()] - [System.String] - $OnPremisesDomainName, - - [Parameter()] - [System.String] - $AboutMe, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.DateTime] - $SignInSessionsValidFromDateTime, - - [Parameter()] - [System.DateTime] - $EmployeeLeaveDateTime, - - [Parameter()] - [System.DateTime] - $Birthday, - - [Parameter()] - [System.DateTime] - $HireDate, - - [Parameter()] - [PSObject] - $Chats, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $EmployeeOrgData, - - [Parameter()] - [System.DateTime] - $LastPasswordChangeDateTime, - - [Parameter()] - [PSObject] - $Manager, - - [Parameter()] - [PSObject] - $InferenceClassification, - - [Parameter()] - [PSObject] - $CalendarGroups, - - [Parameter()] - [PSObject] - $MailFolders, - - [Parameter()] - [PSObject] - $ScopedRoleMemberOf, - - [Parameter()] - [System.String] - $ConsentProvidedForMinor, - - [Parameter()] - [PSObject] - $AgreementAcceptances, - - [Parameter()] - [System.String] - $EmployeeType, - - [Parameter()] - [PSObject] - $OwnedObjects, - - [Parameter()] - [PSObject] - $AuthorizationInfo, - - [Parameter()] - [PSObject] - $Photos, - - [Parameter()] - [PSObject] - $Oauth2PermissionGrants, - - [Parameter()] - [System.String] - $PreferredDataLocation, - - [Parameter()] - [PSObject] - $MailboxSettings, - - [Parameter()] - [System.String] - $Country, - - [Parameter()] - [System.String] - $OnPremisesDistinguishedName, - - [Parameter()] - [System.String[]] - $Skills, - - [Parameter()] - [System.String] - $MobilePhone, - - [Parameter()] - [System.String] - $FaxNumber, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.Int32] - $DeviceEnrollmentLimit, - - [Parameter()] - [System.String] - $Mail, - - [Parameter()] - [System.String] - $GivenName, - - [Parameter()] - [PSObject] - $ContactFolders, - - [Parameter()] - [PSObject] - $People, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsResourceAccount, - - [Parameter()] - [System.String[]] - $OtherMails, - - [Parameter()] - [System.String] - $PasswordPolicies, - - [Parameter()] - [System.String] - $CreationType, - - [Parameter()] - [System.String] - $OnPremisesUserPrincipalName, - - [Parameter()] - [System.String] - $PreferredLanguage, - - [Parameter()] - [System.DateTime] - $OnPremisesLastSyncDateTime, - - [Parameter()] - [System.String] - $AgeGroup, - - [Parameter()] - [PSObject] - $Planner, - - [Parameter()] - [PSObject] - $Contacts, - - [Parameter()] - [PSObject] - $Calendars, - - [Parameter()] - [PSObject] - $Drive, - - [Parameter()] - [System.String] - $UsageLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ShowInAddressList, - - [Parameter()] - [System.String] - $JobTitle, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AccountEnabled, - - [Parameter()] - [System.String[]] - $Schools, - - [Parameter()] - [PSObject] - $SignInActivity, - - [Parameter()] - [System.String] - $City, - - [Parameter()] - [PSObject] - $Teamwork, - - [Parameter()] - [PSObject] - $ManagedAppRegistrations, - - [Parameter()] - [PSObject] - $Messages, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [PSObject] - $Identities, - - [Parameter()] - [PSObject] - $JoinedTeams, - - [Parameter()] - [System.String] - $MySite, - - [Parameter()] - [System.String[]] - $BusinessPhones, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String[]] - $ProxyAddresses, - - [Parameter()] - [System.String] - $OfficeLocation, - - [Parameter()] - [PSObject] - $Presence, - - [Parameter()] - [PSObject] - $PasswordProfile, - - [Parameter()] - [System.String] - $UserType, - - [Parameter()] - [PSObject] - $TransitiveMemberOf, - - [Parameter()] - [PSObject] - $ManagedDevices, - - [Parameter()] - [PSObject] - $CreatedObjects, - - [Parameter()] - [PSObject] - $Photo, - - [Parameter()] - [PSObject] - $LicenseDetails, - - [Parameter()] - [System.String] - $StreetAddress, - - [Parameter()] - [PSObject] - $CalendarView, - - [Parameter()] - [PSObject] - $Onenote, - - [Parameter()] - [System.String] - $SecurityIdentifier, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $OwnedDevices, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $FollowedSites, - - [Parameter()] - [PSObject] - $Drives, - - [Parameter()] - [System.String[]] - $Interests, - - [Parameter()] - [System.String] - $LegalAgeGroupClassification, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $OnPremisesSecurityIdentifier, - - [Parameter()] - [System.String] - $UserId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Calendar, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OnPremisesSyncEnabled, - - [Parameter()] - [System.String] - $Department, - - [Parameter()] - [System.String] - $CompanyName, - - [Parameter()] - [PSObject] - $MemberOf, - - [Parameter()] - [System.String] - $EmployeeId, - - [Parameter()] - [PSObject] - $AssignedLicenses, - - [Parameter()] - [PSObject] - $Events, - - [Parameter()] - [System.String] - $UserPrincipalName, - - [Parameter()] - [System.String[]] - $Responsibilities, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $ProvisionedPlans, - - [Parameter()] - [PSObject] - $OnPremisesProvisioningErrors, - - [Parameter()] - [System.String] - $MailNickname, - - [Parameter()] - [PSObject] - $OnPremisesExtensionAttributes, - - [Parameter()] - [System.String[]] - $PastProjects, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $DirectReports, - - [Parameter()] - [PSObject] - $Authentication, - - [Parameter()] - [PSObject] - $LicenseAssignmentStates, - - [Parameter()] - [PSObject] - $Activities, - - [Parameter()] - [PSObject] - $Outlook, - - [Parameter()] - [PSObject] - $DeviceManagementTroubleshootingEvents, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $OnPremisesSamAccountName, - - [Parameter()] - [System.String] - $PreferredName, - - [Parameter()] - [System.String] - $PostalCode, - - [Parameter()] - [System.String] - $Surname - ) -} -#endregion -#region Microsoft.Graph.Users.Actions -function Set-MgUserLicense -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $RemoveLicenses, - - [Parameter()] - [PSObject] - $AddLicenses, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $UserId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -#endregion -#region Microsoft.Graph.Applications -function Get-MgApplication -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgApplicationOwner -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgServicePrincipal -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $ServicePrincipalId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgServicePrincipalAppRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AppRoleAssignmentId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $ServicePrincipalId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgApplication -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $OptionalClaims, - - [Parameter()] - [PSObject] - $HomeRealmDiscoveryPolicies, - - [Parameter()] - [PSObject] - $Spa, - - [Parameter()] - [PSObject] - $Synchronization, - - [Parameter()] - [System.String] - $DefaultRedirectUri, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $ApplicationTemplateId, - - [Parameter()] - [System.String] - $SignInAudience, - - [Parameter()] - [PSObject] - $VerifiedPublisher, - - [Parameter()] - [System.String[]] - $IdentifierUris, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDeviceOnlyAuthSupported, - - [Parameter()] - [System.String] - $TokenEncryptionKeyId, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $TokenIssuancePolicies, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $Api, - - [Parameter()] - [System.String] - $PublisherDomain, - - [Parameter()] - [System.String] - $GroupMembershipClaims, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String[]] - $Tags, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [PSObject] - $FederatedIdentityCredentials, - - [Parameter()] - [PSObject] - $TokenLifetimePolicies, - - [Parameter()] - [PSObject] - $AppManagementPolicies, - - [Parameter()] - [System.String] - $DisabledByMicrosoftStatus, - - [Parameter()] - [PSObject] - $PasswordCredentials, - - [Parameter()] - [PSObject] - $PublicClient, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Oauth2RequirePostResponse, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [PSObject] - $RequiredResourceAccess, - - [Parameter()] - [PSObject] - $ParentalControlSettings, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsFallbackPublicClient, - - [Parameter()] - [PSObject] - $AddIns, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [PSObject] - $RequestSignatureVerification, - - [Parameter()] - [System.String] - $LogoInputFile, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $AppRoles, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ExtensionProperties, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $CreatedOnBehalfOf, - - [Parameter()] - [System.String] - $ServiceManagementReference, - - [Parameter()] - [PSObject] - $KeyCredentials, - - [Parameter()] - [PSObject] - $Certification, - - [Parameter()] - [System.String] - $SamlMetadataUrl, - - [Parameter()] - [PSObject] - $Info, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $AppId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgApplicationOwnerByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgServicePrincipal -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $ServicePrincipalNames, - - [Parameter()] - [System.String[]] - $AlternativeNames, - - [Parameter()] - [System.String] - $AppDescription, - - [Parameter()] - [PSObject] - $HomeRealmDiscoveryPolicies, - - [Parameter()] - [PSObject] - $Oauth2PermissionScopes, - - [Parameter()] - [PSObject] - $Synchronization, - - [Parameter()] - [PSObject] - $AppRoleAssignments, - - [Parameter()] - [System.String] - $ApplicationTemplateId, - - [Parameter()] - [System.String] - $SignInAudience, - - [Parameter()] - [PSObject] - $VerifiedPublisher, - - [Parameter()] - [System.String[]] - $NotificationEmailAddresses, - - [Parameter()] - [PSObject] - $ClaimsMappingPolicies, - - [Parameter()] - [System.String] - $TokenEncryptionKeyId, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $TokenIssuancePolicies, - - [Parameter()] - [System.String] - $PreferredTokenSigningKeyThumbprint, - - [Parameter()] - [System.String] - $AppDisplayName, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $AppRoleAssignedTo, - - [Parameter()] - [System.String] - $Homepage, - - [Parameter()] - [System.String] - $ServicePrincipalType, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $SamlSingleSignOnSettings, - - [Parameter()] - [System.String[]] - $Tags, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [PSObject] - $OwnedObjects, - - [Parameter()] - [PSObject] - $FederatedIdentityCredentials, - - [Parameter()] - [System.String] - $LoginUrl, - - [Parameter()] - [PSObject] - $TokenLifetimePolicies, - - [Parameter()] - [PSObject] - $AppManagementPolicies, - - [Parameter()] - [PSObject] - $CreatedObjects, - - [Parameter()] - [System.String] - $DisabledByMicrosoftStatus, - - [Parameter()] - [PSObject] - $DelegatedPermissionClassifications, - - [Parameter()] - [System.Collections.Hashtable] - $CustomSecurityAttributes, - - [Parameter()] - [PSObject] - $PasswordCredentials, - - [Parameter()] - [PSObject] - $MemberOf, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [PSObject] - $Endpoints, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $AppOwnerOrganizationId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $TransitiveMemberOf, - - [Parameter()] - [PSObject] - $AppRoles, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $ReplyUrls, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AppRoleAssignmentRequired, - - [Parameter()] - [PSObject] - $KeyCredentials, - - [Parameter()] - [PSObject] - $Oauth2PermissionGrants, - - [Parameter()] - [PSObject] - $ResourceSpecificApplicationPermissions, - - [Parameter()] - [PSObject] - $AddIns, - - [Parameter()] - [PSObject] - $Info, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AccountEnabled, - - [Parameter()] - [System.String] - $PreferredSingleSignOnMode, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $AppId, - - [Parameter()] - [System.String] - $LogoutUrl, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgApplication -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgApplicationOwnerDirectoryObjectByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgServicePrincipal -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ServicePrincipalId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgApplication -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $OptionalClaims, - - [Parameter()] - [PSObject] - $HomeRealmDiscoveryPolicies, - - [Parameter()] - [PSObject] - $Spa, - - [Parameter()] - [System.String[]] - $Tags, - - [Parameter()] - [System.String] - $DefaultRedirectUri, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $ApplicationTemplateId, - - [Parameter()] - [System.String] - $SignInAudience, - - [Parameter()] - [PSObject] - $VerifiedPublisher, - - [Parameter()] - [System.String[]] - $IdentifierUris, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDeviceOnlyAuthSupported, - - [Parameter()] - [System.String] - $TokenEncryptionKeyId, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $TokenIssuancePolicies, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $Api, - - [Parameter()] - [System.String] - $PublisherDomain, - - [Parameter()] - [System.String] - $GroupMembershipClaims, - - [Parameter()] - [System.String] - $SamlMetadataUrl, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [PSObject] - $FederatedIdentityCredentials, - - [Parameter()] - [PSObject] - $TokenLifetimePolicies, - - [Parameter()] - [PSObject] - $AppManagementPolicies, - - [Parameter()] - [System.String] - $DisabledByMicrosoftStatus, - - [Parameter()] - [PSObject] - $PasswordCredentials, - - [Parameter()] - [PSObject] - $PublicClient, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Oauth2RequirePostResponse, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [PSObject] - $RequiredResourceAccess, - - [Parameter()] - [PSObject] - $ParentalControlSettings, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsFallbackPublicClient, - - [Parameter()] - [PSObject] - $Synchronization, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [PSObject] - $RequestSignatureVerification, - - [Parameter()] - [System.String] - $LogoInputFile, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [PSObject] - $AppRoles, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ExtensionProperties, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $CreatedOnBehalfOf, - - [Parameter()] - [System.String] - $ServiceManagementReference, - - [Parameter()] - [PSObject] - $KeyCredentials, - - [Parameter()] - [PSObject] - $Certification, - - [Parameter()] - [PSObject] - $AddIns, - - [Parameter()] - [PSObject] - $Info, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $AppId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgServicePrincipal -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $ServicePrincipalNames, - - [Parameter()] - [System.String[]] - $AlternativeNames, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $AppDescription, - - [Parameter()] - [PSObject] - $HomeRealmDiscoveryPolicies, - - [Parameter()] - [PSObject] - $Oauth2PermissionScopes, - - [Parameter()] - [PSObject] - $Synchronization, - - [Parameter()] - [PSObject] - $AppRoleAssignments, - - [Parameter()] - [System.String] - $ServicePrincipalId, - - [Parameter()] - [System.String] - $ApplicationTemplateId, - - [Parameter()] - [System.String] - $SignInAudience, - - [Parameter()] - [PSObject] - $VerifiedPublisher, - - [Parameter()] - [System.String[]] - $NotificationEmailAddresses, - - [Parameter()] - [PSObject] - $ClaimsMappingPolicies, - - [Parameter()] - [System.String] - $TokenEncryptionKeyId, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $TokenIssuancePolicies, - - [Parameter()] - [System.String] - $PreferredTokenSigningKeyThumbprint, - - [Parameter()] - [System.String] - $AppDisplayName, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $AppRoleAssignedTo, - - [Parameter()] - [System.String] - $Homepage, - - [Parameter()] - [System.String] - $ServicePrincipalType, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $SamlSingleSignOnSettings, - - [Parameter()] - [System.String[]] - $Tags, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $OwnedObjects, - - [Parameter()] - [PSObject] - $FederatedIdentityCredentials, - - [Parameter()] - [System.String] - $LoginUrl, - - [Parameter()] - [PSObject] - $TokenLifetimePolicies, - - [Parameter()] - [PSObject] - $AppManagementPolicies, - - [Parameter()] - [PSObject] - $CreatedObjects, - - [Parameter()] - [System.String] - $DisabledByMicrosoftStatus, - - [Parameter()] - [PSObject] - $DelegatedPermissionClassifications, - - [Parameter()] - [System.Collections.Hashtable] - $CustomSecurityAttributes, - - [Parameter()] - [PSObject] - $PasswordCredentials, - - [Parameter()] - [PSObject] - $MemberOf, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [PSObject] - $Endpoints, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $AppOwnerOrganizationId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $TransitiveMemberOf, - - [Parameter()] - [PSObject] - $AppRoles, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $ReplyUrls, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AppRoleAssignmentRequired, - - [Parameter()] - [PSObject] - $KeyCredentials, - - [Parameter()] - [PSObject] - $Oauth2PermissionGrants, - - [Parameter()] - [PSObject] - $ResourceSpecificApplicationPermissions, - - [Parameter()] - [PSObject] - $AddIns, - - [Parameter()] - [PSObject] - $Info, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AccountEnabled, - - [Parameter()] - [System.String] - $PreferredSingleSignOnMode, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $AppId, - - [Parameter()] - [System.String] - $LogoutUrl, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -#endregion -#region Microsoft.Graph.Authentication -function Connect-MgGraph -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.Security.Cryptography.X509Certificates.X509Certificate2] - $Certificate, - - [Parameter()] - [System.String[]] - $Scopes, - - [Parameter()] - [System.String] - $ClientId, - - [Parameter()] - [System.Security.SecureString] - $AccessToken, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnvironmentVariable, - - [Parameter()] - [System.String] - $CertificateSubjectName, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ClientSecretCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseDeviceCode, - - [Parameter()] - [System.Double] - $ClientTimeout, - - [Parameter()] - [System.String] - $CertificateThumbprint, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $Environment, - - [Parameter()] - [PSObject] - $ContextScope - ) -} -function Get-MgContext -{ - [CmdletBinding()] - param( - - ) -} -function Invoke-MgGraphRequest -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $InputFilePath, - - [Parameter()] - [System.String] - $StatusCodeVariable, - - [Parameter()] - [PSObject] - $OutputType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipHttpErrorCheck, - - [Parameter()] - [System.String] - $UserAgent, - - [Parameter()] - [System.String] - $ContentType, - - [Parameter()] - [System.Uri] - $Uri, - - [Parameter()] - [PSObject] - $GraphRequestSession, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $InferOutputFileName, - - [Parameter()] - [System.String] - $OutputFilePath, - - [Parameter()] - [PSObject] - $Method, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.Object] - $Body, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipHeaderValidation, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $SessionVariable, - - [Parameter()] - [System.Collections.IDictionary] - $Headers - ) -} -#endregion -#region Microsoft.Graph.Beta.DeviceManagement -function Get-MgBetaDeviceManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaDeviceManagementAssignmentFilter -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $DeviceAndAppManagementAssignmentFilterId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementConfigurationPolicyAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyId, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyAssignmentId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementConfigurationPolicySetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationSettingId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyId, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementConfigurationPolicyTemplate -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyTemplateId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementConfigurationPolicyTemplateSettingTemplate -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DeviceManagementConfigurationSettingTemplateId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyTemplateId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementDeviceCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $DeviceCategoryId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementDeviceConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $DeviceConfigurationId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementDeviceConfigurationAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $DeviceConfigurationId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $DeviceConfigurationAssignmentId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementGroupPolicyConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementGroupPolicyConfigurationAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationAssignmentId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValue -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $GroupPolicyDefinitionValueId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValueDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $GroupPolicyDefinitionValueId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValuePresentationValue -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $GroupPolicyDefinitionValueId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $GroupPolicyPresentationValueId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementIntent -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DeviceManagementIntentId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementIntentAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DeviceManagementIntentAssignmentId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $DeviceManagementIntentId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementIntentSetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DeviceManagementSettingInstanceId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DeviceManagementIntentId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementTemplate -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceManagementTemplateId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementTemplateCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceManagementTemplateSettingCategoryId, - - [Parameter()] - [System.String] - $DeviceManagementTemplateId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementTemplateCategoryRecommendedSetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DeviceManagementSettingInstanceId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DeviceManagementTemplateSettingCategoryId, - - [Parameter()] - [System.String] - $DeviceManagementTemplateId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementAssignmentFilter -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $Payloads, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $RoleScopeTags, - - [Parameter()] - [System.String] - $Rule, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AssignmentFilterManagementType, - - [Parameter()] - [PSObject] - $Platform, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $PriorityMetaData, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $TemplateReference, - - [Parameter()] - [System.Int32] - $SettingCount, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $Platforms, - - [Parameter()] - [PSObject] - $Technologies, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $CreationSource, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementDeviceCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $BodyParameter - ) -} -function New-MgBetaDeviceManagementDeviceCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $UserStatuses, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $DeviceStatusOverview, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $UserStatusOverview, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [PSObject] - $DeviceStatuses, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $ScheduledActionsForRule, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $DeviceSettingStateSummaries, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementDeviceConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $UserStatuses, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $DeviceStatuses, - - [Parameter()] - [PSObject] - $DeviceStatusOverview, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $DeviceManagementApplicabilityRuleOSVersion, - - [Parameter()] - [PSObject] - $UserStatusOverview, - - [Parameter()] - [PSObject] - $GroupAssignments, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $DeviceSettingStateSummaries, - - [Parameter()] - [PSObject] - $DeviceManagementApplicabilityRuleDeviceMode, - - [Parameter()] - [PSObject] - $DeviceManagementApplicabilityRuleOSEdition, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementGroupPolicyConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $DefinitionValues, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $PolicyConfigurationIngestionType, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementIntent -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMigratingToConfigurationPolicy, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [PSObject] - $DeviceSettingStateSummaries, - - [Parameter()] - [PSObject] - $DeviceStates, - - [Parameter()] - [PSObject] - $Categories, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $DeviceStateSummary, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $UserStates, - - [Parameter()] - [PSObject] - $UserStateSummary, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementAssignmentFilter -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceAndAppManagementAssignmentFilterId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyId, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementDeviceCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DeviceCategoryId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaDeviceManagementDeviceCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $DeviceCompliancePolicyId, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementDeviceConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementGroupPolicyConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementIntent -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceManagementIntentId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $TermsAndConditions, - - [Parameter()] - [PSObject] - $AndroidForWorkSettings, - - [Parameter()] - [PSObject] - $MicrosoftTunnelHealthThresholds, - - [Parameter()] - [PSObject] - $RoleScopeTags, - - [Parameter()] - [PSObject] - $ExchangeConnectors, - - [Parameter()] - [PSObject] - $TroubleshootingEvents, - - [Parameter()] - [PSObject] - $PrivilegeManagementElevations, - - [Parameter()] - [PSObject] - $IntuneBrandingProfiles, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [PSObject] - $GroupPolicyObjectFiles, - - [Parameter()] - [PSObject] - $WindowsAutopilotDeploymentProfiles, - - [Parameter()] - [PSObject] - $ResourceOperations, - - [Parameter()] - [PSObject] - $ConfigManagerCollections, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthDevicePerformance, - - [Parameter()] - [PSObject] - $ZebraFotaConnector, - - [Parameter()] - [PSObject] - $VirtualEndpoint, - - [Parameter()] - [PSObject] - $ConfigurationCategories, - - [Parameter()] - [PSObject] - $ManagedDeviceEncryptionStates, - - [Parameter()] - [PSObject] - $MicrosoftTunnelSites, - - [Parameter()] - [PSObject] - $DeviceEnrollmentConfigurations, - - [Parameter()] - [PSObject] - $ExchangeOnPremisesPolicy, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthAppImpact, - - [Parameter()] - [PSObject] - $WindowsInformationProtectionAppLearningSummaries, - - [Parameter()] - [PSObject] - $AndroidDeviceOwnerEnrollmentProfiles, - - [Parameter()] - [PSObject] - $ReusableSettings, - - [Parameter()] - [PSObject] - $GroupPolicyMigrationReports, - - [Parameter()] - [PSObject] - $WindowsInformationProtectionNetworkLearningSummaries, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsMetricHistory, - - [Parameter()] - [PSObject] - $ZebraFotaArtifacts, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsWorkFromAnywhereMetrics, - - [Parameter()] - [PSObject] - $EmbeddedSimActivationCodePools, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsModelScores, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $CompliancePolicies, - - [Parameter()] - [PSObject] - $MobileThreatDefenseConnectors, - - [Parameter()] - [PSObject] - $ImportedWindowsAutopilotDeviceIdentities, - - [Parameter()] - [PSObject] - $DataProcessorServiceForWindowsFeaturesOnboarding, - - [Parameter()] - [PSObject] - $DeviceProtectionOverview, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceStartupHistory, - - [Parameter()] - [PSObject] - $DepOnboardingSettings, - - [Parameter()] - [PSObject] - $GroupPolicyDefinitionFiles, - - [Parameter()] - [PSObject] - $RoleAssignments, - - [Parameter()] - [PSObject] - $WindowsDriverUpdateProfiles, - - [Parameter()] - [PSObject] - $CartToClassAssociations, - - [Parameter()] - [PSObject] - $DeviceManagementScripts, - - [Parameter()] - [PSObject] - $SubscriptionState, - - [Parameter()] - [PSObject] - $WindowsMalwareInformation, - - [Parameter()] - [PSObject] - $GroupPolicyDefinitions, - - [Parameter()] - [PSObject] - $DetectedApps, - - [Parameter()] - [PSObject] - $AdvancedThreatProtectionOnboardingStateSummary, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceScopes, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBaselines, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsScoreHistory, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthApplicationPerformance, - - [Parameter()] - [System.DateTime] - $AccountMoveCompletionDateTime, - - [Parameter()] - [PSObject] - $Reports, - - [Parameter()] - [PSObject] - $ConfigurationPolicies, - - [Parameter()] - [PSObject] - $AndroidManagedStoreAccountEnterpriseSettings, - - [Parameter()] - [PSObject] - $DeviceConfigurations, - - [Parameter()] - [PSObject] - $RemoteAssistanceSettings, - - [Parameter()] - [PSObject] - $CertificateConnectorDetails, - - [Parameter()] - [PSObject] - $AuditEvents, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAnomaly, - - [Parameter()] - [PSObject] - $GroupPolicyConfigurations, - - [Parameter()] - [PSObject] - $ConnectorStatus, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthOverview, - - [Parameter()] - [PSObject] - $WindowsAutopilotSettings, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthDeviceAppImpact, - - [Parameter()] - [PSObject] - $ConfigurationPolicyTemplates, - - [Parameter()] - [PSObject] - $DeviceShellScripts, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceMetricHistory, - - [Parameter()] - [PSObject] - $RemoteAssistancePartners, - - [Parameter()] - [PSObject] - $ComplianceManagementPartners, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDevicesWithoutCloudIdentity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthCapacityDetails, - - [Parameter()] - [PSObject] - $ManagedDeviceOverview, - - [Parameter()] - [PSObject] - $TemplateInsights, - - [Parameter()] - [PSObject] - $GroupPolicyUploadedDefinitionFiles, - - [Parameter()] - [PSObject] - $DeviceManagementPartners, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAnomalyDevice, - - [Parameter()] - [PSObject] - $AndroidManagedStoreAppConfigurationSchemas, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsResourcePerformance, - - [Parameter()] - [PSObject] - $MacOSSoftwareUpdateAccountSummaries, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsWorkFromAnywhereModelPerformance, - - [Parameter()] - [PSObject] - $ComplianceCategories, - - [Parameter()] - [PSObject] - $DeviceConfigurationConflictSummary, - - [Parameter()] - [PSObject] - $TelecomExpenseManagementPartners, - - [Parameter()] - [PSObject] - $Templates, - - [Parameter()] - [PSObject] - $MicrosoftTunnelConfigurations, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $WindowsMalwareOverview, - - [Parameter()] - [PSObject] - $ResourceAccessProfiles, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory, - - [Parameter()] - [PSObject] - $Intents, - - [Parameter()] - [PSObject] - $WindowsFeatureUpdateProfiles, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthRuntimeDetails, - - [Parameter()] - [PSObject] - $ComplianceSettings, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceScores, - - [Parameter()] - [System.String] - $IntuneAccountId, - - [Parameter()] - [PSObject] - $ConditionalAccessSettings, - - [Parameter()] - [PSObject] - $IosUpdateStatuses, - - [Parameter()] - [PSObject] - $ZebraFotaDeployments, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAnomalyCorrelationGroupOverview, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsImpactingProcess, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAnomalySeverityOverview, - - [Parameter()] - [PSObject] - $DerivedCredentials, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthModelPerformance, - - [Parameter()] - [PSObject] - $DeviceCompliancePolicies, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $AndroidForWorkAppConfigurationSchemas, - - [Parameter()] - [PSObject] - $AdminConsent, - - [Parameter()] - [PSObject] - $SettingDefinitions, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsSettings, - - [Parameter()] - [PSObject] - $ManagedDevices, - - [Parameter()] - [PSObject] - $AppleUserInitiatedEnrollmentProfiles, - - [Parameter()] - [PSObject] - $DeviceConfigurationDeviceStateSummaries, - - [Parameter()] - [PSObject] - $ServiceNowConnections, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric, - - [Parameter()] - [PSObject] - $ReusablePolicySettings, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsRemoteConnection, - - [Parameter()] - [PSObject] - $ConfigurationSettings, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceScope, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsCategories, - - [Parameter()] - [PSObject] - $DeviceConfigurationRestrictedAppsViolations, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceStartupProcesses, - - [Parameter()] - [PSObject] - $ExchangeOnPremisesPolicies, - - [Parameter()] - [PSObject] - $MobileAppTroubleshootingEvents, - - [Parameter()] - [PSObject] - $RoleDefinitions, - - [Parameter()] - [PSObject] - $CloudPcConnectivityIssues, - - [Parameter()] - [PSObject] - $ApplePushNotificationCertificate, - - [Parameter()] - [PSObject] - $DeviceCategories, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion, - - [Parameter()] - [PSObject] - $DeviceCompliancePolicySettingStateSummaries, - - [Parameter()] - [System.Collections.Hashtable] - $TenantAttachRbac, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $AndroidForWorkEnrollmentProfiles, - - [Parameter()] - [PSObject] - $ComanagementEligibleDevices, - - [Parameter()] - [PSObject] - $NotificationMessageTemplates, - - [Parameter()] - [PSObject] - $IntuneBrand, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsOverview, - - [Parameter()] - [PSObject] - $TemplateSettings, - - [Parameter()] - [PSObject] - $RemoteActionAudits, - - [Parameter()] - [PSObject] - $WindowsUpdateCatalogItems, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthDevicePerformanceDetails, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsNotAutopilotReadyDevice, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthOSVersionPerformance, - - [Parameter()] - [PSObject] - $Monitoring, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $DeviceHealthScripts, - - [Parameter()] - [PSObject] - $AutopilotEvents, - - [Parameter()] - [PSObject] - $GroupPolicyCategories, - - [Parameter()] - [PSObject] - $DeviceConfigurationUserStateSummaries, - - [Parameter()] - [PSObject] - $DeviceConfigurationsAllManagedDeviceCertificateStates, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthDevicePerformance, - - [Parameter()] - [PSObject] - $DeviceCustomAttributeShellScripts, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsAppHealthDeviceModelPerformance, - - [Parameter()] - [PSObject] - $ImportedDeviceIdentities, - - [Parameter()] - [System.Int32] - $MaximumDepTokens, - - [Parameter()] - [PSObject] - $SoftwareUpdateStatusSummary, - - [Parameter()] - [PSObject] - $WindowsQualityUpdateProfiles, - - [Parameter()] - [PSObject] - $AssignmentFilters, - - [Parameter()] - [PSObject] - $NdesConnectors, - - [Parameter()] - [PSObject] - $MicrosoftTunnelServerLogCollectionResponses, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsBatteryHealthOSPerformance, - - [Parameter()] - [PSObject] - $UserPfxCertificates, - - [Parameter()] - [PSObject] - $WindowsAutopilotDeviceIdentities, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceStartupProcessPerformance, - - [Parameter()] - [PSObject] - $ChromeOSOnboardingSettings, - - [Parameter()] - [PSObject] - $DomainJoinConnectors, - - [Parameter()] - [PSObject] - $Categories, - - [Parameter()] - [PSObject] - $ComanagedDevices, - - [Parameter()] - [PSObject] - $DeviceCompliancePolicyDeviceStateSummary, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDevicePerformance, - - [Parameter()] - [PSObject] - $DeviceComplianceScripts, - - [Parameter()] - [PSObject] - $Subscriptions, - - [Parameter()] - [PSObject] - $ManagedDeviceCleanupSettings, - - [Parameter()] - [PSObject] - $UserExperienceAnalyticsDeviceTimelineEvent, - - [Parameter()] - [PSObject] - $DataSharingConsents - ) -} -function Update-MgBetaDeviceManagementAssignmentFilter -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $Payloads, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $RoleScopeTags, - - [Parameter()] - [System.String] - $Rule, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AssignmentFilterManagementType, - - [Parameter()] - [PSObject] - $Platform, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $DeviceAndAppManagementAssignmentFilterId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $TemplateReference, - - [Parameter()] - [System.Int32] - $SettingCount, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $Technologies, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [PSObject] - $Platforms, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $PriorityMetaData, - - [Parameter()] - [System.String] - $CreationSource, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $DeviceManagementConfigurationPolicyId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementDeviceCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $DeviceCategoryId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementDeviceCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $UserStatuses, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $DeviceCompliancePolicyId, - - [Parameter()] - [PSObject] - $DeviceStatusOverview, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $UserStatusOverview, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [PSObject] - $DeviceStatuses, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $ScheduledActionsForRule, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $DeviceSettingStateSummaries, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementDeviceConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $UserStatuses, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $DeviceStatuses, - - [Parameter()] - [PSObject] - $DeviceStatusOverview, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $DeviceManagementApplicabilityRuleOSVersion, - - [Parameter()] - [PSObject] - $UserStatusOverview, - - [Parameter()] - [PSObject] - $GroupAssignments, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [PSObject] - $DeviceSettingStateSummaries, - - [Parameter()] - [System.String] - $DeviceConfigurationId, - - [Parameter()] - [PSObject] - $DeviceManagementApplicabilityRuleOSEdition, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $DeviceManagementApplicabilityRuleDeviceMode, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementGroupPolicyConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $DefinitionValues, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $PolicyConfigurationIngestionType, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementIntent -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMigratingToConfigurationPolicy, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [PSObject] - $DeviceSettingStateSummaries, - - [Parameter()] - [PSObject] - $DeviceStates, - - [Parameter()] - [PSObject] - $Categories, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $DeviceManagementIntentId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $UserStates, - - [Parameter()] - [PSObject] - $UserStateSummary, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $DeviceStateSummary, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementIntentSetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DeviceManagementSettingInstanceId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $ValueJson, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DeviceManagementIntentId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $DefinitionId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Beta.Devices.CorporateManagement -function Get-MgBetaDeviceAppManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaDeviceAppManagementAndroidManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $AndroidManagedAppProtectionId, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceAppManagementiOSManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $IosManagedAppProtectionId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceAppManagementiOSManagedAppProtectionApp -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $IosManagedAppProtectionId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $ManagedMobileAppId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $MdmWindowsInformationProtectionPolicyId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceAppManagementTargetedManagedAppConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $TargetedManagedAppConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceAppManagementTargetedManagedAppConfigurationAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $TargetedManagedAppPolicyAssignmentId, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $TargetedManagedAppConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Invoke-MgBetaTargetDeviceAppManagementTargetedManagedAppConfigurationApp -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $TargetedManagedAppConfigurationId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaDeviceAppManagementAndroidManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AppActionIfDevicePasscodeComplexityLessThanHigh, - - [Parameter()] - [PSObject] - $MaximumAllowedDeviceThreatLevel, - - [Parameter()] - [System.String] - $CustomBrowserDisplayName, - - [Parameter()] - [System.String] - $MinimumRequiredPatchVersion, - - [Parameter()] - [PSObject] - $AppActionIfAndroidDeviceModelNotAllowed, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableAppEncryptionIfDeviceEncryptionIsEnabled, - - [Parameter()] - [PSObject] - $MobileThreatDefensePartnerPriority, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String[]] - $AllowedAndroidDeviceModels, - - [Parameter()] - [PSObject] - $ManagedBrowser, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.TimeSpan] - $PeriodOnlineBeforeAccessCheck, - - [Parameter()] - [System.Int32] - $PreviousPinBlockCount, - - [Parameter()] - [System.String] - $MaximumWarningOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ContactSyncBlocked, - - [Parameter()] - [System.String] - $MinimumWarningCompanyPortalVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RequireClass3Biometrics, - - [Parameter()] - [System.String] - $MinimumWarningPatchVersion, - - [Parameter()] - [PSObject] - $AppActionIfDeviceComplianceRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SaveAsBlocked, - - [Parameter()] - [System.String] - $CustomDialerAppDisplayName, - - [Parameter()] - [PSObject] - $AllowedDataIngestionLocations, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Int32] - $DeployedAppCount, - - [Parameter()] - [PSObject] - $NotificationRestriction, - - [Parameter()] - [System.String] - $CustomBrowserPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BiometricAuthenticationBlocked, - - [Parameter()] - [PSObject] - $AppActionIfDevicePasscodeComplexityLessThanMedium, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $MobileThreatDefenseRemediationAction, - - [Parameter()] - [PSObject] - $ApprovedKeyboards, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DeviceComplianceRequired, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeAccessCheck, - - [Parameter()] - [PSObject] - $AppActionIfUnableToAuthenticateUser, - - [Parameter()] - [System.String] - $MinimumRequiredOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RequirePinAfterBiometricChange, - - [Parameter()] - [System.String] - $MaximumRequiredOSVersion, - - [Parameter()] - [System.String] - $MinimumWipePatchVersion, - - [Parameter()] - [System.String] - $MinimumWarningAppVersion, - - [Parameter()] - [PSObject] - $AllowedOutboundClipboardSharingLevel, - - [Parameter()] - [System.Int32] - $MaximumPinRetries, - - [Parameter()] - [PSObject] - $RequiredAndroidSafetyNetAppsVerificationType, - - [Parameter()] - [PSObject] - $AppActionIfMaximumPinRetriesExceeded, - - [Parameter()] - [System.String] - $MinimumWipeCompanyPortalVersion, - - [Parameter()] - [PSObject] - $AllowedOutboundDataTransferDestinations, - - [Parameter()] - [PSObject] - $AppActionIfAndroidDeviceManufacturerNotAllowed, - - [Parameter()] - [System.String] - $MinimumWipeAppVersion, - - [Parameter()] - [System.String] - $AllowedAndroidDeviceManufacturers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OrganizationalCredentialsRequired, - - [Parameter()] - [System.String] - $CustomDialerAppPackageId, - - [Parameter()] - [PSObject] - $AllowedDataStorageLocations, - - [Parameter()] - [System.Int32] - $BlockAfterCompanyPortalUpdateDeferralInDays, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $DialerRestrictionLevel, - - [Parameter()] - [System.Int32] - $AllowedOutboundClipboardSharingExceptionLength, - - [Parameter()] - [PSObject] - $AppActionIfAndroidSafetyNetDeviceAttestationFailed, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [PSObject] - $AppActionIfAndroidSafetyNetAppsVerificationFailed, - - [Parameter()] - [System.String] - $MinimumWipeOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DataBackupBlocked, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeWipeIsEnforced, - - [Parameter()] - [System.TimeSpan] - $PinRequiredInsteadOfBiometricTimeout, - - [Parameter()] - [System.String] - $MinimumRequiredAppVersion, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $KeyboardsRestricted, - - [Parameter()] - [PSObject] - $DeploymentSummary, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ScreenCaptureBlocked, - - [Parameter()] - [PSObject] - $PinCharacterSet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ManagedBrowserToOpenLinksRequired, - - [Parameter()] - [System.String] - $MaximumWipeOSVersion, - - [Parameter()] - [System.Int32] - $MinimumPinLength, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SimplePinBlocked, - - [Parameter()] - [System.String] - $MinimumWarningOSVersion, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EncryptAppData, - - [Parameter()] - [System.TimeSpan] - $GracePeriodToBlockAppsDuringOffClockHours, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ConnectToVpnOnLaunch, - - [Parameter()] - [System.Int32] - $WipeAfterCompanyPortalUpdateDeferralInDays, - - [Parameter()] - [PSObject] - $RequiredAndroidSafetyNetEvaluationType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PinRequired, - - [Parameter()] - [PSObject] - $AppActionIfAccountIsClockedOut, - - [Parameter()] - [System.Int32] - $WarnAfterCompanyPortalUpdateDeferralInDays, - - [Parameter()] - [PSObject] - $AppActionIfDevicePasscodeComplexityLessThanLow, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FingerprintBlocked, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $MinimumRequiredCompanyPortalVersion, - - [Parameter()] - [System.TimeSpan] - $PeriodBeforePinReset, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BlockDataIngestionIntoOrganizationDocuments, - - [Parameter()] - [PSObject] - $AppActionIfDeviceLockNotSet, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $AllowedInboundDataTransferSources, - - [Parameter()] - [PSObject] - $RequiredAndroidSafetyNetDeviceAttestationType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FingerprintAndBiometricEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableAppPinIfDevicePinIsSet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrintBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DeviceLockRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $ExemptedAppPackages, - - [Parameter()] - [PSObject] - $TargetedAppManagementLevels - ) -} -function New-MgBetaDeviceAppManagementiOSManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String[]] - $ExemptedUniversalLinks, - - [Parameter()] - [PSObject] - $MaximumAllowedDeviceThreatLevel, - - [Parameter()] - [System.String] - $MinimumWipeSdkVersion, - - [Parameter()] - [PSObject] - $AppDataEncryptionType, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $MobileThreatDefensePartnerPriority, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $TargetedAppManagementLevels, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ThirdPartyKeyboardsBlocked, - - [Parameter()] - [PSObject] - $ManagedBrowser, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.TimeSpan] - $PeriodOnlineBeforeAccessCheck, - - [Parameter()] - [System.Int32] - $PreviousPinBlockCount, - - [Parameter()] - [System.String] - $MaximumWarningOSVersion, - - [Parameter()] - [System.TimeSpan] - $PeriodBeforePinReset, - - [Parameter()] - [PSObject] - $AppActionIfDeviceComplianceRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrintBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PinRequired, - - [Parameter()] - [PSObject] - $AllowedDataIngestionLocations, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Int32] - $DeployedAppCount, - - [Parameter()] - [PSObject] - $NotificationRestriction, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $AllowedOutboundClipboardSharingLevel, - - [Parameter()] - [System.String] - $MinimumWarningSdkVersion, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DeviceComplianceRequired, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeAccessCheck, - - [Parameter()] - [PSObject] - $AppActionIfUnableToAuthenticateUser, - - [Parameter()] - [System.String] - $MinimumRequiredOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ManagedBrowserToOpenLinksRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FilterOpenInToOnlyManagedApps, - - [Parameter()] - [System.String] - $MaximumRequiredOSVersion, - - [Parameter()] - [System.String] - $AllowedIosDeviceModels, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ContactSyncBlocked, - - [Parameter()] - [System.Int32] - $MaximumPinRetries, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeWipeIsEnforced, - - [Parameter()] - [PSObject] - $AllowedOutboundDataTransferDestinations, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DataBackupBlocked, - - [Parameter()] - [System.String] - $MinimumWipeAppVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OrganizationalCredentialsRequired, - - [Parameter()] - [PSObject] - $AllowedDataStorageLocations, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FaceIdBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SaveAsBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProtectInboundDataFromUnknownSources, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $DialerRestrictionLevel, - - [Parameter()] - [System.String] - $MinimumWarningAppVersion, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.String] - $MinimumWipeOSVersion, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [System.TimeSpan] - $PinRequiredInsteadOfBiometricTimeout, - - [Parameter()] - [System.String] - $MinimumRequiredAppVersion, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $MobileThreatDefenseRemediationAction, - - [Parameter()] - [System.Int32] - $AllowedOutboundClipboardSharingExceptionLength, - - [Parameter()] - [PSObject] - $DeploymentSummary, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SimplePinBlocked, - - [Parameter()] - [PSObject] - $PinCharacterSet, - - [Parameter()] - [System.String] - $MaximumWipeOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableProtectionOfManagedOutboundOpenInData, - - [Parameter()] - [System.Int32] - $MinimumPinLength, - - [Parameter()] - [System.String] - $MinimumWarningOSVersion, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.TimeSpan] - $GracePeriodToBlockAppsDuringOffClockHours, - - [Parameter()] - [PSObject] - $ExemptedAppProtocols, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [PSObject] - $AppActionIfMaximumPinRetriesExceeded, - - [Parameter()] - [PSObject] - $AppActionIfIosDeviceModelNotAllowed, - - [Parameter()] - [System.String] - $CustomDialerAppProtocol, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FingerprintBlocked, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BlockDataIngestionIntoOrganizationDocuments, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.String] - $CustomBrowserProtocol, - - [Parameter()] - [PSObject] - $AllowedInboundDataTransferSources, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableAppPinIfDevicePinIsSet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $MinimumRequiredSdkVersion, - - [Parameter()] - [System.String[]] - $ManagedUniversalLinks - ) -} -function New-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $EnterpriseProxiedDomains, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnterpriseProxyServersAreAuthoritative, - - [Parameter()] - [PSObject] - $SmbAutoEncryptedFileExtensions, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProtectionUnderLockConfigRequired, - - [Parameter()] - [PSObject] - $EnforcementLevel, - - [Parameter()] - [System.String] - $EnterpriseDomain, - - [Parameter()] - [PSObject] - $EnterpriseInternalProxyServers, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $EnterpriseNetworkDomainNames, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [PSObject] - $EnterpriseProxyServers, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $RightsManagementServicesTemplateId, - - [Parameter()] - [PSObject] - $ExemptAppLockerFiles, - - [Parameter()] - [PSObject] - $DataRecoveryCertificate, - - [Parameter()] - [PSObject] - $ExemptApps, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $EnterpriseProtectedDomainNames, - - [Parameter()] - [PSObject] - $NeutralDomainResources, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AzureRightsManagementServicesAllowed, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnterpriseIPRangesAreAuthoritative, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IconsVisible, - - [Parameter()] - [PSObject] - $ProtectedAppLockerFiles, - - [Parameter()] - [PSObject] - $ProtectedApps, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RevokeOnUnenrollDisabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $EnterpriseIPRanges, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IndexingEncryptedStoresOrItemsBlocked - ) -} -function New-MgBetaDeviceAppManagementTargetedManagedAppConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $DeployedAppCount, - - [Parameter()] - [PSObject] - $TargetedAppManagementLevels, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [PSObject] - $DeploymentSummary, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $CustomSettings, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceAppManagementAndroidManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $AndroidManagedAppProtectionId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceAppManagementiOSManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $IosManagedAppProtectionId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $MdmWindowsInformationProtectionPolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceAppManagementTargetedManagedAppConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TargetedManagedAppConfigurationId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Set-MgBetaDeviceAppManagementTargetedManagedAppConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $TargetedManagedAppConfigurationId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaDeviceAppManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [System.DateTime] - $MicrosoftStoreForBusinessLastSuccessfulSyncDateTime, - - [Parameter()] - [PSObject] - $TargetedManagedAppConfigurations, - - [Parameter()] - [PSObject] - $PolicySets, - - [Parameter()] - [PSObject] - $ManagedEBooks, - - [Parameter()] - [PSObject] - $MobileApps, - - [Parameter()] - [PSObject] - $EnterpriseCodeSigningCertificates, - - [Parameter()] - [PSObject] - $ManagedAppPolicies, - - [Parameter()] - [PSObject] - $DeviceAppManagementTasks, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ManagedAppStatuses, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $WindowsManagementApp, - - [Parameter()] - [PSObject] - $ManagedAppRegistrations, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $WindowsManagedAppProtections, - - [Parameter()] - [PSObject] - $DefaultManagedAppProtections, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabledForMicrosoftStoreForBusiness, - - [Parameter()] - [PSObject] - $WindowsInformationProtectionWipeActions, - - [Parameter()] - [System.String] - $MicrosoftStoreForBusinessLanguage, - - [Parameter()] - [PSObject] - $ManagedEBookCategories, - - [Parameter()] - [System.DateTime] - $MicrosoftStoreForBusinessLastCompletedApplicationSyncTime, - - [Parameter()] - [PSObject] - $SymantecCodeSigningCertificate, - - [Parameter()] - [PSObject] - $IosManagedAppProtections, - - [Parameter()] - [PSObject] - $IosLobAppProvisioningConfigurations, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $MobileAppCategories, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $WindowsInformationProtectionDeviceRegistrations, - - [Parameter()] - [PSObject] - $VppTokens, - - [Parameter()] - [PSObject] - $WindowsInformationProtectionPolicies, - - [Parameter()] - [PSObject] - $MicrosoftStoreForBusinessPortalSelection, - - [Parameter()] - [PSObject] - $AndroidManagedAppProtections, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $MdmWindowsInformationProtectionPolicies, - - [Parameter()] - [PSObject] - $MobileAppConfigurations, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $WdacSupplementalPolicies - ) -} -function Update-MgBetaDeviceAppManagementAndroidManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AppActionIfDevicePasscodeComplexityLessThanHigh, - - [Parameter()] - [System.String] - $AndroidManagedAppProtectionId, - - [Parameter()] - [PSObject] - $MaximumAllowedDeviceThreatLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $KeyboardsRestricted, - - [Parameter()] - [System.String] - $CustomBrowserDisplayName, - - [Parameter()] - [System.String] - $MinimumRequiredPatchVersion, - - [Parameter()] - [PSObject] - $AppActionIfAndroidDeviceModelNotAllowed, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableAppEncryptionIfDeviceEncryptionIsEnabled, - - [Parameter()] - [PSObject] - $MobileThreatDefensePartnerPriority, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String[]] - $AllowedAndroidDeviceModels, - - [Parameter()] - [PSObject] - $ManagedBrowser, - - [Parameter()] - [System.TimeSpan] - $PeriodOnlineBeforeAccessCheck, - - [Parameter()] - [System.Int32] - $PreviousPinBlockCount, - - [Parameter()] - [System.String] - $MaximumWarningOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ContactSyncBlocked, - - [Parameter()] - [System.String] - $MinimumWarningCompanyPortalVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RequireClass3Biometrics, - - [Parameter()] - [System.String] - $MinimumWarningPatchVersion, - - [Parameter()] - [PSObject] - $AppActionIfDeviceComplianceRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SaveAsBlocked, - - [Parameter()] - [System.String] - $CustomDialerAppDisplayName, - - [Parameter()] - [PSObject] - $AllowedDataIngestionLocations, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Int32] - $DeployedAppCount, - - [Parameter()] - [PSObject] - $NotificationRestriction, - - [Parameter()] - [System.String] - $CustomBrowserPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BiometricAuthenticationBlocked, - - [Parameter()] - [PSObject] - $AppActionIfDevicePasscodeComplexityLessThanMedium, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $MobileThreatDefenseRemediationAction, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DeviceComplianceRequired, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeAccessCheck, - - [Parameter()] - [PSObject] - $AppActionIfUnableToAuthenticateUser, - - [Parameter()] - [System.String] - $MinimumRequiredOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RequirePinAfterBiometricChange, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DataBackupBlocked, - - [Parameter()] - [System.String] - $MaximumRequiredOSVersion, - - [Parameter()] - [System.String] - $MinimumWipePatchVersion, - - [Parameter()] - [PSObject] - $AllowedOutboundClipboardSharingLevel, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $RequiredAndroidSafetyNetAppsVerificationType, - - [Parameter()] - [PSObject] - $AppActionIfMaximumPinRetriesExceeded, - - [Parameter()] - [System.String] - $MinimumWipeCompanyPortalVersion, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [PSObject] - $AllowedOutboundDataTransferDestinations, - - [Parameter()] - [PSObject] - $AppActionIfAndroidDeviceManufacturerNotAllowed, - - [Parameter()] - [System.String] - $MinimumWipeAppVersion, - - [Parameter()] - [System.String] - $AllowedAndroidDeviceManufacturers, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OrganizationalCredentialsRequired, - - [Parameter()] - [System.String] - $CustomDialerAppPackageId, - - [Parameter()] - [PSObject] - $AllowedDataStorageLocations, - - [Parameter()] - [System.Int32] - $BlockAfterCompanyPortalUpdateDeferralInDays, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $DialerRestrictionLevel, - - [Parameter()] - [System.String] - $MinimumWarningAppVersion, - - [Parameter()] - [PSObject] - $AppActionIfAndroidSafetyNetDeviceAttestationFailed, - - [Parameter()] - [System.Int32] - $MaximumPinRetries, - - [Parameter()] - [PSObject] - $AppActionIfAndroidSafetyNetAppsVerificationFailed, - - [Parameter()] - [System.String] - $MinimumWipeOSVersion, - - [Parameter()] - [PSObject] - $ApprovedKeyboards, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeWipeIsEnforced, - - [Parameter()] - [System.TimeSpan] - $PinRequiredInsteadOfBiometricTimeout, - - [Parameter()] - [System.String] - $MinimumRequiredAppVersion, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.Int32] - $AllowedOutboundClipboardSharingExceptionLength, - - [Parameter()] - [PSObject] - $DeploymentSummary, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ScreenCaptureBlocked, - - [Parameter()] - [PSObject] - $PinCharacterSet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ManagedBrowserToOpenLinksRequired, - - [Parameter()] - [System.String] - $MaximumWipeOSVersion, - - [Parameter()] - [System.Int32] - $MinimumPinLength, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SimplePinBlocked, - - [Parameter()] - [System.String] - $MinimumWarningOSVersion, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EncryptAppData, - - [Parameter()] - [System.TimeSpan] - $GracePeriodToBlockAppsDuringOffClockHours, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ConnectToVpnOnLaunch, - - [Parameter()] - [System.Int32] - $WipeAfterCompanyPortalUpdateDeferralInDays, - - [Parameter()] - [PSObject] - $RequiredAndroidSafetyNetEvaluationType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PinRequired, - - [Parameter()] - [PSObject] - $AppActionIfAccountIsClockedOut, - - [Parameter()] - [System.Int32] - $WarnAfterCompanyPortalUpdateDeferralInDays, - - [Parameter()] - [PSObject] - $AppActionIfDevicePasscodeComplexityLessThanLow, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FingerprintBlocked, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $MinimumRequiredCompanyPortalVersion, - - [Parameter()] - [System.TimeSpan] - $PeriodBeforePinReset, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BlockDataIngestionIntoOrganizationDocuments, - - [Parameter()] - [PSObject] - $AppActionIfDeviceLockNotSet, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $AllowedInboundDataTransferSources, - - [Parameter()] - [PSObject] - $RequiredAndroidSafetyNetDeviceAttestationType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FingerprintAndBiometricEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableAppPinIfDevicePinIsSet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrintBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DeviceLockRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $ExemptedAppPackages, - - [Parameter()] - [PSObject] - $TargetedAppManagementLevels - ) -} -function Update-MgBetaDeviceAppManagementiOSManagedAppProtection -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String[]] - $ExemptedUniversalLinks, - - [Parameter()] - [PSObject] - $MaximumAllowedDeviceThreatLevel, - - [Parameter()] - [System.String] - $MinimumWipeSdkVersion, - - [Parameter()] - [PSObject] - $AppDataEncryptionType, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $MobileThreatDefensePartnerPriority, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $TargetedAppManagementLevels, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ThirdPartyKeyboardsBlocked, - - [Parameter()] - [PSObject] - $ManagedBrowser, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.TimeSpan] - $PeriodOnlineBeforeAccessCheck, - - [Parameter()] - [System.Int32] - $PreviousPinBlockCount, - - [Parameter()] - [PSObject] - $AllowedOutboundClipboardSharingLevel, - - [Parameter()] - [System.Int32] - $MinimumPinLength, - - [Parameter()] - [PSObject] - $AppActionIfDeviceComplianceRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SaveAsBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PinRequired, - - [Parameter()] - [PSObject] - $AllowedDataIngestionLocations, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Int32] - $DeployedAppCount, - - [Parameter()] - [PSObject] - $NotificationRestriction, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $IosManagedAppProtectionId, - - [Parameter()] - [System.String] - $MinimumWarningSdkVersion, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DeviceComplianceRequired, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeAccessCheck, - - [Parameter()] - [PSObject] - $AppActionIfUnableToAuthenticateUser, - - [Parameter()] - [System.String] - $MinimumRequiredOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ManagedBrowserToOpenLinksRequired, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FilterOpenInToOnlyManagedApps, - - [Parameter()] - [System.String] - $MaximumRequiredOSVersion, - - [Parameter()] - [System.String] - $AllowedIosDeviceModels, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ContactSyncBlocked, - - [Parameter()] - [System.Int32] - $MaximumPinRetries, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrintBlocked, - - [Parameter()] - [System.TimeSpan] - $PeriodOfflineBeforeWipeIsEnforced, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $AllowedOutboundDataTransferDestinations, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DataBackupBlocked, - - [Parameter()] - [System.String] - $MinimumWipeAppVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OrganizationalCredentialsRequired, - - [Parameter()] - [PSObject] - $AllowedDataStorageLocations, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FaceIdBlocked, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProtectInboundDataFromUnknownSources, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $DialerRestrictionLevel, - - [Parameter()] - [System.String] - $MinimumWarningAppVersion, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.String] - $MinimumWipeOSVersion, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [System.String] - $MinimumRequiredSdkVersion, - - [Parameter()] - [System.TimeSpan] - $PinRequiredInsteadOfBiometricTimeout, - - [Parameter()] - [System.String] - $MinimumRequiredAppVersion, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $MobileThreatDefenseRemediationAction, - - [Parameter()] - [System.Int32] - $AllowedOutboundClipboardSharingExceptionLength, - - [Parameter()] - [PSObject] - $DeploymentSummary, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SimplePinBlocked, - - [Parameter()] - [System.String] - $MaximumWipeOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableProtectionOfManagedOutboundOpenInData, - - [Parameter()] - [System.TimeSpan] - $GracePeriodToBlockAppsDuringOffClockHours, - - [Parameter()] - [System.String] - $MinimumWarningOSVersion, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $ExemptedAppProtocols, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [PSObject] - $AppActionIfMaximumPinRetriesExceeded, - - [Parameter()] - [PSObject] - $AppActionIfIosDeviceModelNotAllowed, - - [Parameter()] - [System.String] - $CustomDialerAppProtocol, - - [Parameter()] - [System.String] - $MaximumWarningOSVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FingerprintBlocked, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.TimeSpan] - $PeriodBeforePinReset, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BlockDataIngestionIntoOrganizationDocuments, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.String] - $CustomBrowserProtocol, - - [Parameter()] - [PSObject] - $AllowedInboundDataTransferSources, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableAppPinIfDevicePinIsSet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $PinCharacterSet, - - [Parameter()] - [System.String[]] - $ManagedUniversalLinks - ) -} -function Update-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $EnterpriseProxiedDomains, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $SmbAutoEncryptedFileExtensions, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnterpriseProxyServersAreAuthoritative, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProtectionUnderLockConfigRequired, - - [Parameter()] - [PSObject] - $EnforcementLevel, - - [Parameter()] - [System.String] - $EnterpriseDomain, - - [Parameter()] - [PSObject] - $EnterpriseInternalProxyServers, - - [Parameter()] - [PSObject] - $EnterpriseNetworkDomainNames, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [PSObject] - $EnterpriseProxyServers, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $RightsManagementServicesTemplateId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $ExemptAppLockerFiles, - - [Parameter()] - [PSObject] - $DataRecoveryCertificate, - - [Parameter()] - [System.String] - $MdmWindowsInformationProtectionPolicyId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $EnterpriseProtectedDomainNames, - - [Parameter()] - [PSObject] - $NeutralDomainResources, - - [Parameter()] - [PSObject] - $ExemptApps, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AzureRightsManagementServicesAllowed, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnterpriseIPRangesAreAuthoritative, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IconsVisible, - - [Parameter()] - [PSObject] - $ProtectedAppLockerFiles, - - [Parameter()] - [PSObject] - $ProtectedApps, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RevokeOnUnenrollDisabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $EnterpriseIPRanges, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IndexingEncryptedStoresOrItemsBlocked - ) -} -function Update-MgBetaDeviceAppManagementTargetedManagedAppConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $DeploymentSummary, - - [Parameter()] - [PSObject] - $TargetedAppManagementLevels, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.Int32] - $DeployedAppCount, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $AppGroupType, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $CustomSettings, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $Apps, - - [Parameter()] - [System.String] - $TargetedManagedAppConfigurationId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Beta.DeviceManagement.Enrollment -function Get-MgBetaDeviceManagementDeviceEnrollmentConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DeviceEnrollmentConfigurationId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementDeviceEnrollmentConfigurationAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DeviceEnrollmentConfigurationId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $EnrollmentConfigurationAssignmentId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $WindowsAutopilotDeploymentProfileId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementWindowsAutopilotDeploymentProfileAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $WindowsAutopilotDeploymentProfileAssignmentId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $WindowsAutopilotDeploymentProfileId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementWindowsFeatureUpdateProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $WindowsFeatureUpdateProfileId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementWindowsFeatureUpdateProfileAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $WindowsFeatureUpdateProfileId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $WindowsFeatureUpdateProfileAssignmentId, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaRoleManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaDeviceManagementDeviceEnrollmentConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $DeviceEnrollmentConfigurationType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExtractHardwareHash, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ManagementServiceAppId, - - [Parameter()] - [PSObject] - $EnrollmentStatusScreenSettings, - - [Parameter()] - [System.String] - $DeviceNameTemplate, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnableWhiteGlove, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $DeviceType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AssignedDevices, - - [Parameter()] - [PSObject] - $OutOfBoxExperienceSettings, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Language, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementWindowsFeatureUpdateProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $RolloutSettings, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $DeployableContentDisplayName, - - [Parameter()] - [System.DateTime] - $EndOfSupportDate, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $FeatureUpdateVersion, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementDeviceEnrollmentConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceEnrollmentConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $WindowsAutopilotDeploymentProfileId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementWindowsFeatureUpdateProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $WindowsFeatureUpdateProfileId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementDeviceEnrollmentConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $DeviceEnrollmentConfigurationId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $DeviceEnrollmentConfigurationType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExtractHardwareHash, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ManagementServiceAppId, - - [Parameter()] - [PSObject] - $EnrollmentStatusScreenSettings, - - [Parameter()] - [System.String] - $DeviceNameTemplate, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnableWhiteGlove, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $DeviceType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AssignedDevices, - - [Parameter()] - [PSObject] - $OutOfBoxExperienceSettings, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Language, - - [Parameter()] - [System.String] - $WindowsAutopilotDeploymentProfileId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementWindowsFeatureUpdateProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Assignments, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.String] - $WindowsFeatureUpdateProfileId, - - [Parameter()] - [PSObject] - $RolloutSettings, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $DeployableContentDisplayName, - - [Parameter()] - [System.DateTime] - $EndOfSupportDate, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $FeatureUpdateVersion, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaRoleManagement -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $CloudPc, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $EnterpriseApps, - - [Parameter()] - [PSObject] - $EntitlementManagement, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Exchange, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $Directory, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $DeviceManagement - ) -} -#endregion -#region Microsoft.Graph.Beta.Identity.DirectoryManagement -function Get-MgBetaDevice -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectory -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaDirectoryAdministrativeUnit -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectoryAdministrativeUnitMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectoryAdministrativeUnitScopedRoleMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $ScopedRoleMembershipId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectoryAttributeSet -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $AttributeSetId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectoryDeletedItem -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaDirectoryDeletedItemAsApplication -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectoryRole -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DirectoryRoleId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectoryRoleTemplate -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $DirectoryRoleTemplateId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDirectorySetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DirectorySettingId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaOrganizationSetting -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaOrganizationSettingItemInsight -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaOrganizationSettingPersonInsight -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaSubscribedSku -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $SubscribedSkuId, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $Search - ) -} -function New-MgBetaDevice -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.DateTime] - $RegistrationDateTime, - - [Parameter()] - [System.String] - $Status, - - [Parameter()] - [PSObject] - $UsageRights, - - [Parameter()] - [System.String] - $DeviceMetadata, - - [Parameter()] - [System.String] - $TrustType, - - [Parameter()] - [System.Int32] - $DeviceVersion, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [PSObject] - $AlternativeSecurityIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $Commands, - - [Parameter()] - [System.String] - $OnPremisesSecurityIdentifier, - - [Parameter()] - [System.String] - $OperatingSystemVersion, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.DateTime] - $OnPremisesLastSyncDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $DeviceId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsCompliant, - - [Parameter()] - [System.String] - $EnrollmentType, - - [Parameter()] - [System.String] - $ProfileType, - - [Parameter()] - [PSObject] - $ExtensionAttributes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OnPremisesSyncEnabled, - - [Parameter()] - [PSObject] - $MemberOf, - - [Parameter()] - [System.String[]] - $Hostnames, - - [Parameter()] - [System.String[]] - $PhysicalIds, - - [Parameter()] - [System.DateTime] - $ComplianceExpirationDateTime, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $DeviceCategory, - - [Parameter()] - [System.String] - $DomainName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsManagementRestricted, - - [Parameter()] - [PSObject] - $TransitiveMemberOf, - - [Parameter()] - [System.String] - $Model, - - [Parameter()] - [System.String[]] - $SystemLabels, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $RegisteredOwners, - - [Parameter()] - [PSObject] - $RegisteredUsers, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $OperatingSystem, - - [Parameter()] - [System.String] - $Manufacturer, - - [Parameter()] - [System.String] - $DeviceOwnership, - - [Parameter()] - [System.DateTime] - $ApproximateLastSignInDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsManaged, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $Platform, - - [Parameter()] - [System.String] - $EnrollmentProfileName, - - [Parameter()] - [System.String] - $MdmAppId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsRooted, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AccountEnabled, - - [Parameter()] - [System.String] - $ManagementType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $Kind - ) -} -function New-MgBetaDirectoryAdministrativeUnit -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMemberManagementRestricted, - - [Parameter()] - [PSObject] - $ScopedRoleMembers, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Visibility, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDirectoryAdministrativeUnitMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaDirectoryAdministrativeUnitMemberByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaDirectoryAdministrativeUnitScopedRoleMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $AdministrativeUnitId1, - - [Parameter()] - [System.String] - $RoleId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $RoleMemberInfo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDirectoryAttributeSet -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Int32] - $MaxAttributesPerSet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaDirectoryRole -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $RoleTemplateId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $ScopedMembers, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDirectoryRoleMemberByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DirectoryRoleId, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaDirectorySetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Values, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaDevice -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDirectoryAdministrativeUnit -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaDirectoryAdministrativeUnitMemberDirectoryObjectByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Restore-MgBetaDirectoryDeletedItem -{ - [CmdletBinding()] - param( - [Parameter()] - [String] - $DirectoryObjectId - ) -} - -function Get-MgBetaDirectoryDeletedItemAsGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [String] - $Filter - ) -} - -function Remove-MgBetaDirectoryAdministrativeUnitScopedRoleMember -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ScopedRoleMembershipId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaDirectoryAttributeSet -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AttributeSetId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDirectoryRole -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.String] - $DirectoryRoleId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaDirectoryRoleMemberByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $DirectoryRoleId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaDirectorySetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DirectorySettingId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Restore-MgBetaDirectoryDeletedItem -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaDevice -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.DateTime] - $RegistrationDateTime, - - [Parameter()] - [System.String] - $Status, - - [Parameter()] - [PSObject] - $UsageRights, - - [Parameter()] - [System.String] - $DeviceMetadata, - - [Parameter()] - [System.String] - $TrustType, - - [Parameter()] - [System.Int32] - $DeviceVersion, - - [Parameter()] - [System.String] - $OperatingSystem, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [PSObject] - $AlternativeSecurityIds, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $Commands, - - [Parameter()] - [System.String] - $OnPremisesSecurityIdentifier, - - [Parameter()] - [System.String] - $OperatingSystemVersion, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.DateTime] - $OnPremisesLastSyncDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $DeviceId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsCompliant, - - [Parameter()] - [System.String] - $EnrollmentType, - - [Parameter()] - [System.String] - $ProfileType, - - [Parameter()] - [PSObject] - $ExtensionAttributes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OnPremisesSyncEnabled, - - [Parameter()] - [PSObject] - $MemberOf, - - [Parameter()] - [System.String[]] - $Hostnames, - - [Parameter()] - [System.String[]] - $PhysicalIds, - - [Parameter()] - [System.DateTime] - $ComplianceExpirationDateTime, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $DeviceCategory, - - [Parameter()] - [System.String] - $DomainName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsManagementRestricted, - - [Parameter()] - [PSObject] - $TransitiveMemberOf, - - [Parameter()] - [System.String] - $Model, - - [Parameter()] - [System.String[]] - $SystemLabels, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $RegisteredOwners, - - [Parameter()] - [PSObject] - $RegisteredUsers, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $DeviceId1, - - [Parameter()] - [System.String] - $Manufacturer, - - [Parameter()] - [System.String] - $DeviceOwnership, - - [Parameter()] - [System.DateTime] - $ApproximateLastSignInDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsManaged, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $Platform, - - [Parameter()] - [System.String] - $EnrollmentProfileName, - - [Parameter()] - [System.String] - $MdmAppId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsRooted, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AccountEnabled, - - [Parameter()] - [System.String] - $ManagementType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $Kind - ) -} -function Update-MgBetaDirectory -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InboundSharedUserProfiles, - - [Parameter()] - [PSObject] - $SharedEmailDomains, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $OutboundSharedUserProfiles, - - [Parameter()] - [PSObject] - $FederationConfigurations, - - [Parameter()] - [PSObject] - $OnPremisesSynchronization, - - [Parameter()] - [PSObject] - $AdministrativeUnits, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Recommendations, - - [Parameter()] - [PSObject] - $AttributeSets, - - [Parameter()] - [PSObject] - $Subscriptions, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [PSObject] - $DeletedItems, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ImpactedResources, - - [Parameter()] - [PSObject] - $CertificateAuthorities, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $CustomSecurityAttributeDefinitions, - - [Parameter()] - [PSObject] - $FeatureRolloutPolicies, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDirectoryAdministrativeUnit -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $AdministrativeUnitId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMemberManagementRestricted, - - [Parameter()] - [PSObject] - $ScopedRoleMembers, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Visibility, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDirectoryAttributeSet -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AttributeSetId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Int32] - $MaxAttributesPerSet, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaDirectorySetting -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Values, - - [Parameter()] - [System.String] - $DirectorySettingId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $PostalCode, - - [Parameter()] - [PSObject] - $VerifiedDomains, - - [Parameter()] - [System.String] - $DefaultUsageLocation, - - [Parameter()] - [PSObject] - $CertificateConnectorSetting, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Settings, - - [Parameter()] - [System.String] - $Street, - - [Parameter()] - [PSObject] - $PartnerInformation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $PreferredLanguage, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.String] - $City, - - [Parameter()] - [System.String[]] - $MarketingNotificationEmails, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $AssignedPlans, - - [Parameter()] - [PSObject] - $MobileDeviceManagementAuthority, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMultipleDataLocationsForServicesEnabled, - - [Parameter()] - [System.String] - $Country, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String[]] - $SecurityComplianceNotificationMails, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $CertificateBasedAuthConfiguration, - - [Parameter()] - [System.String[]] - $TechnicalNotificationMails, - - [Parameter()] - [PSObject] - $PrivacyProfile, - - [Parameter()] - [PSObject] - $Extensions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.DateTime] - $OnPremisesLastSyncDateTime, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [PSObject] - $ProvisionedPlans, - - [Parameter()] - [PSObject] - $DirectorySizeQuota, - - [Parameter()] - [System.DateTime] - $OnPremisesLastPasswordSyncDateTime, - - [Parameter()] - [PSObject] - $Branding, - - [Parameter()] - [System.String] - $CountryLetterCode, - - [Parameter()] - [System.String[]] - $BusinessPhones, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OnPremisesSyncEnabled, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [System.String[]] - $SecurityComplianceNotificationPhones, - - [Parameter()] - [System.String] - $PartnerTenantType - ) -} -function Update-MgBetaOrganizationSetting -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $PeopleInsights, - - [Parameter()] - [PSObject] - $ItemInsights, - - [Parameter()] - [PSObject] - $MicrosoftApplicationDataAccess, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $ContactInsights, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaOrganizationSettingItemInsight -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabledInOrganization, - - [Parameter()] - [System.String] - $DisabledForGroup, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaOrganizationSettingPersonInsight -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $OrganizationId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabledInOrganization, - - [Parameter()] - [System.String] - $DisabledForGroup, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -#endregion - -#region Microsoft.Graph.Beta.Identity.Governance -function Get-MgBetaAgreement -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.String] - $AgreementId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaEntitlementManagementAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $CatalogId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DisplayNameContains, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DisplayNameEq, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $AccessPackageAssignmentId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $AccessPackageAssignmentPolicyId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DisplayNameContains, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DisplayNameEq, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageCatalog -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DisplayNameContains, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DisplayNameEq, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageCatalogAccessPackageResource -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageCatalogAccessPackageResourceRole -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageIncompatibleGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementAccessPackageIncompatibleWith -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $AccessPackageId1, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementConnectedOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.String] - $DisplayNameContains, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DisplayNameEq, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementConnectedOrganizationExternalSponsor -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaEntitlementManagementConnectedOrganizationInternalSponsor -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaRoleManagementDirectory -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaRoleManagementDirectoryRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $UnifiedRoleAssignmentId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaRoleManagementDirectoryRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.String] - $UnifiedRoleDefinitionId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $AccessPackagesIncompatibleWith, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $IncompatibleGroups, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $AccessPackageCatalog, - - [Parameter()] - [System.String] - $CatalogId, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AccessPackageAssignmentPolicies, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsRoleScopesVisible, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $IncompatibleAccessPackages, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AccessPackageResourceRoleScopes, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsHidden - ) -} -function New-MgBetaEntitlementManagementAccessPackageAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Justification, - - [Parameter()] - [System.String[]] - $RequiredUserId, - - [Parameter()] - [PSObject] - $Answers, - - [Parameter()] - [PSObject] - $ExistingAssignment, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.PSObject[]] - $RequiredGroupMember, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $StartDate, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $AssignmentPolicyId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $CustomExtensionStageSettings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AccessPackageCatalog, - - [Parameter()] - [PSObject] - $Questions, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AccessReviewSettings, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [PSObject] - $RequestorSettings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $CanExtend, - - [Parameter()] - [PSObject] - $VerifiableCredentialSettings, - - [Parameter()] - [PSObject] - $CustomExtensionHandlers, - - [Parameter()] - [System.Int32] - $DurationInDays, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.DateTime] - $ExpirationDateTime, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [PSObject] - $RequestApprovalSettings, - - [Parameter()] - [PSObject] - $AccessPackage, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageCatalog -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsExternallyVisible, - - [Parameter()] - [PSObject] - $AccessPackageCustomWorkflowExtensions, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $AccessPackages, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [PSObject] - $AccessPackageResourceScopes, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AccessPackageResources, - - [Parameter()] - [PSObject] - $CustomAccessPackageWorkflowExtensions, - - [Parameter()] - [System.String] - $CatalogStatus, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $AccessPackageResourceRoles, - - [Parameter()] - [System.String] - $CatalogType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackageByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaEntitlementManagementAccessPackageIncompatibleGroupByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaEntitlementManagementAccessPackageResourceRequest -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Justification, - - [Parameter()] - [PSObject] - $AccessPackageResource, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExecuteImmediately, - - [Parameter()] - [System.String] - $CatalogId, - - [Parameter()] - [System.String] - $RequestType, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Requestor, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsValidationOnly, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.DateTime] - $ExpirationDateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $RequestState, - - [Parameter()] - [System.String] - $RequestStatus, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementAccessPackageResourceRoleScope -{ - [CmdletBinding()] - param( - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [PSObject] - $AccessPackageResourceScope, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $AccessPackageResourceRole, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementConnectedOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $ExternalSponsors, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $IdentitySources, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $InternalSponsors, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.String] - $DomainName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaRoleManagementDirectoryRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Principal, - - [Parameter()] - [System.String] - $ResourceScope, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $DirectoryScope, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $PrincipalId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $Condition, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [PSObject] - $RoleDefinition, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AppScope, - - [Parameter()] - [System.String] - $DirectoryScopeId, - - [Parameter()] - [System.String] - $PrincipalOrganizationId, - - [Parameter()] - [System.String] - $AppScopeId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaRoleManagementDirectoryRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String[]] - $ResourceScopes, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltIn, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $InheritsPermissionsFrom, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $AllowedPrincipalTypes, - - [Parameter()] - [PSObject] - $RolePermissions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabled, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaEntitlementManagementAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $AccessPackageAssignmentId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageAssignmentPolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageCatalog -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackageByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $AccessPackageId1, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageIncompatibleGroupByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementAccessPackageResourceRoleScope -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $AccessPackageResourceRoleScopeId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaEntitlementManagementConnectedOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorDirectoryObjectByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorDirectoryObjectByRef -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaRoleManagementDirectory -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaRoleManagementDirectoryRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $UnifiedRoleAssignmentId, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaRoleManagementDirectoryRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $UnifiedRoleDefinitionId, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Set-MgBetaEntitlementManagementAccessPackageAssignmentPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $CustomExtensionStageSettings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AccessPackageCatalog, - - [Parameter()] - [PSObject] - $Questions, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AccessReviewSettings, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.String] - $AccessPackageAssignmentPolicyId, - - [Parameter()] - [PSObject] - $RequestorSettings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $CanExtend, - - [Parameter()] - [PSObject] - $VerifiableCredentialSettings, - - [Parameter()] - [PSObject] - $CustomExtensionHandlers, - - [Parameter()] - [System.Int32] - $DurationInDays, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.DateTime] - $ExpirationDateTime, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [PSObject] - $RequestApprovalSettings, - - [Parameter()] - [PSObject] - $AccessPackage, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaEntitlementManagementAccessPackage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $AccessPackagesIncompatibleWith, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $IncompatibleGroups, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $AccessPackageCatalog, - - [Parameter()] - [System.String] - $CatalogId, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $AccessPackageAssignmentPolicies, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsRoleScopesVisible, - - [Parameter()] - [System.String] - $AccessPackageId, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $IncompatibleAccessPackages, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $AccessPackageResourceRoleScopes, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsHidden - ) -} -function Update-MgBetaEntitlementManagementAccessPackageCatalog -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsExternallyVisible, - - [Parameter()] - [PSObject] - $AccessPackageCustomWorkflowExtensions, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $AccessPackages, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $AccessPackageResourceScopes, - - [Parameter()] - [System.String] - $AccessPackageCatalogId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $AccessPackageResources, - - [Parameter()] - [PSObject] - $CustomAccessPackageWorkflowExtensions, - - [Parameter()] - [System.String] - $CatalogStatus, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $AccessPackageResourceRoles, - - [Parameter()] - [System.String] - $CatalogType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaEntitlementManagementConnectedOrganization -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $ExternalSponsors, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $IdentitySources, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.String] - $CreatedBy, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $ConnectedOrganizationId, - - [Parameter()] - [PSObject] - $InternalSponsors, - - [Parameter()] - [System.String] - $ModifiedBy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaRoleManagementDirectory -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $RoleAssignmentScheduleRequests, - - [Parameter()] - [PSObject] - $TransitiveRoleAssignments, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $RoleEligibilitySchedules, - - [Parameter()] - [PSObject] - $ResourceNamespaces, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $RoleDefinitions, - - [Parameter()] - [PSObject] - $RoleEligibilityScheduleRequests, - - [Parameter()] - [PSObject] - $RoleAssignmentSchedules, - - [Parameter()] - [PSObject] - $RoleAssignments, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $RoleEligibilityScheduleInstances, - - [Parameter()] - [PSObject] - $RoleAssignmentScheduleInstances, - - [Parameter()] - [PSObject] - $RoleAssignmentApprovals, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaRoleManagementDirectoryRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String[]] - $ResourceScopes, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $UnifiedRoleDefinitionId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltIn, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $InheritsPermissionsFrom, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $AllowedPrincipalTypes, - - [Parameter()] - [PSObject] - $RolePermissions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $TemplateId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Beta.Identity.SignIns -function Get-MgBetaIdentityConditionalAccess -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaIdentityConditionalAccessAuthenticationContextClassReference -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $AuthenticationContextClassReferenceId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaIdentityConditionalAccessNamedLocation -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $NamedLocationId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaIdentityConditionalAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $ConditionalAccessPolicyId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaIdentityProvider -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $IdentityProviderBaseId, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaOauth2PermissionGrant -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $OAuth2PermissionGrantId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyAuthenticationMethodPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $AuthenticationMethodConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyAuthenticationStrengthPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $AuthenticationStrengthPolicyId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyAuthorizationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $AuthorizationPolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyCrossTenantAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaPolicyCrossTenantAccessPolicyDefault -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaPolicyCrossTenantAccessPolicyPartner -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $CrossTenantAccessPolicyConfigurationPartnerTenantId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyIdentitySecurityDefaultEnforcementPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaPolicyRoleManagementPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyRoleManagementPolicyAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyAssignmentId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyRoleManagementPolicyRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyRuleId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaPolicyTokenLifetimePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $TokenLifetimePolicyId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaIdentityConditionalAccessAuthenticationContextClassReference -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAvailable, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-MgBetaIdentityConditionalAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $SessionControls, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [PSObject] - $Conditions, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $GrantControls, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaIdentityProvider -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $ExcludeTargets - ) -} -function New-MgBetaPolicyAuthenticationStrengthPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $PolicyType, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $RequirementsSatisfied, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String[]] - $AllowedCombinations, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $CombinationConfigurations, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaPolicyCrossTenantAccessPolicyPartner -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [PSObject] - $TenantRestrictions, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $InboundTrust, - - [Parameter()] - [PSObject] - $AutomaticUserConsentSettings, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $B2BDirectConnectOutbound, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsInMultiTenantOrganization, - - [Parameter()] - [PSObject] - $B2BDirectConnectInbound, - - [Parameter()] - [PSObject] - $B2BCollaborationOutbound, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $IdentitySynchronization, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $B2BCollaborationInbound, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsServiceProvider, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaPolicyTokenLifetimePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Definition, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [PSObject] - $AppliesTo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaIdentityConditionalAccess -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaIdentityConditionalAccessAuthenticationContextClassReference -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AuthenticationContextClassReferenceId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaIdentityConditionalAccessNamedLocation -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $NamedLocationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaIdentityConditionalAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ConditionalAccessPolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaIdentityProvider -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $IdentityProviderBaseId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaPolicyAuthenticationMethodPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AuthenticationMethodConfigurationId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaPolicyAuthenticationStrengthPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AuthenticationStrengthPolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-MgBetaPolicyCrossTenantAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaPolicyCrossTenantAccessPolicyPartner -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $CrossTenantAccessPolicyConfigurationPartnerTenantId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaPolicyTokenLifetimePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $TokenLifetimePolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaIdentityConditionalAccess -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Templates, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $AuthenticationStrengths, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $NamedLocations, - - [Parameter()] - [PSObject] - $AuthenticationContextClassReferences, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $AuthenticationStrength, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Policies, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaIdentityConditionalAccessAuthenticationContextClassReference -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAvailable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $AuthenticationContextClassReferenceId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaIdentityConditionalAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $SessionControls, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [PSObject] - $Conditions, - - [Parameter()] - [System.String] - $ConditionalAccessPolicyId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $GrantControls, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaIdentityProvider -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $IdentityProviderBaseId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaPolicyAuthenticationMethodPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Int32] - $ReconfirmationInDays, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.String] - $PolicyMigrationState, - - [Parameter()] - [PSObject] - $SystemCredentialPreferences, - - [Parameter()] - [System.String] - $PolicyVersion, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $RegistrationEnforcement, - - [Parameter()] - [PSObject] - $AuthenticationMethodConfigurations, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ReportSuspiciousActivitySettings, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $AuthenticationMethodConfigurationId, - - [Parameter()] - [System.String] - $State, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $ExcludeTargets - ) -} -function Update-MgBetaPolicyAuthenticationStrengthPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $PolicyType, - - [Parameter()] - [System.DateTime] - $ModifiedDateTime, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $AuthenticationStrengthPolicyId, - - [Parameter()] - [System.String] - $RequirementsSatisfied, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String[]] - $AllowedCombinations, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $CombinationConfigurations, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaPolicyAuthenticationStrengthPolicyAllowedCombination -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String[]] - $AllowedCombinations, - - [Parameter()] - [System.String] - $AuthenticationStrengthPolicyId, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaPolicyAuthorizationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BlockMsolPowerShell, - - [Parameter()] - [System.String] - $AuthorizationPolicyId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowedToUseSspr, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowUserConsentForRiskyApps, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $GuestUserRoleId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowedToSignUpEmailBasedSubscriptions, - - [Parameter()] - [PSObject] - $DefaultUserRoleOverrides, - - [Parameter()] - [System.String] - $AllowInvitesFrom, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowEmailVerifiedUsersToJoinOrganization, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String[]] - $PermissionGrantPolicyIdsAssignedToDefaultUserRole, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $DefaultUserRolePermissions, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String[]] - $EnabledPreviewFeatures - ) -} -function Update-MgBetaPolicyCrossTenantAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Definition, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $Templates, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Partners, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String[]] - $AllowedCloudEndpoints, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Default - ) -} -function Update-MgBetaPolicyCrossTenantAccessPolicyDefault -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsServiceDefault, - - [Parameter()] - [System.Collections.Hashtable] - $InvitationRedemptionIdentityProviderConfiguration, - - [Parameter()] - [PSObject] - $TenantRestrictions, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $InboundTrust, - - [Parameter()] - [PSObject] - $AutomaticUserConsentSettings, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $B2BDirectConnectOutbound, - - [Parameter()] - [PSObject] - $B2BDirectConnectInbound, - - [Parameter()] - [PSObject] - $B2BCollaborationOutbound, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $B2BCollaborationInbound, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaPolicyCrossTenantAccessPolicyPartner -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [PSObject] - $TenantRestrictions, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $InboundTrust, - - [Parameter()] - [PSObject] - $AutomaticUserConsentSettings, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $B2BDirectConnectOutbound, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsInMultiTenantOrganization, - - [Parameter()] - [System.String] - $CrossTenantAccessPolicyConfigurationPartnerTenantId, - - [Parameter()] - [PSObject] - $B2BDirectConnectInbound, - - [Parameter()] - [PSObject] - $B2BCollaborationOutbound, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $IdentitySynchronization, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $B2BCollaborationInbound, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsServiceProvider, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaPolicyIdentitySecurityDefaultEnforcementPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsEnabled, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaPolicyRoleManagementPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $EffectiveRules, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $ScopeType, - - [Parameter()] - [System.String] - $ScopeId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, - - [Parameter()] - [PSObject] - $LastModifiedBy, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $Rules, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaPolicyRoleManagementPolicyRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyRuleId, - - [Parameter()] - [System.String] - $UnifiedRoleManagementPolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $Target, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaPolicyTokenLifetimePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Definition, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $TokenLifetimePolicyId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [PSObject] - $AppliesTo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion - -#region Microsoft.Graph.Beta.Teams -function Get-MgBetaTeam -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaTeamChannel -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaTeamChannelTab -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $TeamsTabId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaTeam -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Specialization, - - [Parameter()] - [PSObject] - $PrimaryChannel, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMembershipLimitedToOwners, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Classification, - - [Parameter()] - [PSObject] - $AllChannels, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsArchived, - - [Parameter()] - [System.String] - $InternalId, - - [Parameter()] - [PSObject] - $Channels, - - [Parameter()] - [PSObject] - $Group, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $IncomingChannels, - - [Parameter()] - [PSObject] - $Tags, - - [Parameter()] - [PSObject] - $Photo, - - [Parameter()] - [System.String] - $Visibility, - - [Parameter()] - [PSObject] - $MessagingSettings, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [PSObject] - $PermissionGrants, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $InstalledApps, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [PSObject] - $FunSettings, - - [Parameter()] - [PSObject] - $Schedule, - - [Parameter()] - [PSObject] - $Operations, - - [Parameter()] - [PSObject] - $GuestSettings, - - [Parameter()] - [System.String] - $WebUrl, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Collections.Hashtable] - $Template, - - [Parameter()] - [PSObject] - $Summary, - - [Parameter()] - [PSObject] - $DiscoverySettings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $TemplateDefinition, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $MemberSettings - ) -} -function New-MgBetaTeamChannel -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $FilesFolder, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [PSObject] - $Tabs, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $SharedWithTeams, - - [Parameter()] - [PSObject] - $Messages, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsFavoriteByDefault, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.String] - $Email, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ModerationSettings, - - [Parameter()] - [System.String] - $MembershipType, - - [Parameter()] - [System.String] - $WebUrl, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $Summary, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaTeamChannelTab -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TeamsAppId, - - [Parameter()] - [System.String] - $MessageId, - - [Parameter()] - [System.String] - $SortOrderIndex, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [PSObject] - $TeamsApp, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Configuration, - - [Parameter()] - [System.String] - $WebUrl, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaTeam -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaTeamChannel -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaTeamChannelTab -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [System.String] - $TeamsTabId, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaTeam -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $PrimaryChannel, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $Tags, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsMembershipLimitedToOwners, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $AllChannels, - - [Parameter()] - [System.String] - $Classification, - - [Parameter()] - [System.String] - $InternalId, - - [Parameter()] - [PSObject] - $MemberSettings, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Group, - - [Parameter()] - [System.String] - $Specialization, - - [Parameter()] - [PSObject] - $IncomingChannels, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsArchived, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [PSObject] - $Photo, - - [Parameter()] - [System.String] - $Visibility, - - [Parameter()] - [PSObject] - $MessagingSettings, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [PSObject] - $PermissionGrants, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $InstalledApps, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject] - $Owners, - - [Parameter()] - [PSObject] - $FunSettings, - - [Parameter()] - [PSObject] - $Schedule, - - [Parameter()] - [PSObject] - $Operations, - - [Parameter()] - [PSObject] - $GuestSettings, - - [Parameter()] - [System.String] - $WebUrl, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Collections.Hashtable] - $Template, - - [Parameter()] - [PSObject] - $Summary, - - [Parameter()] - [PSObject] - $DiscoverySettings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $TemplateDefinition, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [PSObject] - $Channels - ) -} -function Update-MgBetaTeamChannel -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [PSObject] - $FilesFolder, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [PSObject] - $Tabs, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject] - $SharedWithTeams, - - [Parameter()] - [PSObject] - $Messages, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsFavoriteByDefault, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.String] - $Email, - - [Parameter()] - [PSObject] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $ModerationSettings, - - [Parameter()] - [System.String] - $MembershipType, - - [Parameter()] - [System.String] - $WebUrl, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $Summary, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaTeamChannelTab -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TeamsAppId, - - [Parameter()] - [System.String] - $MessageId, - - [Parameter()] - [System.String] - $SortOrderIndex, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [PSObject] - $TeamsApp, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $TeamId, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $Configuration, - - [Parameter()] - [System.String] - $WebUrl, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $TeamsTabId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.DeviceManagement.Administration -function Get-MgDeviceManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $DeviceAndAppManagementRoleAssignmentId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgDeviceManagementRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgDeviceManagementRoleDefinitionRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $RoleAssignmentId, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgDeviceManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String[]] - $ResourceScopes, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String[]] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $RoleDefinition, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgDeviceManagementRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $RoleAssignments, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltIn, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $RolePermissions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgDeviceManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceAndAppManagementRoleAssignmentId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgDeviceManagementRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaDeviceManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $DeviceAndAppManagementRoleAssignmentId, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String[]] - $ResourceScopes, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $RoleScopeTags, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $ScopeType, - - [Parameter()] - [System.String[]] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $ScopeMembers, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $RoleDefinition, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceAndAppManagementRoleAssignmentId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDeviceManagementRoleAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String[]] - $ResourceScopes, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceAndAppManagementRoleAssignmentId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $ScopeType, - - [Parameter()] - [System.String[]] - $Members, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $ScopeMembers, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $RoleDefinition, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $RoleScopeTags, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgDeviceManagementRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $RoleAssignments, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltIn, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [PSObject] - $RolePermissions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region Microsoft.Graph.Beta.DirectoryObjects -function Get-MgBetaDirectoryObject -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $ConsistencyLevel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.String] - $DirectoryObjectId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion -#region SecurityComplianceCenter -function Get-InsiderRiskPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $MetaDataOnly, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DistributionDetail - ) -} -function New-InsiderRiskPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $IsCustom, - - [Parameter()] - [System.Object] - $ExchangeLocationException, - - [Parameter()] - [System.Object] - $Indicators, - - [Parameter()] - [System.Object] - $ExtensibleIndicators, - - [Parameter()] - [System.Object] - $ModernGroupLocationException, - - [Parameter()] - [System.String] - $CCPolicySdsId, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Object] - $ExtensibleTriggerInsightGroups, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $UserMailList, - - [Parameter()] - [System.Object] - $PolicyRBACScopes, - - [Parameter()] - [System.Object] - $ExchangeLocation, - - [Parameter()] - [System.Object] - $FileExtensions, - - [Parameter()] - [System.Boolean] - $OptInDrpForDlp, - - [Parameter()] - [System.Int32] - $UseDefaultTemplate, - - [Parameter()] - [System.Boolean] - $IsPriorityContentOnlyScoring, - - [Parameter()] - [System.Object] - $Triggers, - - [Parameter()] - [System.Object] - $SharepointSites, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $TeamsSites, - - [Parameter()] - [System.Int32] - $HistoricTimeSpan, - - [Parameter()] - [System.Int32] - $PastTerminationWindow, - - [Parameter()] - [System.Object] - $MLClassifierTypes, - - [Parameter()] - [System.Object] - $ModernGroupLocation, - - [Parameter()] - [System.Object] - $InsiderRiskScenario, - - [Parameter()] - [System.String] - $SessionRecordingSettings, - - [Parameter()] - [System.Object] - $DlpPolicy, - - [Parameter()] - [System.Int32] - $FutureTerminationWindow, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $PostTerminationActivity, - - [Parameter()] - [System.Object] - $IrmAdaptiveScopeLocation, - - [Parameter()] - [System.Object] - $CustomTags, - - [Parameter()] - [System.String] - $CCPolicyName, - - [Parameter()] - [System.Object] - $TriggerInsightGroups, - - [Parameter()] - [System.String] - $TenantSetting, - - [Parameter()] - [System.Object] - $SensitivityLabels, - - [Parameter()] - [System.Object] - $DlpSensitiveTypes, - - [Parameter()] - [System.Int32] - $InScopeTimeSpan, - - [Parameter()] - [System.Int32] - $SchemaVersion - ) -} -function Remove-InsiderRiskPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Set-InsiderRiskPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $IsCustom, - - [Parameter()] - [System.Object] - $Indicators, - - [Parameter()] - [System.String] - $TurnOnAnalytics, - - [Parameter()] - [System.Object] - $AddExchangeLocationException, - - [Parameter()] - [System.String] - $SessionRecordingSettings, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String] - $CCPolicyName, - - [Parameter()] - [System.Object] - $RemoveExchangeLocationException, - - [Parameter()] - [System.String] - $CCPolicySdsId, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Object] - $ExtensibleTriggerInsightGroups, - - [Parameter()] - [System.Object] - $AddExchangeLocation, - - [Parameter()] - [System.Object] - $PolicyRBACScopes, - - [Parameter()] - [System.Object] - $FileExtensions, - - [Parameter()] - [System.Boolean] - $OptInDrpForDlp, - - [Parameter()] - [System.Object] - $RemoveIrmAdaptiveScopeLocation, - - [Parameter()] - [System.Object] - $RemoveModernGroupLocationException, - - [Parameter()] - [System.Object] - $AddModernGroupLocationException, - - [Parameter()] - [System.Object] - $DlpPolicy, - - [Parameter()] - [System.Boolean] - $IsPriorityContentOnlyScoring, - - [Parameter()] - [System.Object] - $Triggers, - - [Parameter()] - [System.Object] - $AddModernGroupLocation, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $TeamsSites, - - [Parameter()] - [System.Int32] - $HistoricTimeSpan, - - [Parameter()] - [System.String] - $TurnOnDLPUserRiskSync, - - [Parameter()] - [System.Object] - $RemoveModernGroupLocation, - - [Parameter()] - [System.Object] - $MLClassifierTypes, - - [Parameter()] - [System.Object] - $ExtensibleIndicators, - - [Parameter()] - [System.Object] - $AddIrmAdaptiveScopeLocation, - - [Parameter()] - [System.Int32] - $FutureTerminationWindow, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $PostTerminationActivity, - - [Parameter()] - [System.Object] - $RemoveExchangeLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetryDistribution, - - [Parameter()] - [System.Object] - $SharepointSites, - - [Parameter()] - [System.Object] - $CustomTags, - - [Parameter()] - [System.Object] - $AddUserMailList, - - [Parameter()] - [System.Object] - $TriggerInsightGroups, - - [Parameter()] - [System.String] - $TenantSetting, - - [Parameter()] - [System.Object] - $SensitivityLabels, - - [Parameter()] - [System.Object] - $DlpSensitiveTypes, - - [Parameter()] - [System.Int32] - $InScopeTimeSpan, - - [Parameter()] - [System.Int32] - $SchemaVersion, - - [Parameter()] - [System.Int32] - $PastTerminationWindow - ) -} - -function Get-RecordReviewNotificationTemplateConfig -{ - [CmdletBinding()] - param( - - ) -} - -function Set-RecordReviewNotificationTemplateConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $IsCustomizedReminderTemplate, - - [Parameter()] - [System.String] - $CustomizedNotificationDataString, - - [Parameter()] - [System.String] - $CustomizedReminderDataString, - - [Parameter()] - [System.Boolean] - $IsCustomizedNotificationTemplate - ) -} - - -function Get-AdminAuditLogConfig -{ - [CmdletBinding()] - param( - - ) -} -function Get-AuditConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $DomainController - ) -} -function Get-AuditConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $DomainController - ) -} -function Get-AutoSensitivityLabelPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceValidate, - - [Parameter()] - [System.Boolean] - $IncludeTestModeResults, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeProgressFeedback, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DistributionDetail - ) -} -function Get-AutoSensitivityLabelRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceValidate, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $IncludeExecutionRuleInformation, - - [Parameter()] - [System.Object] - $Policy, - - [Parameter()] - [System.Boolean] - $IncludeExecutionRuleGuids - ) -} -function Get-CaseHoldPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeBindingsOnly, - - [Parameter()] - [System.String] - $Case, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeBindings, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DistributionDetail - ) -} -function Get-CaseHoldRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Policy - ) -} -function Get-ComplianceCase -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $CaseType, - - [Parameter()] - [System.String] - $RoleGroup, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RecentOnly, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $DomainController - ) -} -function Get-ComplianceRetentionEvent -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $BeginDateTime, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PreviewOnly, - - [Parameter()] - [System.Object] - $EndDateTime, - - [Parameter()] - [System.Object] - $DomainController - ) -} -function Get-ComplianceRetentionEventType -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $LoadTag - ) -} -function Get-ComplianceSearch -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Case, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $ResultSize - ) -} -function Get-ComplianceSearchAction -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Case, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Purge, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Details, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Export, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Preview, - - [Parameter()] - [System.Object] - $ResultSize - ) -} -function Get-ComplianceTag -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludingLabelState, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-ComplianceSecurityFilter -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $FilterName, - - [Parameter()] - [System.Boolean] - $Confirm, - - [Parameter()] - [ValidateSet('Export', 'Preview', 'Purge', 'Search', 'All')] - [System.String] - $Action = 'All', - - [Parameter()] - [System.String[]] - $Users - ) -} -function Get-DeviceConditionalAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-DeviceConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-DeviceConfigurationRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $CompareToWorkload, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $DomainController - ) -} -function New-DeviceConfigurationRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $CameraEnabled, - - [Parameter()] - [System.Object] - $EnableRemovableStorage, - - [Parameter()] - [System.Object] - $AntiVirusSignatureStatus, - - [Parameter()] - [System.Object] - $FirewallStatus, - - [Parameter()] - [System.Object] - $AllowAppStore, - - [Parameter()] - [System.Object] - $AllowAssistantWhileLocked, - - [Parameter()] - [System.Object] - $AllowiCloudBackup, - - [Parameter()] - [System.Object] - $AppsRating, - - [Parameter()] - [System.Object] - $PasswordHistoryCount, - - [Parameter()] - [System.Object] - $PasswordQuality, - - [Parameter()] - [System.Object] - $PasswordMinComplexChars, - - [Parameter()] - [System.Object] - $PhoneMemoryEncrypted, - - [Parameter()] - [System.String] - $EmailAddress, - - [Parameter()] - [System.Object] - $BluetoothEnabled, - - [Parameter()] - [System.Object] - $AllowConvenienceLogon, - - [Parameter()] - [System.Object] - $MaxPasswordGracePeriod, - - [Parameter()] - [System.Object] - $AllowiCloudDocSync, - - [Parameter()] - [System.Object] - $ForceAppStorePassword, - - [Parameter()] - [System.Object] - $Policy, - - [Parameter()] - [System.Object] - $TVShowsRating, - - [Parameter()] - [System.String] - $ExchangeActiveSyncHost, - - [Parameter()] - [System.Object] - $RequireEmailProfile, - - [Parameter()] - [System.Object] - $AllowDiagnosticSubmission, - - [Parameter()] - [System.Object] - $AutoUpdateStatus, - - [Parameter()] - [System.String] - $AccountUserName, - - [Parameter()] - [System.Object] - $WLANEnabled, - - [Parameter()] - [System.Object] - $AllowVoiceDialing, - - [Parameter()] - [System.String] - $AccountName, - - [Parameter()] - [System.Object] - $PasswordExpirationDays, - - [Parameter()] - [System.Object] - $PasswordTimeout, - - [Parameter()] - [System.Object] - $AllowiCloudPhotoSync, - - [Parameter()] - [System.Object] - $AllowSimplePassword, - - [Parameter()] - [System.Object] - $AllowPassbookWhileLocked, - - [Parameter()] - [System.Object] - $PasswordMinimumLength, - - [Parameter()] - [System.Object] - $AllowVideoConferencing, - - [Parameter()] - [System.Object] - $PasswordRequired, - - [Parameter()] - [System.Object] - $MaxPasswordAttemptsBeforeWipe, - - [Parameter()] - [System.Object] - $MoviesRating, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $DomainController, - - [Parameter()] - [System.Object] - $AntiVirusStatus, - - [Parameter()] - [System.String] - $WorkFoldersSyncUrl, - - [Parameter()] - [System.Object] - $UserAccountControlStatus, - - [Parameter()] - [System.Object] - $ForceEncryptedBackup, - - [Parameter()] - [System.Object] - $AllowScreenshot, - - [Parameter()] - [System.Object] - $PasswordComplexity, - - [Parameter()] - [System.Object] - $TargetGroups, - - [Parameter()] - [System.Object] - $AllowVoiceAssistant, - - [Parameter()] - [System.Object] - $SystemSecurityTLS, - - [Parameter()] - [System.Object] - $RegionRatings, - - [Parameter()] - [System.Object] - $SmartScreenEnabled - ) -} -function Remove-DeviceConfigurationRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Set-DeviceConfigurationRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $CameraEnabled, - - [Parameter()] - [System.Object] - $EnableRemovableStorage, - - [Parameter()] - [System.Object] - $AntiVirusSignatureStatus, - - [Parameter()] - [System.Object] - $FirewallStatus, - - [Parameter()] - [System.Object] - $AllowAppStore, - - [Parameter()] - [System.Object] - $AllowAssistantWhileLocked, - - [Parameter()] - [System.Object] - $AllowiCloudBackup, - - [Parameter()] - [System.Object] - $AppsRating, - - [Parameter()] - [System.Object] - $PasswordHistoryCount, - - [Parameter()] - [System.Object] - $PasswordQuality, - - [Parameter()] - [System.Object] - $PasswordMinComplexChars, - - [Parameter()] - [System.Object] - $PhoneMemoryEncrypted, - - [Parameter()] - [System.String] - $EmailAddress, - - [Parameter()] - [System.Object] - $BluetoothEnabled, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $AllowConvenienceLogon, - - [Parameter()] - [System.Object] - $MaxPasswordGracePeriod, - - [Parameter()] - [System.Object] - $AllowiCloudDocSync, - - [Parameter()] - [System.Object] - $ForceAppStorePassword, - - [Parameter()] - [System.Object] - $TVShowsRating, - - [Parameter()] - [System.String] - $ExchangeActiveSyncHost, - - [Parameter()] - [System.Object] - $RequireEmailProfile, - - [Parameter()] - [System.Object] - $AllowDiagnosticSubmission, - - [Parameter()] - [System.Object] - $AutoUpdateStatus, - - [Parameter()] - [System.String] - $AccountUserName, - - [Parameter()] - [System.Object] - $WLANEnabled, - - [Parameter()] - [System.Object] - $AllowVoiceDialing, - - [Parameter()] - [System.String] - $AccountName, - - [Parameter()] - [System.Object] - $PasswordExpirationDays, - - [Parameter()] - [System.Object] - $PasswordTimeout, - - [Parameter()] - [System.Object] - $AllowiCloudPhotoSync, - - [Parameter()] - [System.Object] - $AllowSimplePassword, - - [Parameter()] - [System.Object] - $AllowPassbookWhileLocked, - - [Parameter()] - [System.Object] - $PasswordMinimumLength, - - [Parameter()] - [System.Object] - $AllowVideoConferencing, - - [Parameter()] - [System.Object] - $PasswordRequired, - - [Parameter()] - [System.Object] - $MaxPasswordAttemptsBeforeWipe, - - [Parameter()] - [System.Object] - $MoviesRating, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $DomainController, - - [Parameter()] - [System.Object] - $AntiVirusStatus, - - [Parameter()] - [System.String] - $WorkFoldersSyncUrl, - - [Parameter()] - [System.Object] - $UserAccountControlStatus, - - [Parameter()] - [System.Object] - $ForceEncryptedBackup, - - [Parameter()] - [System.Object] - $AllowScreenshot, - - [Parameter()] - [System.Object] - $PasswordComplexity, - - [Parameter()] - [System.Object] - $TargetGroups, - - [Parameter()] - [System.Object] - $AllowVoiceAssistant, - - [Parameter()] - [System.Object] - $SystemSecurityTLS, - - [Parameter()] - [System.Object] - $RegionRatings, - - [Parameter()] - [System.Object] - $SmartScreenEnabled - ) -} - -function Get-DlpCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Summary, - - [Parameter()] - [System.Boolean] - $IncludeRulesMetadata, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceValidate, - - [Parameter()] - [System.Boolean] - $IncludeExtendedProperties, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IRMUserRiskConfiguredAnyRule, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DistributionDetail - ) -} -function Get-DlpComplianceRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Policy, - - [Parameter()] - [System.Boolean] - $IncludeExecutionRuleGuids - ) -} -function Get-DlpSensitiveInformationType -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $IncludeElements, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeDetails, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Organization, - - [Parameter()] - [System.Object] - $Capability - ) -} -function Get-FilePlanPropertyAuthority -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-FilePlanPropertyCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-FilePlanPropertyCitation -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-FilePlanPropertyDepartment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-FilePlanPropertyReferenceId -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-FilePlanPropertySubCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-Label -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeDetailedLabelActions, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipValidations, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ValidateContentTypeRemoval, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-LabelPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceValidate, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-ManagementRole -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $RoleType, - - [Parameter()] - [System.String[]] - $CmdletParameters, - - [Parameter()] - [System.String[]] - $ScriptParameters, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String] - $Cmdlet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Recurse, - - [Parameter()] - [System.String] - $Script, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $GetChildren - ) -} -function Get-ProtectionAlert -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-RetentionCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeTestModeResults, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExcludeTeamsPolicy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetentionRuleTypes, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ErrorPolicyOnly, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DistributionDetail, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $TeamsPolicyOnly - ) -} -function Get-RetentionComplianceRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Policy - ) -} -function Get-RoleGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $SortBy, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Organization, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ShowPartnerLinked, - - [Parameter()] - [System.Object] - $ResultSize - ) -} -function Get-RoleGroupMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $ResultSize - ) -} -function Get-ServicePrincipal -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Organization - ) -} -function Get-SupervisoryReviewPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $ResultSize - ) -} -function Get-SupervisoryReviewPolicyV2 -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-SupervisoryReviewRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Policy - ) -} -function Get-User -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $SortBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolder, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object[]] - $RecipientTypeDetails, - - [Parameter()] - [System.Object] - $ResultSize, - - [Parameter()] - [System.String] - $Filter - ) -} -function New-AuditConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Workload, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $DomainController - ) -} -function New-AutoSensitivityLabelPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object[]] - $OneDriveSharedBy, - - [Parameter()] - [System.Object] - $SharePointAdaptiveScopes, - - [Parameter()] - [System.Object] - $ExternalMailRightsManagementOwner, - - [Parameter()] - [System.Object] - $OneDriveAdaptiveScopesException, - - [Parameter()] - [System.Object] - $PolicyTemplateInfo, - - [Parameter()] - [System.Object] - $PolicyRBACScopes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Object] - $SharePointLocation, - - [Parameter()] - [System.Object] - $Priority, - - [Parameter()] - [System.Object[]] - $ExchangeSenderException, - - [Parameter()] - [System.Object[]] - $ExceptIfOneDriveSharedBy, - - [Parameter()] - [System.Object] - $ExchangeLocation, - - [Parameter()] - [System.Object] - $OneDriveLocationException, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $OneDriveAdaptiveScopes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $UnifiedAuditLogEnabled, - - [Parameter()] - [System.Object] - $ExchangeAdaptiveScopesException, - - [Parameter()] - [System.Object[]] - $ExceptIfOneDriveSharedByMemberOf, - - [Parameter()] - [System.String] - $ApplySensitivityLabel, - - [Parameter()] - [System.Object[]] - $OneDriveSharedByMemberOf, - - [Parameter()] - [System.Object[]] - $ExchangeSender, - - [Parameter()] - [System.Object] - $OneDriveLocation, - - [Parameter()] - [System.Object[]] - $ExchangeSenderMemberOf, - - [Parameter()] - [System.Object] - $SharePointAdaptiveScopesException, - - [Parameter()] - [System.Object[]] - $ExchangeSenderMemberOfException, - - [Parameter()] - [System.Object] - $ExchangeAdaptiveScopes, - - [Parameter()] - [System.Object] - $SharePointLocationException, - - [Parameter()] - [System.Object] - $Mode, - - [Parameter()] - [System.Boolean] - $OverwriteLabel - ) -} -function New-AutoSensitivityLabelRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object[]] - $SentToMemberOf, - - [Parameter()] - [System.Object] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.Object[]] - $ExceptIfContentContainsSensitiveInformation, - - [Parameter()] - [System.Object] - $ExceptIfFromAddressContainsWords, - - [Parameter()] - [System.Boolean] - $ExceptIfProcessingLimitExceeded, - - [Parameter()] - [System.Object] - $AnyOfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $DocumentNameMatchesWords, - - [Parameter()] - [System.Object] - $ReportSeverityLevel, - - [Parameter()] - [System.Object] - $ExceptIfSenderDomainIs, - - [Parameter()] - [System.Boolean] - $ProcessingLimitExceeded, - - [Parameter()] - [System.Object] - $ExceptIfAnyOfRecipientAddressContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfSenderIPRanges, - - [Parameter()] - [System.Object] - $FromAddressMatchesPatterns, - - [Parameter()] - [System.Object[]] - $ExceptIfFrom, - - [Parameter()] - [System.Boolean] - $DocumentIsPasswordProtected, - - [Parameter()] - [System.Object] - $ExceptIfSubjectMatchesPatterns, - - [Parameter()] - [System.Object] - $ContentExtensionMatchesWords, - - [Parameter()] - [System.Object] - $ImmutableId, - - [Parameter()] - [System.Object] - $AnyOfRecipientAddressContainsWords, - - [Parameter()] - [System.Object[]] - $ExceptIfFromMemberOf, - - [Parameter()] - [System.Object] - $ExceptIfFromAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfAccessScope, - - [Parameter()] - [System.Object] - $ExceptIfHeaderMatchesPatterns, - - [Parameter()] - [System.Object] - $RecipientDomainIs, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object[]] - $From, - - [Parameter()] - [System.Object] - $AccessScope, - - [Parameter()] - [System.Object] - $ActivationDate, - - [Parameter()] - [System.Object] - $ExceptIfContentPropertyContainsWords, - - [Parameter()] - [System.Boolean] - $ExceptIfDocumentIsPasswordProtected, - - [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, - - [Parameter()] - [System.Object] - $DocumentCreatedBy, - - [Parameter()] - [System.Object] - $ExceptIfDocumentSizeOver, - - [Parameter()] - [System.Object] - $ExceptIfDocumentNameMatchesWords, - - [Parameter()] - [System.Object] - $Priority, - - [Parameter()] - [System.Object] - $Policy, - - [Parameter()] - [System.Object] - $SenderIPRanges, - - [Parameter()] - [System.Object] - $SenderDomainIs, - - [Parameter()] - [System.Object[]] - $ContentContainsSensitiveInformation, - - [Parameter()] - [System.Object[]] - $FromMemberOf, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $Disabled, - - [Parameter()] - [System.Boolean] - $ExceptIfDocumentIsUnsupported, - - [Parameter()] - [System.Object] - $RuleErrorAction, - - [Parameter()] - [System.Object] - $ContentPropertyContainsWords, - - [Parameter()] - [System.Object] - $SentTo, - - [Parameter()] - [System.Boolean] - $DocumentIsUnsupported, - - [Parameter()] - [System.Object] - $SubjectMatchesPatterns, - - [Parameter()] - [System.Object] - $HeaderMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfSentTo, - - [Parameter()] - [System.Object] - $ExpiryDate, - - [Parameter()] - [System.Object] - $ExceptIfContentExtensionMatchesWords, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $FromAddressContainsWords, - - [Parameter()] - [System.Object] - $DocumentSizeOver, - - [Parameter()] - [System.Object] - $ExceptIfDocumentCreatedBy, - - [Parameter()] - [System.Object] - $ExceptIfAnyOfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $Workload - ) -} -function New-CaseHoldPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $PublicFolderLocation, - - [Parameter()] - [System.String] - $Case, - - [Parameter()] - [System.Object] - $ExchangeLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $SharePointLocation, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function New-CaseHoldRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Boolean] - $Disabled, - - [Parameter()] - [System.Object] - $Policy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.String] - $ContentMatchQuery - ) -} -function New-ComplianceCase -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $CaseType, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $SourceCaseType, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $ExternalId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $DomainController, - - [Parameter()] - [System.String] - $SecondaryCaseType - ) -} -function New-ComplianceRetentionEvent -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $EventType, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $EventDateTime, - - [Parameter()] - [System.String] - $AssetId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $DomainController, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PreviewOnly, - - [Parameter()] - [System.Object] - $EventTags, - - [Parameter()] - [System.String] - $SharePointAssetIdQuery, - - [Parameter()] - [System.String] - $ExchangeAssetIdQuery - ) -} -function New-ComplianceRetentionEventType -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment - ) -} -function New-ComplianceSearch -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $RefinerNames, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Boolean] - $IncludeUserAppContent, - - [Parameter()] - [System.String[]] - $SharePointLocationExclusion, - - [Parameter()] - [System.Boolean] - $AllowNotFoundExchangeLocationsEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String[]] - $SharePointLocation, - - [Parameter()] - [System.String[]] - $ExchangeLocation, - - [Parameter()] - [System.String] - $Case, - - [Parameter()] - [System.String[]] - $PublicFolderLocation, - - [Parameter()] - [System.Boolean] - $IncludeOrgContent, - - [Parameter()] - [System.String[]] - $HoldNames, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Globalization.CultureInfo] - $Language, - - [Parameter()] - [System.String[]] - $ExchangeLocationExclusion, - - [Parameter()] - [System.String] - $ContentMatchQuery - ) -} -function New-ComplianceSearchAction -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $SearchName, - - [Parameter()] - [System.Object] - $ArchiveFormat, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeCredential, - - [Parameter()] - [System.Boolean] - $IncludeSharePointDocumentVersions, - - [Parameter()] - [System.String] - $ReferenceActionName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Preview, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String[]] - $FileTypeExclusionsForUnindexedItems, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetryOnError, - - [Parameter()] - [System.String] - $Version, - - [Parameter()] - [System.String] - $NotifyEmailCC, - - [Parameter()] - [System.Object] - $Format, - - [Parameter()] - [System.Int32] - $JobOptions, - - [Parameter()] - [System.Boolean] - $EnableDedupe, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetentionReport, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Purge, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Export, - - [Parameter()] - [System.Object] - $PurgeType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Report, - - [Parameter()] - [System.String] - $Region, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $ExchangeArchiveFormat, - - [Parameter()] - [System.Object] - $Scenario, - - [Parameter()] - [System.Object] - $Scope, - - [Parameter()] - [System.String[]] - $SearchNames, - - [Parameter()] - [System.String] - $NotifyEmail, - - [Parameter()] - [System.Object] - $SharePointArchiveFormat, - - [Parameter()] - [System.String] - $ActionName - ) -} -function New-ComplianceTag -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $AutoApprovalPeriod, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.String] - $RetentionType, - - [Parameter()] - [System.Boolean] - $Regulatory, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $FilePlanProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $RetentionAction, - - [Parameter()] - [System.Object] - $FlowId, - - [Parameter()] - [System.Boolean] - $IsRecordUnlockedAsDefault, - - [Parameter()] - [System.String] - $ComplianceTagForNextStage, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [System.Object] - $EventType, - - [Parameter()] - [System.Object] - $IsRecordLabel, - - [Parameter()] - [System.Object[]] - $ReviewerEmail, - - [Parameter()] - [System.Object] - $RetentionDuration, - - [Parameter()] - [System.String] - $MultiStageReviewProperty - ) -} -function New-ComplianceSecurityFilter -{ - [CmdletBinding()] - param( - [Parameter(Mandatory = $true)] - [System.String] - $FilterName, - - [Parameter(Mandatory = $true)] - [ValidateSet('Export', 'Preview', 'Purge', 'Search', 'All')] - [System.String] - $Action = 'All', - - [Parameter(Mandatory = $true)] - [System.String[]] - $Users, - - [Parameter()] - [System.Boolean] - $Confirm, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String[]] - $Filters, - - [Parameter()] - [ValidateSet( - 'APC', # Asia-Pacific - 'AUS', #Australia - 'CAN', # Canada - 'EUR', #Europe, Middle East, Africa - 'FRA', #France - 'GBR', # United Kingdom - 'IND', # India - 'JPN', # Japan - 'LAM', # Latin America - 'NAM' # North America - )] - [System.String] - $Region - ) -} -function New-DeviceConditionalAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Boolean] - $Enabled - ) -} -function New-DeviceConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Boolean] - $Enabled - ) -} -function New-DlpCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object[]] - $OneDriveSharedBy, - - [Parameter()] - [System.Object] - $SharePointAdaptiveScopes, - - [Parameter()] - [System.Object] - $TeamsAdaptiveScopes, - - [Parameter()] - [System.Object] - $PolicyTemplateInfo, - - [Parameter()] - [System.Object] - $OneDriveAdaptiveScopesException, - - [Parameter()] - [System.Object] - $Priority, - - [Parameter()] - [System.Object] - $TeamsAdaptiveScopesException, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $EndpointDlpLocationException, - - [Parameter()] - [System.Object] - $EndpointDlpAdaptiveScopes, - - [Parameter()] - [System.Object] - $PolicyRBACScopes, - - [Parameter()] - [System.Object] - $SharePointAdaptiveScopesException, - - [Parameter()] - [System.Object] - $SharePointLocation, - - [Parameter()] - [System.Object[]] - $ExceptIfOneDriveSharedBy, - - [Parameter()] - [System.Object] - $SharePointLocationException, - - [Parameter()] - [System.Object] - $ThirdPartyAppDlpLocationException, - - [Parameter()] - [System.Object] - $ExchangeAdaptiveScopes, - - [Parameter()] - [System.Object] - $OneDriveLocationException, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $OneDriveAdaptiveScopes, - - [Parameter()] - [System.Object] - $TeamsLocation, - - [Parameter()] - [System.Object] - $ExchangeLocation, - - [Parameter()] - [System.Object] - $TeamsLocationException, - - [Parameter()] - [System.Object] - $OnPremisesScannerDlpLocation, - - [Parameter()] - [System.Object] - $EndpointDlpLocation, - - [Parameter()] - [System.Object] - $ExchangeAdaptiveScopesException, - - [Parameter()] - [System.Object[]] - $ExceptIfOneDriveSharedByMemberOf, - - [Parameter()] - [System.Object] - $PowerBIDlpLocation, - - [Parameter()] - [System.Object[]] - $OneDriveSharedByMemberOf, - - [Parameter()] - [System.Object] - $PowerBIDlpLocationException, - - [Parameter()] - [System.Object] - $ThirdPartyAppDlpLocation, - - [Parameter()] - [System.Object] - $OneDriveLocation, - - [Parameter()] - [System.Object] - $OnPremisesScannerDlpLocationException, - - [Parameter()] - [System.Object[]] - $ExchangeSenderMemberOf, - - [Parameter()] - [System.Object[]] - $ExchangeSenderMemberOfException, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Object] - $Mode, - - [Parameter()] - [System.Object] - $EndpointDlpAdaptiveScopesException - ) -} -function New-DlpComplianceRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $ExceptIfDocumentIsUnsupported, - - [Parameter()] - [System.Boolean] - $ProcessingLimitExceeded, - - [Parameter()] - [System.Object] - $ImmutableId, - - [Parameter()] - [System.Object] - $ActivationDate, - - [Parameter()] - [System.Object] - $NotifyUser, - - [Parameter()] - [System.Boolean] - $ExceptIfDocumentIsPasswordProtected, - - [Parameter()] - [System.Object] - $ExceptIfRecipientADAttributeContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfDocumentNameMatchesPatterns, - - [Parameter()] - [System.Object] - $NotifyEndpointUser, - - [Parameter()] - [System.Object] - $ExceptIfSenderADAttributeContainsWords, - - [Parameter()] - [System.String] - $NotifyEmailCustomSubject, - - [Parameter()] - [System.Object[]] - $FromMemberOf, - - [Parameter()] - [System.Boolean] - $EnforcePortalAccess, - - [Parameter()] - [System.Boolean] - $ContentIsShared, - - [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, - - [Parameter()] - [System.Object] - $AddRecipients, - - [Parameter()] - [System.Object] - $ExceptIfUnscannableDocumentExtensionIs, - - [Parameter()] - [System.Object] - $RecipientDomainIs, - - [Parameter()] - [System.Object] - $SenderADAttributeContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfHeaderMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfFromScope, - - [Parameter()] - [System.Object] - $ExceptIfHeaderContainsWords, - - [Parameter()] - [System.Object] - $HeaderMatchesPatterns, - - [Parameter()] - [System.Object] - $ContentPropertyContainsWords, - - [Parameter()] - [System.Boolean] - $HasSenderOverride, - - [Parameter()] - [System.Object] - $SetHeader, - - [Parameter()] - [System.Object] - $ExceptIfSubjectOrBodyMatchesPatterns, - - [Parameter()] - [System.Boolean] - $ExceptIfHasSenderOverride, - - [Parameter()] - [System.Boolean] - $Quarantine, - - [Parameter()] - [System.Object] - $ExceptIfAnyOfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfContentCharacterSetContainsWords, - - [Parameter()] - [System.Object] - $EncryptRMSTemplate, - - [Parameter()] - [System.Boolean] - $NotifyEmailExchangeIncludeAttachment, - - [Parameter()] - [System.Object] - $ExceptIfAccessScope, - - [Parameter()] - [System.Object] - $ExceptIfMessageTypeMatches, - - [Parameter()] - [System.Object] - $SenderIPRanges, - - [Parameter()] - [System.Object] - $ExceptIfDocumentNameMatchesWords, - - [Parameter()] - [System.Object] - $ExceptIfContentFileTypeMatches, - - [Parameter()] - [System.Object] - $ExceptIfContentExtensionMatchesWords, - - [Parameter()] - [System.Object] - $RemoveHeader, - - [Parameter()] - [System.Object] - $ApplyHtmlDisclaimer, - - [Parameter()] - [System.Object[]] - $ExceptIfFromMemberOf, - - [Parameter()] - [System.Object] - $Moderate, - - [Parameter()] - [System.String] - $NotifyEmailCustomSenderDisplayName, - - [Parameter()] - [System.Object] - $GenerateAlert, - - [Parameter()] - [System.String] - $PrependSubject, - - [Parameter()] - [System.Object[]] - $From, - - [Parameter()] - [System.Object] - $ExceptIfWithImportance, - - [Parameter()] - [System.Object] - $ContentCharacterSetContainsWords, - - [Parameter()] - [System.Object[]] - $ContentContainsSensitiveInformation, - - [Parameter()] - [System.Object] - $SubjectContainsWords, - - [Parameter()] - [System.Object[]] - $EndpointDlpRestrictions, - - [Parameter()] - [System.Object] - $SenderADAttributeMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfSenderADAttributeMatchesPatterns, - - [Parameter()] - [System.Object[]] - $IncidentReportContent, - - [Parameter()] - [System.Object] - $DocumentContainsWords, - - [Parameter()] - [System.Object[]] - $ExceptIfFrom, - - [Parameter()] - [System.Boolean] - $RestrictBrowserAccess, - - [Parameter()] - [System.Object] - $ExceptIfDocumentCreatedBy, - - [Parameter()] - [System.String] - $NotifyPolicyTipUrl, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $RuleErrorAction, - - [Parameter()] - [System.Object] - $FromScope, - - [Parameter()] - [System.Object] - $SentTo, - - [Parameter()] - [System.Object] - $ExceptIfFromAddressMatchesPatterns, - - [Parameter()] - [System.String] - $NotifyPolicyTipCustomText, - - [Parameter()] - [System.Object] - $ExceptIfFromAddressContainsWords, - - [Parameter()] - [System.Boolean] - $ExceptIfProcessingLimitExceeded, - - [Parameter()] - [System.Object] - $DocumentNameMatchesPatterns, - - [Parameter()] - [System.Object] - $Priority, - - [Parameter()] - [System.Object[]] - $OnPremisesScannerDlpRestrictions, - - [Parameter()] - [System.Object] - $ExceptIfSenderDomainIs, - - [Parameter()] - [System.Object[]] - $RedirectMessageTo, - - [Parameter()] - [System.Boolean] - $RemoveRMSTemplate, - - [Parameter()] - [System.Object] - $UnscannableDocumentExtensionIs, - - [Parameter()] - [System.Object] - $DocumentCreatedBy, - - [Parameter()] - [System.Object] - $ReportSeverityLevel, - - [Parameter()] - [System.Object] - $SenderDomainIs, - - [Parameter()] - [System.String] - $ApplyBrandingTemplate, - - [Parameter()] - [System.Object] - $ExceptIfDocumentMatchesPatterns, - - [Parameter()] - [System.Object] - $RecipientADAttributeMatchesPatterns, - - [Parameter()] - [System.Object] - $DocumentNameMatchesWords, - - [Parameter()] - [System.Object] - $ExceptIfContentPropertyContainsWords, - - [Parameter()] - [System.Object] - $GenerateIncidentReport, - - [Parameter()] - [System.Object] - $FromAddressContainsWords, - - [Parameter()] - [System.Object] - $AnyOfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfSubjectContainsWords, - - [Parameter()] - [System.Object] - $SubjectOrBodyMatchesPatterns, - - [Parameter()] - [System.String] - $AdvancedRule, - - [Parameter()] - [System.Object] - $DocumentMatchesPatterns, - - [Parameter()] - [System.Object] - $SharedByIRMUserRisk, - - [Parameter()] - [System.Object[]] - $EndpointDlpBrowserRestrictions, - - [Parameter()] - [System.Object] - $SubjectMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfSubjectMatchesPatterns, - - [Parameter()] - [System.Boolean] - $ExceptIfContentIsShared, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $ExceptIfAnyOfRecipientAddressContainsWords, - - [Parameter()] - [System.Object] - $AnyOfRecipientAddressContainsWords, - - [Parameter()] - [System.Object] - $HeaderContainsWords, - - [Parameter()] - [System.Object] - $AlertProperties, - - [Parameter()] - [System.Object] - $ContentExtensionMatchesWords, - - [Parameter()] - [System.Object] - $WithImportance, - - [Parameter()] - [System.Object] - $MessageSizeOver, - - [Parameter()] - [System.Object] - $ExceptIfSentTo, - - [Parameter()] - [System.Boolean] - $DocumentIsUnsupported, - - [Parameter()] - [System.Object[]] - $DocumentCreatedByMemberOf, - - [Parameter()] - [System.Boolean] - $ContentIsNotLabeled, - - [Parameter()] - [System.Object] - $AccessScope, - - [Parameter()] - [System.Object] - $ExceptIfDocumentSizeOver, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object[]] - $NotifyAllowOverride, - - [Parameter()] - [System.Object] - $NotifyOverrideRequirements, - - [Parameter()] - [System.Object] - $ExceptIfSenderIPRanges, - - [Parameter()] - [System.Object] - $ExceptIfRecipientADAttributeMatchesPatterns, - - [Parameter()] - [System.Object] - $RecipientADAttributeContainsWords, - - [Parameter()] - [System.Object[]] - $ThirdPartyAppDlpRestrictions, - - [Parameter()] - [System.Object] - $ExpiryDate, - - [Parameter()] - [System.Boolean] - $StopPolicyProcessing, - - [Parameter()] - [System.Object[]] - $ExceptIfContentContainsSensitiveInformation, - - [Parameter()] - [System.Object[]] - $SentToMemberOf, - - [Parameter()] - [System.Object] - $DocumentSizeOver, - - [Parameter()] - [System.Object] - $MessageTypeMatches, - - [Parameter()] - [System.Object] - $ModifySubject, - - [Parameter()] - [System.Boolean] - $Disabled, - - [Parameter()] - [System.Object] - $ContentFileTypeMatches, - - [Parameter()] - [System.String] - $NotifyEmailCustomText, - - [Parameter()] - [System.Boolean] - $BlockAccess, - - [Parameter()] - [System.Object] - $SenderAddressLocation, - - [Parameter()] - [System.Object] - $SubjectOrBodyContainsWords, - - [Parameter()] - [System.Object] - $NotifyPolicyTipCustomTextTranslations, - - [Parameter()] - [System.Object] - $Policy, - - [Parameter()] - [System.Object] - $NotifyPolicyTipDisplayOption, - - [Parameter()] - [System.Object] - $NonBifurcatingAccessScope, - - [Parameter()] - [System.Boolean] - $DocumentIsPasswordProtected, - - [Parameter()] - [System.Object] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.Object] - $ExceptIfDocumentContainsWords, - - [Parameter()] - [System.Object] - $FromAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $BlockAccessScope, - - [Parameter()] - [System.Object[]] - $ExceptIfDocumentCreatedByMemberOf, - - [Parameter()] - [System.Object] - $ExceptIfSubjectOrBodyContainsWords, - - [Parameter()] - [System.Object] - $NotifyUserType, - - [Parameter()] - [System.Object] - $ExceptIfMessageSizeOver - ) -} -function New-FilePlanPropertyAuthority -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function New-FilePlanPropertyCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function New-FilePlanPropertyCitation -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $CitationUrl, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $CitationJurisdiction - ) -} -function New-FilePlanPropertyDepartment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function New-FilePlanPropertyReferenceId -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function New-FilePlanPropertySubCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $ParentId, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function New-Label -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $EncryptionEncryptOnly, - - [Parameter()] - [System.String] - $EncryptionDoubleKeyEncryptionUrl, - - [Parameter()] - [System.String] - $ApplyContentMarkingHeaderText, - - [Parameter()] - [System.Object] - $Setting, - - [Parameter()] - [System.Object] - $ApplyContentMarkingFooterEnabled, - - [Parameter()] - [System.Object] - $EncryptionEnabled, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionEnabled, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionAllowFullAccess, - - [Parameter()] - [System.String] - $EncryptionAipTemplateScopes, - - [Parameter()] - [System.Object] - $TeamsEndToEndEncryptionEnabled, - - [Parameter()] - [System.Object] - $ApplyContentMarkingFooterFontSize, - - [Parameter()] - [System.String] - $ColumnAssetCondition, - - [Parameter()] - [System.Object] - $ApplyWaterMarkingFontSize, - - [Parameter()] - [System.String] - $ApplyContentMarkingHeaderFontColor, - - [Parameter()] - [System.String] - $EncryptionContentExpiredOnDateInDaysOrNever, - - [Parameter()] - [System.String] - $ApplyWaterMarkingText, - - [Parameter()] - [System.Object] - $ApplyWaterMarkingLayout, - - [Parameter()] - [System.String] - $DefaultContentLabel, - - [Parameter()] - [System.String] - $ApplyWaterMarkingFontName, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionLevel, - - [Parameter()] - [System.String] - $ApplyContentMarkingFooterText, - - [Parameter()] - [System.Object] - $TeamsLobbyRestrictionEnforced, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionAllowEmailFromGuestUsers, - - [Parameter()] - [System.Object] - $TeamsLobbyBypassScope, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionAllowLimitedAccess, - - [Parameter()] - [System.Object] - $EncryptionDoNotForward, - - [Parameter()] - [System.Object] - $TeamsProtectionEnabled, - - [Parameter()] - [System.Object] - $ParentId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $SchematizedDataCondition, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $ApplyContentMarkingFooterMargin, - - [Parameter()] - [System.Object] - $Settings, - - [Parameter()] - [System.String] - $MigrationId, - - [Parameter()] - [System.Object] - $TeamsWhoCanRecord, - - [Parameter()] - [System.String] - $ApplyContentMarkingFooterFontColor, - - [Parameter()] - [System.String] - $ApplyContentMarkingFooterFontName, - - [Parameter()] - [System.Object] - $TeamsVideoWatermark, - - [Parameter()] - [System.Object] - $ApplyContentMarkingHeaderMargin, - - [Parameter()] - [System.String] - $EncryptionLinkedTemplateId, - - [Parameter()] - [System.Object] - $EncryptionRightsDefinitions, - - [Parameter()] - [System.Object] - $TeamsCopyRestrictionEnforced, - - [Parameter()] - [System.Object] - $ApplyContentMarkingHeaderAlignment, - - [Parameter()] - [System.Object] - $LabelActions, - - [Parameter()] - [System.Object] - $TeamsBypassLobbyForDialInUsers, - - [Parameter()] - [System.Object] - $ApplyContentMarkingHeaderFontSize, - - [Parameter()] - [System.Object] - $LocaleSettings, - - [Parameter()] - [System.Object] - $TeamsAllowedPresenters, - - [Parameter()] - [System.Object] - $AdvancedSettings, - - [Parameter()] - [System.Object] - $EncryptionProtectionType, - - [Parameter()] - [System.String] - $ApplyContentMarkingHeaderFontName, - - [Parameter()] - [System.Object] - $ApplyContentMarkingFooterAlignment, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $SiteExternalSharingControlType, - - [Parameter()] - [System.Object] - $TeamsPresentersRestrictionEnforced, - - [Parameter()] - [System.Object] - $TeamsAllowMeetingChat, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionAllowAccessToGuestUsers, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionPrivacy, - - [Parameter()] - [System.Object] - $EncryptionPromptUser, - - [Parameter()] - [System.String] - $Tooltip, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionBlockAccess, - - [Parameter()] - [System.Object] - $EncryptionOfflineAccessDays, - - [Parameter()] - [System.Object] - $ApplyContentMarkingHeaderEnabled, - - [Parameter()] - [System.String] - $EncryptionTemplateId, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $ContentType, - - [Parameter()] - [System.String] - $ApplyWaterMarkingFontColor, - - [Parameter()] - [System.String] - $EncryptionRightsUrl, - - [Parameter()] - [System.Object] - $Conditions, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $ApplyWaterMarkingEnabled, - - [Parameter()] - [System.Object] - $TeamsRecordAutomatically - ) -} -function New-LabelPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Labels, - - [Parameter()] - [System.Object] - $ModernGroupLocationException, - - [Parameter()] - [System.Object] - $Settings, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $AdvancedSettings, - - [Parameter()] - [System.Object] - $PolicyRBACScopes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Object] - $SharePointLocation, - - [Parameter()] - [System.Object] - $Setting, - - [Parameter()] - [System.Object] - $ExchangeLocation, - - [Parameter()] - [System.Object] - $OneDriveLocationException, - - [Parameter()] - [System.Object] - $PublicFolderLocation, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.String] - $MigrationId, - - [Parameter()] - [System.Object] - $ModernGroupLocation, - - [Parameter()] - [System.Object] - $ExchangeLocationException, - - [Parameter()] - [System.Object] - $ExchangeAdaptiveScopesException, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $OneDriveLocation, - - [Parameter()] - [System.Object] - $SkypeLocation, - - [Parameter()] - [System.Object] - $SkypeLocationException, - - [Parameter()] - [System.Object] - $ExchangeAdaptiveScopes, - - [Parameter()] - [System.Object] - $SharePointLocationException - ) -} -function New-ProtectionAlert -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $NotificationEnabled, - - [Parameter()] - [System.Object] - $NotifyUserThrottleWindow, - - [Parameter()] - [System.Object] - $Threshold, - - [Parameter()] - [System.Boolean] - $Disabled, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Object] - $Operation, - - [Parameter()] - [System.Object] - $NotifyUser, - - [Parameter()] - [System.Object] - $AlertBy, - - [Parameter()] - [System.Object] - $NotifyUserThrottleThreshold, - - [Parameter()] - [System.Object] - $PrivacyManagementScopedSensitiveInformationTypesForCounting, - - [Parameter()] - [System.Object] - $AggregationType, - - [Parameter()] - [System.Object] - $UseCreatedDateTime, - - [Parameter()] - [System.Object] - $NotifyUserSuppressionExpiryDate, - - [Parameter()] - [System.Object] - $VolumeThreshold, - - [Parameter()] - [System.Object] - $TimeWindow, - - [Parameter()] - [System.Object] - $PrivacyManagementScopedSensitiveInformationTypes, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $Category, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $AlertFor, - - [Parameter()] - [System.Object] - $CorrelationPolicyId, - - [Parameter()] - [System.String] - $LogicalOperationName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Severity, - - [Parameter()] - [System.Object] - $CustomProperties, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Boolean] - $NotifyUserOnFilterMatch, - - [Parameter()] - [System.Object] - $ThreatType, - - [Parameter()] - [System.Globalization.CultureInfo] - $NotificationCulture, - - [Parameter()] - [System.Object] - $PrivacyManagementScopedSensitiveInformationTypesThreshold - ) -} -function New-RetentionCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $TeamsChannelLocation, - - [Parameter()] - [System.Object] - $ModernGroupLocationException, - - [Parameter()] - [System.Object] - $Applications, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Object] - $PolicyTemplateInfo, - - [Parameter()] - [System.Object] - $PolicyRBACScopes, - - [Parameter()] - [System.Object] - $ExchangeLocation, - - [Parameter()] - [System.Object] - $SharePointLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsSimulation, - - [Parameter()] - [System.Object] - $OneDriveLocationException, - - [Parameter()] - [System.Object] - $PublicFolderLocation, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Boolean] - $RetainCloudAttachment, - - [Parameter()] - [System.Object] - $ModernGroupLocation, - - [Parameter()] - [System.Object] - $ExchangeLocationException, - - [Parameter()] - [System.Object] - $TeamsChatLocationException, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $TeamsChatLocation, - - [Parameter()] - [System.Object] - $OneDriveLocation, - - [Parameter()] - [System.Object] - $SkypeLocation, - - [Parameter()] - [System.Object] - $TeamsChannelLocationException, - - [Parameter()] - [System.Object] - $SkypeLocationException, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Object] - $SharePointLocationException, - - [Parameter()] - [System.Object] - $AdaptiveScopeLocation, - - [Parameter()] - [System.Boolean] - $RestrictiveRetention - ) -} -function New-RetentionComplianceRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $RetentionDuration, - - [Parameter()] - [System.Object] - $ExcludedItemClasses, - - [Parameter()] - [System.String] - $PublishComplianceTag, - - [Parameter()] - [System.String] - $RetentionComplianceAction, - - [Parameter()] - [System.String] - $ContentMatchQuery, - - [Parameter()] - [System.String] - $ApplyComplianceTag, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $ExpirationDateOption, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $MachineLearningModelIDs, - - [Parameter()] - [System.Object] - $Policy, - - [Parameter()] - [System.Object] - $RetentionDurationDisplayHint, - - [Parameter()] - [System.Object[]] - $ContentContainsSensitiveInformation - ) -} -function New-RoleGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Object[]] - $Roles, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Object] - $Members, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Guid] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function New-SupervisoryReviewPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Double] - $SamplingRate, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $Condition, - - [Parameter()] - [System.Object] - $PolicyType, - - [Parameter()] - [System.String[]] - $Reviewers - ) -} -function New-SupervisoryReviewPolicyV2 -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.String[]] - $UserReportingWorkloads, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String[]] - $Reviewers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function New-SupervisoryReviewRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $ExceptIfFrom, - - [Parameter()] - [System.Boolean] - $DayXInsights, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String[]] - $ContentSources, - - [Parameter()] - [System.Object] - $ExceptIfRevieweeIs, - - [Parameter()] - [System.String] - $CcsiDataModelOperator, - - [Parameter()] - [System.Object[]] - $ContentContainsSensitiveInformation, - - [Parameter()] - [System.String] - $InPurviewFilter, - - [Parameter()] - [System.Object] - $Policy, - - [Parameter()] - [System.Object] - $ExceptIfSentTo, - - [Parameter()] - [System.Object] - $ExceptIfSubjectOrBodyContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.String] - $AdvancedRule, - - [Parameter()] - [System.Object] - $From, - - [Parameter()] - [System.String] - $ContentMatchesDataModel, - - [Parameter()] - [System.Object] - $SentTo, - - [Parameter()] - [System.String] - $Condition, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $ExceptIfSenderDomainIs, - - [Parameter()] - [System.Boolean] - $Ocr, - - [Parameter()] - [System.Int32] - $SamplingRate, - - [Parameter()] - [System.String[]] - $IncludeAdaptiveScopes - ) -} -function Remove-AuditConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $DomainController - ) -} -function Remove-AutoSensitivityLabelPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-AutoSensitivityLabelRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-CaseHoldPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-CaseHoldRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-ComplianceCase -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $DomainController - ) -} -function Remove-ComplianceRetentionEvent -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PreviewOnly, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-ComplianceRetentionEventType -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-ComplianceSearch -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ComplianceSearchAction -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ComplianceTag -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-ComplianceSecurityFilter -{ - [CmdletBinding()] - param( - [Parameter(Mandatory = $true)] - [System.String] - $FilterName, - - [Parameter()] - [System.Boolean] - $Confirm - ) -} -function Remove-DeviceConditionalAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-DeviceConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-DlpCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-DlpComplianceRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-FilePlanPropertyAuthority -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-FilePlanPropertyCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-FilePlanPropertyCitation -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-FilePlanPropertyDepartment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-FilePlanPropertyReferenceId -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-FilePlanPropertySubCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-Label -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-LabelPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ProtectionAlert -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-RetentionCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-RetentionComplianceRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Remove-RoleGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-SupervisoryReviewPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-SupervisoryReviewPolicyV2 -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} -function Set-AutoSensitivityLabelPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object[]] - $OneDriveSharedBy, - - [Parameter()] - [System.Object] - $SharePointAdaptiveScopes, - - [Parameter()] - [System.Boolean] - $SpoAipIntegrationEnabled, - - [Parameter()] - [System.Object] - $ExternalMailRightsManagementOwner, - - [Parameter()] - [System.Object] - $PolicyTemplateInfo, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $OneDriveAdaptiveScopesException, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $RemoveOneDriveLocationException, - - [Parameter()] - [System.Object] - $AddSharePointLocation, - - [Parameter()] - [System.Object] - $AddExchangeLocation, - - [Parameter()] - [System.Object] - $PolicyRBACScopes, - - [Parameter()] - [System.Object] - $SharePointAdaptiveScopesException, - - [Parameter()] - [System.Object] - $ExchangeAdaptiveScopes, - - [Parameter()] - [System.Object] - $Priority, - - [Parameter()] - [System.Object] - $RemoveSharePointLocation, - - [Parameter()] - [System.Object[]] - $ExceptIfOneDriveSharedBy, - - [Parameter()] - [System.Object] - $AddOneDriveLocationException, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetryDistribution, - - [Parameter()] - [System.Object[]] - $ExchangeSenderException, - - [Parameter()] - [System.Object] - $OneDriveAdaptiveScopes, - - [Parameter()] - [System.Object] - $AddSharePointLocationException, - - [Parameter()] - [System.Boolean] - $OverwriteLabel, - - [Parameter()] - [System.Object[]] - $ExceptIfOneDriveSharedByMemberOf, - - [Parameter()] - [System.String] - $ApplySensitivityLabel, - - [Parameter()] - [System.Object[]] - $OneDriveSharedByMemberOf, - - [Parameter()] - [System.Object[]] - $ExchangeSender, - - [Parameter()] - [System.Object] - $RemoveSharePointLocationException, - - [Parameter()] - [System.Object] - $RemoveExchangeLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SystemOperation, - - [Parameter()] - [System.Object[]] - $ExchangeSenderMemberOf, - - [Parameter()] - [System.Object[]] - $ExchangeSenderMemberOfException, - - [Parameter()] - [System.Object] - $RemoveOneDriveLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Object] - $AddOneDriveLocation, - - [Parameter()] - [System.Object] - $AutoEnableAfter, - - [Parameter()] - [System.Object] - $Mode, - - [Parameter()] - [System.Object] - $ExchangeAdaptiveScopesException, - - [Parameter()] - [System.Boolean] - $StartSimulation - ) -} -function Set-AutoSensitivityLabelRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object[]] - $SentToMemberOf, - - [Parameter()] - [System.Object] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.Object[]] - $ExceptIfContentContainsSensitiveInformation, - - [Parameter()] - [System.Object] - $ExceptIfFromAddressContainsWords, - - [Parameter()] - [System.Boolean] - $ExceptIfProcessingLimitExceeded, - - [Parameter()] - [System.Object] - $AnyOfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $DocumentNameMatchesWords, - - [Parameter()] - [System.Object] - $ReportSeverityLevel, - - [Parameter()] - [System.Object] - $ExceptIfSenderDomainIs, - - [Parameter()] - [System.Object] - $DocumentCreatedBy, - - [Parameter()] - [System.Object] - $ExceptIfAnyOfRecipientAddressContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfSenderIPRanges, - - [Parameter()] - [System.Object] - $FromAddressMatchesPatterns, - - [Parameter()] - [System.Object[]] - $ExceptIfFrom, - - [Parameter()] - [System.Boolean] - $DocumentIsPasswordProtected, - - [Parameter()] - [System.Object] - $ExceptIfSubjectMatchesPatterns, - - [Parameter()] - [System.Object] - $ContentExtensionMatchesWords, - - [Parameter()] - [System.Object] - $AnyOfRecipientAddressContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfFromAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfAccessScope, - - [Parameter()] - [System.Object] - $ExceptIfHeaderMatchesPatterns, - - [Parameter()] - [System.Object] - $RecipientDomainIs, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object[]] - $ExceptIfFromMemberOf, - - [Parameter()] - [System.Object[]] - $From, - - [Parameter()] - [System.Object] - $AccessScope, - - [Parameter()] - [System.Object] - $ActivationDate, - - [Parameter()] - [System.Object] - $ExceptIfContentPropertyContainsWords, - - [Parameter()] - [System.Boolean] - $ExceptIfDocumentIsPasswordProtected, - - [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, - - [Parameter()] - [System.Object] - $ExceptIfDocumentSizeOver, - - [Parameter()] - [System.Object] - $ExceptIfDocumentNameMatchesWords, - - [Parameter()] - [System.Object] - $Priority, - - [Parameter()] - [System.Object] - $SenderIPRanges, - - [Parameter()] - [System.Object] - $SenderDomainIs, - - [Parameter()] - [System.Object[]] - $ContentContainsSensitiveInformation, - - [Parameter()] - [System.Object[]] - $FromMemberOf, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $Disabled, - - [Parameter()] - [System.Boolean] - $ExceptIfDocumentIsUnsupported, - - [Parameter()] - [System.Object] - $RuleErrorAction, - - [Parameter()] - [System.Object] - $ContentPropertyContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfAnyOfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Boolean] - $DocumentIsUnsupported, - - [Parameter()] - [System.Object] - $SubjectMatchesPatterns, - - [Parameter()] - [System.Object] - $HeaderMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfSentTo, - - [Parameter()] - [System.Object] - $ExpiryDate, - - [Parameter()] - [System.Object] - $ExceptIfContentExtensionMatchesWords, - - [Parameter()] - [System.Object] - $SentTo, - - [Parameter()] - [System.Object] - $FromAddressContainsWords, - - [Parameter()] - [System.Object] - $DocumentSizeOver, - - [Parameter()] - [System.Object] - $ExceptIfDocumentCreatedBy, - - [Parameter()] - [System.Boolean] - $ProcessingLimitExceeded, - - [Parameter()] - [System.Object] - $Workload - ) -} -function Set-CaseHoldPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $RemoveExchangeLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Object] - $RemoveSharePointLocation, - - [Parameter()] - [System.Object] - $AddExchangeLocation, - - [Parameter()] - [System.Object] - $AddSharePointLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetryDistribution, - - [Parameter()] - [System.Object] - $RemovePublicFolderLocation, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $AddPublicFolderLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String] - $Comment - ) -} -function Set-CaseHoldRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $Disabled, - - [Parameter()] - [System.String] - $ContentMatchQuery, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Set-ComplianceCase -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $CaseType, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $ExternalId, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Reopen, - - [Parameter()] - [System.Object] - $DomainController, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Close - ) -} -function Set-ComplianceRetentionEvent -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Action, - - [Parameter()] - [System.String] - $AssetId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.String] - $SharePointAssetIdQuery, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $EventType, - - [Parameter()] - [System.Object] - $EventTags, - - [Parameter()] - [System.Object] - $DomainController, - - [Parameter()] - [System.String] - $ExchangeAssetIdQuery - ) -} -function Set-ComplianceRetentionEventType -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Set-ComplianceSearch -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $RefinerNames, - - [Parameter()] - [System.String] - $ContentMatchQuery, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String[]] - $AddSharePointLocation, - - [Parameter()] - [System.String[]] - $AddExchangeLocationExclusion, - - [Parameter()] - [System.Boolean] - $IncludeUserAppContent, - - [Parameter()] - [System.String[]] - $SharePointLocationExclusion, - - [Parameter()] - [System.Boolean] - $AllowNotFoundExchangeLocationsEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String[]] - $SharePointLocation, - - [Parameter()] - [System.String[]] - $AddSharePointLocationExclusion, - - [Parameter()] - [System.String[]] - $RemovePublicFolderLocation, - - [Parameter()] - [System.String[]] - $RemoveSharePointLocation, - - [Parameter()] - [System.String[]] - $ExchangeLocation, - - [Parameter()] - [System.String[]] - $PublicFolderLocation, - - [Parameter()] - [System.String[]] - $RemoveSharePointLocationExclusion, - - [Parameter()] - [System.Boolean] - $IncludeOrgContent, - - [Parameter()] - [System.String[]] - $RemoveExchangeLocationExclusion, - - [Parameter()] - [System.String[]] - $HoldNames, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String[]] - $RemoveExchangeLocation, - - [Parameter()] - [System.String[]] - $AddExchangeLocation, - - [Parameter()] - [System.Globalization.CultureInfo] - $Language, - - [Parameter()] - [System.String[]] - $ExchangeLocationExclusion - ) -} -function Set-ComplianceTag -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $RetentionDuration, - - [Parameter()] - [System.String] - $FilePlanProperty, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $AutoApprovalPeriod, - - [Parameter()] - [System.String] - $MultiStageReviewProperty, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $EventType, - - [Parameter()] - [System.Object[]] - $ReviewerEmail, - - [Parameter()] - [System.Object] - $FlowId, - - [Parameter()] - [System.String] - $ComplianceTagForNextStage, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Set-ComplianceSecurityFilter -{ - [CmdletBinding()] - param( - [Parameter(Mandatory = $true)] - [System.String] - $FilterName, - - [Parameter()] - [ValidateSet('Export', 'Preview', 'Purge', 'Search', 'All')] - [System.String] - $Action = 'All', - - [Parameter()] - [System.String[]] - $Users, - - [Parameter()] - [System.Boolean] - $Confirm, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String[]] - $Filters, - - [Parameter()] - [ValidateSet( - 'APC', # Asia-Pacific - 'AUS', #Australia - 'CAN', # Canada - 'EUR', #Europe, Middle East, Africa - 'FRA', #France - 'GBR', # United Kingdom - 'IND', # India - 'JPN', # Japan - 'LAM', # Latin America - 'NAM' # North America - )] - [System.String] - $Region - ) -} -function Set-DeviceConditionalAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetryDistribution, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Set-DeviceConfigurationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetryDistribution, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Set-DlpCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $RemoveExchangeLocation, - - [Parameter()] - [System.Object] - $RemoveOnPremisesScannerDlpLocationException, - - [Parameter()] - [System.Object] - $AddSharePointLocation, - - [Parameter()] - [System.Object] - $RemoveThirdPartyAppDlpLocation, - - [Parameter()] - [System.Object[]] - $ExceptIfOneDriveSharedByMemberOf, - - [Parameter()] - [System.Object[]] - $OneDriveSharedByMemberOf, - - [Parameter()] - [System.Object] - $RemoveTeamsLocationException, - - [Parameter()] - [System.Object] - $RemoveSharePointLocation, - - [Parameter()] - [System.Object] - $Mode, - - [Parameter()] - [System.Object] - $EndpointDlpAdaptiveScopesException, - - [Parameter()] - [System.Object] - $AddThirdPartyAppDlpLocation, - - [Parameter()] - [System.Object] - $TeamsAdaptiveScopes, - - [Parameter()] - [System.Object] - $ExchangeAdaptiveScopes, - - [Parameter()] - [System.Object] - $OneDriveAdaptiveScopes, - - [Parameter()] - [System.Object] - $PolicyRBACScopes, - - [Parameter()] - [System.Object] - $AddOneDriveLocation, - - [Parameter()] - [System.Object] - $AddTeamsLocationException, - - [Parameter()] - [System.Object] - $RemoveSharePointLocationException, - - [Parameter()] - [System.Object] - $RemoveThirdPartyAppDlpLocationException, - - [Parameter()] - [System.Object[]] - $OneDriveSharedBy, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $AddEndpointDlpLocation, - - [Parameter()] - [System.Object] - $RemoveOnPremisesScannerDlpLocation, - - [Parameter()] - [System.Object[]] - $ExchangeSenderMemberOfException, - - [Parameter()] - [System.Object] - $AddTeamsLocation, - - [Parameter()] - [System.Object] - $OneDriveAdaptiveScopesException, - - [Parameter()] - [System.Object] - $AddExchangeLocation, - - [Parameter()] - [System.Object] - $SharePointAdaptiveScopes, - - [Parameter()] - [System.Object] - $AddOnPremisesScannerDlpLocationException, - - [Parameter()] - [System.Object] - $Priority, - - [Parameter()] - [System.Object] - $RemoveOneDriveLocationException, - - [Parameter()] - [System.Object] - $ExchangeAdaptiveScopesException, - - [Parameter()] - [System.Object] - $RemoveEndpointDlpLocation, - - [Parameter()] - [System.Object] - $RemovePowerBIDlpLocationException, - - [Parameter()] - [System.Object] - $RemoveEndpointDlpLocationException, - - [Parameter()] - [System.Object] - $PolicyTemplateInfo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetryDistribution, - - [Parameter()] - [System.Object] - $TeamsAdaptiveScopesException, - - [Parameter()] - [System.Object[]] - $ExceptIfOneDriveSharedBy, - - [Parameter()] - [System.Object] - $AddOnPremisesScannerDlpLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $AddEndpointDlpLocationException, - - [Parameter()] - [System.Object] - $RemovePowerBIDlpLocation, - - [Parameter()] - [System.Object] - $AddOneDriveLocationException, - - [Parameter()] - [System.Object] - $RemoveTeamsLocation, - - [Parameter()] - [System.Object] - $EndpointDlpAdaptiveScopes, - - [Parameter()] - [System.Object] - $AddPowerBIDlpLocation, - - [Parameter()] - [System.Object[]] - $ExchangeSenderMemberOf, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Object] - $AddSharePointLocationException, - - [Parameter()] - [System.Object] - $AddThirdPartyAppDlpLocationException, - - [Parameter()] - [System.Object] - $AddPowerBIDlpLocationException, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $RemoveOneDriveLocation, - - [Parameter()] - [System.Object] - $SharePointAdaptiveScopesException - ) -} -function Set-DlpComplianceRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $ExceptIfDocumentIsUnsupported, - - [Parameter()] - [System.Boolean] - $ProcessingLimitExceeded, - - [Parameter()] - [System.Object] - $ActivationDate, - - [Parameter()] - [System.Object] - $NotifyUser, - - [Parameter()] - [System.Boolean] - $ExceptIfDocumentIsPasswordProtected, - - [Parameter()] - [System.Object] - $ExceptIfRecipientADAttributeContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfDocumentNameMatchesPatterns, - - [Parameter()] - [System.Object] - $NotifyEndpointUser, - - [Parameter()] - [System.Object] - $ExceptIfSenderADAttributeContainsWords, - - [Parameter()] - [System.String] - $NotifyEmailCustomSubject, - - [Parameter()] - [System.Object[]] - $FromMemberOf, - - [Parameter()] - [System.Boolean] - $EnforcePortalAccess, - - [Parameter()] - [System.Boolean] - $ContentIsShared, - - [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, - - [Parameter()] - [System.Object] - $AddRecipients, - - [Parameter()] - [System.Object] - $ExceptIfUnscannableDocumentExtensionIs, - - [Parameter()] - [System.Object] - $RecipientDomainIs, - - [Parameter()] - [System.Object] - $SenderADAttributeContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfHeaderMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfFromScope, - - [Parameter()] - [System.Object] - $ExceptIfHeaderContainsWords, - - [Parameter()] - [System.Object] - $HeaderMatchesPatterns, - - [Parameter()] - [System.Object] - $ContentPropertyContainsWords, - - [Parameter()] - [System.Boolean] - $HasSenderOverride, - - [Parameter()] - [System.Object] - $SetHeader, - - [Parameter()] - [System.Object] - $ExceptIfSubjectOrBodyMatchesPatterns, - - [Parameter()] - [System.Boolean] - $ExceptIfHasSenderOverride, - - [Parameter()] - [System.Boolean] - $Quarantine, - - [Parameter()] - [System.Object] - $ExceptIfAnyOfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfContentCharacterSetContainsWords, - - [Parameter()] - [System.Object] - $EncryptRMSTemplate, - - [Parameter()] - [System.Boolean] - $NotifyEmailExchangeIncludeAttachment, - - [Parameter()] - [System.Object] - $ExceptIfAccessScope, - - [Parameter()] - [System.Object] - $ExceptIfMessageTypeMatches, - - [Parameter()] - [System.Object] - $SenderIPRanges, - - [Parameter()] - [System.Object] - $ExceptIfDocumentNameMatchesWords, - - [Parameter()] - [System.Object] - $ExceptIfContentFileTypeMatches, - - [Parameter()] - [System.Object] - $ExceptIfContentExtensionMatchesWords, - - [Parameter()] - [System.Object] - $RemoveHeader, - - [Parameter()] - [System.Object] - $ApplyHtmlDisclaimer, - - [Parameter()] - [System.Object[]] - $ExceptIfFromMemberOf, - - [Parameter()] - [System.Object] - $Moderate, - - [Parameter()] - [System.Boolean] - $Disabled, - - [Parameter()] - [System.String] - $NotifyEmailCustomSenderDisplayName, - - [Parameter()] - [System.Object] - $GenerateAlert, - - [Parameter()] - [System.String] - $PrependSubject, - - [Parameter()] - [System.Object[]] - $From, - - [Parameter()] - [System.Object] - $ExceptIfWithImportance, - - [Parameter()] - [System.Object] - $ContentCharacterSetContainsWords, - - [Parameter()] - [System.Object[]] - $ContentContainsSensitiveInformation, - - [Parameter()] - [System.Object] - $SubjectContainsWords, - - [Parameter()] - [System.Object[]] - $EndpointDlpRestrictions, - - [Parameter()] - [System.Object] - $SenderADAttributeMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfSenderADAttributeMatchesPatterns, - - [Parameter()] - [System.Object[]] - $IncidentReportContent, - - [Parameter()] - [System.Object] - $DocumentContainsWords, - - [Parameter()] - [System.Object[]] - $ExceptIfFrom, - - [Parameter()] - [System.Boolean] - $RestrictBrowserAccess, - - [Parameter()] - [System.Object] - $ExceptIfDocumentCreatedBy, - - [Parameter()] - [System.String] - $NotifyPolicyTipUrl, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $RuleErrorAction, - - [Parameter()] - [System.Object] - $FromScope, - - [Parameter()] - [System.Object] - $ExceptIfFromAddressMatchesPatterns, - - [Parameter()] - [System.String] - $NotifyPolicyTipCustomText, - - [Parameter()] - [System.Object] - $ExceptIfFromAddressContainsWords, - - [Parameter()] - [System.Boolean] - $ExceptIfProcessingLimitExceeded, - - [Parameter()] - [System.Object] - $DocumentNameMatchesPatterns, - - [Parameter()] - [System.Object] - $Priority, - - [Parameter()] - [System.Object[]] - $OnPremisesScannerDlpRestrictions, - - [Parameter()] - [System.Object] - $ExceptIfSenderDomainIs, - - [Parameter()] - [System.Object[]] - $RedirectMessageTo, - - [Parameter()] - [System.Boolean] - $RemoveRMSTemplate, - - [Parameter()] - [System.Object] - $UnscannableDocumentExtensionIs, - - [Parameter()] - [System.Object] - $DocumentCreatedBy, - - [Parameter()] - [System.Object] - $ReportSeverityLevel, - - [Parameter()] - [System.Object] - $SenderDomainIs, - - [Parameter()] - [System.String] - $ApplyBrandingTemplate, - - [Parameter()] - [System.Object] - $ExceptIfDocumentMatchesPatterns, - - [Parameter()] - [System.Object] - $RecipientADAttributeMatchesPatterns, - - [Parameter()] - [System.Object] - $DocumentNameMatchesWords, - - [Parameter()] - [System.Object] - $ExceptIfContentPropertyContainsWords, - - [Parameter()] - [System.Object] - $GenerateIncidentReport, - - [Parameter()] - [System.Object] - $FromAddressContainsWords, - - [Parameter()] - [System.Object] - $AnyOfRecipientAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfSubjectContainsWords, - - [Parameter()] - [System.Object] - $SubjectOrBodyMatchesPatterns, - - [Parameter()] - [System.String] - $AdvancedRule, - - [Parameter()] - [System.Object] - $DocumentMatchesPatterns, - - [Parameter()] - [System.Object] - $SharedByIRMUserRisk, - - [Parameter()] - [System.Object[]] - $EndpointDlpBrowserRestrictions, - - [Parameter()] - [System.Object] - $SubjectMatchesPatterns, - - [Parameter()] - [System.Object] - $ExceptIfSubjectMatchesPatterns, - - [Parameter()] - [System.Boolean] - $ExceptIfContentIsShared, - - [Parameter()] - [System.Object] - $ExceptIfAnyOfRecipientAddressContainsWords, - - [Parameter()] - [System.Object] - $AnyOfRecipientAddressContainsWords, - - [Parameter()] - [System.Object] - $HeaderContainsWords, - - [Parameter()] - [System.Object] - $AlertProperties, - - [Parameter()] - [System.Object] - $ContentExtensionMatchesWords, - - [Parameter()] - [System.Object] - $WithImportance, - - [Parameter()] - [System.Object] - $MessageSizeOver, - - [Parameter()] - [System.Object] - $SentTo, - - [Parameter()] - [System.Boolean] - $DocumentIsUnsupported, - - [Parameter()] - [System.Object[]] - $DocumentCreatedByMemberOf, - - [Parameter()] - [System.Boolean] - $ContentIsNotLabeled, - - [Parameter()] - [System.Object] - $AccessScope, - - [Parameter()] - [System.Object] - $ExceptIfDocumentSizeOver, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object[]] - $NotifyAllowOverride, - - [Parameter()] - [System.Object] - $NotifyOverrideRequirements, - - [Parameter()] - [System.Object] - $ExceptIfSenderIPRanges, - - [Parameter()] - [System.Object] - $ExceptIfRecipientADAttributeMatchesPatterns, - - [Parameter()] - [System.Object] - $RecipientADAttributeContainsWords, - - [Parameter()] - [System.Object[]] - $ThirdPartyAppDlpRestrictions, - - [Parameter()] - [System.Object] - $ExpiryDate, - - [Parameter()] - [System.Boolean] - $StopPolicyProcessing, - - [Parameter()] - [System.Object[]] - $ExceptIfContentContainsSensitiveInformation, - - [Parameter()] - [System.Object[]] - $SentToMemberOf, - - [Parameter()] - [System.Object] - $DocumentSizeOver, - - [Parameter()] - [System.Object] - $MessageTypeMatches, - - [Parameter()] - [System.Object] - $ModifySubject, - - [Parameter()] - [System.Object] - $ExceptIfSentTo, - - [Parameter()] - [System.Object] - $ContentFileTypeMatches, - - [Parameter()] - [System.String] - $NotifyEmailCustomText, - - [Parameter()] - [System.Boolean] - $BlockAccess, - - [Parameter()] - [System.Object] - $SenderAddressLocation, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $SubjectOrBodyContainsWords, - - [Parameter()] - [System.Object] - $NotifyPolicyTipCustomTextTranslations, - - [Parameter()] - [System.Object] - $NotifyPolicyTipDisplayOption, - - [Parameter()] - [System.Object] - $NonBifurcatingAccessScope, - - [Parameter()] - [System.Boolean] - $DocumentIsPasswordProtected, - - [Parameter()] - [System.Object] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.Object] - $ExceptIfDocumentContainsWords, - - [Parameter()] - [System.Object] - $FromAddressMatchesPatterns, - - [Parameter()] - [System.Object] - $BlockAccessScope, - - [Parameter()] - [System.Object[]] - $ExceptIfDocumentCreatedByMemberOf, - - [Parameter()] - [System.Object] - $ExceptIfSubjectOrBodyContainsWords, - - [Parameter()] - [System.Object] - $NotifyUserType, - - [Parameter()] - [System.Object] - $ExceptIfMessageSizeOver - ) -} -function Set-FilePlanPropertyCitation -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $CitationUrl, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String] - $CitationJurisdiction - ) -} -function Set-Label -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $EncryptionEncryptOnly, - - [Parameter()] - [System.String] - $EncryptionDoubleKeyEncryptionUrl, - - [Parameter()] - [System.String] - $ApplyContentMarkingHeaderText, - - [Parameter()] - [System.Object] - $Setting, - - [Parameter()] - [System.Object] - $ApplyContentMarkingFooterEnabled, - - [Parameter()] - [System.Object] - $EncryptionEnabled, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionEnabled, - - [Parameter()] - [System.Object] - $TeamsEndToEndEncryptionEnabled, - - [Parameter()] - [System.Object] - $ApplyContentMarkingFooterFontSize, - - [Parameter()] - [System.String] - $ColumnAssetCondition, - - [Parameter()] - [System.Object] - $ContentType, - - [Parameter()] - [System.Object] - $ApplyWaterMarkingFontSize, - - [Parameter()] - [System.String] - $ApplyContentMarkingHeaderFontColor, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionPrivacy, - - [Parameter()] - [System.String] - $EncryptionContentExpiredOnDateInDaysOrNever, - - [Parameter()] - [System.String] - $ApplyWaterMarkingText, - - [Parameter()] - [System.Object] - $ApplyWaterMarkingLayout, - - [Parameter()] - [System.String] - $DefaultContentLabel, - - [Parameter()] - [System.String] - $ApplyWaterMarkingFontName, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionLevel, - - [Parameter()] - [System.String] - $ApplyContentMarkingFooterText, - - [Parameter()] - [System.Object] - $TeamsLobbyRestrictionEnforced, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionAllowEmailFromGuestUsers, - - [Parameter()] - [System.Object] - $TeamsLobbyBypassScope, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionAllowLimitedAccess, - - [Parameter()] - [System.Object] - $EncryptionProtectionType, - - [Parameter()] - [System.Object] - $TeamsProtectionEnabled, - - [Parameter()] - [System.Object] - $ParentId, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $SchematizedDataCondition, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $Conditions, - - [Parameter()] - [System.Object] - $Settings, - - [Parameter()] - [System.String] - $MigrationId, - - [Parameter()] - [System.Object] - $TeamsWhoCanRecord, - - [Parameter()] - [System.Object] - $EncryptionRightsDefinitions, - - [Parameter()] - [System.String] - $ApplyContentMarkingFooterFontColor, - - [Parameter()] - [System.Object] - $PreviousLabel, - - [Parameter()] - [System.String] - $ApplyContentMarkingFooterFontName, - - [Parameter()] - [System.Object] - $TeamsVideoWatermark, - - [Parameter()] - [System.Object] - $ApplyContentMarkingHeaderMargin, - - [Parameter()] - [System.Object] - $TeamsPresentersRestrictionEnforced, - - [Parameter()] - [System.Object] - $TeamsCopyRestrictionEnforced, - - [Parameter()] - [System.Object] - $ApplyContentMarkingHeaderAlignment, - - [Parameter()] - [System.Object] - $LabelActions, - - [Parameter()] - [System.Object] - $TeamsBypassLobbyForDialInUsers, - - [Parameter()] - [System.Object] - $ApplyContentMarkingHeaderFontSize, - - [Parameter()] - [System.Object] - $LocaleSettings, - - [Parameter()] - [System.Object] - $TeamsAllowedPresenters, - - [Parameter()] - [System.Object] - $AdvancedSettings, - - [Parameter()] - [System.String] - $ApplyContentMarkingHeaderFontName, - - [Parameter()] - [System.Object] - $ApplyContentMarkingFooterAlignment, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $SiteExternalSharingControlType, - - [Parameter()] - [System.Object] - $Priority, - - [Parameter()] - [System.Object] - $TeamsAllowMeetingChat, - - [Parameter()] - [System.Object] - $EncryptionDoNotForward, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionAllowAccessToGuestUsers, - - [Parameter()] - [System.Object] - $EncryptionPromptUser, - - [Parameter()] - [System.String] - $Tooltip, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionBlockAccess, - - [Parameter()] - [System.Object] - $EncryptionOfflineAccessDays, - - [Parameter()] - [System.Object] - $ApplyContentMarkingHeaderEnabled, - - [Parameter()] - [System.Object] - $ApplyContentMarkingFooterMargin, - - [Parameter()] - [System.Object] - $SiteAndGroupProtectionAllowFullAccess, - - [Parameter()] - [System.String] - $ApplyWaterMarkingFontColor, - - [Parameter()] - [System.String] - $EncryptionRightsUrl, - - [Parameter()] - [System.Object] - $NextLabel, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $ApplyWaterMarkingEnabled, - - [Parameter()] - [System.Object] - $TeamsRecordAutomatically - ) -} -function Set-LabelPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $RemoveModernGroupLocation, - - [Parameter()] - [System.Object] - $AddExchangeLocation, - - [Parameter()] - [System.Object] - $PreviousLabelPolicy, - - [Parameter()] - [System.Object] - $AddExchangeLocationException, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $RemoveExchangeLocationException, - - [Parameter()] - [System.Object] - $Setting, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Settings, - - [Parameter()] - [System.Object] - $RemoveLabels, - - [Parameter()] - [System.Object] - $AddSkypeLocation, - - [Parameter()] - [System.Object] - $PolicyRBACScopes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Object] - $AddLabels, - - [Parameter()] - [System.Object] - $RemovePublicFolderLocation, - - [Parameter()] - [System.Object] - $RemoveModernGroupLocationException, - - [Parameter()] - [System.Object] - $AddModernGroupLocationException, - - [Parameter()] - [System.Object] - $RemoveOneDriveLocationException, - - [Parameter()] - [System.Object] - $RemoveSharePointLocation, - - [Parameter()] - [System.Object] - $AddOneDriveLocationException, - - [Parameter()] - [System.Object] - $AddModernGroupLocation, - - [Parameter()] - [System.Object] - $AddPublicFolderLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetryDistribution, - - [Parameter()] - [System.String] - $MigrationId, - - [Parameter()] - [System.Object] - $AddSharePointLocation, - - [Parameter()] - [System.Object] - $AddSharePointLocationException, - - [Parameter()] - [System.Object] - $ExchangeAdaptiveScopesException, - - [Parameter()] - [System.Object] - $RemoveSkypeLocationException, - - [Parameter()] - [System.Object] - $RemoveSharePointLocationException, - - [Parameter()] - [System.Object] - $AdvancedSettings, - - [Parameter()] - [System.Object] - $NextLabelPolicy, - - [Parameter()] - [System.Object] - $RemoveExchangeLocation, - - [Parameter()] - [System.Object] - $RemoveSkypeLocation, - - [Parameter()] - [System.Object] - $RemoveOneDriveLocation, - - [Parameter()] - [System.Object] - $ExchangeAdaptiveScopes, - - [Parameter()] - [System.Object] - $AddOneDriveLocation, - - [Parameter()] - [System.Object] - $AddSkypeLocationException - ) -} -function Set-ProtectionAlert -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $NotificationEnabled, - - [Parameter()] - [System.Object] - $NotifyUserThrottleWindow, - - [Parameter()] - [System.Object] - $Threshold, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Object] - $Operation, - - [Parameter()] - [System.Object] - $NotifyUser, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $AlertBy, - - [Parameter()] - [System.Object] - $PrivacyManagementScopedSensitiveInformationTypesForCounting, - - [Parameter()] - [System.Object] - $AggregationType, - - [Parameter()] - [System.Object] - $Severity, - - [Parameter()] - [System.Object] - $VolumeThreshold, - - [Parameter()] - [System.Object] - $TimeWindow, - - [Parameter()] - [System.Object] - $PrivacyManagementScopedSensitiveInformationTypes, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $Category, - - [Parameter()] - [System.Object] - $AlertFor, - - [Parameter()] - [System.Boolean] - $Disabled, - - [Parameter()] - [System.Object] - $NotifyUserSuppressionExpiryDate, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Boolean] - $NotifyUserOnFilterMatch, - - [Parameter()] - [System.Object] - $NotifyUserThrottleThreshold, - - [Parameter()] - [System.Globalization.CultureInfo] - $NotificationCulture, - - [Parameter()] - [System.Object] - $PrivacyManagementScopedSensitiveInformationTypesThreshold - ) -} -function Set-RetentionCompliancePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $RemoveModernGroupLocation, - - [Parameter()] - [System.Object] - $AddExchangeLocation, - - [Parameter()] - [System.Object] - $AddExchangeLocationException, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $RemoveTeamsChatLocation, - - [Parameter()] - [System.Object] - $RemoveExchangeLocationException, - - [Parameter()] - [System.Object] - $Applications, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $RemoveOneDriveLocationException, - - [Parameter()] - [System.Object] - $PolicyTemplateInfo, - - [Parameter()] - [System.Object] - $AddTeamsChatLocationException, - - [Parameter()] - [System.Object] - $AddSkypeLocation, - - [Parameter()] - [System.Object] - $PolicyRBACScopes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Object] - $RemovePublicFolderLocation, - - [Parameter()] - [System.Object] - $RemoveModernGroupLocationException, - - [Parameter()] - [System.Object] - $AddModernGroupLocationException, - - [Parameter()] - [System.Object] - $AddTeamsChatLocation, - - [Parameter()] - [System.Object] - $RemoveSharePointLocation, - - [Parameter()] - [System.Object] - $AddOneDriveLocationException, - - [Parameter()] - [System.Object] - $AddModernGroupLocation, - - [Parameter()] - [System.Object] - $AddTeamsChannelLocationException, - - [Parameter()] - [System.Object] - $AddPublicFolderLocation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetryDistribution, - - [Parameter()] - [System.Boolean] - $RestrictiveRetention, - - [Parameter()] - [System.Object] - $AddSharePointLocation, - - [Parameter()] - [System.Object] - $RemoveTeamsChannelLocation, - - [Parameter()] - [System.Object] - $AddAdaptiveScopeLocation, - - [Parameter()] - [System.Object] - $RemoveTeamsChatLocationException, - - [Parameter()] - [System.Object] - $RemoveTeamsChannelLocationException, - - [Parameter()] - [System.Boolean] - $EnforceSimulationPolicy, - - [Parameter()] - [System.Object] - $AddTeamsChannelLocation, - - [Parameter()] - [System.Object] - $RemoveSkypeLocationException, - - [Parameter()] - [System.Object] - $RemoveSharePointLocationException, - - [Parameter()] - [System.Object] - $RemoveExchangeLocation, - - [Parameter()] - [System.Object] - $RemoveAdaptiveScopeLocation, - - [Parameter()] - [System.Object] - $RemoveSkypeLocation, - - [Parameter()] - [System.Object] - $RemoveOneDriveLocation, - - [Parameter()] - [System.Object] - $AddSharePointLocationException, - - [Parameter()] - [System.Object] - $AddOneDriveLocation, - - [Parameter()] - [System.Object] - $AddSkypeLocationException, - - [Parameter()] - [System.Boolean] - $StartSimulation - ) -} -function Set-RetentionComplianceRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $RetentionDuration, - - [Parameter()] - [System.Object] - $ExcludedItemClasses, - - [Parameter()] - [System.Object] - $ContentDateFrom, - - [Parameter()] - [System.Object[]] - $ContentContainsSensitiveInformation, - - [Parameter()] - [System.String] - $RetentionComplianceAction, - - [Parameter()] - [System.String] - $ContentMatchQuery, - - [Parameter()] - [System.String] - $ApplyComplianceTag, - - [Parameter()] - [System.Object] - $ContentDateTo, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.String] - $ExpirationDateOption, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $RetentionDurationDisplayHint - ) -} -function Set-RoleGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Set-SupervisoryReviewPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String[]] - $AddReviewers, - - [Parameter()] - [System.String] - $Condition, - - [Parameter()] - [System.Object] - $PolicyType, - - [Parameter()] - [System.String[]] - $RemoveReviewers, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.String[]] - $Reviewers, - - [Parameter()] - [System.Object] - $SamplingRate - ) -} -function Set-InsiderRiskEntityList -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Object[]] - $Entities, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Object[]] - $AddEntities, - - [Parameter()] - [System.Object[]] - $RemoveEntities - ) -} - -function New-InsiderRiskEntityList -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Object[]] - $Entities, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Type - ) -} - -function Remove-InsiderRiskEntityList -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceDeletion - ) -} - -function Get-InsiderRiskEntityList -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $Type - ) -} - -function Set-SupervisoryReviewPolicyV2 -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $AddReviewers, - - [Parameter()] - [System.Int32] - $RetentionPeriodInDays, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [System.String[]] - $UserReportingWorkloads, - - [Parameter()] - [System.String[]] - $RemoveReviewers, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String[]] - $Reviewers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Set-SupervisoryReviewRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $ExceptIfFrom, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $DayXInsights, - - [Parameter()] - [System.String[]] - $ContentSources, - - [Parameter()] - [System.Object] - $ExceptIfRevieweeIs, - - [Parameter()] - [System.String] - $CcsiDataModelOperator, - - [Parameter()] - [System.Object[]] - $ContentContainsSensitiveInformation, - - [Parameter()] - [System.String] - $InPurviewFilter, - - [Parameter()] - [System.Object] - $ExceptIfSentTo, - - [Parameter()] - [System.Object] - $ExceptIfSubjectOrBodyContainsWords, - - [Parameter()] - [System.Object] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.String] - $AdvancedRule, - - [Parameter()] - [System.Object] - $From, - - [Parameter()] - [System.String] - $ContentMatchesDataModel, - - [Parameter()] - [System.Object] - $SentTo, - - [Parameter()] - [System.String] - $Condition, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $ExceptIfSenderDomainIs, - - [Parameter()] - [System.Boolean] - $Ocr, - - [Parameter()] - [System.Int32] - $SamplingRate, - - [Parameter()] - [System.String[]] - $IncludeAdaptiveScopes - ) -} -function Start-ComplianceSearch -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetryOnError, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Update-RoleGroupMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Members - ) -} -function Add-RoleGroupMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Member - ) -} - -function Remove-RoleGroupMember -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Member - ) -} -#endregion - -#region PnP.PowerShell -function Add-PnPApp -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Publish, - - [Parameter()] - [System.Int32] - $Timeout, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipFeatureDeployment, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Overwrite, - - [Parameter()] - [PSObject] - $Scope, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $Path - ) -} -function Add-PnPHubSiteAssociation -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HubSite, - - [Parameter()] - [PSObject] - $Site, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Add-PnPOrgAssetsLibrary -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ThumbnailUrl, - - [Parameter()] - [PSObject] - $OrgAssetType, - - [Parameter()] - [System.String] - $LibraryUrl, - - [Parameter()] - [PSObject] - $CdnType, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Add-PnPSiteDesign -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ThumbnailUrl, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $WebTemplate, - - [Parameter()] - [System.Guid[]] - $SiteScriptIds, - - [Parameter()] - [System.String] - $Title, - - [Parameter()] - [System.String] - $PreviewImageUrl, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $PreviewImageAltText, - - [Parameter()] - [System.Guid] - $DesignPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault - ) -} -function Add-PnPSiteScript -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Title, - - [Parameter()] - [System.String] - $Content, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Add-PnPTenantTheme -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Overwrite, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [System.Boolean] - $IsInverted, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [PSObject] - $Palette - ) -} -function Get-PnPApp -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Scope, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPAuditing -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPAvailableLanguage -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPBrowserIdleSignout -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPContext -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPFile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AsFileObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AsListItem, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AsFile, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AsMemoryStream, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ThrowExceptionIfFileNotFound, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $Url, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AsString, - - [Parameter()] - [System.String] - $Path, - - [Parameter()] - [System.String] - $Filename, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Get-PnPGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AssociatedOwnerGroup, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AssociatedMemberGroup, - - [Parameter()] - [System.String[]] - $Includes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AssociatedVisitorGroup, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPGroupPermissions -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPHomeSite -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPHubSite -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPOrgAssetsLibrary -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPProperty -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $ClientObject, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String[]] - $Property - ) -} -function Get-PnPPropertyBag -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Folder, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [System.String] - $Key, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPSearchConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $BookmarkStatus, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [PSObject] - $Scope, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Boolean] - $ExcludeVisualPromotedResults, - - [Parameter()] - [PSObject] - $OutputFormat, - - [Parameter()] - [System.String] - $Path, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PromotedResultsToBookmarkCSV - ) -} -function Get-PnPSite -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String[]] - $Includes - ) -} -function Get-PnPSiteDesign -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPSiteDesignRights -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPSiteScript -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $SiteDesign, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPStorageEntity -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Scope, - - [Parameter()] - [System.String] - $Key, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPTenant -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPTenantAppCatalogUrl -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPTenantCdnEnabled -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $CdnType, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPTenantCdnPolicies -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $CdnType, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPTenantSite -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Detailed, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeOneDriveSites, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableSharingForNonOwnersStatus, - - [Parameter()] - [System.String] - $Template, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Boolean] - $GroupIdDefined - ) -} -function Get-PnPTenantSyncClientRestriction -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPTenantTheme -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AsJson - ) -} -function Get-PnPUser -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $WithRightsAssigned, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $WithRightsAssignedDetailed, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String[]] - $Includes - ) -} -function Get-PnPUserProfileProperty -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Account, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Get-PnPWeb -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String[]] - $Includes - ) -} -function Grant-PnPHubSiteRights -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Principals, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Grant-PnPSiteDesignRights -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Principals, - - [Parameter()] - [PSObject] - $Rights, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection - ) -} -function New-PnPGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $SetAssociatedGroup, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AutoAcceptRequestToJoinLeave, - - [Parameter()] - [System.String] - $Title, - - [Parameter()] - [System.String] - $Owner, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OnlyAllowMembersViewMembership, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisallowMembersViewMembership, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowMembersEditMembership, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $RequestToJoinEmail, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowRequestToJoinLeave - ) -} -function New-PnPTenantSite -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Template, - - [Parameter()] - [PSObject] - $SharingCapability, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Int64] - $StorageQuota, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RemoveDeletedSite, - - [Parameter()] - [System.String] - $Title, - - [Parameter()] - [System.String] - $Owner, - - [Parameter()] - [System.Int32] - $TimeZone, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $Url, - - [Parameter()] - [System.Double] - $ResourceQuota, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Wait, - - [Parameter()] - [System.UInt32] - $Lcid, - - [Parameter()] - [System.Double] - $ResourceQuotaWarningLevel, - - [Parameter()] - [System.Int64] - $StorageQuotaWarningLevel - ) -} -function Register-PnPHubSite -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Principals, - - [Parameter()] - [PSObject] - $Site, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Remove-PnPApp -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Scope, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Remove-PnPGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-PnPHomeSite -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-PnPHubSiteAssociation -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Site, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Remove-PnPOrgAssetsLibrary -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $CdnType, - - [Parameter()] - [System.String] - $LibraryUrl, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Boolean] - $ShouldRemoveFromCdn - ) -} -function Remove-PnPPropertyBagValue -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Folder, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [System.String] - $Key, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-PnPSearchConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Configuration, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [PSObject] - $Scope, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $Path - ) -} -function Remove-PnPSiteDesign -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-PnPStorageEntity -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Scope, - - [Parameter()] - [System.String] - $Key, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Remove-PnPTenantSite -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $FromRecycleBin, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipRecycleBin, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $Url, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-PnPTenantTheme -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Revoke-PnPSiteDesignRights -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Principals, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Set-PnPAuditing -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $CheckOutCheckInItems, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $TrimAuditLog, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableAll, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SearchContent, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EditItems, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EditContentTypesColumns, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DeleteRestoreItems, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EditUsersPermissions, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnableAll, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $MoveCopyItems, - - [Parameter()] - [System.Int32] - $RetentionTime - ) -} -function Set-PnPBrowserIdleSignout -{ - [CmdletBinding()] - param( - [Parameter()] - [System.TimeSpan] - $WarnAfter, - - [Parameter()] - [System.TimeSpan] - $SignoutAfter, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Boolean] - $Enabled - ) -} -function Set-PnPGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [System.String] - $AddRole, - - [Parameter()] - [System.String] - $Title, - - [Parameter()] - [System.String] - $Owner, - - [Parameter()] - [System.Boolean] - $OnlyAllowMembersViewMembership, - - [Parameter()] - [System.String] - $RemoveRole, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [System.Boolean] - $AllowMembersEditMembership, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Boolean] - $AutoAcceptRequestToJoinLeave, - - [Parameter()] - [System.String] - $RequestToJoinEmail, - - [Parameter()] - [PSObject] - $SetAssociatedGroup, - - [Parameter()] - [System.Boolean] - $AllowRequestToJoinLeave - ) -} -function Set-PnPGroupPermissions -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $AddRole, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [System.String[]] - $RemoveRole, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [PSObject] - $List - ) -} -function Set-PnPHomeSite -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $HomeSiteUrl, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Set-PnPHubSite -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RequiresJoinApproval, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $HideNameInNavigation, - - [Parameter()] - [System.String] - $LogoUrl, - - [Parameter()] - [System.Guid] - $SiteDesignId, - - [Parameter()] - [System.String] - $Title, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Guid] - $ParentHubSiteId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnablePermissionsSync - ) -} -function Set-PnPPropertyBagValue -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Folder, - - [Parameter()] - [System.String] - $Value, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Indexed, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $Key - ) -} -function Set-PnPSearchConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Configuration, - - [Parameter()] - [PSObject] - $Web, - - [Parameter()] - [PSObject] - $Scope, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $Path - ) -} -function Set-PnPSite -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $RestrictedAccessControl, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [PSObject] - $SharingCapability, - - [Parameter()] - [System.Nullable`1[System.Management.Automation.SwitchParameter]] - $DisableFlows, - - [Parameter()] - [PSObject] - $MediaTranscription, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableSharingForNonOwners, - - [Parameter()] - [System.Nullable`1[System.Management.Automation.SwitchParameter]] - $NoScriptSite, - - [Parameter()] - [System.String] - $LogoFilePath, - - [Parameter()] - [System.String] - $Classification, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DefaultLinkToExistingAccessReset, - - [Parameter()] - [System.Nullable`1[System.Guid]] - $SensitivityLabel, - - [Parameter()] - [PSObject] - $DefaultLinkPermission, - - [Parameter()] - [System.Boolean] - $RequestFilesLinkEnabled, - - [Parameter()] - [System.Boolean] - $DefaultLinkToExistingAccess, - - [Parameter()] - [System.Nullable`1[System.Int64]] - $StorageWarningLevel, - - [Parameter()] - [System.Nullable`1[System.Management.Automation.SwitchParameter]] - $CommentsOnSitePagesDisabled, - - [Parameter()] - [PSObject] - $RestrictedToGeo, - - [Parameter()] - [PSObject] - $LockState, - - [Parameter()] - [PSObject] - $DisableAppViews, - - [Parameter()] - [System.Nullable`1[System.Management.Automation.SwitchParameter]] - $SocialBarOnSitePagesDisabled, - - [Parameter()] - [System.String[]] - $Owners, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Wait, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $AnonymousLinkExpirationInDays, - - [Parameter()] - [PSObject] - $DisableCompanyWideSharingLinks, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OverrideTenantAnonymousLinkExpirationPolicy, - - [Parameter()] - [System.Nullable`1[System.Management.Automation.SwitchParameter]] - $AllowSelfServiceUpgrade, - - [Parameter()] - [System.Nullable`1[System.Int64]] - $StorageMaximumLevel, - - [Parameter()] - [System.Nullable`1[System.UInt32]] - $LocaleId, - - [Parameter()] - [PSObject] - $DefaultSharingLinkType, - - [Parameter()] - [System.String] - $ScriptSafeDomainName - ) -} -function Set-PnPSiteDesign -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ThumbnailUrl, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $WebTemplate, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [System.String] - $Title, - - [Parameter()] - [System.Guid[]] - $SiteScriptIds, - - [Parameter()] - [System.String] - $PreviewImageUrl, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $PreviewImageAltText, - - [Parameter()] - [System.Nullable`1[System.Guid]] - $DesignPackageId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault - ) -} -function Set-PnPSiteScript -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Int32] - $Version, - - [Parameter()] - [System.String] - $Content, - - [Parameter()] - [System.String] - $Title, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [PSObject] - $Connection - ) -} -function Set-PnPStorageEntity -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Value, - - [Parameter()] - [System.String] - $Comment, - - [Parameter()] - [PSObject] - $Scope, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $Key - ) -} -function Set-PnPTenant -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $ExternalServicesEnabled, - - [Parameter()] - [System.Boolean] - $UsePersistentCookiesForExplorerView, - - [Parameter()] - [System.Int32] - $MinCompatibilityLevel, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $RequireAnonymousLinksExpireInDays, - - [Parameter()] - [PSObject] - $FolderAnonymousLinkType, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $OrphanedPersonalSitesRetentionPeriod, - - [Parameter()] - [System.Boolean] - $CommentsOnListItemsDisabled, - - [Parameter()] - [System.Boolean] - $OwnerAnonymousNotification, - - [Parameter()] - [PSObject] - $ConditionalAccessPolicy, - - [Parameter()] - [System.Boolean] - $NotificationsInSharePointEnabled, - - [Parameter()] - [System.Boolean] - $AllowFilesWithKeepLabelToBeDeletedODB, - - [Parameter()] - [System.Boolean] - $ShowAllUsersClaim, - - [Parameter()] - [System.Boolean] - $ViewInFileExplorerEnabled, - - [Parameter()] - [System.Boolean] - $RequireAcceptingAccountMatchInvitedAccount, - - [Parameter()] - [System.Boolean] - $EnableRestrictedAccessControl, - - [Parameter()] - [PSObject] - $DefaultLinkPermission, - - [Parameter()] - [System.Boolean] - $StopNew2013Workflows, - - [Parameter()] - [System.Boolean] - $DisableCustomAppAuthentication, - - [Parameter()] - [System.Guid[]] - $DisabledWebPartIds, - - [Parameter()] - [System.Boolean] - $NotificationsInOneDriveForBusinessEnabled, - - [Parameter()] - [System.Boolean] - $EnableAutoNewsDigest, - - [Parameter()] - [System.Boolean] - $NotifyOwnersWhenItemsReshared, - - [Parameter()] - [System.Boolean] - $SearchResolveExactEmailOrUPN, - - [Parameter()] - [System.Boolean] - $AllowFilesWithKeepLabelToBeDeletedSPO, - - [Parameter()] - [System.Boolean] - $EnableAIPIntegration, - - [Parameter()] - [System.Boolean] - $IsLoopEnabled, - - [Parameter()] - [System.Boolean] - $FilePickerExternalImageSearchEnabled, - - [Parameter()] - [System.Boolean] - $ExternalUserExpirationRequired, - - [Parameter()] - [PSObject] - $SpecialCharactersStateInFileFolderNames, - - [Parameter()] - [PSObject] - $ODBAccessRequests, - - [Parameter()] - [System.Boolean] - $DisplayNamesOfFileViewers, - - [Parameter()] - [System.String] - $NoAccessRedirectUrl, - - [Parameter()] - [System.Boolean] - $ShowPeoplePickerSuggestionsForGuestUsers, - - [Parameter()] - [System.Boolean] - $SocialBarOnSitePagesDisabled, - - [Parameter()] - [System.Boolean] - $PublicCdnEnabled, - - [Parameter()] - [PSObject] - $MarkNewFilesSensitiveByDefault, - - [Parameter()] - [System.String] - $SharingBlockedDomainList, - - [Parameter()] - [System.Guid[]] - $DisabledModernListTemplateIds, - - [Parameter()] - [System.String] - $SharingAllowedDomainList, - - [Parameter()] - [PSObject] - $DefaultSharingLinkType, - - [Parameter()] - [System.String] - $BccExternalSharingInvitationsList, - - [Parameter()] - [System.String] - $SignInAccelerationDomain, - - [Parameter()] - [System.Boolean] - $ProvisionSharedWithEveryoneFolder, - - [Parameter()] - [PSObject] - $SharingDomainRestrictionMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $EmailAttestationReAuthDays, - - [Parameter()] - [System.Boolean] - $ShowEveryoneExceptExternalUsersClaim, - - [Parameter()] - [System.Boolean] - $OneDriveForGuestsEnabled, - - [Parameter()] - [System.String] - $StartASiteFormUrl, - - [Parameter()] - [System.Boolean] - $IsFluidEnabled, - - [Parameter()] - [System.Boolean] - $EmailAttestationRequired, - - [Parameter()] - [System.Boolean] - $AllowDownloadingNonWebViewableFiles, - - [Parameter()] - [System.Boolean] - $UseFindPeopleInPeoplePicker, - - [Parameter()] - [System.Boolean] - $ShowEveryoneClaim, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $IPAddressWACTokenLifetime, - - [Parameter()] - [System.Boolean] - $HideDefaultThemes, - - [Parameter()] - [System.Boolean] - $ApplyAppEnforcedRestrictionsToAdHocRecipients, - - [Parameter()] - [System.Boolean] - $OfficeClientADALDisabled, - - [Parameter()] - [System.Boolean] - $BccExternalSharingInvitations, - - [Parameter()] - [System.Boolean] - $IPAddressEnforcement, - - [Parameter()] - [PSObject] - $SharingCapability, - - [Parameter()] - [System.Boolean] - $NotifyOwnersWhenInvitationsAccepted, - - [Parameter()] - [System.String] - $IPAddressAllowList, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Boolean] - $DisallowInfectedFileDownload, - - [Parameter()] - [System.Boolean] - $AllowEditing, - - [Parameter()] - [System.Boolean] - $DisableAddToOneDrive, - - [Parameter()] - [System.Boolean] - $InformationBarriersSuspension, - - [Parameter()] - [System.Boolean] - $DisableBackToClassic, - - [Parameter()] - [System.Boolean] - $DisplayNamesOfFileViewersInSpo, - - [Parameter()] - [System.Boolean] - $PreventExternalUsersFromResharing, - - [Parameter()] - [System.Boolean] - $DisablePersonalListCreation, - - [Parameter()] - [PSObject] - $ODBMembersCanShare, - - [Parameter()] - [System.Boolean] - $CommentsOnFilesDisabled, - - [Parameter()] - [System.Boolean] - $LegacyAuthProtocolsEnabled, - - [Parameter()] - [PSObject] - $FileAnonymousLinkType, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $PublicCdnAllowedFileTypes, - - [Parameter()] - [System.Boolean] - $OneDriveRequestFilesLinkEnabled, - - [Parameter()] - [System.Boolean] - $UserVoiceForFeedbackEnabled, - - [Parameter()] - [System.Guid[]] - $EnableModernListTemplateIds, - - [Parameter()] - [System.Nullable`1[System.Int64]] - $OneDriveStorageQuota, - - [Parameter()] - [System.Boolean] - $CommentsOnSitePagesDisabled, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $ExternalUserExpireInDays, - - [Parameter()] - [System.Boolean] - $EnableGuestSignInAcceleration, - - [Parameter()] - [System.Int32] - $MaxCompatibilityLevel, - - [Parameter()] - [System.Boolean] - $DisplayStartASiteOption - ) -} -function Set-PnPTenantCdnEnabled -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $NoDefaultOrigins, - - [Parameter()] - [PSObject] - $CdnType, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Boolean] - $Enable - ) -} -function Set-PnPTenantCdnPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $CdnType, - - [Parameter()] - [System.String] - $PolicyValue, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [PSObject] - $PolicyType - ) -} -function Set-PnPTenantSite -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $ExternalUserExpirationInDays, - - [Parameter()] - [PSObject] - $SharingCapability, - - [Parameter()] - [PSObject] - $DisableFlows, - - [Parameter()] - [PSObject] - $MediaTranscription, - - [Parameter()] - [System.String] - $ProtectionLevelName, - - [Parameter()] - [System.Boolean] - $AllowEditing, - - [Parameter()] - [System.Double] - $ResourceQuota, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableSharingForNonOwners, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Wait, - - [Parameter()] - [System.Double] - $ResourceQuotaWarningLevel, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Int64] - $StorageQuotaWarningLevel, - - [Parameter()] - [PSObject] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DefaultLinkToExistingAccessReset, - - [Parameter()] - [System.String] - $SensitivityLabel, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $AnonymousLinkExpirationInDays, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RemoveLabel, - - [Parameter()] - [PSObject] - $DefaultLinkPermission, - - [Parameter()] - [System.Boolean] - $OverrideTenantExternalUserExpirationPolicy, - - [Parameter()] - [System.Boolean] - $AllowDownloadingNonWebViewableFiles, - - [Parameter()] - [System.Guid[]] - $RemoveInformationSegment, - - [Parameter()] - [System.String] - $Title, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BlockDownloadOfNonViewableFiles, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $CommentsOnSitePagesDisabled, - - [Parameter()] - [System.Guid] - $HubSiteId, - - [Parameter()] - [System.Guid[]] - $AddInformationSegment, - - [Parameter()] - [System.Boolean] - $DefaultLinkToExistingAccess, - - [Parameter()] - [PSObject] - $RestrictedToGeo, - - [Parameter()] - [PSObject] - $LockState, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DenyAddAndCustomizePages, - - [Parameter()] - [PSObject] - $DisableAppViews, - - [Parameter()] - [System.String] - $SharingBlockedDomainList, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $StorageQuotaReset, - - [Parameter()] - [System.String[]] - $Owners, - - [Parameter()] - [PSObject] - $InformationBarriersMode, - - [Parameter()] - [PSObject] - $LimitedAccessFileType, - - [Parameter()] - [PSObject] - $BlockDownloadLinksFileType, - - [Parameter()] - [PSObject] - $OverrideBlockUserInfoVisibility, - - [Parameter()] - [PSObject] - $SharingDomainRestrictionMode, - - [Parameter()] - [PSObject] - $ConditionalAccessPolicy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OverrideTenantAnonymousLinkExpirationPolicy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowSelfServiceUpgrade, - - [Parameter()] - [System.Int64] - $StorageQuota, - - [Parameter()] - [System.String] - $SharingAllowedDomainList, - - [Parameter()] - [System.UInt32] - $LocaleId, - - [Parameter()] - [System.Boolean] - $ShowPeoplePickerSuggestionsForGuestUsers, - - [Parameter()] - [PSObject] - $DefaultSharingLinkType, - - [Parameter()] - [System.Boolean] - $EnablePWA, - - [Parameter()] - [PSObject] - $DisableCompanyWideSharingLinks - ) -} -function Set-PnPTenantSyncClientRestriction -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Collections.Generic.List`1[System.Guid]] - $DomainGuids, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableReportProblemDialog, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Enable, - - [Parameter()] - [PSObject] - $GrooveBlockOption, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BlockMacSync, - - [Parameter()] - [System.String[]] - $ExcludedFileExtensions - ) -} -function Set-PnPUserProfileProperty -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Values, - - [Parameter()] - [System.String] - $Value, - - [Parameter()] - [System.String] - $Account, - - [Parameter()] - [PSObject] - $Connection, - - [Parameter()] - [System.String] - $PropertyName - ) -} -function Unregister-PnPHubSite -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $Site, - - [Parameter()] - [PSObject] - $Connection - ) -} -#endregion -#region Microsoft.PowerApps.Administration.PowerShell -function Get-AdminPowerApp -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ApiVersion, - - [Parameter()] - [System.String] - $Owner, - - [Parameter()] - [System.String[]] - $Filter, - - [Parameter()] - [System.String] - $EnvironmentName, - - [Parameter()] - [System.String] - $AppName - ) -} -function Get-AdminPowerAppEnvironment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Capacity, - - [Parameter()] - [System.String] - $InstanceId, - - [Parameter()] - [System.Boolean] - $ReturnCdsDatabaseType, - - [Parameter()] - [System.String] - $ApiVersion, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Default, - - [Parameter()] - [System.String[]] - $Filter, - - [Parameter()] - [System.String] - $EnvironmentName, - - [Parameter()] - [System.String] - $EnvironmentSku, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $GetProtectedEnvironment, - - [Parameter()] - [System.String] - $CreatedBy - ) -} -function Get-PowerAppTenantIsolationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.String] - $ApiVersion - ) -} -function Get-TenantSettings -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ApiVersion - ) -} - -function Get-TenantAllowBlockListItems -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ListType, - - [Parameter()] - [System.DateTime] - $ExpirationDate, - - [Parameter()] - [switch] - $Allow, - - [Parameter()] - [switch] - $Block, - - [Parameter()] - [System.String] - $Entry, - - [Parameter()] - [System.Object[]] - $ListSubType - ) -} - -function New-AdminPowerAppEnvironment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $TimeoutInMinutes, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProvisionDatabase, - - [Parameter()] - [System.String] - $LocationName, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $LanguageName, - - [Parameter()] - [System.String] - $RegionName, - - [Parameter()] - [System.Object] - $TemplateMetadata, - - [Parameter()] - [System.String] - $CurrencyName, - - [Parameter()] - [System.String] - $ApiVersion, - - [Parameter()] - [System.String[]] - $Templates, - - [Parameter()] - [System.String] - $SecurityGroupId, - - [Parameter()] - [System.String] - $EnvironmentSku, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Boolean] - $WaitUntilFinished, - - [Parameter()] - [System.String] - $DomainName - ) -} -function Remove-AdminPowerApp -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ApiVersion, - - [Parameter()] - [System.String] - $EnvironmentName, - - [Parameter()] - [System.String] - $AppName - ) -} -function Remove-AdminPowerAppEnvironment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $EnvironmentName, - - [Parameter()] - [System.String] - $ApiVersion - ) -} -function Set-PowerAppTenantIsolationPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $TenantId, - - [Parameter()] - [System.String] - $ApiVersion, - - [Parameter()] - [System.Object] - $TenantIsolationPolicy - ) -} -function Set-TenantSettings -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ApiVersion, - - [Parameter()] - [System.Object] - $RequestBody - ) -} - -function Set-TenantAllowBlockListItems -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ListType, - - [Parameter()] - [System.DateTime] - $ExpirationDate, - - [Parameter()] - [switch] - $Allow, - - [Parameter()] - [switch] - $Block, - - [Parameter()] - [System.String[]] - $Entries, - - [Parameter()] - [System.Object[]] - $ListSubType, - - [Parameter()] - [switch] - $NoExpiration, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [switch] - $OutputJson, - - [Parameter()] - [System.Int32] - $RemoveAfter - ) -} - -#endregion -#region MicrosoftTeams -function Add-TeamUser -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $User, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.String] - $Role - ) -} -function Get-AllM365TeamsApps -{ - [CmdletBinding()] - param( - - ) -} -function Get-CsOnlineVoicemailPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsAppPermissionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsAppSetupPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsCallHoldPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsCallingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsChannelsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsComplianceRecordingApplication -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsComplianceRecordingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsEmergencyCallingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsEventsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsFeedbackPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsFilesPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsMeetingConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsMeetingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsMessagingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsShiftsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsTemplatePermissionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsUpdateManagementPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsUpgradeConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTeamsVdiPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity - ) -} -function Get-CsTenantNetworkSite -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $IncludePhoneNumbers - ) -} -function Get-M365TeamsApp -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id - ) -} -function Get-Team -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Boolean] - $Archived, - - [Parameter()] - [System.String] - $User, - - [Parameter()] - [System.String] - $NumberOfThreads, - - [Parameter()] - [System.String] - $Visibility, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.String] - $MailNickName - ) -} -function Get-TeamChannel -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $MembershipType, - - [Parameter()] - [System.String] - $GroupId - ) -} -function Get-TeamUser -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.String] - $Role - ) -} -function Grant-CsExternalAccessPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.Int32] - $Rank, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Grant-CsTeamsAppPermissionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.Int32] - $Rank, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Grant-CsTeamsAppSetupPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.Int32] - $Rank, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Grant-CsTeamsCallingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.Int32] - $Rank, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Grant-CsTeamsEventsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.Int32] - $Rank, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function New-CsOnlineVoicemailPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $EnableEditingCallAnswerRulesSetting, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Boolean] - $EnableTranscriptionProfanityMasking, - - [Parameter()] - [System.String] - $PreambleAudioFile, - - [Parameter()] - [System.String] - $ShareData, - - [Parameter()] - [System.String] - $SecondarySystemPromptLanguage, - - [Parameter()] - [System.String] - $PrimarySystemPromptLanguage, - - [Parameter()] - [System.Nullable`1[System.TimeSpan]] - $MaximumRecordingLength, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $PostambleAudioFile, - - [Parameter()] - [System.Boolean] - $PreamblePostambleMandatory, - - [Parameter()] - [System.Boolean] - $EnableTranscription, - - [Parameter()] - [System.Boolean] - $EnableTranscriptionTranslation - ) -} -function New-CsTeamsAppPermissionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $GlobalCatalogAppsType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $PrivateCatalogAppsType, - - [Parameter()] - [System.String] - $DefaultCatalogAppsType, - - [Parameter()] - [PSObject] - $PrivateCatalogApps, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [PSObject] - $GlobalCatalogApps, - - [Parameter()] - [PSObject] - $DefaultCatalogApps - ) -} -function New-CsTeamsAppSetupPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $AppPresetList, - - [Parameter()] - [PSObject] - $AdditionalCustomizationApps, - - [Parameter()] - [System.Boolean] - $AllowUserPinning, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $PinnedMessageBarApps, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $AllowSideLoading, - - [Parameter()] - [PSObject] - $AppPresetMeetingList, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [PSObject] - $PinnedAppBarApps - ) -} -function New-CsTeamsCallHoldPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $StreamingSourceUrl, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $AudioFileId, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $StreamingSourceAuthType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function New-CsTeamsCallingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowWebPSTNCalling, - - [Parameter()] - [System.String] - $AutoAnswerEnabledType, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $PreventTollBypass, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Boolean] - $AllowCloudRecordingForCalls, - - [Parameter()] - [System.String] - $AllowCallRedirect, - - [Parameter()] - [System.Boolean] - $AllowCallGroups, - - [Parameter()] - [System.String] - $SpamFilteringEnabledType, - - [Parameter()] - [System.Boolean] - $AllowSIPDevicesCalling, - - [Parameter()] - [System.String] - $PopoutAppPathForIncomingPstnCalls, - - [Parameter()] - [System.Boolean] - $EnableWebPstnMediaBypass, - - [Parameter()] - [System.String] - $BusyOnBusyEnabledType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $AllowVoicemail, - - [Parameter()] - [System.String] - $PopoutForIncomingPstnCalls, - - [Parameter()] - [System.String] - $MusicOnHoldEnabledType, - - [Parameter()] - [System.Boolean] - $AllowCallForwardingToUser, - - [Parameter()] - [System.Boolean] - $AllowCallForwardingToPhone, - - [Parameter()] - [System.Boolean] - $AllowPrivateCalling, - - [Parameter()] - [System.String] - $LiveCaptionsEnabledTypeForCalling, - - [Parameter()] - [System.Nullable`1[System.Int64]] - $CallRecordingExpirationDays, - - [Parameter()] - [System.String] - $InboundPstnCallRoutingTreatment, - - [Parameter()] - [System.String] - $InboundFederatedCallRoutingTreatment, - - [Parameter()] - [System.Boolean] - $AllowDelegation, - - [Parameter()] - [System.Boolean] - $AllowTranscriptionForCalling - ) -} -function New-CsTeamsChannelsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowSharedChannelCreation, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Boolean] - $AllowChannelSharingToExternalUser, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $AllowPrivateChannelCreation, - - [Parameter()] - [System.Boolean] - $EnablePrivateTeamDiscovery, - - [Parameter()] - [System.Boolean] - $AllowOrgWideTeamCreation, - - [Parameter()] - [System.Boolean] - $AllowUserToParticipateInExternalSharedChannel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function New-CsTeamsComplianceRecordingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $CustomPromptsPackageId, - - [Parameter()] - [System.Boolean] - $RecordReroutedCalls, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $CustomBanner, - - [Parameter()] - [System.Boolean] - $CustomPromptsEnabled, - - [Parameter()] - [System.Boolean] - $DisableComplianceRecordingAudioNotificationForCalls, - - [Parameter()] - [PSObject] - $ComplianceRecordingApplications, - - [Parameter()] - [System.Boolean] - $WarnUserOnRemoval, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $Enabled - ) -} -function New-CsTeamsEmergencyCallingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $NotificationGroup, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $NotificationDialOutNumber, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $EnhancedEmergencyServiceDisclaimer, - - [Parameter()] - [PSObject] - $NotificationMode, - - [Parameter()] - [PSObject] - $ExtendedNotifications, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [PSObject] - $ExternalLocationLookupMode - ) -} -function New-CsTeamsEventsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $AllowedTownhallTypesForRecordingPublish, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $AllowedQuestionTypesInRegistrationForm, - - [Parameter()] - [System.String] - $AllowedWebinarTypesForRecordingPublish, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $EventAccessType, - - [Parameter()] - [System.Boolean] - $AllowEventIntegrations, - - [Parameter()] - [System.String] - $AllowEmailEditing, - - [Parameter()] - [System.String] - $AllowWebinars, - - [Parameter()] - [System.Boolean] - $UseMicrosoftECDN, - - [Parameter()] - [System.String] - $AllowTownhalls, - - [Parameter()] - [System.String] - $TownhallChatExperience - ) -} -function New-CsTeamsFeedbackPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowLogCollection, - - [Parameter()] - [System.Boolean] - $EnableFeatureSuggestions, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AllowEmailCollection, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $ReceiveSurveysMode, - - [Parameter()] - [System.String] - $UserInitiatedMode, - - [Parameter()] - [System.Boolean] - $AllowScreenshotCollection, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function New-CsTeamsFilesPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $DefaultFileUploadAppId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $NativeFileEntryPoints, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $SPChannelFilesTab - ) -} -function New-CsTeamsHiddenTemplate -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id - ) -} -function New-CsTeamsMeetingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $VoiceIsolation, - - [Parameter()] - [System.String] - $Copilot, - - [Parameter()] - [System.String] - $AllowTrackingInReport, - - [Parameter()] - [System.Boolean] - $AllowMeetingCoach, - - [Parameter()] - [System.String] - $AttendeeIdentityMasking, - - [Parameter()] - [System.Boolean] - $AllowAnnotations, - - [Parameter()] - [System.String] - $AudibleRecordingNotification, - - [Parameter()] - [System.Boolean] - $AllowIPAudio, - - [Parameter()] - [System.Boolean] - $AllowWhiteboard, - - [Parameter()] - [System.Boolean] - $AllowAnonymousUsersToDialOut, - - [Parameter()] - [System.String] - $StreamingAttendeeMode, - - [Parameter()] - [System.String] - $ExplicitRecordingConsent, - - [Parameter()] - [System.String] - $ContentSharingInExternalMeetings, - - [Parameter()] - [System.Nullable`1[System.Int64]] - $WatermarkForCameraVideoOpacity, - - [Parameter()] - [System.Boolean] - $AllowTranscription, - - [Parameter()] - [System.Boolean] - $AllowMeetNow, - - [Parameter()] - [System.Boolean] - $AllowWatermarkCustomizationForCameraVideo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $WatermarkForScreenSharingPattern, - - [Parameter()] - [System.String] - $RoomAttributeUserOverride, - - [Parameter()] - [System.String] - $RoomPeopleNameUserOverride, - - [Parameter()] - [System.Boolean] - $AllowNetworkConfigurationSettingsLookup, - - [Parameter()] - [System.String] - $SmsNotifications, - - [Parameter()] - [System.Boolean] - $AllowExternalParticipantGiveRequestControl, - - [Parameter()] - [System.Boolean] - $AllowAnonymousUsersToStartMeeting, - - [Parameter()] - [System.String] - $AutoAdmittedUsers, - - [Parameter()] - [System.String] - $AllowTasksFromTranscript, - - [Parameter()] - [System.Boolean] - $AllowMeetingRegistration, - - [Parameter()] - [System.String] - $ChannelRecordingDownload, - - [Parameter()] - [System.String] - $RecordingStorageMode, - - [Parameter()] - [System.String] - $ParticipantNameChange, - - [Parameter()] - [System.String] - $ScreenSharingMode, - - [Parameter()] - [System.Boolean] - $AllowPrivateMeetNow, - - [Parameter()] - [System.Boolean] - $AllowExternalNonTrustedMeetingChat, - - [Parameter()] - [System.String] - $AllowEngagementReport, - - [Parameter()] - [System.Boolean] - $CopyRestriction, - - [Parameter()] - [System.String] - $ConnectToMeetingControls, - - [Parameter()] - [System.Boolean] - $AllowWatermarkForCameraVideo, - - [Parameter()] - [System.Nullable`1[System.Int64]] - $WatermarkForScreenSharingOpacity, - - [Parameter()] - [System.Boolean] - $AllowWatermarkForScreenSharing, - - [Parameter()] - [System.String] - $PreferredMeetingProviderForIslandsMode, - - [Parameter()] - [System.Boolean] - $AllowOrganizersToOverrideLobbySettings, - - [Parameter()] - [System.Boolean] - $AllowWatermarkCustomizationForScreenSharing, - - [Parameter()] - [System.Nullable`1[System.Int64]] - $NewMeetingRecordingExpirationDays, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Boolean] - $DetectSensitiveContentDuringScreenSharing, - - [Parameter()] - [System.Boolean] - $AllowNDIStreaming, - - [Parameter()] - [System.String] - $IPAudioMode, - - [Parameter()] - [System.String] - $AllowScreenContentDigitization, - - [Parameter()] - [System.String] - $BlockedAnonymousJoinClientTypes, - - [Parameter()] - [System.String] - $LiveInterpretationEnabledType, - - [Parameter()] - [System.Boolean] - $AllowImmersiveView, - - [Parameter()] - [System.String] - $AutomaticallyStartCopilot, - - [Parameter()] - [System.Boolean] - $AllowAnonymousUsersToJoinMeeting, - - [Parameter()] - [System.String] - $MeetingInviteLanguages, - - [Parameter()] - [System.String] - $WhoCanRegister, - - [Parameter()] - [System.Boolean] - $AllowAvatarsInGallery, - - [Parameter()] - [System.Boolean] - $AllowCloudRecording, - - [Parameter()] - [System.String] - $AllowedStreamingMediaInput, - - [Parameter()] - [System.Boolean] - $AllowIPVideo, - - [Parameter()] - [System.String] - $SpeakerAttributionMode, - - [Parameter()] - [System.String] - $WatermarkForAnonymousUsers, - - [Parameter()] - [System.String] - $AllowedUsersForMeetingContext, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $AllowCartCaptionsScheduling, - - [Parameter()] - [System.Boolean] - $AllowOutlookAddIn, - - [Parameter()] - [System.String] - $CaptchaVerificationForAnonymousUsers, - - [Parameter()] - [System.String] - $DesignatedPresenterRoleMode, - - [Parameter()] - [System.String] - $LiveCaptionsEnabledType, - - [Parameter()] - [System.String] - $QnAEngagementMode, - - [Parameter()] - [System.Boolean] - $AllowSharedNotes, - - [Parameter()] - [System.Boolean] - $AllowParticipantGiveRequestControl, - - [Parameter()] - [System.Nullable`1[System.UInt32]] - $MediaBitRateKb, - - [Parameter()] - [System.String] - $TeamsCameraFarEndPTZMode, - - [Parameter()] - [System.String] - $EnrollUserOverride, - - [Parameter()] - [System.Boolean] - $AllowPowerPointSharing, - - [Parameter()] - [System.Boolean] - $AllowPrivateMeetingScheduling, - - [Parameter()] - [System.Boolean] - $AllowChannelMeetingScheduling, - - [Parameter()] - [System.String] - $ExternalMeetingJoin, - - [Parameter()] - [System.Boolean] - $AllowMeetingReactions, - - [Parameter()] - [System.String] - $VideoFiltersMode, - - [Parameter()] - [System.String] - $InfoShownInReportMode, - - [Parameter()] - [System.String] - $LiveStreamingMode, - - [Parameter()] - [System.Boolean] - $AllowBreakoutRooms, - - [Parameter()] - [System.String] - $AllowDocumentCollaboration, - - [Parameter()] - [System.Boolean] - $AllowRecordingStorageOutsideRegion, - - [Parameter()] - [System.Boolean] - $AllowPSTNUsersToBypassLobby, - - [Parameter()] - [System.String] - $WatermarkForCameraVideoPattern, - - [Parameter()] - [System.Boolean] - $AllowCarbonSummary, - - [Parameter()] - [System.Boolean] - $AllowLocalRecording, - - [Parameter()] - [System.String] - $MeetingChatEnabledType, - - [Parameter()] - [System.String] - $IPVideoMode, - - [Parameter()] - [System.String] - $AutoRecording - ) -} -function New-CsTeamsMessagingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowOwnerDeleteMessage, - - [Parameter()] - [System.Boolean] - $AllowSmartReply, - - [Parameter()] - [System.Boolean] - $AllowUserChat, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $AllowGiphy, - - [Parameter()] - [System.Boolean] - $DeleteCustomEmojis, - - [Parameter()] - [System.Boolean] - $AllowUserDeleteMessage, - - [Parameter()] - [System.String] - $ChannelsInChatListEnabledType, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Boolean] - $AllowStickers, - - [Parameter()] - [System.Boolean] - $CreateCustomEmojis, - - [Parameter()] - [System.Boolean] - $AllowSmartCompose, - - [Parameter()] - [System.Boolean] - $AllowFullChatPermissionUserToDeleteAnyMessage, - - [Parameter()] - [System.Boolean] - $AllowUrlPreviews, - - [Parameter()] - [System.Boolean] - $AllowGiphyDisplay, - - [Parameter()] - [System.String] - $DesignerForBackgroundsAndImages, - - [Parameter()] - [System.Boolean] - $AllowChatWithGroup, - - [Parameter()] - [System.Boolean] - $AllowCommunicationComplianceEndUserReporting, - - [Parameter()] - [System.Boolean] - $AllowImmersiveReader, - - [Parameter()] - [System.Boolean] - $AllowCustomGroupChatAvatars, - - [Parameter()] - [System.Boolean] - $AllowUserTranslation, - - [Parameter()] - [System.Boolean] - $AllowUserEditMessage, - - [Parameter()] - [System.String] - $AudioMessageEnabledType, - - [Parameter()] - [System.Boolean] - $AllowRemoveUser, - - [Parameter()] - [System.Boolean] - $AllowPasteInternetImage, - - [Parameter()] - [System.String] - $ReadReceiptsEnabledType, - - [Parameter()] - [System.String] - $ChatPermissionRole, - - [Parameter()] - [System.Boolean] - $AllowMemes, - - [Parameter()] - [System.Boolean] - $AllowFluidCollaborate, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AllowGroupChatJoinLinks, - - [Parameter()] - [System.Boolean] - $AllowSecurityEndUserReporting, - - [Parameter()] - [System.Boolean] - $AllowPriorityMessages, - - [Parameter()] - [System.Boolean] - $AllowVideoMessages, - - [Parameter()] - [System.String] - $GiphyRatingType, - - [Parameter()] - [System.String] - $InOrganizationChatControl, - - [Parameter()] - [System.Boolean] - $AllowUserDeleteChat - ) -} -function New-CsTeamsShiftsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $ShiftNoticeMessageType, - - [Parameter()] - [System.String] - $ShiftNoticeFrequency, - - [Parameter()] - [System.Boolean] - $EnableScheduleOwnerPermissions, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $ShiftNoticeMessageCustom, - - [Parameter()] - [System.String] - $AccessType, - - [Parameter()] - [System.Nullable`1[System.Int64]] - $AccessGracePeriodMinutes - ) -} -function New-CsTeamsTemplatePermissionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [PSObject] - $HiddenTemplates, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function New-CsTeamsUpdateManagementPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Nullable`1[System.Int64]] - $UpdateDayOfWeek, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $UpdateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Nullable`1[System.DateTime]] - $UpdateTimeOfDay, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AllowManagedUpdates, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $AllowPreview, - - [Parameter()] - [System.Boolean] - $BlockLegacyAuthorization, - - [Parameter()] - [System.String] - $AllowPublicPreview, - - [Parameter()] - [System.Management.Automation.PSListModifier`1[System.String]] - $DisabledInProductMessages, - - [Parameter()] - [System.String] - $UseNewTeamsClient - ) -} -function New-CsTeamsVdiPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $VDI2Optimization, - - [Parameter()] - [System.Boolean] - $DisableCallsAndMeetings, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $DisableAudioVideoInCallsAndMeetings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function New-Team -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowGuestDeleteChannels, - - [Parameter()] - [System.Boolean] - $AllowUserDeleteMessages, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $MailNickName, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Boolean] - $AllowCreateUpdateChannels, - - [Parameter()] - [System.Boolean] - $AllowDeleteChannels, - - [Parameter()] - [System.String] - $Classification, - - [Parameter()] - [System.Boolean] - $AllowCreateUpdateRemoveConnectors, - - [Parameter()] - [System.Boolean] - $AllowUserEditMessages, - - [Parameter()] - [System.Boolean] - $AllowCreateUpdateRemoveTabs, - - [Parameter()] - [System.Boolean] - $AllowAddRemoveApps, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetainCreatedGroup, - - [Parameter()] - [System.Boolean] - $AllowOwnerDeleteMessages, - - [Parameter()] - [System.Boolean] - $AllowTeamMentions, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Boolean] - $AllowCreatePrivateChannels, - - [Parameter()] - [System.Boolean] - $AllowGuestCreateUpdateChannels, - - [Parameter()] - [System.String] - $Owner, - - [Parameter()] - [System.String] - $GiphyContentRating, - - [Parameter()] - [System.Boolean] - $AllowStickersAndMemes, - - [Parameter()] - [System.Boolean] - $ShowInTeamsSearchAndSuggestions, - - [Parameter()] - [System.String] - $Visibility, - - [Parameter()] - [System.String] - $Template, - - [Parameter()] - [System.Boolean] - $AllowGiphy, - - [Parameter()] - [System.Boolean] - $AllowChannelMentions, - - [Parameter()] - [System.Boolean] - $AllowCustomMemes - ) -} -function New-TeamChannel -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Owner, - - [Parameter()] - [System.String] - $MembershipType, - - [Parameter()] - [System.String] - $GroupId - ) -} - -function New-TenantAllowBlockListItems -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Entries, - - [Parameter()] - [System.String] - $ListType, - - [Parameter()] - [System.DateTime] - $ExpirationDate, - - [Parameter()] - [switch] - $Allow, - - [Parameter()] - [switch] - $Block, - - [Parameter()] - [System.Object] - $ListSubType, - - [Parameter()] - [switch] - $LogExtraDetails, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [switch] - $OutputJson, - - [Parameter()] - [System.Int32] - $RemoveAfter, - - [Parameter()] - [System.String] - $SubmissionID - ) -} - -function Remove-CsOnlineVoicemailPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsAppPermissionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsAppSetupPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsCallHoldPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsCallingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsChannelsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsComplianceRecordingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsEmergencyCallingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsEventsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsFeedbackPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsFilesPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsMeetingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsMessagingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsShiftsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsTemplatePermissionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsUpdateManagementPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsTeamsVdiPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-Team -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $GroupId - ) -} -function Remove-TeamChannel -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $GroupId - ) -} -function Remove-TeamUser -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $User, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.String] - $Role - ) -} - -function Remove-TenantAllowBlockListItems -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ListType, - - [Parameter()] - [System.String[]] - $Entries, - - [Parameter()] - [System.String] - $ListSubType, - - [Parameter()] - [switch] - $OutputJson - ) -} - -function Set-CsOnlineVoicemailPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $EnableEditingCallAnswerRulesSetting, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Boolean] - $EnableTranscriptionProfanityMasking, - - [Parameter()] - [System.String] - $PreambleAudioFile, - - [Parameter()] - [System.String] - $ShareData, - - [Parameter()] - [System.String] - $SecondarySystemPromptLanguage, - - [Parameter()] - [System.String] - $PrimarySystemPromptLanguage, - - [Parameter()] - [System.Nullable`1[System.TimeSpan]] - $MaximumRecordingLength, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $PostambleAudioFile, - - [Parameter()] - [System.Boolean] - $PreamblePostambleMandatory, - - [Parameter()] - [System.Boolean] - $EnableTranscription, - - [Parameter()] - [System.Boolean] - $EnableTranscriptionTranslation - ) -} -function Set-CsTeamsAppPermissionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $GlobalCatalogAppsType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $PrivateCatalogAppsType, - - [Parameter()] - [System.String] - $DefaultCatalogAppsType, - - [Parameter()] - [PSObject] - $PrivateCatalogApps, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [PSObject] - $GlobalCatalogApps, - - [Parameter()] - [PSObject] - $DefaultCatalogApps - ) -} -function Set-CsTeamsAppSetupPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject] - $AppPresetList, - - [Parameter()] - [PSObject] - $AdditionalCustomizationApps, - - [Parameter()] - [System.Boolean] - $AllowUserPinning, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $PinnedMessageBarApps, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $AllowSideLoading, - - [Parameter()] - [PSObject] - $AppPresetMeetingList, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [PSObject] - $PinnedAppBarApps - ) -} -function Set-CsTeamsCallHoldPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $StreamingSourceUrl, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $AudioFileId, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $StreamingSourceAuthType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Set-CsTeamsCallingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowWebPSTNCalling, - - [Parameter()] - [System.String] - $AutoAnswerEnabledType, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $PreventTollBypass, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Boolean] - $AllowCloudRecordingForCalls, - - [Parameter()] - [System.String] - $AllowCallRedirect, - - [Parameter()] - [System.Boolean] - $AllowCallGroups, - - [Parameter()] - [System.String] - $SpamFilteringEnabledType, - - [Parameter()] - [System.Boolean] - $AllowSIPDevicesCalling, - - [Parameter()] - [System.String] - $PopoutAppPathForIncomingPstnCalls, - - [Parameter()] - [System.Boolean] - $EnableWebPstnMediaBypass, - - [Parameter()] - [System.String] - $BusyOnBusyEnabledType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $AllowVoicemail, - - [Parameter()] - [System.String] - $PopoutForIncomingPstnCalls, - - [Parameter()] - [System.String] - $MusicOnHoldEnabledType, - - [Parameter()] - [System.Boolean] - $AllowCallForwardingToUser, - - [Parameter()] - [System.Boolean] - $AllowCallForwardingToPhone, - - [Parameter()] - [System.Boolean] - $AllowPrivateCalling, - - [Parameter()] - [System.String] - $LiveCaptionsEnabledTypeForCalling, - - [Parameter()] - [System.Nullable`1[System.Int64]] - $CallRecordingExpirationDays, - - [Parameter()] - [System.String] - $InboundPstnCallRoutingTreatment, - - [Parameter()] - [System.String] - $InboundFederatedCallRoutingTreatment, - - [Parameter()] - [System.Boolean] - $AllowDelegation, - - [Parameter()] - [System.Boolean] - $AllowTranscriptionForCalling - ) -} -function Set-CsTeamsChannelsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowSharedChannelCreation, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Boolean] - $AllowChannelSharingToExternalUser, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $AllowPrivateChannelCreation, - - [Parameter()] - [System.Boolean] - $EnablePrivateTeamDiscovery, - - [Parameter()] - [System.Boolean] - $AllowOrgWideTeamCreation, - - [Parameter()] - [System.Boolean] - $AllowUserToParticipateInExternalSharedChannel, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Set-CsTeamsComplianceRecordingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $CustomPromptsPackageId, - - [Parameter()] - [System.Boolean] - $RecordReroutedCalls, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $CustomBanner, - - [Parameter()] - [System.Boolean] - $CustomPromptsEnabled, - - [Parameter()] - [System.Boolean] - $DisableComplianceRecordingAudioNotificationForCalls, - - [Parameter()] - [PSObject] - $ComplianceRecordingApplications, - - [Parameter()] - [System.Boolean] - $WarnUserOnRemoval, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $Enabled - ) -} -function Set-CsTeamsEmergencyCallingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $NotificationGroup, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $NotificationDialOutNumber, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $EnhancedEmergencyServiceDisclaimer, - - [Parameter()] - [PSObject] - $NotificationMode, - - [Parameter()] - [PSObject] - $ExtendedNotifications, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [PSObject] - $ExternalLocationLookupMode - ) -} -function Set-CsTeamsEventsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $AllowedTownhallTypesForRecordingPublish, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $AllowedQuestionTypesInRegistrationForm, - - [Parameter()] - [System.String] - $AllowedWebinarTypesForRecordingPublish, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $EventAccessType, - - [Parameter()] - [System.Boolean] - $AllowEventIntegrations, - - [Parameter()] - [System.String] - $AllowEmailEditing, - - [Parameter()] - [System.String] - $AllowWebinars, - - [Parameter()] - [System.Boolean] - $UseMicrosoftECDN, - - [Parameter()] - [System.String] - $AllowTownhalls, - - [Parameter()] - [System.String] - $TownhallChatExperience - ) -} -function Set-CsTeamsFeedbackPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowLogCollection, - - [Parameter()] - [System.Boolean] - $EnableFeatureSuggestions, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AllowEmailCollection, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $ReceiveSurveysMode, - - [Parameter()] - [System.String] - $UserInitiatedMode, - - [Parameter()] - [System.Boolean] - $AllowScreenshotCollection, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Set-CsTeamsFilesPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $DefaultFileUploadAppId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $NativeFileEntryPoints, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $SPChannelFilesTab - ) -} -function Set-CsTeamsMeetingConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Nullable`1[System.UInt32]] - $ClientVideoPortRange, - - [Parameter()] - [System.Boolean] - $DisableAnonymousJoin, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Boolean] - $EnableQoS, - - [Parameter()] - [System.Nullable`1[System.UInt32]] - $ClientAppSharingPortRange, - - [Parameter()] - [System.Boolean] - $LimitPresenterRolePermissions, - - [Parameter()] - [System.Boolean] - $DisableAppInteractionForAnonymousUsers, - - [Parameter()] - [System.String] - $LogoURL, - - [Parameter()] - [System.Nullable`1[System.UInt32]] - $ClientAppSharingPort, - - [Parameter()] - [System.String] - $CustomFooterText, - - [Parameter()] - [System.Nullable`1[System.UInt32]] - $ClientVideoPort, - - [Parameter()] - [System.String] - $FeedbackSurveyForAnonymousUsers, - - [Parameter()] - [System.Nullable`1[System.UInt32]] - $ClientAudioPortRange, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $ClientMediaPortRangeEnabled, - - [Parameter()] - [System.Nullable`1[System.UInt32]] - $ClientAudioPort, - - [Parameter()] - [System.String] - $HelpURL, - - [Parameter()] - [System.String] - $LegalURL - ) -} -function Set-CsTeamsMeetingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $VoiceIsolation, - - [Parameter()] - [System.String] - $Copilot, - - [Parameter()] - [System.String] - $AllowTrackingInReport, - - [Parameter()] - [System.Boolean] - $AllowMeetingCoach, - - [Parameter()] - [System.String] - $AttendeeIdentityMasking, - - [Parameter()] - [System.Boolean] - $AllowAnnotations, - - [Parameter()] - [System.String] - $AudibleRecordingNotification, - - [Parameter()] - [System.Boolean] - $AllowIPAudio, - - [Parameter()] - [System.Boolean] - $AllowWhiteboard, - - [Parameter()] - [System.Boolean] - $AllowAnonymousUsersToDialOut, - - [Parameter()] - [System.String] - $StreamingAttendeeMode, - - [Parameter()] - [System.String] - $ExplicitRecordingConsent, - - [Parameter()] - [System.String] - $ContentSharingInExternalMeetings, - - [Parameter()] - [System.Nullable`1[System.Int64]] - $WatermarkForCameraVideoOpacity, - - [Parameter()] - [System.Boolean] - $AllowTranscription, - - [Parameter()] - [System.Boolean] - $AllowMeetNow, - - [Parameter()] - [System.Boolean] - $AllowWatermarkCustomizationForCameraVideo, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $WatermarkForScreenSharingPattern, - - [Parameter()] - [System.String] - $RoomAttributeUserOverride, - - [Parameter()] - [System.String] - $RoomPeopleNameUserOverride, - - [Parameter()] - [System.Boolean] - $AllowNetworkConfigurationSettingsLookup, - - [Parameter()] - [System.String] - $SmsNotifications, - - [Parameter()] - [System.Boolean] - $AllowExternalParticipantGiveRequestControl, - - [Parameter()] - [System.Boolean] - $AllowAnonymousUsersToStartMeeting, - - [Parameter()] - [System.String] - $AutoAdmittedUsers, - - [Parameter()] - [System.String] - $AllowTasksFromTranscript, - - [Parameter()] - [System.Boolean] - $AllowMeetingRegistration, - - [Parameter()] - [System.String] - $ChannelRecordingDownload, - - [Parameter()] - [System.String] - $RecordingStorageMode, - - [Parameter()] - [System.String] - $ParticipantNameChange, - - [Parameter()] - [System.String] - $ScreenSharingMode, - - [Parameter()] - [System.Boolean] - $AllowPrivateMeetNow, - - [Parameter()] - [System.Boolean] - $AllowExternalNonTrustedMeetingChat, - - [Parameter()] - [System.String] - $AllowEngagementReport, - - [Parameter()] - [System.Boolean] - $CopyRestriction, - - [Parameter()] - [System.String] - $ConnectToMeetingControls, - - [Parameter()] - [System.Boolean] - $AllowWatermarkForCameraVideo, - - [Parameter()] - [System.Nullable`1[System.Int64]] - $WatermarkForScreenSharingOpacity, - - [Parameter()] - [System.Boolean] - $AllowWatermarkForScreenSharing, - - [Parameter()] - [System.String] - $PreferredMeetingProviderForIslandsMode, - - [Parameter()] - [System.Boolean] - $AllowOrganizersToOverrideLobbySettings, - - [Parameter()] - [System.Boolean] - $AllowWatermarkCustomizationForScreenSharing, - - [Parameter()] - [System.Nullable`1[System.Int64]] - $NewMeetingRecordingExpirationDays, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Boolean] - $DetectSensitiveContentDuringScreenSharing, - - [Parameter()] - [System.Boolean] - $AllowNDIStreaming, - - [Parameter()] - [System.String] - $IPAudioMode, - - [Parameter()] - [System.String] - $AllowScreenContentDigitization, - - [Parameter()] - [System.String] - $BlockedAnonymousJoinClientTypes, - - [Parameter()] - [System.String] - $LiveInterpretationEnabledType, - - [Parameter()] - [System.Boolean] - $AllowImmersiveView, - - [Parameter()] - [System.String] - $AutomaticallyStartCopilot, - - [Parameter()] - [System.Boolean] - $AllowAnonymousUsersToJoinMeeting, - - [Parameter()] - [System.String] - $MeetingInviteLanguages, - - [Parameter()] - [System.String] - $WhoCanRegister, - - [Parameter()] - [System.Boolean] - $AllowAvatarsInGallery, - - [Parameter()] - [System.Boolean] - $AllowCloudRecording, - - [Parameter()] - [System.String] - $AllowedStreamingMediaInput, - - [Parameter()] - [System.Boolean] - $AllowIPVideo, - - [Parameter()] - [System.String] - $SpeakerAttributionMode, - - [Parameter()] - [System.String] - $WatermarkForAnonymousUsers, - - [Parameter()] - [System.String] - $AllowedUsersForMeetingContext, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $AllowCartCaptionsScheduling, - - [Parameter()] - [System.Boolean] - $AllowOutlookAddIn, - - [Parameter()] - [System.String] - $CaptchaVerificationForAnonymousUsers, - - [Parameter()] - [System.String] - $DesignatedPresenterRoleMode, - - [Parameter()] - [System.String] - $LiveCaptionsEnabledType, - - [Parameter()] - [System.String] - $QnAEngagementMode, - - [Parameter()] - [System.Boolean] - $AllowSharedNotes, - - [Parameter()] - [System.Boolean] - $AllowParticipantGiveRequestControl, - - [Parameter()] - [System.Nullable`1[System.UInt32]] - $MediaBitRateKb, - - [Parameter()] - [System.String] - $TeamsCameraFarEndPTZMode, - - [Parameter()] - [System.String] - $EnrollUserOverride, - - [Parameter()] - [System.Boolean] - $AllowPowerPointSharing, - - [Parameter()] - [System.Boolean] - $AllowPrivateMeetingScheduling, - - [Parameter()] - [System.Boolean] - $AllowChannelMeetingScheduling, - - [Parameter()] - [System.String] - $ExternalMeetingJoin, - - [Parameter()] - [System.Boolean] - $AllowMeetingReactions, - - [Parameter()] - [System.String] - $VideoFiltersMode, - - [Parameter()] - [System.String] - $InfoShownInReportMode, - - [Parameter()] - [System.String] - $LiveStreamingMode, - - [Parameter()] - [System.Boolean] - $AllowBreakoutRooms, - - [Parameter()] - [System.String] - $AllowDocumentCollaboration, - - [Parameter()] - [System.Boolean] - $AllowRecordingStorageOutsideRegion, - - [Parameter()] - [System.Boolean] - $AllowPSTNUsersToBypassLobby, - - [Parameter()] - [System.String] - $WatermarkForCameraVideoPattern, - - [Parameter()] - [System.Boolean] - $AllowCarbonSummary, - - [Parameter()] - [System.Boolean] - $AllowLocalRecording, - - [Parameter()] - [System.String] - $MeetingChatEnabledType, - - [Parameter()] - [System.String] - $IPVideoMode, - - [Parameter()] - [System.String] - $AutoRecording - ) -} -function Set-CsTeamsMessagingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowOwnerDeleteMessage, - - [Parameter()] - [System.Boolean] - $AllowSmartReply, - - [Parameter()] - [System.Boolean] - $AllowUserChat, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $AllowGiphy, - - [Parameter()] - [System.Boolean] - $DeleteCustomEmojis, - - [Parameter()] - [System.Boolean] - $AllowUserDeleteMessage, - - [Parameter()] - [System.String] - $ChannelsInChatListEnabledType, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Boolean] - $AllowStickers, - - [Parameter()] - [System.Boolean] - $CreateCustomEmojis, - - [Parameter()] - [System.Boolean] - $AllowSmartCompose, - - [Parameter()] - [System.Boolean] - $AllowFullChatPermissionUserToDeleteAnyMessage, - - [Parameter()] - [System.Boolean] - $AllowUrlPreviews, - - [Parameter()] - [System.Boolean] - $AllowGiphyDisplay, - - [Parameter()] - [System.String] - $DesignerForBackgroundsAndImages, - - [Parameter()] - [System.Boolean] - $AllowChatWithGroup, - - [Parameter()] - [System.Boolean] - $AllowCommunicationComplianceEndUserReporting, - - [Parameter()] - [System.Boolean] - $AllowImmersiveReader, - - [Parameter()] - [System.Boolean] - $AllowCustomGroupChatAvatars, - - [Parameter()] - [System.Boolean] - $AllowUserTranslation, - - [Parameter()] - [System.Boolean] - $AllowUserEditMessage, - - [Parameter()] - [System.String] - $AudioMessageEnabledType, - - [Parameter()] - [System.Boolean] - $AllowRemoveUser, - - [Parameter()] - [System.Boolean] - $AllowPasteInternetImage, - - [Parameter()] - [System.String] - $ReadReceiptsEnabledType, - - [Parameter()] - [System.String] - $ChatPermissionRole, - - [Parameter()] - [System.Boolean] - $AllowMemes, - - [Parameter()] - [System.Boolean] - $AllowFluidCollaborate, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AllowGroupChatJoinLinks, - - [Parameter()] - [System.Boolean] - $AllowSecurityEndUserReporting, - - [Parameter()] - [System.Boolean] - $AllowPriorityMessages, - - [Parameter()] - [System.Boolean] - $AllowVideoMessages, - - [Parameter()] - [System.String] - $GiphyRatingType, - - [Parameter()] - [System.String] - $InOrganizationChatControl, - - [Parameter()] - [System.Boolean] - $AllowUserDeleteChat - ) -} -function Set-CsTeamsShiftsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $ShiftNoticeMessageType, - - [Parameter()] - [System.String] - $ShiftNoticeFrequency, - - [Parameter()] - [System.Boolean] - $EnableScheduleOwnerPermissions, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $ShiftNoticeMessageCustom, - - [Parameter()] - [System.String] - $AccessType, - - [Parameter()] - [System.Nullable`1[System.Int64]] - $AccessGracePeriodMinutes - ) -} -function Set-CsTeamsTemplatePermissionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [PSObject] - $HiddenTemplates, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Set-CsTeamsUpdateManagementPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Nullable`1[System.Int64]] - $UpdateDayOfWeek, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $UpdateTime, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Nullable`1[System.DateTime]] - $UpdateTimeOfDay, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AllowManagedUpdates, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $AllowPreview, - - [Parameter()] - [System.Boolean] - $BlockLegacyAuthorization, - - [Parameter()] - [System.String] - $AllowPublicPreview, - - [Parameter()] - [System.Management.Automation.PSListModifier`1[System.String]] - $DisabledInProductMessages, - - [Parameter()] - [System.String] - $UseNewTeamsClient - ) -} -function Set-CsTeamsUpgradeConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $SfBMeetingJoinUx, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $DownloadTeams, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $BlockLegacyAuthorization - ) -} -function Set-CsTeamsVdiPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $VDI2Optimization, - - [Parameter()] - [System.Boolean] - $DisableCallsAndMeetings, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $DisableAudioVideoInCallsAndMeetings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Set-Team -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowGuestDeleteChannels, - - [Parameter()] - [System.Boolean] - $AllowUserDeleteMessages, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $MailNickName, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Boolean] - $AllowCreateUpdateChannels, - - [Parameter()] - [System.Boolean] - $AllowDeleteChannels, - - [Parameter()] - [System.String] - $Classification, - - [Parameter()] - [System.Boolean] - $AllowCreateUpdateRemoveConnectors, - - [Parameter()] - [System.Boolean] - $AllowUserEditMessages, - - [Parameter()] - [System.Boolean] - $AllowAddRemoveApps, - - [Parameter()] - [System.Boolean] - $AllowOwnerDeleteMessages, - - [Parameter()] - [System.Boolean] - $AllowTeamMentions, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Boolean] - $AllowCreatePrivateChannels, - - [Parameter()] - [System.Boolean] - $AllowGuestCreateUpdateChannels, - - [Parameter()] - [System.String] - $GiphyContentRating, - - [Parameter()] - [System.Boolean] - $AllowStickersAndMemes, - - [Parameter()] - [System.Boolean] - $ShowInTeamsSearchAndSuggestions, - - [Parameter()] - [System.String] - $Visibility, - - [Parameter()] - [System.Boolean] - $AllowCreateUpdateRemoveTabs, - - [Parameter()] - [System.Boolean] - $AllowGiphy, - - [Parameter()] - [System.Boolean] - $AllowChannelMentions, - - [Parameter()] - [System.Boolean] - $AllowCustomMemes - ) -} -function Set-TeamChannel -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.String] - $CurrentDisplayName, - - [Parameter()] - [System.String] - $NewDisplayName - ) -} -function Update-M365TeamsApp -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $OperationType, - - [Parameter()] - [System.String[]] - $Groups, - - [Parameter()] - [System.String] - $AppAssignmentType, - - [Parameter()] - [System.String[]] - $Users, - - [Parameter()] - [System.String] - $IsBlocked - ) -} -function Find-CsGroup -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Nullable`1[System.UInt32]] - $MaxResults, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $SearchQuery, - - [Parameter()] - [System.Boolean] - $MailEnabledOnly, - - [Parameter()] - [System.Boolean] - $ExactMatchOnly, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Get-CsAutoAttendant -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $NameFilter, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $First, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExcludeContent, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Descending, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeStatus, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $SortBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Get-CsAutoAttendantSupportedLanguage -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Get-CsCallQueue -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $NameFilter, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $First, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExcludeContent, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Descending, - - [Parameter()] - [System.String] - $Sort, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Get-CsGroupPolicyAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.String] - $PolicyType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-CsOnlineApplicationInstance -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Int32] - $ResultSize, - - [Parameter()] - [System.String[]] - $Identities - ) -} -function Get-CsOnlineDialInConferencingTenantSettings -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsOnlineLisLocation -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $CountryOrRegion, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $AssignmentStatus, - - [Parameter()] - [System.Int32] - $NumberOfResultsToSkip, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PopulateNumberOfVoiceUsers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PopulateNumberOfTelephoneNumbers, - - [Parameter()] - [System.Nullable`1[System.Guid]] - $CivicAddressId, - - [Parameter()] - [System.String] - $Location, - - [Parameter()] - [System.Int64] - $ResultSize, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Guid]] - $LocationId, - - [Parameter()] - [System.String] - $City, - - [Parameter()] - [System.String] - $ValidationStatus, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Get-CsOnlinePSTNGateway -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsOnlinePstnUsage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsOnlineUser -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $OrderBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipUserPolicies, - - [Parameter()] - [PSObject] - $AccountType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OnModernServer, - - [Parameter()] - [System.String] - $LdapFilter, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $OnOfficeCommunicationServer, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SoftDeletedUsers, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Object] - $OU, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UnassignedUser, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.UInt32] - $ResultSize, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UsePreferredDC - ) -} -function Get-CsOnlineVoicemailUserSettings -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Get-CsOnlineVoiceRoute -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsOnlineVoiceRoutingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsPhoneNumberAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $NumberType, - - [Parameter()] - [System.String] - $IsoCountryCode, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $TelephoneNumberLessThan, - - [Parameter()] - [System.String] - $NetworkSiteId, - - [Parameter()] - [System.String] - $CapabilitiesContain, - - [Parameter()] - [System.String] - $ActivationState, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $TelephoneNumber, - - [Parameter()] - [System.String] - $TelephoneNumberStartsWith, - - [Parameter()] - [System.String] - $TelephoneNumberContain, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String] - $CivicAddressId, - - [Parameter()] - [System.String] - $LocationId, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $AssignedPstnTargetId, - - [Parameter()] - [System.String] - $TelephoneNumberGreaterThan, - - [Parameter()] - [System.String] - $AssignmentCategory, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $PstnAssignmentStatus, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-CsTeamsAudioConferencingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsCallParkPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsClientConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsCortanaPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsEmergencyCallRoutingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsEnhancedEncryptionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsGuestCallingConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsGuestMeetingConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsGuestMessagingConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsIPPhonePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsMeetingBroadcastConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExposeSDNConfigurationJsonBlob, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsMeetingBroadcastPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsMobilityPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsNetworkRoamingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsSettingsCustomApp -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function Get-CsTeamsTranslationRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsUnassignedNumberTreatment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsUpgradePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamsWorkLoadPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTeamTemplate -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $OdataId, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-CsTeamTemplateList -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $PublicTemplateLocale - ) -} -function Get-CsTenant -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.UInt32] - $ResultSize, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Object] - $Identity - ) -} -function Get-CsTenantDialPlan -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTenantFederationConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTenantNetworkRegion -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTenantNetworkSubnet -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsTenantTrustedIPAddress -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Get-CsUserCallingSettings -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-CsUserPolicyAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $PolicyType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Grant-CsCallingLineIdentity -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsOnlineVoicemailPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsOnlineVoiceRoutingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsTeamsAudioConferencingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsTeamsCallHoldPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsTeamsCallParkPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsTeamsChannelsPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsTeamsEmergencyCallingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsTeamsEmergencyCallRoutingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsTeamsEnhancedEncryptionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsTeamsMeetingBroadcastPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsTeamsMeetingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsTeamsMessagingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsTeamsMobilityPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsTeamsUpdateManagementPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Grant-CsTeamsUpgradePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.Boolean] - $MigrateMeetingsToTeams, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Grant-CsTenantDialPlan -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Global, - - [Parameter()] - [System.String] - $Group, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $Rank - ) -} -function Import-CsOnlineAudioFile -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $ApplicationId, - - [Parameter()] - [System.Byte[]] - $Content, - - [Parameter()] - [System.String] - $FileName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function New-CsCallQueue -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $OverflowRedirectVoicemailAudioFilePrompt, - - [Parameter()] - [System.Guid[]] - $Users, - - [Parameter()] - [System.String] - $CallbackOfferTextToSpeechPrompt, - - [Parameter()] - [System.Int16] - $TimeoutActionCallPriority, - - [Parameter()] - [System.String] - $TimeoutRedirectVoiceAppAudioFilePrompt, - - [Parameter()] - [System.Int16] - $TimeoutThreshold, - - [Parameter()] - [System.String] - $TimeoutRedirectPersonTextToSpeechPrompt, - - [Parameter()] - [System.Boolean] - $EnableOverflowSharedVoicemailTranscription, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $WaitTimeBeforeOfferingCallbackInSecond, - - [Parameter()] - [System.String] - $NoAgentRedirectVoicemailTextToSpeechPrompt, - - [Parameter()] - [System.String] - $MusicOnHoldAudioFileId, - - [Parameter()] - [System.String] - $WelcomeMusicAudioFileId, - - [Parameter()] - [System.Boolean] - $ConferenceMode, - - [Parameter()] - [System.String] - $OverflowSharedVoicemailAudioFilePrompt, - - [Parameter()] - [System.Boolean] - $IsCallbackEnabled, - - [Parameter()] - [System.Int16] - $AgentAlertTime, - - [Parameter()] - [System.String] - $TimeoutRedirectPersonAudioFilePrompt, - - [Parameter()] - [System.String] - $TimeoutSharedVoicemailTextToSpeechPrompt, - - [Parameter()] - [System.Boolean] - $EnableNoAgentSharedVoicemailSystemPromptSuppression, - - [Parameter()] - [System.String] - $CallbackRequestDtmf, - - [Parameter()] - [System.String] - $OverflowRedirectVoicemailTextToSpeechPrompt, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $ServiceLevelThresholdResponseTimeInSecond, - - [Parameter()] - [PSObject] - $TimeoutAction, - - [Parameter()] - [System.Guid[]] - $OboResourceAccountIds, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $NumberOfCallsInQueueBeforeOfferingCallback, - - [Parameter()] - [System.String] - $NoAgentSharedVoicemailTextToSpeechPrompt, - - [Parameter()] - [System.Boolean] - $EnableOverflowSharedVoicemailSystemPromptSuppression, - - [Parameter()] - [System.Guid[]] - $DistributionLists, - - [Parameter()] - [System.String] - $LineUri, - - [Parameter()] - [System.Boolean] - $UseDefaultMusicOnHold, - - [Parameter()] - [System.Int16] - $NoAgentActionCallPriority, - - [Parameter()] - [System.String] - $OverflowActionTarget, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [System.String] - $OverflowSharedVoicemailTextToSpeechPrompt, - - [Parameter()] - [System.Boolean] - $AllowOptOut, - - [Parameter()] - [System.String] - $TimeoutRedirectPhoneNumberAudioFilePrompt, - - [Parameter()] - [System.String] - $OverflowRedirectPhoneNumberTextToSpeechPrompt, - - [Parameter()] - [System.String] - $OverflowRedirectVoiceAppTextToSpeechPrompt, - - [Parameter()] - [System.Boolean] - $PresenceBasedRouting, - - [Parameter()] - [System.Boolean] - $EnableNoAgentSharedVoicemailTranscription, - - [Parameter()] - [System.Boolean] - $EnableTimeoutSharedVoicemailTranscription, - - [Parameter()] - [System.Boolean] - $ShouldOverwriteCallableChannelProperty, - - [Parameter()] - [System.String] - $CallbackEmailNotificationTarget, - - [Parameter()] - [System.String] - $NoAgentRedirectVoiceAppTextToSpeechPrompt, - - [Parameter()] - [System.String] - $TimeoutSharedVoicemailAudioFilePrompt, - - [Parameter()] - [System.String] - $NoAgentRedirectPersonTextToSpeechPrompt, - - [Parameter()] - [System.String] - $TimeoutRedirectVoiceAppTextToSpeechPrompt, - - [Parameter()] - [System.String] - $OverflowRedirectPhoneNumberAudioFilePrompt, - - [Parameter()] - [System.String] - $TimeoutDisconnectAudioFilePrompt, - - [Parameter()] - [System.String] - $NoAgentRedirectPersonAudioFilePrompt, - - [Parameter()] - [System.String] - $OverflowRedirectVoiceAppAudioFilePrompt, - - [Parameter()] - [System.String] - $NoAgentRedirectVoicemailAudioFilePrompt, - - [Parameter()] - [System.String] - $OverflowDisconnectTextToSpeechPrompt, - - [Parameter()] - [System.String] - $TimeoutRedirectPhoneNumberTextToSpeechPrompt, - - [Parameter()] - [System.Guid[]] - $HideAuthorizedUsers, - - [Parameter()] - [System.String] - $TimeoutRedirectVoicemailTextToSpeechPrompt, - - [Parameter()] - [System.String] - $NoAgentRedirectPhoneNumberAudioFilePrompt, - - [Parameter()] - [System.String] - $OverflowDisconnectAudioFilePrompt, - - [Parameter()] - [System.String] - $NoAgentActionTarget, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $CallToAgentRatioThresholdBeforeOfferingCallback, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $LanguageId, - - [Parameter()] - [System.String] - $OverflowRedirectPersonAudioFilePrompt, - - [Parameter()] - [System.String] - $TimeoutDisconnectTextToSpeechPrompt, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $TimeoutActionTarget, - - [Parameter()] - [System.String] - $TimeoutRedirectVoicemailAudioFilePrompt, - - [Parameter()] - [System.String] - $CallbackOfferAudioFilePromptResourceId, - - [Parameter()] - [System.String] - $NoAgentDisconnectTextToSpeechPrompt, - - [Parameter()] - [PSObject] - $NoAgentAction, - - [Parameter()] - [System.String] - $NoAgentDisconnectAudioFilePrompt, - - [Parameter()] - [System.Guid[]] - $AuthorizedUsers, - - [Parameter()] - [PSObject] - $RoutingMethod, - - [Parameter()] - [System.Guid] - $ChannelUserObjectId, - - [Parameter()] - [System.Boolean] - $EnableTimeoutSharedVoicemailSystemPromptSuppression, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Int16] - $OverflowThreshold, - - [Parameter()] - [PSObject] - $OverflowAction, - - [Parameter()] - [System.String] - $WelcomeTextToSpeechPrompt, - - [Parameter()] - [System.String] - $NoAgentSharedVoicemailAudioFilePrompt, - - [Parameter()] - [System.String] - $NoAgentRedirectPhoneNumberTextToSpeechPrompt, - - [Parameter()] - [System.Int16] - $OverflowActionCallPriority, - - [Parameter()] - [PSObject] - $NoAgentApplyTo, - - [Parameter()] - [System.String] - $NoAgentRedirectVoiceAppAudioFilePrompt, - - [Parameter()] - [System.String] - $OverflowRedirectPersonTextToSpeechPrompt - ) -} -function New-CsEdgeAllowAllKnownDomains -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsGroupPolicyAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $PolicyName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.Int32] - $Rank, - - [Parameter()] - [System.String] - $PolicyType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function New-CsOnlinePSTNGateway -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Object] - $OutboundTeamsNumberTranslationRules, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String] - $GatewaySiteId, - - [Parameter()] - [System.String] - $Fqdn, - - [Parameter()] - [System.Boolean] - $PidfLoSupported, - - [Parameter()] - [System.String] - $BypassMode, - - [Parameter()] - [System.String] - $FailoverResponseCodes, - - [Parameter()] - [System.Boolean] - $SendSipOptions, - - [Parameter()] - [System.String] - $ProxySbc, - - [Parameter()] - [System.Boolean] - $GatewayLbrEnabledUserOverride, - - [Parameter()] - [System.Int32] - $FailoverTimeSeconds, - - [Parameter()] - [System.Object] - $InboundPstnNumberTranslationRules, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Int32] - $SipSignalingPort, - - [Parameter()] - [System.String] - $MediaRelayRoutingLocationOverride, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Object] - $OutboundPstnNumberTranslationRules, - - [Parameter()] - [System.Boolean] - $MediaBypass, - - [Parameter()] - [System.Boolean] - $GatewaySiteLbrEnabled, - - [Parameter()] - [System.Boolean] - $ForwardCallHistory, - - [Parameter()] - [System.Boolean] - $ForwardPai, - - [Parameter()] - [System.Object] - $InboundTeamsNumberTranslationRules, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $MaxConcurrentSessions - ) -} -function New-CsOnlineVoiceRoute -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $BridgeSourcePhoneNumber, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $OnlinePstnGatewayList, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $NumberPattern, - - [Parameter()] - [System.Object] - $OnlinePstnUsages, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsOnlineVoiceRoutingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $RouteType, - - [Parameter()] - [System.Object] - $OnlinePstnUsages, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsTeamsAudioConferencingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $MeetingInvitePhoneNumbers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $AllowTollFreeDialin, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsTeamsCallParkPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Int64] - $ParkTimeoutSeconds, - - [Parameter()] - [System.Boolean] - $AllowCallPark, - - [Parameter()] - [System.Int64] - $PickupRangeEnd, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Int64] - $PickupRangeStart - ) -} -function New-CsTeamsCortanaPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Boolean] - $AllowCortanaInContextSuggestions, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $CortanaVoiceInvocationMode, - - [Parameter()] - [System.Boolean] - $AllowCortanaVoiceInvocation, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Boolean] - $AllowCortanaAmbientListening - ) -} -function New-CsTeamsEmergencyCallRoutingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $EmergencyNumbers, - - [Parameter()] - [System.Boolean] - $AllowEnhancedEmergencyServices, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsTeamsEmergencyNumber -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $EmergencyDialString, - - [Parameter()] - [System.String] - $OnlinePSTNUsage, - - [Parameter()] - [System.String] - $EmergencyDialMask, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsTeamsEnhancedEncryptionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $CallingEndtoEndEncryptionEnabledType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $MeetingEndToEndEncryption, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsTeamsIPPhonePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AllowHotDesking, - - [Parameter()] - [System.String] - $SearchOnCommonAreaPhoneMode, - - [Parameter()] - [System.Int64] - $HotDeskingIdleTimeoutInMinutes, - - [Parameter()] - [System.String] - $SignInMode, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.String] - $AllowBetterTogether, - - [Parameter()] - [System.String] - $AllowHomeScreen, - - [Parameter()] - [System.String] - $Identity - ) -} -function New-CsTeamsMeetingBroadcastPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $BroadcastAttendeeVisibilityMode, - - [Parameter()] - [System.Boolean] - $AllowBroadcastTranscription, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $BroadcastRecordingMode, - - [Parameter()] - [System.Boolean] - $AllowBroadcastScheduling, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function New-CsTeamsMobilityPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $IPVideoMobileMode, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $IPAudioMobileMode, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.String] - $MobileDialerPreference - ) -} -function New-CsTeamsNetworkRoamingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Int64] - $MediaBitRateKb, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Boolean] - $AllowIPVideo - ) -} -function New-CsTeamsTranslationRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $Pattern, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $Translation, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsTeamsUnassignedNumberTreatment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $TreatmentPriority, - - [Parameter()] - [System.String] - $TreatmentId, - - [Parameter()] - [System.String] - $Pattern, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $TargetType, - - [Parameter()] - [System.String] - $Target, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsTeamsWorkLoadPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Boolean] - $AllowMeetingPinned, - - [Parameter()] - [System.Boolean] - $AllowCalling, - - [Parameter()] - [System.Boolean] - $AllowCallingPinned, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Boolean] - $AllowMeeting, - - [Parameter()] - [System.Boolean] - $AllowMessagingPinned, - - [Parameter()] - [System.Boolean] - $AllowMessaging - ) -} -function New-CsTenantDialPlan -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $NormalizationRules, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $SimpleName, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsTenantNetworkRegion -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $BypassID, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $CentralSite, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $NetworkRegionID, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsTenantNetworkSite -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $EmergencyCallRoutingPolicy, - - [Parameter()] - [System.String] - $LocationPolicy, - - [Parameter()] - [System.Boolean] - $EnableLocationBasedRouting, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $NetworkRegionID, - - [Parameter()] - [System.String] - $SiteAddress, - - [Parameter()] - [System.String] - $NetworkRoamingPolicy, - - [Parameter()] - [System.String] - $EmergencyCallingPolicy, - - [Parameter()] - [System.String] - $NetworkSiteID, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsTenantNetworkSubnet -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $SubnetID, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $NetworkSiteID, - - [Parameter()] - [System.Int32] - $MaskBits, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsTenantTrustedIPAddress -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $IPAddress, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $MaskBits, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function New-CsVoiceNormalizationRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $Pattern, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Parent, - - [Parameter()] - [System.String] - $Translation, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $InMemory, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Boolean] - $IsInternalExtension - ) -} -function Remove-CsCallQueue -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity - ) -} -function Remove-CsGroupPolicyAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $GroupId, - - [Parameter()] - [System.String] - $PolicyType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Remove-CsOnlineVoiceRoute -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsOnlineVoiceRoutingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsPhoneNumberAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RemoveAll, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $PhoneNumberType, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $PhoneNumber - ) -} -function Remove-CsTeamsAudioConferencingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTeamsCallParkPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTeamsCortanaPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTeamsEmergencyCallRoutingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTeamsEnhancedEncryptionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTeamsIPPhonePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTeamsMeetingBroadcastPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTeamsMobilityPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTeamsNetworkRoamingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTeamsTranslationRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTeamsUnassignedNumberTreatment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTeamsWorkLoadPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTenantDialPlan -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTenantNetworkRegion -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTenantNetworkSite -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTenantNetworkSubnet -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Remove-CsTenantTrustedIPAddress -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsCallQueue -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $OverflowRedirectVoicemailAudioFilePrompt, - - [Parameter()] - [System.Guid[]] - $Users, - - [Parameter()] - [System.String] - $CallbackOfferTextToSpeechPrompt, - - [Parameter()] - [System.Int16] - $TimeoutActionCallPriority, - - [Parameter()] - [System.String] - $TimeoutRedirectVoiceAppAudioFilePrompt, - - [Parameter()] - [System.Int16] - $TimeoutThreshold, - - [Parameter()] - [System.String] - $TimeoutRedirectPersonTextToSpeechPrompt, - - [Parameter()] - [System.Boolean] - $EnableOverflowSharedVoicemailTranscription, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $WaitTimeBeforeOfferingCallbackInSecond, - - [Parameter()] - [System.String] - $NoAgentRedirectVoicemailTextToSpeechPrompt, - - [Parameter()] - [System.String] - $MusicOnHoldAudioFileId, - - [Parameter()] - [System.String] - $WelcomeMusicAudioFileId, - - [Parameter()] - [System.Boolean] - $ConferenceMode, - - [Parameter()] - [System.String] - $OverflowSharedVoicemailAudioFilePrompt, - - [Parameter()] - [System.Boolean] - $IsCallbackEnabled, - - [Parameter()] - [System.Int16] - $AgentAlertTime, - - [Parameter()] - [System.String] - $TimeoutSharedVoicemailTextToSpeechPrompt, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $CallToAgentRatioThresholdBeforeOfferingCallback, - - [Parameter()] - [System.Boolean] - $EnableNoAgentSharedVoicemailSystemPromptSuppression, - - [Parameter()] - [System.String] - $CallbackRequestDtmf, - - [Parameter()] - [System.String] - $OverflowRedirectVoicemailTextToSpeechPrompt, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $ServiceLevelThresholdResponseTimeInSecond, - - [Parameter()] - [PSObject] - $TimeoutAction, - - [Parameter()] - [System.Boolean] - $EnableNoAgentSharedVoicemailTranscription, - - [Parameter()] - [System.Guid[]] - $OboResourceAccountIds, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $NumberOfCallsInQueueBeforeOfferingCallback, - - [Parameter()] - [System.String] - $NoAgentSharedVoicemailTextToSpeechPrompt, - - [Parameter()] - [System.Boolean] - $EnableOverflowSharedVoicemailSystemPromptSuppression, - - [Parameter()] - [System.String] - $LineUri, - - [Parameter()] - [System.Boolean] - $UseDefaultMusicOnHold, - - [Parameter()] - [System.Int16] - $NoAgentActionCallPriority, - - [Parameter()] - [System.String] - $OverflowActionTarget, - - [Parameter()] - [System.String] - $ChannelId, - - [Parameter()] - [System.String] - $OverflowSharedVoicemailTextToSpeechPrompt, - - [Parameter()] - [System.Boolean] - $AllowOptOut, - - [Parameter()] - [System.String] - $TimeoutRedirectPhoneNumberAudioFilePrompt, - - [Parameter()] - [System.String] - $OverflowRedirectPhoneNumberTextToSpeechPrompt, - - [Parameter()] - [System.String] - $OverflowRedirectVoiceAppTextToSpeechPrompt, - - [Parameter()] - [System.Boolean] - $PresenceBasedRouting, - - [Parameter()] - [System.Boolean] - $EnableTimeoutSharedVoicemailTranscription, - - [Parameter()] - [System.Boolean] - $ShouldOverwriteCallableChannelProperty, - - [Parameter()] - [System.String] - $CallbackEmailNotificationTarget, - - [Parameter()] - [System.String] - $NoAgentRedirectVoiceAppTextToSpeechPrompt, - - [Parameter()] - [System.String] - $TimeoutSharedVoicemailAudioFilePrompt, - - [Parameter()] - [System.String] - $NoAgentRedirectPersonTextToSpeechPrompt, - - [Parameter()] - [System.String] - $TimeoutRedirectVoiceAppTextToSpeechPrompt, - - [Parameter()] - [System.String] - $OverflowRedirectPhoneNumberAudioFilePrompt, - - [Parameter()] - [System.String] - $TimeoutDisconnectAudioFilePrompt, - - [Parameter()] - [System.String] - $NoAgentRedirectPersonAudioFilePrompt, - - [Parameter()] - [System.String] - $OverflowRedirectVoiceAppAudioFilePrompt, - - [Parameter()] - [System.String] - $NoAgentRedirectVoicemailAudioFilePrompt, - - [Parameter()] - [System.String] - $OverflowDisconnectTextToSpeechPrompt, - - [Parameter()] - [System.String] - $TimeoutRedirectPhoneNumberTextToSpeechPrompt, - - [Parameter()] - [System.Guid[]] - $HideAuthorizedUsers, - - [Parameter()] - [System.String] - $TimeoutRedirectVoicemailTextToSpeechPrompt, - - [Parameter()] - [System.String] - $NoAgentRedirectPhoneNumberAudioFilePrompt, - - [Parameter()] - [System.String] - $OverflowDisconnectAudioFilePrompt, - - [Parameter()] - [System.String] - $NoAgentActionTarget, - - [Parameter()] - [System.Guid[]] - $DistributionLists, - - [Parameter()] - [System.String] - $CallbackOfferAudioFilePromptResourceId, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $LanguageId, - - [Parameter()] - [System.String] - $WelcomeTextToSpeechPrompt, - - [Parameter()] - [PSObject] - $NoAgentAction, - - [Parameter()] - [System.String] - $TimeoutDisconnectTextToSpeechPrompt, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $TimeoutActionTarget, - - [Parameter()] - [System.String] - $TimeoutRedirectVoicemailAudioFilePrompt, - - [Parameter()] - [System.String] - $NoAgentRedirectPhoneNumberTextToSpeechPrompt, - - [Parameter()] - [System.String] - $NoAgentDisconnectTextToSpeechPrompt, - - [Parameter()] - [System.String] - $TimeoutRedirectPersonAudioFilePrompt, - - [Parameter()] - [System.String] - $NoAgentDisconnectAudioFilePrompt, - - [Parameter()] - [System.Guid[]] - $AuthorizedUsers, - - [Parameter()] - [PSObject] - $RoutingMethod, - - [Parameter()] - [System.String] - $OverflowRedirectPersonAudioFilePrompt, - - [Parameter()] - [System.Guid] - $ChannelUserObjectId, - - [Parameter()] - [System.Boolean] - $EnableTimeoutSharedVoicemailSystemPromptSuppression, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Int16] - $OverflowThreshold, - - [Parameter()] - [PSObject] - $OverflowAction, - - [Parameter()] - [System.String] - $NoAgentRedirectVoiceAppAudioFilePrompt, - - [Parameter()] - [System.String] - $NoAgentSharedVoicemailAudioFilePrompt, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Int16] - $OverflowActionCallPriority, - - [Parameter()] - [PSObject] - $NoAgentApplyTo, - - [Parameter()] - [System.String] - $OverflowRedirectPersonTextToSpeechPrompt - ) -} -function Set-CsOnlineDialInConferencingTenantSettings -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $IncludeTollFreeNumberInMeetingInvites, - - [Parameter()] - [System.String] - $EntryExitAnnouncementsType, - - [Parameter()] - [System.Boolean] - $MigrateServiceNumbersOnCrossForestMove, - - [Parameter()] - [System.Object] - $AllowedDialOutExternalDomains, - - [Parameter()] - [System.Boolean] - $AutomaticallyReplaceAcpProvider, - - [Parameter()] - [System.String] - $AllowFederatedUsersToDialOutToSelf, - - [Parameter()] - [System.String] - $SendEmailFromAddress, - - [Parameter()] - [System.Boolean] - $SendEmailFromOverride, - - [Parameter()] - [System.Boolean] - $EnableNameRecording, - - [Parameter()] - [System.Boolean] - $AutomaticallyMigrateUserMeetings, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.UInt32] - $PinLength, - - [Parameter()] - [System.Boolean] - $UseUniqueConferenceIds, - - [Parameter()] - [System.Boolean] - $AutomaticallySendEmailsToUsers, - - [Parameter()] - [System.Boolean] - $AllowPSTNOnlyMeetingsByDefault, - - [Parameter()] - [System.Boolean] - $EnableEntryExitNotifications, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Boolean] - $EnableDialOutJoinConfirmation, - - [Parameter()] - [System.String] - $AllowFederatedUsersToDialOutToThirdParty, - - [Parameter()] - [System.String] - $SendEmailFromDisplayName, - - [Parameter()] - [System.String] - $MaskPstnNumbersType - ) -} -function Set-CsOnlinePstnUsage -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Usage, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsOnlineVoicemailUserSettings -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $DefaultGreetingPromptOverwrite, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Boolean] - $OofGreetingEnabled, - - [Parameter()] - [System.Boolean] - $OofGreetingFollowCalendarEnabled, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, - - [Parameter()] - [System.String] - $PromptLanguage, - - [Parameter()] - [System.Boolean] - $ShareData, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $DefaultOofGreetingPromptOverwrite, - - [Parameter()] - [System.String] - $TransferTarget, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $VoicemailEnabled, - - [Parameter()] - [System.Boolean] - $OofGreetingFollowAutomaticRepliesEnabled, - - [Parameter()] - [PSObject] - $CallAnswerRule - ) -} -function Set-CsOnlineVoiceRoute -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $BridgeSourcePhoneNumber, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [System.Object] - $OnlinePstnGatewayList, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $NumberPattern, - - [Parameter()] - [System.Object] - $OnlinePstnUsages, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsOnlineVoiceRoutingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $RouteType, - - [Parameter()] - [System.Object] - $OnlinePstnUsages, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsPhoneNumberAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Boolean] - $EnterpriseVoiceEnabled, - - [Parameter()] - [System.String] - $PhoneNumberType, - - [Parameter()] - [System.String] - $ReverseNumberLookup, - - [Parameter()] - [System.String] - $AssignmentCategory, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $NetworkSiteId, - - [Parameter()] - [System.String] - $LocationId, - - [Parameter()] - [System.String] - $PhoneNumber - ) -} -function Set-CsTeamsAudioConferencingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $MeetingInvitePhoneNumbers, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $AllowTollFreeDialin, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsTeamsCallParkPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Int64] - $ParkTimeoutSeconds, - - [Parameter()] - [System.Boolean] - $AllowCallPark, - - [Parameter()] - [System.Int64] - $PickupRangeEnd, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Int64] - $PickupRangeStart - ) -} -function Set-CsTeamsClientConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowEmailIntoChannel, - - [Parameter()] - [System.String] - $RestrictedSenderList, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AllowGoogleDrive, - - [Parameter()] - [System.Boolean] - $AllowSkypeBusinessInterop, - - [Parameter()] - [System.Boolean] - $AllowScopedPeopleSearchandAccess, - - [Parameter()] - [System.Boolean] - $AllowGuestUser, - - [Parameter()] - [System.Boolean] - $AllowShareFile, - - [Parameter()] - [System.Boolean] - $AllowDropBox, - - [Parameter()] - [System.Boolean] - $AllowOrganizationTab, - - [Parameter()] - [System.String] - $ResourceAccountContentAccess, - - [Parameter()] - [System.Boolean] - $AllowRoleBasedChatPermissions, - - [Parameter()] - [System.Boolean] - $AllowEgnyte, - - [Parameter()] - [System.Boolean] - $AllowBox, - - [Parameter()] - [System.Boolean] - $AllowResourceAccountSendMessage, - - [Parameter()] - [System.String] - $ContentPin, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsTeamsCortanaPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Boolean] - $AllowCortanaInContextSuggestions, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $CortanaVoiceInvocationMode, - - [Parameter()] - [System.Boolean] - $AllowCortanaVoiceInvocation, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Boolean] - $AllowCortanaAmbientListening - ) -} -function Set-CsTeamsEmergencyCallRoutingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $EmergencyNumbers, - - [Parameter()] - [System.Boolean] - $AllowEnhancedEmergencyServices, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsTeamsEnhancedEncryptionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $CallingEndtoEndEncryptionEnabledType, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $MeetingEndToEndEncryption, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsTeamsGuestCallingConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $AllowPrivateCalling, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsTeamsGuestMeetingConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ScreenSharingMode, - - [Parameter()] - [System.String] - $LiveCaptionsEnabledType, - - [Parameter()] - [System.Boolean] - $AllowMeetNow, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AllowTranscription, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Boolean] - $AllowIPVideo - ) -} -function Set-CsTeamsGuestMessagingConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $GiphyRatingType, - - [Parameter()] - [System.Boolean] - $AllowUserChat, - - [Parameter()] - [System.Boolean] - $AllowUserDeleteChat, - - [Parameter()] - [System.Boolean] - $AllowUserDeleteMessage, - - [Parameter()] - [System.Boolean] - $AllowGiphy, - - [Parameter()] - [System.Boolean] - $AllowStickers, - - [Parameter()] - [System.Boolean] - $AllowUserEditMessage, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Boolean] - $AllowImmersiveReader, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AllowMemes - ) -} -function Set-CsTeamsIPPhonePolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $AllowHotDesking, - - [Parameter()] - [System.String] - $SearchOnCommonAreaPhoneMode, - - [Parameter()] - [System.Int64] - $HotDeskingIdleTimeoutInMinutes, - - [Parameter()] - [System.String] - $SignInMode, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.String] - $AllowBetterTogether, - - [Parameter()] - [System.String] - $AllowHomeScreen, - - [Parameter()] - [System.String] - $Identity - ) -} -function Set-CsTeamsMeetingBroadcastConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $AllowSdnProviderForBroadcastMeeting, - - [Parameter()] - [System.String] - $SdnRuntimeConfiguration, - - [Parameter()] - [System.String] - $SdnProviderName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $SdnLicenseId, - - [Parameter()] - [System.String] - $SupportURL, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.String] - $SdnApiToken, - - [Parameter()] - [System.String] - $SdnApiTemplateUrl - ) -} -function Set-CsTeamsMeetingBroadcastPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $BroadcastAttendeeVisibilityMode, - - [Parameter()] - [System.Boolean] - $AllowBroadcastTranscription, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $BroadcastRecordingMode, - - [Parameter()] - [System.Boolean] - $AllowBroadcastScheduling, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function Set-CsTeamsMobilityPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $IPVideoMobileMode, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $IPAudioMobileMode, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.String] - $MobileDialerPreference - ) -} -function Set-CsTeamsNetworkRoamingPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Int64] - $MediaBitRateKb, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Boolean] - $AllowIPVideo - ) -} -function Set-CsTeamsSettingsCustomApp -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $isSideloadedAppsInteractionEnabled - ) -} -function Set-CsTeamsTranslationRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Pattern, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $Translation, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsTeamsUnassignedNumberTreatment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $TreatmentPriority, - - [Parameter()] - [System.String] - $Pattern, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $TargetType, - - [Parameter()] - [System.String] - $Target, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsTeamsWorkLoadPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Boolean] - $AllowMeetingPinned, - - [Parameter()] - [System.Boolean] - $AllowCalling, - - [Parameter()] - [System.Boolean] - $AllowCallingPinned, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Boolean] - $AllowMeeting, - - [Parameter()] - [System.Boolean] - $AllowMessagingPinned, - - [Parameter()] - [System.Boolean] - $AllowMessaging - ) -} -function Set-CsTenantDialPlan -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $NormalizationRules, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $SimpleName, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsTenantFederationConfiguration -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $AllowedDomainsAsAList, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Boolean] - $BlockAllSubdomains, - - [Parameter()] - [System.Boolean] - $RestrictTeamsConsumerToExternalUserProfiles, - - [Parameter()] - [System.Boolean] - $AllowTeamsConsumerInbound, - - [Parameter()] - [System.Boolean] - $AllowTeamsConsumer, - - [Parameter()] - [System.Boolean] - $AllowFederatedUsers, - - [Parameter()] - [System.Object] - $BlockedDomains, - - [Parameter()] - [System.Boolean] - $SharedSipAddressSpace, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.String] - $ExternalAccessWithTrialTenants, - - [Parameter()] - [System.Object] - $AllowedDomains, - - [Parameter()] - [System.Boolean] - $TreatDiscoveredPartnersAsUnverified, - - [Parameter()] - [System.Boolean] - $AllowPublicUsers - ) -} -function Set-CsTenantNetworkRegion -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $CentralSite, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $NetworkRegionID, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsTenantNetworkSite -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $EmergencyCallRoutingPolicy, - - [Parameter()] - [System.Boolean] - $EnableLocationBasedRouting, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $NetworkRegionID, - - [Parameter()] - [System.String] - $NetworkRoamingPolicy, - - [Parameter()] - [System.String] - $EmergencyCallingPolicy, - - [Parameter()] - [System.String] - $LocationPolicy, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsTenantNetworkSubnet -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $NetworkSiteID, - - [Parameter()] - [System.Int32] - $MaskBits, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsTenantTrustedIPAddress -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.Nullable`1[System.Int32]] - $MaskBits, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode - ) -} -function Set-CsUser -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $RemoteCallControlTelephonyEnabled, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $ExchangeArchivingPolicy, - - [Parameter()] - [System.Boolean] - $Enabled, - - [Parameter()] - [System.String] - $LineServerURI, - - [Parameter()] - [System.String] - $OnPremLineURI, - - [Parameter()] - [System.Object] - $AcpInfo, - - [Parameter()] - [System.String] - $SipAddress, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $MsftInternalProcessingMode, - - [Parameter()] - [System.Boolean] - $AudioVideoDisabled, - - [Parameter()] - [System.String] - $PrivateLine, - - [Parameter()] - [System.Boolean] - $HostedVoiceMail, - - [Parameter()] - [System.Boolean] - $EnterpriseVoiceEnabled, - - [Parameter()] - [System.String] - $LineURI - ) -} -function Set-CsUserCallingSettings -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $UnansweredTarget, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Array] - $CallGroupTargets, - - [Parameter()] - [PSObject] - $GroupMembershipDetails, - - [Parameter()] - [System.String] - $ForwardingTarget, - - [Parameter()] - [System.String] - $ForwardingType, - - [Parameter()] - [System.String] - $UnansweredDelay, - - [Parameter()] - [System.String] - $UnansweredTargetType, - - [Parameter()] - [System.Boolean] - $IsForwardingEnabled, - - [Parameter()] - [System.Boolean] - $IsUnansweredEnabled, - - [Parameter()] - [System.String] - $ForwardingTargetType, - - [Parameter()] - [System.String] - $Identity, - - [Parameter()] - [System.String] - $CallGroupOrder, - - [Parameter()] - [System.String] - $GroupNotificationOverride - ) -} -#endregion -#region Microsoft.Graph.Beta.DeviceManagement.Administration -function Get-MgBetaDeviceManagementRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementRoleScopeTag -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $RoleScopeTagId, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Permissions, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $RoleAssignments, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltIn, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $RolePermissions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltInRoleDefinition, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaDeviceManagementRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.String] - $IfMatch, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaDeviceManagementRoleDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [PSObject] - $Permissions, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [PSObject] - $RoleAssignments, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltIn, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $RoleDefinitionId, - - [Parameter()] - [PSObject] - $RolePermissions, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsBuiltInRoleDefinition, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -#endregion - -#region MgbetaDeviceAppManagementPolicySet -function Get-MgBetaDeviceAppManagementPolicySet -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $PolicySetId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String[]] - $PolicySetIds, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -function New-MgBetaDeviceAppManagementPolicySet -{ - [CmdletBinding()] - param - ( - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject[]] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $ErrorCode, - - [Parameter()] - [System.String[]] - $GuidedDeploymentTags, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject[]] - $Items, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.String[]] - $RoleScopeTags, - - [Parameter()] - [PSObject] - $Status, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -function Remove-MgBetaDeviceAppManagementPolicySet -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $PolicySetId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -function Update-MgBetaDeviceAppManagementPolicySet -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $PolicySetId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject[]] - $Assignments, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [PSObject] - $ErrorCode, - - [Parameter()] - [System.String[]] - $GuidedDeploymentTags, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [PSObject[]] - $Items, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.String[]] - $RoleScopeTags, - - [Parameter()] - [PSObject] - $Status, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -#endregion - -#region MgBetaDeviceAppManagementPolicySetAssignment -function Get-MgBetaDeviceAppManagementPolicySetAssignment -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $PolicySetAssignmentId, - - [Parameter()] - [System.String] - $PolicySetId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $CountVariable - ) -} - -function New-MgBetaDeviceAppManagementPolicySetAssignment -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $PolicySetId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Target, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -function Remove-MgBetaDeviceAppManagementPolicySetAssignment -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $PolicySetAssignmentId, - - [Parameter()] - [System.String] - $PolicySetId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -function Update-MgBetaDeviceAppManagementPolicySetAssignment -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $PolicySetAssignmentId, - - [Parameter()] - [System.String] - $PolicySetId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [PSObject] - $Target, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -#endregion - -#region MgBetaDeviceAppManagementMobileApp -function Get-MgBetaDeviceAppManagementMobileApp # TODOK -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $MobileAppId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $CountVariable - ) -} - -function New-MgBetaDeviceAppManagementMobileApp # TODOK -{ - [CmdletBinding()] - param - ( - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject[]] - $Assignments, - - [Parameter()] - [PSObject[]] - $Categories, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.Int32] - $DependentAppCount, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Developer, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $InformationUrl, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsFeatured, - - [Parameter()] - [PSObject] - $LargeIcon, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [System.String] - $Owner, - - [Parameter()] - [System.String] - $PrivacyInformationUrl, - - [Parameter()] - [System.String] - $Publisher, - - [Parameter()] - [PSObject] - $PublishingState, - - [Parameter()] - [PSObject[]] - $Relationships, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Int32] - $SupersededAppCount, - - [Parameter()] - [System.Int32] - $SupersedingAppCount, - - [Parameter()] - [System.Int32] - $UploadState, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials - ) -} - -function Remove-MgBetaDeviceAppManagementMobileApp # TODOK -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $MobileAppId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Boolean] - $Confirm - ) -} - -function Update-MgBetaDeviceAppManagementMobileApp # TODOK -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $MobileAppId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject[]] - $Assignments, - - [Parameter()] - [PSObject[]] - $Categories, - - [Parameter()] - [System.DateTime] - $CreatedDateTime, - - [Parameter()] - [System.Int32] - $DependentAppCount, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Developer, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String] - $InformationUrl, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAssigned, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsFeatured, - - [Parameter()] - [PSObject] - $LargeIcon, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.String] - $Notes, - - [Parameter()] - [System.String] - $Owner, - - [Parameter()] - [System.String] - $PrivacyInformationUrl, - - [Parameter()] - [System.String] - $Publisher, - - [Parameter()] - [PSObject] - $PublishingState, - - [Parameter()] - [PSObject[]] - $Relationships, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Int32] - $SupersededAppCount, - - [Parameter()] - [System.Int32] - $SupersedingAppCount, - - [Parameter()] - [System.Int32] - $UploadState, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials - ) -} - -#endregion -#region MgBetaPolicyActivityBasedTimeoutPolicy -function Get-MgBetaPolicyActivityBasedTimeoutPolicy -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $ActivityBasedTimeoutPolicyId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $CountVariable - ) -} - -function New-MgBetaPolicyActivityBasedTimeoutPolicy -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject[]] - $AppliesTo, - - [Parameter()] - [System.String[]] - $Definition, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -function Remove-MgBetaPolicyActivityBasedTimeoutPolicy -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $ActivityBasedTimeoutPolicyId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -function Update-MgBetaPolicyActivityBasedTimeoutPolicy -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $ActivityBasedTimeoutPolicyId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject[]] - $AppliesTo, - - [Parameter()] - [System.String[]] - $Definition, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -#endregion -#region MgBetaPolicyActivityBasedTimeoutPolicy -function Get-MgBetaPolicyActivityBasedTimeoutPolicy -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $ActivityBasedTimeoutPolicyId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $CountVariable - ) -} - -function New-MgBetaPolicyActivityBasedTimeoutPolicy -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject[]] - $AppliesTo, - - [Parameter()] - [System.String[]] - $Definition, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, - + $Identity + ) +} +function Remove-HostedContentFilterPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, + $Confirm, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - + [System.Object] + $Identity + ) +} +function Remove-HostedContentFilterRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Object] + $Identity ) } - -function Remove-MgBetaPolicyActivityBasedTimeoutPolicy +function Remove-HostedOutboundSpamFilterPolicy { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $ActivityBasedTimeoutPolicyId, - - [Parameter()] - [PSObject] - $InputObject, - + param( [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - + $Force + ) +} +function Remove-HostedOutboundSpamFilterRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.Uri] - $Proxy, + $Confirm, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - + [System.Object] + $Identity + ) +} +function Remove-InboundConnector +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Object] + $Identity ) } - -function Update-MgBetaPolicyActivityBasedTimeoutPolicy +function Remove-Mailbox { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $ActivityBasedTimeoutPolicyId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject[]] - $AppliesTo, - - [Parameter()] - [System.String[]] - $Definition, - - [Parameter()] - [System.DateTime] - $DeletedDateTime, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.String] - $Id, - + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, + $PublicFolder, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + $Confirm, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Management.Automation.SwitchParameter] + $PermanentlyDelete, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Management.Automation.SwitchParameter] + $RemoveCNFPublicFolderMailboxPermanently, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Migration, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm + $Force ) } - -#endregion -function Remove-MgBetaDirectoryRoleMemberDirectoryObjectByRef +function Remove-MailboxFolderPermission { [CmdletBinding()] - param - ( - [Parameter(Mandatory = $true)] - [string] - $DirectoryObjectId, - - [Parameter(Mandatory = $true)] - [string] - $DirectoryRoleId, - + param( [Parameter()] - [string] - $IfMatch, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [string] - $ResponseHeadersVariable, + [System.Object] + $User, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $Identity, [Parameter()] - [switch] - $PassThru, + [System.Management.Automation.SwitchParameter] + $ResetDelegateUserCollection, [Parameter()] - [switch] - $WhatIf, + [System.Boolean] + $SendNotificationToUser, [Parameter()] - [switch] - $Confirm + [System.Management.Automation.SwitchParameter] + $Force ) } -#region MgBetaDeviceManagementScript -function Get-MgBetaDeviceManagementScript +function Remove-MailboxIRMAccess { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $DeviceManagementScriptId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Search, - + param( [Parameter()] - [System.Int32] - $Skip, + [System.Object] + $User, [Parameter()] - [System.String[]] - $Sort, - + [System.Object] + $Identity + ) +} +function Remove-MailboxPermission +{ + [CmdletBinding()] + param( [Parameter()] - [System.Int32] - $Top, + [System.Management.Automation.SwitchParameter] + $ClearAutoMapping, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object[]] + $AccessRights, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $GroupMailbox, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Management.Automation.SwitchParameter] + $Deny, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Management.Automation.SwitchParameter] + $BypassMasterAccountSid, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $User, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $IgnoreDefaultScope, [Parameter()] - [System.Int32] - $PageSize, + [System.Management.Automation.SwitchParameter] + $SoftDeletedMailbox, [Parameter()] [System.Management.Automation.SwitchParameter] - $All, + $ResetDefault, [Parameter()] - [System.String] - $CountVariable + [System.DirectoryServices.ActiveDirectorySecurityInheritance] + $InheritanceType ) } - -function New-MgBetaDeviceManagementScript +function Remove-MailContact { [CmdletBinding()] - param - ( - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject[]] - $Assignments, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject[]] - $DeviceRunStates, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnforceSignatureCheck, - - [Parameter()] - [System.String] - $FileName, - - [Parameter()] - [PSObject[]] - $GroupAssignments, - - [Parameter()] - [System.String] - $Id, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RunAs32Bit, - - [Parameter()] - [PSObject] - $RunAsAccount, - - [Parameter()] - [PSObject] - $RunSummary, - - [Parameter()] - [System.String] - $ScriptContentInputFile, - - [Parameter()] - [PSObject[]] - $UserRunStates, - + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, + $Confirm, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - + [System.Object] + $Identity + ) +} +function Remove-MalwareFilterPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Object] + $Identity ) } - -function Remove-MgBetaDeviceManagementScript +function Remove-MalwareFilterRule { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $DeviceManagementScriptId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + $Confirm, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - + [System.Object] + $Identity + ) +} +function Remove-ManagementRole +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $PassThru, - - [Parameter()] - [System.Uri] - $Proxy, + $Confirm, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Recurse, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm + $Force ) } - -function Update-MgBetaDeviceManagementScript +function Remove-ManagementRoleAssignment { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $DeviceManagementScriptId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject[]] - $Assignments, - - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [PSObject[]] - $DeviceRunStates, - - [Parameter()] - [System.String] - $DisplayName, - + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $EnforceSignatureCheck, - - [Parameter()] - [System.String] - $FileName, - - [Parameter()] - [PSObject[]] - $GroupAssignments, - - [Parameter()] - [System.String] - $Id, + $Confirm, [Parameter()] - [System.String[]] - $RoleScopeTagIds, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $RunAs32Bit, - - [Parameter()] - [PSObject] - $RunAsAccount, - - [Parameter()] - [PSObject] - $RunSummary, - - [Parameter()] - [System.String] - $ScriptContentInputFile, - - [Parameter()] - [PSObject[]] - $UserRunStates, - + $Force + ) +} +function Remove-ManagementScope +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm + $Force ) } - -#endregion - -#region MgBetaDeviceManagementScriptAssignment -function Get-MgBetaDeviceManagementScriptAssignment +function Remove-MessageClassification { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $DeviceManagementScriptAssignmentId, - - [Parameter()] - [System.String] - $DeviceManagementScriptId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, + $Confirm, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - + [System.Object] + $Identity + ) +} +function Remove-MigrationBatch +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Object] + $Identity, [Parameter()] - [System.String] - $CountVariable + [System.Object] + $Partition ) } - -#endregion - -#region MgBetaDeviceManagementDeviceShellScript -function Get-MgBetaDeviceManagementDeviceShellScript +function Remove-MigrationEndpoint { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $DeviceShellScriptId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, + $Confirm, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $Identity, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - + [System.Object] + $Partition + ) +} +function Remove-MobileDevice +{ + [CmdletBinding()] + param( [Parameter()] - [System.Uri] - $Proxy, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - + [System.Object] + $Identity + ) +} +function Remove-MobileDeviceMailboxPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, [Parameter()] - [System.Int32] - $PageSize, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $CountVariable + $Force ) } - -function New-MgBetaDeviceManagementDeviceShellScript +function Remove-OfflineAddressBook { [CmdletBinding()] - param - ( - [Parameter()] - [PSObject] - $BodyParameter, - + param( [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $Identity, [Parameter()] - [PSObject[]] - $Assignments, - + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Remove-OMEConfiguration +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $BlockExecutionNotifications, + $Confirm, [Parameter()] - [System.String] - $Description, - + [System.Object] + $Identity + ) +} +function Remove-OnPremisesOrganization +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject[]] - $DeviceRunStates, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $DisplayName, - + [System.Object] + $Identity + ) +} +function Remove-OutboundConnector +{ + [CmdletBinding()] + param( [Parameter()] - [System.TimeSpan] - $ExecutionFrequency, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $FileName, - + [System.Object] + $Identity + ) +} +function Remove-OwaMailboxPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject[]] - $GroupAssignments, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $Id, + [System.Object] + $Identity, [Parameter()] - [System.Int32] - $RetryCount, - + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Remove-PartnerApplication +{ + [CmdletBinding()] + param( [Parameter()] - [System.String[]] - $RoleScopeTagIds, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject] - $RunAsAccount, - + [System.Object] + $Identity + ) +} +function Remove-PolicyTipConfig +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject] - $RunSummary, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $ScriptContentInputFile, - + [System.Object] + $Identity + ) +} +function Remove-QuarantinePolicy +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject[]] - $UserRunStates, + [System.Object] + $Identity, + [Parameter()] + [System.Object] + $DomainController + ) +} +function Remove-RecipientPermission +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $SkipDomainValidationForMailContact, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $AccessRights, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $Trustee, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Management.Automation.SwitchParameter] + $Deny, [Parameter()] - [System.Uri] - $Proxy, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $SkipDomainValidationForMailUser, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm + $SkipDomainValidationForSharedMailbox ) } - -function Remove-MgBetaDeviceManagementDeviceShellScript +function Remove-RemoteDomain { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $DeviceShellScriptId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, + $Confirm, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - + [System.Object] + $Identity + ) +} +function Remove-ReportSubmissionPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - + [System.Object] + $Identity + ) +} +function Remove-ReportSubmissionRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $PassThru, + $Confirm, [Parameter()] - [System.Uri] - $Proxy, - + [System.Object] + $Identity + ) +} +function Remove-RetentionPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm + $Force ) } - -function Update-MgBetaDeviceManagementDeviceShellScript +function Remove-RoleAssignmentPolicy { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $DeviceShellScriptId, - - [Parameter()] - [PSObject] - $InputObject, - + param( [Parameter()] - [PSObject] - $BodyParameter, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $ResponseHeadersVariable, - + [System.Object] + $Identity + ) +} +function Remove-RoleGroup +{ + [CmdletBinding()] + param( [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $Assignments, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $BlockExecutionNotifications, - - [Parameter()] - [System.String] - $Description, + $BypassSecurityGroupManagerCheck, [Parameter()] - [PSObject[]] - $DeviceRunStates, - + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Remove-RoleGroupMember +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $DisplayName, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.TimeSpan] - $ExecutionFrequency, + [System.Object] + $Identity, [Parameter()] - [System.String] - $FileName, + [System.Management.Automation.SwitchParameter] + $BypassSecurityGroupManagerCheck, [Parameter()] - [PSObject[]] - $GroupAssignments, - + [System.Object] + $Member + ) +} +function Remove-SafeAttachmentPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $Id, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Int32] - $RetryCount, + [System.Object] + $Identity, [Parameter()] - [System.String[]] - $RoleScopeTagIds, - + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Remove-SafeAttachmentRule +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject] - $RunAsAccount, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject] - $RunSummary, - + [System.Object] + $Identity + ) +} +function Remove-SafeLinksPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $ScriptContentInputFile, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $UserRunStates, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - + $Force + ) +} +function Remove-SafeLinksRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - + [System.Object] + $Identity + ) +} +function Remove-ServicePrincipal +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Uri] - $Proxy, - + [System.Object] + $Identity + ) +} +function Remove-SweepRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $Mailbox, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Object] + $Identity ) } - -#endregion - -#region MgBetaDeviceManagementDeviceShellScriptAssignment -function Get-MgBetaDeviceManagementDeviceShellScriptAssignment +function Remove-TenantAllowBlockListItems { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $DeviceManagementScriptAssignmentId, - + param( [Parameter()] - [System.String] - $DeviceShellScriptId, + [System.Object] + $ListSubType, [Parameter()] - [PSObject] - $InputObject, + [System.Management.Automation.SwitchParameter] + $OutputJson, [Parameter()] [System.String[]] - $ExpandProperty, + $Ids, [Parameter()] [System.String[]] - $Property, + $Entries, [Parameter()] - [System.String] - $Filter, - + [System.Object] + $ListType + ) +} +function Remove-TenantAllowBlockListSpoofItems +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $Search, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Int32] - $Skip, + [System.Object] + $Identity, [Parameter()] [System.String[]] - $Sort, - + $Ids + ) +} +function Remove-TransportRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.Int32] - $Top, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $ResponseHeadersVariable, - + [System.Object] + $Identity + ) +} +function Set-AcceptedDomain +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $SendingToDomainDisabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $EnableNego2Authentication, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $SendingFromDomainDisabled, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $CanHaveCloudCache, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $DomainType, [Parameter()] - [System.Int32] - $PageSize, + [System.String] + $MailFlowRegion, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Boolean] + $MatchSubDomains, [Parameter()] - [System.String] - $CountVariable + [System.Boolean] + $OutboundOnly ) } - -#endregion - -#region MgBetaDeviceManagementDeviceHealthScript -function Get-MgBetaDeviceManagementDeviceHealthScript +function Set-ActiveSyncDeviceAccessRule { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $DeviceHealthScriptId, - + param( [Parameter()] - [PSObject] - $InputObject, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $Identity, [Parameter()] - [System.String[]] - $Property, - + [System.Object] + $AccessLevel + ) +} +function Set-ActiveSyncMailboxPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $Filter, + [System.Boolean] + $AllowUnsignedApplications, [Parameter()] - [System.String] - $Search, + [System.Boolean] + $AllowUnsignedInstallationPackages, [Parameter()] - [System.Int32] - $Skip, + [System.Boolean] + $AllowExternalDeviceManagement, [Parameter()] - [System.String[]] - $Sort, + [System.Boolean] + $AllowIrDA, [Parameter()] - [System.Int32] - $Top, + [System.Boolean] + $AllowStorageCard, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $AllowNonProvisionableDevices, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $AllowRemoteDesktop, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $UnapprovedInROMApplicationList, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $DevicePasswordEnabled, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $RequireEncryptedSMIMEMessages, [Parameter()] - [System.Uri] - $Proxy, + [System.Int32] + $DevicePasswordHistory, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $RequireDeviceEncryption, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $AllowInternetSharing, [Parameter()] [System.Int32] - $PageSize, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $CountVariable - ) -} + $MinDevicePasswordComplexCharacters, -function New-MgBetaDeviceManagementDeviceHealthScript -{ - [CmdletBinding()] - param - ( [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $RequireSignedSMIMEAlgorithm, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $MaxEmailHTMLBodyTruncationSize, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $DevicePasswordExpiration, [Parameter()] - [PSObject[]] - $Assignments, + [System.Boolean] + $UNCAccessEnabled, [Parameter()] - [System.String] - $Description, + [System.Boolean] + $AllowCamera, [Parameter()] - [System.String] - $DetectionScriptContentInputFile, + [System.Object] + $MaxDevicePasswordFailedAttempts, [Parameter()] - [PSObject[]] - $DetectionScriptParameters, + [System.Boolean] + $AllowBrowser, [Parameter()] - [PSObject] - $DeviceHealthScriptType, + [System.Boolean] + $RequireManualSyncWhenRoaming, [Parameter()] - [PSObject[]] - $DeviceRunStates, + [System.Object] + $AllowSMIMEEncryptionAlgorithmNegotiation, [Parameter()] - [System.String] - $DisplayName, + [System.Boolean] + $DeviceEncryptionEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnforceSignatureCheck, + [System.Object] + $MaxEmailBodyTruncationSize, [Parameter()] - [System.String] - $HighestAvailableVersion, + [System.Object] + $AllowBluetooth, [Parameter()] - [System.String] - $Id, + [System.Object] + $RequireEncryptionSMIMEAlgorithm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsGlobalScript, + [System.Object] + $DevicePolicyRefreshInterval, [Parameter()] - [System.String] - $Publisher, + [System.Boolean] + $AllowMobileOTAUpdate, [Parameter()] [System.String] - $RemediationScriptContentInputFile, + $Name, [Parameter()] - [PSObject[]] - $RemediationScriptParameters, + [System.Object] + $MaxAttachmentSize, [Parameter()] - [System.String[]] - $RoleScopeTagIds, + [System.Boolean] + $AllowConsumerEmail, [Parameter()] - [System.Management.Automation.SwitchParameter] - $RunAs32Bit, + [System.Boolean] + $AllowDesktopSync, [Parameter()] - [PSObject] - $RunAsAccount, + [System.Object] + $MaxInactivityTimeDeviceLock, [Parameter()] - [PSObject] - $RunSummary, + [System.Boolean] + $AlphanumericDevicePasswordRequired, [Parameter()] - [System.String] - $Version, + [System.Boolean] + $RequireStorageCardEncryption, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $Confirm, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $AttachmentsEnabled, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $AllowSMIMESoftCerts, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $MaxEmailAgeFilter, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $AllowSimpleDevicePassword, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $PasswordRecoveryEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $MaxCalendarAgeFilter, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} + [System.Boolean] + $AllowWiFi, -function Remove-MgBetaDeviceManagementDeviceHealthScript -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $DeviceHealthScriptId, + [System.Boolean] + $AllowApplePushNotifications, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $AllowPOPIMAPEmail, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $IsDefault, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $IsDefaultPolicy, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ApprovedApplicationList, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $AllowTextMessaging, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $WSSAccessEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Boolean] + $RequireSignedSMIMEMessages, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $AllowHTMLEmail, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $MinDevicePasswordLength, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Boolean] + $IrmEnabled ) } - -function Update-MgBetaDeviceManagementDeviceHealthScript +function Set-AddressBookPolicy { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $DeviceHealthScriptId, - - [Parameter()] - [PSObject] - $InputObject, - + param( [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $RoomList, [Parameter()] [System.String] - $ResponseHeadersVariable, + $Name, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $Assignments, + [System.Object] + $Identity, [Parameter()] - [System.String] - $Description, + [System.Object] + $GlobalAddressList, [Parameter()] - [System.String] - $DetectionScriptContentInputFile, + [System.Object[]] + $AddressLists, [Parameter()] - [PSObject[]] - $DetectionScriptParameters, - + [System.Object] + $OfflineAddressBook + ) +} +function Set-AddressList +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject] - $DeviceHealthScriptType, + [System.Object] + $Identity, [Parameter()] - [PSObject[]] - $DeviceRunStates, + [System.Object] + $ConditionalCustomAttribute8, [Parameter()] [System.String] $DisplayName, [Parameter()] - [System.Management.Automation.SwitchParameter] - $EnforceSignatureCheck, + [System.Object] + $ConditionalCustomAttribute10, [Parameter()] [System.String] - $HighestAvailableVersion, + $Name, [Parameter()] - [System.String] - $Id, + [System.Object] + $ConditionalCustomAttribute9, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsGlobalScript, + [System.Object] + $ConditionalCustomAttribute2, [Parameter()] - [System.String] - $Publisher, + [System.Object] + $IncludedRecipients, [Parameter()] - [System.String] - $RemediationScriptContentInputFile, + [System.Object] + $ConditionalCompany, [Parameter()] - [PSObject[]] - $RemediationScriptParameters, + [System.Object] + $ConditionalCustomAttribute6, [Parameter()] - [System.String[]] - $RoleScopeTagIds, + [System.Object] + $ConditionalCustomAttribute3, [Parameter()] - [System.Management.Automation.SwitchParameter] - $RunAs32Bit, + [System.Object] + $ConditionalCustomAttribute12, [Parameter()] - [PSObject] - $RunAsAccount, + [System.Object] + $ConditionalCustomAttribute13, [Parameter()] - [PSObject] - $RunSummary, + [System.String] + $RecipientFilter, [Parameter()] - [System.String] - $Version, + [System.Object] + $ConditionalCustomAttribute15, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $ConditionalDepartment, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ConditionalStateOrProvince, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $ConditionalCustomAttribute7, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $ConditionalCustomAttribute14, [Parameter()] - [System.Uri] - $Proxy, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $ConditionalCustomAttribute4, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $ConditionalCustomAttribute11, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Object] + $ConditionalCustomAttribute1, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute5 ) } - -#endregion - -#region MgBetaDeviceManagementDeviceHealthScriptAssignment -function Get-MgBetaDeviceManagementDeviceHealthScriptAssignment +function Set-AdminAuditLogConfig { [CmdletBinding()] - param - ( + param( [Parameter()] - [System.String] - $DeviceHealthScriptAssignmentId, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $DeviceHealthScriptId, + [System.Boolean] + $UnifiedAuditLogIngestionEnabled, [Parameter()] - [PSObject] - $InputObject, - + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Set-AntiPhishPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Boolean] + $EnableFirstContactSafetyTips, [Parameter()] - [System.String[]] - $Property, + [System.Boolean] + $EnableMailboxIntelligenceProtection, [Parameter()] - [System.String] - $Filter, + [System.Int32] + $PhishThresholdLevel, [Parameter()] - [System.String] - $Search, + [System.Boolean] + $EnableTargetedDomainsProtection, [Parameter()] - [System.Int32] - $Skip, + [System.Object] + $Identity, [Parameter()] - [System.String[]] - $Sort, + [System.Boolean] + $HonorDmarcPolicy, [Parameter()] - [System.Int32] - $Top, + [System.Boolean] + $Enabled, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $EnableViaTag, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $MailboxIntelligenceProtectionAction, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $TargetedDomainsToProtect, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $EnableSpoofIntelligence, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $EnableSimilarUsersSafetyTips, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $ExcludedDomains, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.String] + $PolicyTag, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $MailboxIntelligenceProtectionActionRecipients, [Parameter()] - [System.Int32] - $PageSize, + [System.Object] + $TargetedDomainActionRecipients, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Object] + $DmarcQuarantineAction, [Parameter()] - [System.String] - $CountVariable - ) -} - -#endregion + [System.Boolean] + $EnableMailboxIntelligence, -#region MgBetaDeviceAppManagementMobileAppConfiguration -function Get-MgBetaDeviceAppManagementMobileAppConfiguration -{ - [CmdletBinding()] - param - ( [Parameter()] [System.String] - $ManagedDeviceMobileAppConfigurationId, + $TargetedDomainQuarantineTag, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $ImpersonationProtectionState, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Boolean] + $EnableOrganizationDomainsProtection, [Parameter()] - [System.String[]] - $Property, + [System.Object] + $TargetedDomainProtectionAction, [Parameter()] [System.String] - $Filter, + $AdminDisplayName, [Parameter()] - [System.String] - $Search, + [System.Object] + $TargetedUsersToProtect, [Parameter()] - [System.Int32] - $Skip, + [System.Object] + $TargetedUserProtectionAction, [Parameter()] - [System.String[]] - $Sort, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Int32] - $Top, + [System.Management.Automation.SwitchParameter] + $MakeDefault, [Parameter()] [System.String] - $ResponseHeadersVariable, + $MailboxIntelligenceQuarantineTag, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $EnableSimilarDomainsSafetyTips, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String] + $SpoofQuarantineTag, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $EnableUnauthenticatedSender, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $DmarcRejectAction, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $TargetedUserQuarantineTag, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $ExcludedSubDomains, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $EnableUnusualCharactersSafetyTips, [Parameter()] - [System.Int32] - $PageSize, + [System.Boolean] + $EnableTargetedUserProtection, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Object] + $AuthenticationFailAction, [Parameter()] - [System.String] - $CountVariable - ) -} + [System.Object] + $TargetedUserActionRecipients, -function Get-MgBetaDeviceAppManagementMobileAppAssignment -{ - [CmdletBinding()] - param( [Parameter()] - [System.String] - $MobileAppId + [System.Object] + $ExcludedSenders ) } - -function Update-MgBetaDeviceAppManagementMobileAppAssignment +function Set-AntiPhishRule { [CmdletBinding()] param( + [Parameter()] + [System.Int32] + $Priority, + [Parameter()] [System.String] - $MobileAppId, + $Name, [Parameter()] - [System.Object] - $Target, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [System.String] - $Repository - ) -} + [System.Object] + $AntiPhishPolicy, -function New-MgBetaDeviceAppManagementMobileAppConfiguration -{ - [CmdletBinding()] - param - ( [Parameter()] - [PSObject] - $BodyParameter, + [System.Object[]] + $SentTo, [Parameter()] [System.String] - $ResponseHeadersVariable, + $Comments, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object[]] + $RecipientDomainIs, [Parameter()] - [PSObject[]] - $Assignments, + [System.Object] + $Identity, [Parameter()] - [System.DateTime] - $CreatedDateTime, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.String] - $Description, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] - [PSObject] - $DeviceStatusSummary, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $DeviceStatuses, - + [System.Object[]] + $ExceptIfSentToMemberOf + ) +} +function Set-ApplicationAccessPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $DisplayName, + $Description, [Parameter()] - [System.String] - $Id, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.DateTime] - $LastModifiedDateTime, - + [System.Object] + $Identity + ) +} +function Set-ArcConfig +{ + [CmdletBinding()] + param( [Parameter()] [System.String[]] - $RoleScopeTagIds, + $ArcTrustedSealers, [Parameter()] - [System.String[]] - $TargetedMobileApps, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject] - $UserStatusSummary, - + [System.Object] + $Identity + ) +} +function Set-ATPBuiltInProtectionRule +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject[]] - $UserStatuses, + [System.String] + $Comments, [Parameter()] - [System.Int32] - $Version, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object[]] + $ExceptIfSentToMemberOf + ) +} +function Set-AtpPolicyForO365 +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $EnableATPForSPOTeamsODB, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $EnableSafeDocs, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $AllowSafeDocsOpen, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm ) } - -function Remove-MgBetaDeviceAppManagementMobileAppConfiguration +function Set-ATPProtectionPolicyRule { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $ManagedDeviceMobileAppConfigurationId, - + param( [Parameter()] - [PSObject] - $InputObject, + [System.Int32] + $Priority, [Parameter()] [System.String] - $ResponseHeadersVariable, + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object[]] + $SentTo, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.String] + $Comments, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object[]] + $RecipientDomainIs, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Object] + $Identity, [Parameter()] - [System.Uri] - $Proxy, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Object[]] + $ExceptIfSentToMemberOf ) } - -function Set-MgBetaDeviceAppManagementMobileAppConfiguration +function Set-AvailabilityConfig { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $ManagedDeviceMobileAppConfigurationId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $BodyParameter, - - [Parameter()] - [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [PSObject[]] - $Assignments, - + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, + $Confirm, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $OrgWideAccount, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - + [System.Object] + $AllowedTenantIds + ) +} +function Set-CalendarProcessing +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Int32] + $MaximumConflictInstances, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $BookingType, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $ForwardRequestsToDelegates, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $RemoveCanceledMeetings, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -function Update-MgBetaDeviceAppManagementMobileAppConfiguration -{ - [CmdletBinding()] - param - ( + [System.Object] + $Identity, + [Parameter()] - [System.String] - $ManagedDeviceMobileAppConfigurationId, + [System.Object[]] + $ResourceDelegates, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $DeleteNonCalendarItems, [Parameter()] - [PSObject] - $BodyParameter, + [System.Boolean] + $RemovePrivateProperty, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $DeleteComments, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Boolean] + $EnforceSchedulingHorizon, [Parameter()] - [PSObject[]] - $Assignments, + [System.Boolean] + $EnableResponseDetails, [Parameter()] - [System.DateTime] - $CreatedDateTime, + [System.Object[]] + $RequestInPolicy, [Parameter()] - [System.String] - $Description, + [System.Boolean] + $EnforceCapacity, [Parameter()] - [PSObject] - $DeviceStatusSummary, + [System.Boolean] + $AllowConflicts, [Parameter()] - [PSObject[]] - $DeviceStatuses, + [System.Boolean] + $AllRequestInPolicy, [Parameter()] - [System.String] - $DisplayName, + [System.Boolean] + $AddOrganizerToSubject, [Parameter()] - [System.String] - $Id, + [System.Object[]] + $BookInPolicy, [Parameter()] - [System.DateTime] - $LastModifiedDateTime, + [System.Int32] + $ConflictPercentageAllowed, [Parameter()] - [System.String[]] - $RoleScopeTagIds, + [System.Object] + $AutomateProcessing, [Parameter()] - [System.String[]] - $TargetedMobileApps, + [System.Boolean] + $AllRequestOutOfPolicy, [Parameter()] - [PSObject] - $UserStatusSummary, + [System.Boolean] + $AddNewRequestsTentatively, [Parameter()] - [PSObject[]] - $UserStatuses, + [System.Boolean] + $EnableAutoRelease, [Parameter()] [System.Int32] - $Version, + $PostReservationMaxClaimTimeInMinutes, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $AllBookInPolicy, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $ProcessExternalMeetingMessages, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $DeleteAttachments, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $ScheduleOnlyDuringWorkHours, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $AdditionalResponse, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $TentativePendingApproval, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -#endregion + [System.Int32] + $MaximumDurationInMinutes, -#region MgBetaDeviceAppManagementMobileAppConfigurationAssignment -function Get-MgBetaDeviceAppManagementMobileAppConfigurationAssignment -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $ManagedDeviceMobileAppConfigurationAssignmentId, + [System.Management.Automation.SwitchParameter] + $IgnoreDefaultScope, [Parameter()] - [System.String] - $ManagedDeviceMobileAppConfigurationId, + [System.Object[]] + $RequestOutOfPolicy, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $RemoveOldMeetingMessages, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Boolean] + $OrganizerInfo, [Parameter()] - [System.String[]] - $Property, + [System.Int32] + $MinimumDurationInMinutes, [Parameter()] - [System.String] - $Filter, + [System.Boolean] + $AddAdditionalResponse, [Parameter()] - [System.String] - $Search, + [System.Boolean] + $RemoveForwardedMeetingNotifications, [Parameter()] [System.Int32] - $Skip, + $BookingWindowInDays, [Parameter()] - [System.String[]] - $Sort, + [System.Boolean] + $AllowRecurringMeetings, [Parameter()] - [System.Int32] - $Top, - + [System.Boolean] + $DeleteSubject + ) +} +function Set-CASMailbox +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $IsOptimizedForAccessibility, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $ImapEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $ImapSuppressReadReceipt, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $ActiveSyncSuppressReadReceipt, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $Identity, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $EwsBlockList, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $EwsAllowEntourage, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $OwaMailboxPolicy, [Parameter()] - [System.Int32] - $PageSize, + [System.Boolean] + $PopUseProtocolDefaults, [Parameter()] [System.Management.Automation.SwitchParameter] - $All, + $Confirm, [Parameter()] - [System.String] - $CountVariable - ) -} -function Set-EOPProtectionPolicyRule -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $Identity, + [System.Object] + $SmtpClientAuthenticationDisabled, [Parameter()] - [System.String] - $Comments, + [System.Boolean] + $PopForceICalForCalendarRetrievalOption, [Parameter()] - [System.String[]] - $ExceptIfRecipientDomainIs, + [System.Boolean] + $ImapForceICalForCalendarRetrievalOption, [Parameter()] - [System.String[]] - $ExceptIfSentTo, + [System.Boolean] + $ShowGalAsDefaultView, [Parameter()] - [System.String[]] - $ExceptIfSentToMemberOf, + [System.Object] + $ActiveSyncBlockedDeviceIDs, [Parameter()] - [System.String] - $Name, + [System.Boolean] + $MAPIEnabled, [Parameter()] - [System.Int32] - $Priority, + [System.Object] + $EwsAllowOutlook, [Parameter()] - [System.String[]] - $RecipientDomainIs, + [System.Boolean] + $PopEnabled, [Parameter()] - [system.String[]] - $SentTo, + [System.Object] + $ActiveSyncAllowedDeviceIDs, [Parameter()] - [System.String[]] - $SentToMemberOf - ) -} + [System.Object] + $EwsEnabled, -function Get-ExternalInOutlook -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $Identity, + [System.Object] + $OutlookMobileEnabled, [Parameter()] - [System.String[]] - $AllowList, + [System.Object] + $EwsAllowMacOutlook, [Parameter()] - [System.Boolean] - $Enabled - ) -} -function Set-ExternalInOutlook -{ - [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $Identity, + [System.Object] + $EwsApplicationAccessPolicy, [Parameter()] - [System.String[]] - $AllowList, + [System.Object] + $OneWinNativeOutlookEnabled, [Parameter()] [System.Boolean] - $Enabled - ) -} + $OWAEnabled, -#endregion + [Parameter()] + [System.Boolean] + $PublicFolderClientAccess, -#region MgBetaDeviceManagementWindowsQualityUpdateProfile -function Get-MgBetaDeviceManagementWindowsQualityUpdateProfile -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $WindowsQualityUpdateProfileId, + [System.Object] + $ActiveSyncMailboxPolicy, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $UniversalOutlookEnabled, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Boolean] + $ImapUseProtocolDefaults, [Parameter()] - [System.String[]] - $Property, + [System.Boolean] + $ActiveSyncDebugLogging, [Parameter()] - [System.String] - $Filter, + [System.Boolean] + $OWAforDevicesEnabled, [Parameter()] - [System.String] - $Search, + [System.Object] + $ImapMessagesRetrievalMimeFormat, [Parameter()] - [System.Int32] - $Skip, + [System.Boolean] + $ActiveSyncEnabled, [Parameter()] - [System.String[]] - $Sort, + [System.Object] + $MacOutlookEnabled, [Parameter()] - [System.Int32] - $Top, + [System.Boolean] + $PopSuppressReadReceipt, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $EwsAllowList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $PopMessagesRetrievalMimeFormat + ) +} +function set-CASMailboxPlan +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $ImapEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $OwaMailboxPolicy, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $OWAEnabled, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $EwsEnabled, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $ECPEnabled, [Parameter()] - [System.Int32] - $PageSize, + [System.Boolean] + $PopEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Boolean] + $ActiveSyncEnabled, [Parameter()] - [System.String] - $CountVariable + [System.Boolean] + $MAPIEnabled ) } - -function New-MgBetaDeviceManagementWindowsQualityUpdateProfile +function Set-ClientAccessRule { [CmdletBinding()] - param - ( + param( [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $UsernameMatchesAnyOfPatterns, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $Identity, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $Action, [Parameter()] - [PSObject[]] - $Assignments, + [System.Object] + $AnyOfClientIPAddressesOrRanges, [Parameter()] - [System.DateTime] - $CreatedDateTime, + [System.Boolean] + $Enabled, [Parameter()] - [System.String] - $DeployableContentDisplayName, + [System.Object] + $ExceptAnyOfClientIPAddressesOrRanges, [Parameter()] [System.String] - $Description, + $Name, [Parameter()] [System.String] - $DisplayName, + $UserRecipientFilter, [Parameter()] - [PSObject] - $ExpeditedUpdateSettings, + [System.Object] + $ExceptAnyOfProtocols, [Parameter()] - [System.String] - $Id, + [System.Object] + $AnyOfProtocols, [Parameter()] - [System.DateTime] - $LastModifiedDateTime, + [System.Int32] + $Priority, [Parameter()] - [System.String] - $ReleaseDateDisplayName, + [System.Object] + $ExceptUsernameMatchesAnyOfPatterns, [Parameter()] - [System.String[]] - $RoleScopeTagIds, + [System.Object] + $AnyOfAuthenticationTypes, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $Confirm, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ExceptAnyOfAuthenticationTypes, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - + [System.Object] + $Scope + ) +} +function Set-DataClassification +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.String] + $Description, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $Name, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Globalization.CultureInfo] + $Locale, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, + + [Parameter()] + [System.Object] + $Fingerprints, + + [Parameter()] + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm + $IsDefault ) } - -function Remove-MgBetaDeviceManagementWindowsQualityUpdateProfile +function Set-DataEncryptionPolicy { [CmdletBinding()] - param - ( + param( [Parameter()] [System.String] - $WindowsQualityUpdateProfileId, + $Description, [Parameter()] - [PSObject] - $InputObject, + [System.Management.Automation.SwitchParameter] + $Force, [Parameter()] [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + $Name, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $DomainController, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Management.Automation.SwitchParameter] + $PermanentDataPurgeRequested, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Object] + $Identity, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $PermanentDataPurgeReason, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.String] + $PermanentDataPurgeContact, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Refresh, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Boolean] + $Enabled ) } - -function Update-MgBetaDeviceManagementWindowsQualityUpdateProfile +function Set-DistributionGroup { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $WindowsQualityUpdateProfileId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $BodyParameter, - + param( [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $EmailAddresses, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $RejectMessagesFromDLMembers, [Parameter()] - [PSObject[]] - $Assignments, + [System.Management.Automation.SwitchParameter] + $RoomList, [Parameter()] - [System.DateTime] - $CreatedDateTime, + [System.Object] + $AcceptMessagesOnlyFromSendersOrMembers, [Parameter()] [System.String] - $DeployableContentDisplayName, + $CustomAttribute14, [Parameter()] [System.String] - $Description, + $CustomAttribute12, [Parameter()] [System.String] - $DisplayName, + $CustomAttribute10, [Parameter()] - [PSObject] - $ExpeditedUpdateSettings, + [System.Object] + $ExtensionCustomAttribute5, [Parameter()] [System.String] - $Id, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, + $CustomAttribute8, [Parameter()] [System.String] - $ReleaseDateDisplayName, - - [Parameter()] - [System.String[]] - $RoleScopeTagIds, + $CustomAttribute5, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $BccBlocked, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $AcceptMessagesOnlyFromDLMembers, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.String] + $SimpleDisplayName, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Management.Automation.SwitchParameter] + $IgnoreNamingPolicy, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $MailTip, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $ModeratedBy, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $PrimarySmtpAddress, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm - ) -} - -#endregion + $ResetMigrationToUnifiedGroup, -function Update-MgBetaIdentityGovernanceLifecycleWorkflowSetting -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] - $EmailSettings, + $AcceptMessagesOnlyFrom, [Parameter()] - [System.UInt32] - $WorkflowScheduleIntervalInHours - ) -} - -function Get-MgBetaIdentityGovernanceLifecycleWorkflowSetting -{ - [CmdletBinding()] - param() -} + [System.Boolean] + $BypassNestedModerationEnabled, -#region MgBetaDeviceManagementWindowsQualityUpdateProfileAssignment -function Get-MgBetaDeviceManagementWindowsQualityUpdateProfileAssignment -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $WindowsQualityUpdateProfileAssignmentId, + [System.Boolean] + $ModerationEnabled, [Parameter()] - [System.String] - $WindowsQualityUpdateProfileId, + [System.Object] + $MemberDepartRestriction, [Parameter()] - [PSObject] - $InputObject, + [System.String] + $CustomAttribute15, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $RejectMessagesFromSendersOrMembers, [Parameter()] - [System.String[]] - $Property, + [System.Object] + $WindowsEmailAddress, [Parameter()] [System.String] - $Filter, + $Alias, [Parameter()] [System.String] - $Search, + $DisplayName, [Parameter()] - [System.Int32] - $Skip, + [System.Boolean] + $ReportToOriginatorEnabled, [Parameter()] - [System.String[]] - $Sort, + [System.Object] + $BypassModerationFromSendersOrMembers, [Parameter()] - [System.Int32] - $Top, + [System.Object] + $RejectMessagesFrom, [Parameter()] [System.String] - $ResponseHeadersVariable, + $CustomAttribute1, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, + $ForceUpgrade, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $ManagedBy, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $Description, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $GrantSendOnBehalfTo, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $ExtensionCustomAttribute1, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $ReportToManagerEnabled, [Parameter()] - [System.Int32] - $PageSize, + [System.Boolean] + $RequireSenderAuthenticationEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.String] + $CustomAttribute9, [Parameter()] [System.String] - $CountVariable - ) -} - -#endregion + $CustomAttribute6, -#region MgBetaPolicyFeatureRolloutPolicy -function Get-MgBetaPolicyFeatureRolloutPolicy -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $FeatureRolloutPolicyId, + [System.Boolean] + $SendOofMessageToOriginatorEnabled, [Parameter()] - [PSObject] - $InputObject, + [System.Management.Automation.SwitchParameter] + $BypassSecurityGroupManagerCheck, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Management.Automation.SwitchParameter] + $UpdateMemberCount, [Parameter()] - [System.String[]] - $Property, + [System.Object] + $ExtensionCustomAttribute2, [Parameter()] [System.String] - $Filter, + $CustomAttribute13, [Parameter()] [System.String] - $Search, + $CustomAttribute2, [Parameter()] - [System.Int32] - $Skip, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String[]] - $Sort, + [System.Object] + $SendModerationNotifications, [Parameter()] - [System.Int32] - $Top, + [System.Management.Automation.SwitchParameter] + $HiddenGroupMembershipEnabled, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $MemberJoinRestriction, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $HiddenFromAddressListsEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $MailTipTranslations, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.String] + $CustomAttribute7, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.String] + $CustomAttribute4, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $Name, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $ExtensionCustomAttribute3, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $ExtensionCustomAttribute4, [Parameter()] - [System.Int32] - $PageSize, + [System.String] + $CustomAttribute3, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.String] + $CustomAttribute11, [Parameter()] - [System.String] - $CountVariable + [System.Object] + $Identity ) } - -function New-MgBetaPolicyFeatureRolloutPolicy +function Set-DkimSigningConfig { [CmdletBinding()] - param - ( + param( [Parameter()] - [PSObject] - $BodyParameter, + [System.String] + $AdminDisplayName, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $BodyCanonicalization, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $AppliesTo, + [System.Management.Automation.SwitchParameter] + $PublishTxtRecords, [Parameter()] - [System.String] - $Description, + [System.Object] + $Identity, [Parameter()] - [System.String] - $DisplayName, + [System.Boolean] + $Enabled, [Parameter()] - [System.String] - $Feature, + [System.Object] + $HeaderCanonicalization + ) +} +function Set-EmailAddressPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Priority, [Parameter()] [System.String] - $Id, + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAppliedToOrganization, + [System.Object] + $EnabledEmailAddressTemplates, [Parameter()] [System.Management.Automation.SwitchParameter] - $IsEnabled, + $ForceUpgrade, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $Confirm, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String] + $EnabledPrimarySMTPAddressTemplate, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - + [System.Object] + $Identity + ) +} +function Set-EmailTenantSettings +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $EnablePriorityAccountProtection, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $DomainController, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm + $IgnoreDehydratedFlag ) } - -function Remove-MgBetaPolicyFeatureRolloutPolicy +function Set-EOPProtectionPolicyRule { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $FeatureRolloutPolicyId, - + param( [Parameter()] - [PSObject] - $InputObject, + [System.Int32] + $Priority, [Parameter()] [System.String] - $ResponseHeadersVariable, + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object[]] + $SentTo, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.String] + $Comments, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object[]] + $RecipientDomainIs, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Object] + $Identity, [Parameter()] - [System.Uri] - $Proxy, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Object[]] + $ExceptIfSentToMemberOf ) } - -function Update-MgBetaPolicyFeatureRolloutPolicy +function Set-ExoPhishSimOverrideRule { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $FeatureRolloutPolicyId, - + param( [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $AddDomains, [Parameter()] - [PSObject] - $BodyParameter, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + $Comment, [Parameter()] - [PSObject[]] - $AppliesTo, + [System.Object] + $AddSenderIpRanges, [Parameter()] - [System.String] - $Description, + [System.Object] + $Identity, [Parameter()] - [System.String] - $DisplayName, + [System.Object] + $RemoveDomains, [Parameter()] - [System.String] - $Feature, + [System.Object] + $RemoveSenderIpRanges, [Parameter()] - [System.String] - $Id, - + [System.Object] + $DomainController + ) +} +function Set-ExoSecOpsOverrideRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAppliedToOrganization, + [System.Object] + $DomainController, [Parameter()] [System.Management.Automation.SwitchParameter] - $IsEnabled, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.String] + $Comment, [Parameter()] - [System.Collections.IDictionary] - $Headers, - + [System.Object] + $Identity + ) +} +function Set-ExternalInOutlook +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $AllowList, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $Identity, [Parameter()] - [System.Uri] - $Proxy, - + [System.Object] + $Enabled + ) +} +function Set-FocusedInbox +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Management.Automation.SwitchParameter] + $UseCustomRouting, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Object] + $FocusedInboxOn ) } - -#endregion - -#region Microsoft.Graph.Beta.Search -function Get-MgBetaExternal +function Set-GlobalAddressList { [CmdletBinding()] param( [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $ConditionalCustomAttribute8, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $ConditionalCustomAttribute10, [Parameter()] [System.String] - $ResponseHeadersVariable, + $Name, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Object] + $ConditionalCustomAttribute9, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $ConditionalCustomAttribute2, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $IncludedRecipients, [Parameter()] - [System.String[]] - $Property, + [System.Object] + $ConditionalCompany, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Get-MgBetaExternalConnection -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, + [System.Object] + $ConditionalCustomAttribute6, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $ConditionalCustomAttribute3, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $ConditionalCustomAttribute12, [Parameter()] - [System.Int32] - $PageSize, + [System.Object] + $ConditionalCustomAttribute13, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.String] + $RecipientFilter, [Parameter()] - [System.Int32] - $Skip, + [System.Object] + $ConditionalCustomAttribute15, [Parameter()] - [System.Int32] - $Top, + [System.Object] + $ConditionalDepartment, [Parameter()] - [System.String] - $CountVariable, + [System.Object] + $ConditionalStateOrProvince, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $ConditionalCustomAttribute7, [Parameter()] - [System.String[]] - $Sort, + [System.Object] + $ConditionalCustomAttribute14, [Parameter()] - [System.String] - $ExternalConnectionId, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Object] + $ConditionalCustomAttribute4, [Parameter()] - [System.String] - $Filter, + [System.Object] + $ConditionalCustomAttribute1, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $ConditionalCustomAttribute5, + [Parameter()] + [System.Object] + $ConditionalCustomAttribute11 + ) +} +function Set-HostedConnectionFilterPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $Search, + $ConfigurationXmlRaw, [Parameter()] [System.String] - $ResponseHeadersVariable, + $AdminDisplayName, + + [Parameter()] + [System.Boolean] + $EnableSafeList, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $Confirm, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $IPBlockList, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $Identity, [Parameter()] - [PSObject] - $HttpPipelineAppend + [System.Object] + $IPAllowList, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $MakeDefault ) } -function New-MgBetaExternalConnection +function Set-HostedContentFilterPolicy { [CmdletBinding()] param( [Parameter()] - [PSObject] - $Schema, + [System.Boolean] + $InlineSafetyTipsEnabled, [Parameter()] - [System.String] - $Description, + [System.Object] + $RegionBlockList, [Parameter()] [System.String] - $Name, + $HighConfidencePhishQuarantineTag, [Parameter()] - [System.String] - $ConnectorId, + [System.Int32] + $EndUserSpamNotificationFrequency, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Int32] + $QuarantineRetentionPeriod, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Int32] + $EndUserSpamNotificationLimit, [Parameter()] - [PSObject] - $Groups, + [System.Int32] + $BulkThreshold, [Parameter()] - [PSObject] - $Items, + [System.Management.Automation.SwitchParameter] + $MakeDefault, [Parameter()] - [PSObject] - $SearchSettings, + [System.Object] + $TestModeBccToRecipients, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.String] + $PhishQuarantineTag, [Parameter()] [System.String] - $EnabledContentExperiences, + $AddXHeaderValue, [Parameter()] - [System.String] - $State, + [System.Object] + $MarkAsSpamEmbedTagsInHtml, [Parameter()] - [PSObject] - $ComplianceSettings, + [System.Object] + $MarkAsSpamFramesInHtml, [Parameter()] - [PSObject] - $Quota, + [System.Object] + $IncreaseScoreWithImageLinks, [Parameter()] - [PSObject] - $ActivitySettings, + [System.Boolean] + $EnableLanguageBlockList, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $PhishSpamAction, [Parameter()] - [PSObject] - $BodyParameter, + [System.String] + $EndUserSpamNotificationCustomFromName, [Parameter()] - [System.Int64] - $IngestedItemsCount, + [System.Object] + $MarkAsSpamSensitiveWordList, [Parameter()] [System.String] - $Id, + $SpamQuarantineTag, [Parameter()] - [PSObject] - $Operations, + [System.Object] + $MarkAsSpamNdrBackscatter, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $BlockedSenders, [Parameter()] - [PSObject] - $Configuration, + [System.Object] + $LanguageBlockList, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $HighConfidenceSpamAction, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $AllowedSenderDomains, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $IncreaseScoreWithBizOrInfoUrls, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $MarkAsSpamWebBugsInHtml, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaExternalConnection -{ - [CmdletBinding()] - param( + [System.String] + $AdminDisplayName, + [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $IntraOrgFilterState, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $MarkAsSpamFromAddressAuthFail, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $MarkAsSpamEmptyMessages, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $BulkQuarantineTag, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Object] + $MarkAsSpamFormTagsInHtml, [Parameter()] - [System.String] - $IfMatch, + [System.Object] + $MarkAsSpamObjectTagsInHtml, [Parameter()] - [System.String] - $ExternalConnectionId, + [System.Object] + $BulkSpamAction, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $EndUserSpamNotificationLanguage, + + [Parameter()] + [System.Object] + $IncreaseScoreWithRedirectToOtherPort, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Object] + $HighConfidencePhishAction, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $RedirectToRecipients, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $SpamZapEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -function Update-MgBetaExternal -{ - [CmdletBinding()] - param( + [System.Object] + $TestModeAction, + [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $EnableRegionBlockList, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.String] + $EndUserSpamNotificationCustomSubject, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $MarkAsSpamSpfRecordHardFail, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $EndUserSpamNotificationCustomFromAddress, [Parameter()] - [PSObject] - $Connections, + [System.Boolean] + $DownloadLink, [Parameter()] - [PSObject] - $IndustryData, + [System.Object] + $SpamAction, [Parameter()] [System.String] - $ResponseHeadersVariable, + $ModifySubjectValue, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $IncreaseScoreWithNumericIps, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Object] + $AllowedSenders, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $MarkAsSpamJavaScriptInHtml, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $MarkAsSpamBulkMail, [Parameter()] - [PSObject] - $AuthorizationSystems, + [System.Object] + $BlockedSenderDomains, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $PhishZapEnabled, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Boolean] + $EnableEndUserSpamNotifications, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break + [System.String] + $HighConfidenceSpamQuarantineTag ) } -function Update-MgBetaExternalConnection +function Set-HostedContentFilterRule { [CmdletBinding()] param( [Parameter()] - [PSObject] - $Schema, - - [Parameter()] - [System.String] - $Description, + [System.Int32] + $Priority, [Parameter()] [System.String] $Name, [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $Groups, - - [Parameter()] - [PSObject] - $Items, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [PSObject] - $SearchSettings, + [System.Object] + $HostedContentFilterPolicy, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object[]] + $SentTo, [Parameter()] [System.String] - $EnabledContentExperiences, + $Comments, [Parameter()] - [System.String] - $ExternalConnectionId, + [System.Object[]] + $RecipientDomainIs, [Parameter()] - [System.String] - $State, + [System.Object] + $Identity, [Parameter()] - [PSObject] - $ComplianceSettings, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [PSObject] - $Quota, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] - [PSObject] - $ActivitySettings, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Uri] - $Proxy, - + [System.Object[]] + $ExceptIfSentToMemberOf + ) +} +function Set-HostedOutboundSpamFilterPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $ConnectorId, + $AdminDisplayName, [Parameter()] - [System.Int64] - $IngestedItemsCount, + [System.Object] + $BccSuspiciousOutboundAdditionalRecipients, [Parameter()] - [System.String] - $Id, + [System.Object] + $NotifyOutboundSpamRecipients, [Parameter()] - [PSObject] - $Operations, + [System.UInt32] + $RecipientLimitPerDay, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $ActionWhenThresholdReached, [Parameter()] - [PSObject] - $Configuration, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.UInt32] + $RecipientLimitExternalPerHour, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $AutoForwardingMode, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $NotifyOutboundSpam, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.UInt32] + $RecipientLimitInternalPerHour, [Parameter()] - [PSObject] - $HttpPipelineAppend + [System.Boolean] + $BccSuspiciousOutboundMail ) } -#endregion -#region MgBetaOnPremisePublishingProfileConnectorGroup -function Get-MgBetaOnPremisePublishingProfileConnectorGroup +function Set-HostedOutboundSpamFilterRule { [CmdletBinding()] - param - ( + param( [Parameter()] - [System.String] - $ConnectorGroupId, + [System.Int32] + $Priority, [Parameter()] [System.String] - $OnPremisesPublishingProfileId, + $Name, [Parameter()] - [PSObject] - $InputObject, + [System.Object[]] + $ExceptIfFromMemberOf, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object[]] + $ExceptIfFrom, [Parameter()] - [System.String[]] - $Property, + [System.Object[]] + $ExceptIfSenderDomainIs, [Parameter()] [System.String] - $Filter, + $Comments, [Parameter()] - [System.String] - $Search, + [System.Object[]] + $FromMemberOf, [Parameter()] - [System.Int32] - $Skip, + [System.Object] + $Identity, [Parameter()] - [System.String[]] - $Sort, + [System.Object[]] + $SenderDomainIs, [Parameter()] - [System.Int32] - $Top, + [System.Object] + $HostedOutboundSpamFilterPolicy, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object[]] + $From, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - - [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - + $Confirm + ) +} +function Set-InboundConnector +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $RestrictDomainsToIPAddresses, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $CloudServicesMailEnabled, [Parameter()] - [System.Int32] - $PageSize, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Boolean] + $Enabled, [Parameter()] [System.String] - $CountVariable - ) -} + $Name, -function New-MgBetaOnPremisePublishingProfileConnectorGroup -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $OnPremisesPublishingProfileId, + [System.Object] + $EFSkipMailGateway, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $EFTestMode, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $TrustedOrganizations, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $TlsSenderCertificateName, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $ScanAndDropRecipients, [Parameter()] - [PSObject[]] - $Applications, + [System.Object] + $AssociatedAcceptedDomains, [Parameter()] [System.String] - $ConnectorGroupType, + $Comment, [Parameter()] - [System.String] - $Id, + [System.Boolean] + $RequireTls, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault, + [System.Object] + $SenderDomains, [Parameter()] - [PSObject[]] - $Members, + [System.Object] + $SenderIPAddresses, [Parameter()] - [System.String] - $Name, + [System.Boolean] + $EFSkipLastIP, [Parameter()] - [System.String] - $Region, + [System.Object] + $EFUsers, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $Confirm, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ConnectorType, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $RestrictDomainsToCertificate, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $EFSkipIPs, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $TreatMessagesAsInternal, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - + [System.Object] + $ConnectorSource + ) +} +function Set-IntraOrganizationConnector +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Object] + $Identity ) } - -function Remove-MgBetaOnPremisePublishingProfileConnectorGroup +function Set-M365DataAtRestEncryptionPolicy { [CmdletBinding()] - param - ( + param( [Parameter()] [System.String] - $ConnectorGroupId, + $Description, [Parameter()] - [System.String] - $OnPremisesPublishingProfileId, + [System.Management.Automation.SwitchParameter] + $Force, [Parameter()] - [PSObject] - $InputObject, + [System.String] + $Name, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $DomainController, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $Confirm, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $Identity, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Management.Automation.SwitchParameter] + $Refresh, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, - + [System.Boolean] + $Enabled + ) +} +function Set-M365DataAtRestEncryptionPolicyAssignment +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Object] + $DataEncryptionPolicy + ) +} +function Set-Mailbox +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $EmailAddresses, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $RejectMessagesFromDLMembers, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $AuditOwner, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $AcceptMessagesOnlyFromSendersOrMembers, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} + [System.Object] + $Type, -function Update-MgBetaOnPremisePublishingProfileConnectorGroup -{ - [CmdletBinding()] - param - ( [Parameter()] [System.String] - $ConnectorGroupId, + $CustomAttribute10, + + [Parameter()] + [System.Boolean] + $DeliverToMailboxAndForward, [Parameter()] [System.String] - $OnPremisesPublishingProfileId, + $RetentionUrl, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $ExtensionCustomAttribute5, [Parameter()] - [PSObject] - $BodyParameter, + [System.Management.Automation.SwitchParameter] + $RecalculateInactiveMailbox, [Parameter()] [System.String] - $ResponseHeadersVariable, + $CustomAttribute8, + + [Parameter()] + [System.Object] + $ProhibitSendReceiveQuota, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.String] + $CustomAttribute5, [Parameter()] - [PSObject[]] - $Applications, + [System.Security.SecureString] + $RoomMailboxPassword, [Parameter()] - [System.String] - $ConnectorGroupType, + [System.Boolean] + $CalendarVersionStoreDisabled, [Parameter()] - [System.String] - $Id, + [System.Object] + $UseDatabaseQuotaDefaults, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault, + [System.Boolean] + $ElcProcessingDisabled, [Parameter()] - [PSObject[]] - $Members, + [System.String[]] + $ExcludeFromOrgHolds, [Parameter()] [System.String] - $Name, + $MailboxRegion, [Parameter()] [System.String] - $Region, + $MailTip, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $GroupMailbox, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ResourceCapacity, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $GrantSendOnBehalfTo, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $AcceptMessagesOnlyFrom, [Parameter()] - [System.Uri] - $Proxy, + [System.Management.Automation.SwitchParameter] + $RemoveDisabledArchive, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $JournalArchiveAddress, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $LitigationHoldDuration, + + [Parameter()] + [System.Object] + $ModeratedBy, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm - ) -} + $ProvisionedForOfficeGraph, -#endregion + [Parameter()] + [System.Management.Automation.SwitchParameter] + $InactiveMailbox, -function New-MgBetaDomain -{ - [CmdletBinding()] - param( [Parameter()] - [PSObject] - $SharedEmailDomainInvitations, + [System.String] + $RetentionComment, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $MaxReceiveSize, [Parameter()] - [PSObject] - $DomainNameReferences, + [System.Boolean] + $MessageCopyForSendOnBehalfEnabled, [Parameter()] - [PSObject] - $ServiceConfigurationRecords, + [System.String] + $CustomAttribute15, [Parameter()] - [System.String[]] - $SupportedServices, + [System.Boolean] + $LitigationHoldEnabled, [Parameter()] [System.Management.Automation.SwitchParameter] - $IsInitial, + $UpdateEnforcedTimestamp, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $ImmutableId, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $WindowsEmailAddress, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $UseDatabaseRetentionDefaults, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Boolean] + $SchedulerAssistant, [Parameter()] - [PSObject] - $State, + [System.String[]] + $RemoveOrphanedHolds, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsVerified, + [System.Object] + $RulesQuota, [Parameter()] - [System.Int32] - $PasswordNotificationWindowInDays, + [System.String] + $Alias, [Parameter()] - [PSObject] - $FederationConfiguration, + [System.String] + $EnforcedTimestamps, [Parameter()] - [System.Int32] - $PasswordValidityPeriodInDays, + [System.Object] + $RejectMessagesFromSendersOrMembers, [Parameter()] [System.String] - $AvailabilityStatus, + $DisplayName, [Parameter()] - [PSObject] - $RootDomain, + [System.Object] + $ResourceCustom, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $MessageCopyForSMTPClientSubmissionEnabled, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $BypassModerationFromSendersOrMembers, [Parameter()] - [System.String] - $Id, + [System.Object] + $DefaultAuditSet, [Parameter()] - [PSObject] - $VerificationDnsRecords, + [System.Object] + $AcceptMessagesOnlyFromDLMembers, [Parameter()] [System.String] - $AuthenticationType, + $CustomAttribute1, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsRoot, + [System.Object] + $EmailAddressDisplayNames, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $CalendarRepairDisabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAdminManaged, + [System.Object] + $AddressBookPolicy, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Management.Automation.SwitchParameter] + $RemoveMailboxProvisioningConstraint, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $NonCompliantDevices, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault, + [System.Boolean] + $ModerationEnabled, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDomain -{ - [CmdletBinding()] - param( + [System.String] + $LitigationHoldOwner, + [Parameter()] - [System.String[]] - $Property, + [System.Object] + $ProhibitSendQuota, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $AccountDisabled, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $ClearThrottlingPolicyAssignment, [Parameter()] - [System.Int32] - $PageSize, + [System.Object] + $AuditDelegate, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.String] + $CustomAttribute14, [Parameter()] - [System.Int32] - $Skip, + [System.Object] + $Languages, [Parameter()] - [System.Int32] - $Top, + [System.Boolean] + $RequireSenderAuthenticationEnabled, [Parameter()] [System.String] - $CountVariable, - - [Parameter()] - [System.String[]] - $Sort, + $CustomAttribute9, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $Identity, [Parameter()] [System.String] - $DomainId, + $CustomAttribute6, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Object] + $DataEncryptionPolicy, [Parameter()] - [System.String] - $Filter, + [System.Object] + $ExternalOofOptions, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $ExtensionCustomAttribute4, [Parameter()] - [System.String] - $Search, + [System.Object] + $LitigationHoldDate, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $EnableRoomMailboxAccount, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $HiddenFromAddressListsEnabled, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $RetainDeletedItemsFor, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $MicrosoftOnlineServicesID, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Update-MgBetaDomain -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $SharedEmailDomainInvitations, + [System.Management.Automation.SwitchParameter] + $RemoveDelayReleaseHoldApplied, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $AuditAdmin, [Parameter()] - [PSObject] - $DomainNameReferences, + [System.Object] + $ExtensionCustomAttribute2, [Parameter()] - [PSObject] - $ServiceConfigurationRecords, + [System.Object] + $DefaultPublicFolderMailbox, [Parameter()] - [System.String[]] - $SupportedServices, + [System.Boolean] + $RetentionHoldEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsInitial, + [System.String] + $CustomAttribute13, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $RetentionPolicy, [Parameter()] - [PSObject] - $InputObject, + [System.String] + $CustomAttribute2, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Management.Automation.SwitchParameter] + $RemoveDelayHoldApplied, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $AuditLogAgeLimit, [Parameter()] - [PSObject] - $State, + [System.Object] + $StartDateForRetentionHold, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsVerified, + [System.Object] + $SendModerationNotifications, [Parameter()] - [System.Int32] - $PasswordNotificationWindowInDays, + [System.Object] + $EndDateForRetentionHold, [Parameter()] - [PSObject] - $FederationConfiguration, + [System.Object] + $RoleAssignmentPolicy, [Parameter()] - [System.Int32] - $PasswordValidityPeriodInDays, + [System.Boolean] + $IsExcludedFromServingHierarchy, [Parameter()] [System.String] - $AvailabilityStatus, - - [Parameter()] - [PSObject] - $RootDomain, + $Office, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $MaxSendSize, [Parameter()] - [PSObject] - $BodyParameter, + [System.Management.Automation.SwitchParameter] + $ApplyMandatoryProperties, [Parameter()] - [System.String] - $DomainId, + [System.Object] + $RejectMessagesFrom, [Parameter()] - [System.String] - $Id, + [System.Object] + $RecipientLimits, [Parameter()] - [PSObject] - $VerificationDnsRecords, + [System.Boolean] + $MessageCopyForSentAsEnabled, [Parameter()] - [System.String] - $AuthenticationType, + [System.Management.Automation.SwitchParameter] + $PublicFolder, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsRoot, + [System.Object] + $MailTipTranslations, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.String] + $CustomAttribute7, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsAdminManaged, + [System.Object] + $SharingPolicy, [Parameter()] [System.String] - $ResponseHeadersVariable, + $CustomAttribute4, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $ExtensionCustomAttribute1, [Parameter()] [System.Management.Automation.SwitchParameter] - $IsDefault, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Invoke-MgBetaForceDomainDelete -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + $ExcludeFromAllOrgHolds, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $ArchiveName, [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableUserAccounts, + [System.Boolean] + $AuditEnabled, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Boolean] + $SingleItemRecoveryEnabled, [Parameter()] - [PSObject] - $InputObject, + [System.Management.Automation.SwitchParameter] + $Force, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $IssueWarningQuota, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $StsRefreshTokensValidFrom, [Parameter()] [System.String] - $DomainId, + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $ExtensionCustomAttribute3, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Object] + $ForwardingAddress, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.String] + $CustomAttribute12, [Parameter()] [System.String] - $ResponseHeadersVariable, + $CustomAttribute3, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.String] + $CustomAttribute11, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String] + $SimpleDisplayName, - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-ATPBuiltInProtectionRule -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] - $Identity, + $ForwardingSmtpAddress, [Parameter()] - [System.Object] - $State + [System.Boolean] + $MessageTrackingReadStatusEnabled ) } -function Set-ATPBuiltInProtectionRule +function Set-MailboxAuditBypassAssociation { [CmdletBinding()] param( - [Parameter()] - [System.String] - $Comments, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, - - [Parameter()] - [System.Object[]] - $ExceptIfSentTo, - [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf + [System.Boolean] + $AuditBypassEnabled, + + [Parameter()] + [System.Object] + $Identity ) } - -function Update-MgBetaDirectoryCustomSecurityAttributeDefinition +function Set-MailboxAutoReplyConfiguration { [CmdletBinding()] param( [Parameter()] - [System.String] - $Description, + [System.Object] + $Identity, [Parameter()] [System.String] - $Name, + $OOFEventSubject, [Parameter()] - [PSObject] - $InputObject, + [System.String] + $DeclineMeetingMessage, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $ExternalAudience, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $DeclineEventsForScheduledOOF, [Parameter()] - [PSObject] - $AllowedValues, + [System.Boolean] + $AutoDeclineFutureRequestsWhenOOF, [Parameter()] - [System.Management.Automation.SwitchParameter] - $UsePreDefinedValuesOnly, + [System.Object] + $AutoReplyState, [Parameter()] - [System.String] - $AttributeSet, + [System.String[]] + $EventsToDeleteIDs, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsSearchable, + [System.DateTime] + $StartTime, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Boolean] + $CreateOOFEvent, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $DeclineAllEventsForScheduledOOF, [Parameter()] - [PSObject] - $BodyParameter, + [System.DateTime] + $EndTime, [Parameter()] [System.String] - $Status, + $InternalMessage, [Parameter()] [System.String] - $Id, - + $ExternalMessage + ) +} +function Set-MailboxCalendarConfiguration +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsCollection, + [System.Int32] + $WeatherLocationBookmark, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $WorkspaceUserEnabled, [Parameter()] - [System.String] - $CustomSecurityAttributeDefinitionId, + [System.Boolean] + $ConversationalSchedulingEnabled, [Parameter()] - [System.String] - $Type, + [System.Boolean] + $HotelEventsFromEmailEnabled, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $SkipAgendaMailOnFreeDays, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $DiningEventsFromEmailEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $Identity, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDirectoryCustomSecurityAttributeDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, + [System.Boolean] + $CreateEventsFromEmailAsPrivate, [Parameter()] [System.String] - $Name, + $CalendarFeedsPreferredLanguage, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Boolean] + $PackageDeliveryEventsFromEmailEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $WorkingHoursTimeZone, [Parameter()] - [PSObject] - $AllowedValues, + [System.Object] + $WeatherLocations, [Parameter()] - [System.Management.Automation.SwitchParameter] - $UsePreDefinedValuesOnly, + [System.Boolean] + $FlightEventsFromEmailEnabled, [Parameter()] - [System.String] - $AttributeSet, + [System.Boolean] + $RentalCarEventsFromEmailEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsSearchable, + [System.Boolean] + $DeleteMeetingRequestOnRespond, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Int32] + $DefaultMeetingDuration, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $ReminderSoundEnabled, [Parameter()] - [System.Uri] - $Proxy, + [System.TimeSpan] + $WorkingHoursEndTime, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $ShortenEventScopeDefault, [Parameter()] - [System.String] - $Status, + [System.Boolean] + $InvoiceEventsFromEmailEnabled, [Parameter()] - [System.String] - $Id, + [System.Boolean] + $UseBrightCalendarColorThemeInOwa, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.TimeSpan] + $DefaultReminderTime, [Parameter()] - [System.String] - $Type, + [System.Object] + $LocationDetailsInFreeBusy, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsCollection, + [System.Object] + $WeatherEnabled, [Parameter()] [System.String] - $ResponseHeadersVariable, + $CalendarFeedsPreferredRegion, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $ServiceAppointmentEventsFromEmailEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $ShowWeekNumbers, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} + [System.Boolean] + $RemindersEnabled, -function Get-MgBetaDirectoryCustomSecurityAttributeDefinition -{ - [CmdletBinding()] - param( [Parameter()] - [System.String[]] - $Property, + [System.Object] + $WeekStartDay, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $FirstWeekOfYear, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Int32] + $DefaultMinutesToReduceShortEventsBy, [Parameter()] - [System.Int32] - $PageSize, + [System.Boolean] + $AgendaMailIntroductionEnabled, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.TimeSpan] + $WorkingHoursStartTime, [Parameter()] - [System.Int32] - $Skip, + [System.String] + $CalendarFeedsRootPageId, + + [Parameter()] + [System.Object] + $DailyAgendaMailSchedule, [Parameter()] [System.Int32] - $Top, + $DefaultMinutesToReduceLongEventsBy, [Parameter()] - [System.String] - $CountVariable, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $AutoDeclineWhenBusy, [Parameter()] - [System.String[]] - $Sort, + [System.Object] + $OnlineMeetingsByDefaultEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Boolean] + $PreserveDeclinedMeetings, [Parameter()] - [System.String] - $Filter, + [System.Object] + $TimeIncrement, [Parameter()] - [System.String] - $CustomSecurityAttributeDefinitionId, + [System.Object] + $WorkDays, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $EntertainmentEventsFromEmailEnabled, [Parameter()] - [System.String] - $Search, + [System.Boolean] + $EventsFromEmailEnabled, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $WeatherUnit, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $DefaultOnlineMeetingProvider, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $MailboxLocation, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $AgendaMailEnabled, [Parameter()] - [PSObject] - $HttpPipelineAppend + [System.Boolean] + $AgendaPaneEnabled ) } - -function Get-AdminDlpPolicy +function Set-MailboxCalendarFolder { [CmdletBinding()] param( [Parameter()] - [System.String] - $PolicyName, + [System.Object] + $SharedCalendarSyncStartDate, [Parameter()] - [System.Object] - $ApiVersion, + [System.Management.Automation.SwitchParameter] + $SetAsSharingSource, [Parameter()] - [System.String] - $Filter, + [System.Boolean] + $SearchableUrlEnabled, [Parameter()] - [System.String] - $CreatedBy - ) -} -function New-AdminDlpPolicy -{ - [CmdletBinding()] - param( + [System.Boolean] + $PublishEnabled, + [Parameter()] - [System.String] - $DisplayName, + [System.Object] + $PublishDateRangeTo, [Parameter()] - [System.String] - $ApiVersion, + [System.Object] + $PublishDateRangeFrom, [Parameter()] - [System.Boolean] - $BlockNonBusinessDataGroup, + [System.Management.Automation.SwitchParameter] + $UseHttps, [Parameter()] - [System.String] - $EnvironmentName, + [System.Management.Automation.SwitchParameter] + $ResetUrl, [Parameter()] - [System.String] - $SchemaVersion + [System.Object] + $DetailLevel, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Set-AdminDlpPolicy +function Set-MailboxFolderPermission { [CmdletBinding()] param( [Parameter()] - [System.String] - $SchemaVersion, - - [Parameter()] - [System.String] - $FilterType, - - [Parameter()] - [System.String] - $EnvironmentName, + [System.Object[]] + $AccessRights, [Parameter()] - [System.String] - $SetNonBusinessDataGroupState, + [System.Object] + $SharingPermissionFlags, [Parameter()] - [System.String] - $DefaultGroup, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $ApiVersion, + [System.Object] + $User, [Parameter()] - [System.String] - $PolicyName, + [System.Object] + $Identity, [Parameter()] - [System.String] - $Environments + [System.Boolean] + $SendNotificationToUser ) } - -function Remove-AdminDlpPolicy +function Set-MailboxIRMAccess { [CmdletBinding()] param( [Parameter()] - [System.String] - $ApiVersion, + [System.Object] + $User, [Parameter()] - [System.String] - $PolicyName, + [System.Object] + $Identity, [Parameter()] - [System.String] - $EnvironmentName + [System.Object] + $AccessLevel ) } - -function New-PowerAppPolicyUrlPatterns +function Set-MailboxPlan { [CmdletBinding()] param( [Parameter()] - [System.String] - $TenantId, + [System.Object] + $IssueWarningQuota, [Parameter()] - [System.String] - $PolicyName, + [System.Object] + $RoleAssignmentPolicy, [Parameter()] [System.Object] - $NewUrlPatterns, + $RetentionPolicy, [Parameter()] - [System.String] - $ApiVersion - ) -} -function Remove-PowerAppPolicyUrlPatterns -{ - [CmdletBinding()] - param( + [System.Object] + $ProhibitSendReceiveQuota, + [Parameter()] - [System.String] - $TenantId, + [System.Object] + $MaxSendSize, [Parameter()] - [System.String] - $PolicyName, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $ApiVersion - ) -} -function Get-PowerAppPolicyUrlPatterns -{ - [CmdletBinding()] - param( + [System.Object] + $ProhibitSendQuota, + [Parameter()] - [System.String] - $TenantId, + [System.Management.Automation.SwitchParameter] + $IsDefault, [Parameter()] - [System.String] - $PolicyName, + [System.Object] + $Identity, [Parameter()] - [System.String] - $ApiVersion - ) -} -function Get-TenantDetailsFromGraph -{ - [CmdletBinding()] - param( + [System.Object] + $RetainDeletedItemsFor, + [Parameter()] - [System.String] - $GraphApiVersion + [System.Object] + $RecipientLimits, + + [Parameter()] + [System.Object] + $MaxReceiveSize, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force ) } -function Remove-PowerAppDlpPolicyConnectorConfigurations +function Set-MailboxRegionalConfiguration { [CmdletBinding()] param( [Parameter()] [System.String] - $TenantId, + $DateFormat, [Parameter()] [System.String] - $PolicyName, + $TimeFormat, [Parameter()] - [System.String] - $ApiVersion - ) -} -function New-PowerAppDlpPolicyConnectorConfigurations -{ - [CmdletBinding()] - param( + [System.Object] + $MailboxLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UseCustomRouting, + [Parameter()] - [System.String] - $TenantId, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $PolicyName, + [System.Management.Automation.SwitchParameter] + $Archive, [Parameter()] - [System.String] - $ApiVersion, + [System.Management.Automation.SwitchParameter] + $LocalizeDefaultFolderName, + + [Parameter()] + [System.Object] + $TimeZone, [Parameter()] [System.Object] - $NewDlpPolicyConnectorConfigurations + $Identity, + + [Parameter()] + [System.Globalization.CultureInfo] + $Language ) } -function Get-PowerAppDlpPolicyConnectorConfigurations +function Set-MailContact { [CmdletBinding()] param( [Parameter()] - [System.String] - $TenantId, + [System.Object] + $WindowsEmailAddress, [Parameter()] - [System.String] - $PolicyName, + [System.Object] + $AcceptMessagesOnlyFromDLMembers, [Parameter()] [System.String] - $ApiVersion - ) -} -#region MgBetaIdentityGovernanceAccessReviewDefinition -function Get-MgBetaIdentityGovernanceAccessReviewDefinition -{ - [CmdletBinding()] - param - ( + $CustomAttribute10, + [Parameter()] - [System.String] - $AccessReviewScheduleDefinitionId, + [System.Boolean] + $RequireSenderAuthenticationEnabled, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $ModerationEnabled, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $ExtensionCustomAttribute4, [Parameter()] - [System.String[]] - $Property, + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $MacAttachmentFormat, [Parameter()] [System.String] - $Filter, + $CustomAttribute8, [Parameter()] [System.String] - $Search, + $DisplayName, [Parameter()] - [System.Int32] - $Skip, + [System.String] + $CustomAttribute3, [Parameter()] - [System.String[]] - $Sort, + [System.Object] + $RejectMessagesFromSendersOrMembers, [Parameter()] - [System.Int32] - $Top, + [System.Object] + $MailTipTranslations, [Parameter()] [System.String] - $ResponseHeadersVariable, + $CustomAttribute7, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $UseMapiRichTextFormat, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String] + $CustomAttribute5, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $AcceptMessagesOnlyFromSendersOrMembers, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $HiddenFromAddressListsEnabled, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $CustomAttribute6, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $UsePreferMessageFormat, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.String] + $CustomAttribute1, [Parameter()] - [System.Int32] - $PageSize, + [System.Object] + $BypassModerationFromSendersOrMembers, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.String] + $CustomAttribute11, [Parameter()] [System.String] - $CountVariable - ) -} + $CustomAttribute13, -function New-MgBetaIdentityGovernanceAccessReviewDefinition -{ - [CmdletBinding()] - param - ( [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $ModeratedBy, [Parameter()] [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [PSObject[]] - $AdditionalNotificationRecipients, + $CustomAttribute14, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.String] + $MailTip, [Parameter()] - [PSObject[]] - $BackupReviewers, + [System.Object] + $MessageBodyFormat, [Parameter()] - [PSObject] - $CreatedBy, + [System.Object] + $AcceptMessagesOnlyFrom, [Parameter()] - [System.DateTime] - $CreatedDateTime, + [System.Object] + $ExtensionCustomAttribute3, [Parameter()] [System.String] - $DescriptionForAdmins, + $CustomAttribute15, [Parameter()] - [System.String] - $DescriptionForReviewers, + [System.Object] + $RejectMessagesFrom, [Parameter()] - [System.String] - $DisplayName, + [System.Object] + $UserSMimeCertificate, [Parameter()] - [PSObject[]] - $FallbackReviewers, + [System.Object] + $ExtensionCustomAttribute1, [Parameter()] - [System.String] - $Id, + [System.Object] + $MessageFormat, [Parameter()] - [System.Collections.Hashtable] - $InstanceEnumerationScope, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $Instances, + [System.Object] + $ExtensionCustomAttribute5, [Parameter()] - [System.DateTime] - $LastModifiedDateTime, + [System.Object] + $ExternalEmailAddress, [Parameter()] - [PSObject[]] - $Reviewers, + [System.String] + $CustomAttribute4, [Parameter()] - [System.Collections.Hashtable] - $Scope, + [System.Object] + $ExtensionCustomAttribute2, [Parameter()] - [PSObject] - $Settings, + [System.String] + $CustomAttribute9, [Parameter()] - [PSObject[]] - $StageSettings, + [System.Object] + $RejectMessagesFromDLMembers, [Parameter()] [System.String] - $Status, + $Alias, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.String] + $SimpleDisplayName, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String] + $CustomAttribute2, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $UserCertificate, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $SendModerationNotifications, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $Name, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $EmailAddresses, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $ForceUpgrade, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Object] + $GrantSendOnBehalfTo, + + [Parameter()] + [System.String] + $CustomAttribute12 ) } - -function Remove-MgBetaIdentityGovernanceAccessReviewDefinition +function Set-MalwareFilterPolicy { [CmdletBinding()] - param - ( + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $MakeDefault, + [Parameter()] [System.String] - $AccessReviewScheduleDefinitionId, + $CustomFromName, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $Identity, [Parameter()] [System.String] - $ResponseHeadersVariable, + $AdminDisplayName, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.String] + $CustomExternalBody, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String] + $QuarantineTag, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $CustomNotifications, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $EnableExternalSenderAdminNotifications, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Object] + $InternalSenderAdminAddress, [Parameter()] - [System.Uri] - $Proxy, + [System.String[]] + $FileTypes, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $EnableInternalSenderAdminNotifications, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $CustomFromAddress, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} + [System.Boolean] + $IsPolicyOverrideApplied, -function Set-MgBetaIdentityGovernanceAccessReviewDefinition -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $AccessReviewScheduleDefinitionId, + [System.Boolean] + $ZapEnabled, [Parameter()] - [PSObject] - $InputObject, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $ExternalSenderAdminAddress, [Parameter()] [System.String] - $ResponseHeadersVariable, - - [Parameter()] - [PSObject[]] - $AdditionalNotificationRecipients, + $CustomExternalSubject, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $FileTypeAction, [Parameter()] - [PSObject[]] - $BackupReviewers, + [System.String] + $CustomInternalSubject, [Parameter()] - [PSObject] - $CreatedBy, + [System.String] + $CustomInternalBody, [Parameter()] - [System.DateTime] - $CreatedDateTime, - + [System.Boolean] + $EnableFileFilter + ) +} +function Set-MalwareFilterRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $DescriptionForAdmins, + [System.Int32] + $Priority, [Parameter()] [System.String] - $DescriptionForReviewers, + $Name, [Parameter()] - [System.String] - $DisplayName, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [PSObject[]] - $FallbackReviewers, + [System.Object[]] + $SentTo, [Parameter()] [System.String] - $Id, + $Comments, [Parameter()] - [System.Collections.Hashtable] - $InstanceEnumerationScope, + [System.Object[]] + $RecipientDomainIs, [Parameter()] - [PSObject[]] - $Instances, + [System.Object] + $Identity, [Parameter()] - [System.DateTime] - $LastModifiedDateTime, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [PSObject[]] - $Reviewers, + [System.Object] + $MalwareFilterPolicy, [Parameter()] - [System.Collections.Hashtable] - $Scope, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] - [PSObject] - $Settings, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $StageSettings, + [System.Object[]] + $ExceptIfSentToMemberOf + ) +} +function Set-ManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $RecipientGroupScope, [Parameter()] - [System.String] - $Status, + [System.Object] + $CustomRecipientWriteScope, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $RecipientAdministrativeUnitScope, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ExclusiveRecipientWriteScope, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $CustomResourceScope, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $Identity, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $RecipientOrganizationalUnitScope, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $Enabled, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, + + [Parameter()] + [System.Object] + $RecipientRelativeWriteScope, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm + $Force ) } - -function Stop-MgBetaIdentityGovernanceAccessReviewDefinition +function Set-ManagementRoleEntry { [CmdletBinding()] - param - ( + param( [Parameter()] - [System.String] - $AccessReviewScheduleDefinitionId, + [System.String[]] + $Parameters, [Parameter()] - [PSObject] - $InputObject, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $RemoveParameter, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Management.Automation.SwitchParameter] + $AddParameter, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, - + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Set-ManagementScope +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $RecipientRoot, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.String] + $Name, [Parameter()] - [System.Uri] - $Proxy, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.String] + $RecipientRestrictionFilter, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm + $Force ) } - -#endregion - -function Invoke-PnPSPRestMethod +function Set-MessageClassification { [CmdletBinding()] param( [Parameter()] [System.String] - $Method, + $SenderDescription, [Parameter()] [System.String] - $Url, + $DisplayName, [Parameter()] - [System.Object] - $Content - ) -} -#region MgBetaNetworkAccessForwardingProfile -function Get-MgBetaNetworkAccessForwardingProfile -{ - [CmdletBinding()] - param - ( + [System.String] + $RecipientDescription, + [Parameter()] [System.String] - $ForwardingProfileId, + $Name, [Parameter()] - [PSObject] - $InputObject, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Boolean] + $PermissionMenuVisible, [Parameter()] - [System.String[]] - $Property, + [System.Object] + $Identity, [Parameter()] - [System.String] - $Filter, + [System.Guid] + $ClassificationID, [Parameter()] - [System.String] - $Search, + [System.Object] + $DisplayPrecedence, [Parameter()] - [System.Int32] - $Skip, + [System.Boolean] + $RetainClassificationEnabled + ) +} +function Set-MigrationBatch +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Byte[]] + $CSVData, [Parameter()] - [System.String[]] - $Sort, + [System.Object] + $ReportInterval, [Parameter()] - [System.Int32] - $Top, + [System.Object] + $Identity, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $MoveOptions, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $Update, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $NotificationEmails, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $SkipReports, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Management.Automation.SwitchParameter] + $ApproveSkippedItems, [Parameter()] - [System.Uri] - $Proxy, + [System.Management.Automation.SwitchParameter] + $SyncNow, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $SkipMerging, + + [Parameter()] + [System.Object] + $SkipMoving, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $AddUsers, [Parameter()] - [System.Int32] - $PageSize, + [System.Object] + $CompleteAfter, + + [Parameter()] + [System.Object] + $Partition, [Parameter()] [System.Management.Automation.SwitchParameter] - $All, + $Confirm, [Parameter()] - [System.String] - $CountVariable + [System.Object] + $BadItemLimit, + + [Parameter()] + [System.Boolean] + $AllowUnknownColumnsInCSV, + + [Parameter()] + [System.Object] + $StartAfter, + + [Parameter()] + [System.Object] + $LargeItemLimit ) } - -function Update-MgBetaNetworkAccessForwardingProfile +function Set-MigrationEndpoint { [CmdletBinding()] - param - ( + param( [Parameter()] - [System.String] - $ForwardingProfileId, + [System.Object] + $Identity, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $AcceptUntrustedCertificates, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $MaxConcurrentMigrations, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Byte[]] + $ServiceAccountKeyFileData, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $TestMailbox, [Parameter()] - [PSObject[]] - $Associations, + [System.String] + $ExchangeServer, [Parameter()] - [System.String] - $Description, + [System.Management.Automation.SwitchParameter] + $SkipVerification, + + [Parameter()] + [System.Object] + $Authentication, [Parameter()] [System.String] - $Id, + $AppSecretKeyVaultUrl, [Parameter()] - [System.DateTime] - $LastModifiedDateTime, + [System.Object] + $Port, [Parameter()] [System.String] - $Name, + $ApplicationId, [Parameter()] - [PSObject[]] - $Policies, + [System.Object] + $RemoteServer, [Parameter()] - [System.Int32] - $Priority, + [System.Object] + $Partition, [Parameter()] - [PSObject] - $ServicePrincipal, + [System.Object] + $MailboxPermission, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.String] - $State, + $SourceMailboxLegacyDN, [Parameter()] [System.String] - $TrafficForwardingType, + $NspiServer, + + [Parameter()] + [System.Object] + $RPCProxyServer, [Parameter()] [System.String] - $Version, + $PublicFolderDatabaseServerLegacyDN, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $Security, + + [Parameter()] + [System.Object] + $MaxConcurrentIncrementalSyncs, + + [Parameter()] + [System.Management.Automation.PSCredential] + $Credentials + ) +} +function Set-MobileDeviceMailboxPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowMicrosoftPushNotifications, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $AllowUnsignedApplications, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $AllowUnsignedInstallationPackages, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $AllowExternalDeviceManagement, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $AllowIrDA, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $AllowStorageCard, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Int32] + $PasswordHistory, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} + [System.Boolean] + $AllowNonProvisionableDevices, -#endregion + [Parameter()] + [System.Object] + $UnapprovedInROMApplicationList, -#region MgBetaNetworkAccessForwardingPolicy -function Get-MgBetaNetworkAccessForwardingPolicy -{ - [CmdletBinding()] - param( [Parameter()] - [System.String] - $ForwardingPolicyId, + [System.Boolean] + $RequireEncryptedSMIMEMessages, [Parameter()] - [System.String[]] - $Property, + [System.Boolean] + $RequireDeviceEncryption, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $AllowInternetSharing, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $PasswordEnabled, [Parameter()] - [System.Int32] - $PageSize, + [System.Object] + $RequireSignedSMIMEAlgorithm, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $MaxEmailHTMLBodyTruncationSize, [Parameter()] [System.Int32] - $Skip, + $MinPasswordComplexCharacters, [Parameter()] - [System.Int32] - $Top, + [System.Boolean] + $UNCAccessEnabled, [Parameter()] - [System.String] - $CountVariable, + [System.Boolean] + $AllowCamera, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $IrmEnabled, [Parameter()] - [System.String[]] - $Sort, + [System.Object] + $PasswordExpiration, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Boolean] + $AllowBrowser, [Parameter()] - [System.String] - $Filter, + [System.Object] + $MaxEmailAgeFilter, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $RequireManualSyncWhenRoaming, [Parameter()] - [System.String] - $Search, + [System.Boolean] + $AlphanumericPasswordRequired, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $AllowSMIMEEncryptionAlgorithmNegotiation, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $DeviceEncryptionEnabled, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $MaxEmailBodyTruncationSize, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $AllowBluetooth, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaNetworkAccessForwardingPolicyRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $ForwardingPolicyId, + [System.Boolean] + $WSSAccessEnabled, [Parameter()] - [System.String] - $Name, + [System.Object] + $RequireEncryptionSMIMEAlgorithm, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $DevicePolicyRefreshInterval, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $AllowGooglePushNotifications, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Boolean] + $AllowMobileOTAUpdate, [Parameter()] - [PSObject] - $InputObject, + [System.String] + $Name, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $MaxAttachmentSize, [Parameter()] - [PSObject] - $BodyParameter, + [System.Boolean] + $AllowSimplePassword, [Parameter()] - [System.String] - $Id, + [System.Boolean] + $AllowConsumerEmail, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $AllowDesktopSync, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $PasswordRecoveryEnabled, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $RequireStorageCardEncryption, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $Confirm, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $AllowSMIMESoftCerts, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaNetworkAccessForwardingPolicyRule -{ - [CmdletBinding()] - param( + [System.Boolean] + $AllowRemoteDesktop, + [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $AttachmentsEnabled, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $MaxCalendarAgeFilter, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $AllowWiFi, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $AllowApplePushNotifications, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Boolean] + $AllowPOPIMAPEmail, [Parameter()] - [System.String] - $ForwardingPolicyId, + [System.Boolean] + $IsDefault, [Parameter()] - [System.String] - $IfMatch, + [System.Object] + $MaxInactivityTimeLock, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $ApprovedApplicationList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $AllowTextMessaging, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Object] + $MaxPasswordFailedAttempts, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $RequireSignedSMIMEMessages, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $MinPasswordLength, [Parameter()] - [System.String] - $PolicyRuleId, + [System.Boolean] + $AllowHTMLEmail, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break + [System.Object] + $Identity ) } -#endregion - -#region MgBetaNetworkAccessForwardingProfilePolicy -function Get-MgBetaNetworkAccessForwardingProfilePolicy +function Set-OfflineAddressBook { [CmdletBinding()] - param - ( + param( [Parameter()] [System.String] - $ForwardingProfileId, + $Name, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $Versions, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $Schedule, [Parameter()] - [System.String[]] - $Property, + [System.Management.Automation.SwitchParameter] + $ApplyMandatoryProperties, [Parameter()] - [System.String] - $Filter, + [System.Boolean] + $ZipOabFilesBeforeUploading, [Parameter()] - [System.String] - $Search, + [System.Management.Automation.SwitchParameter] + $UpgradeFromE14, [Parameter()] - [System.Int32] - $Skip, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String[]] - $Sort, + [System.Int32] + $FullOabDownloadPreventionThreshold, [Parameter()] - [System.Int32] - $Top, + [System.Object] + $Identity, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $DiffRetentionPeriod, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object[]] + $AddressLists, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ConfiguredAttributes, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Management.Automation.SwitchParameter] + $UseDefaultAttributes, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $IsDefault + ) +} +function Set-OMEConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Double] + $ExternalMailExpiryInDays, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $ReadButtonText, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.String] + $PortalText, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Byte[]] + $Image, [Parameter()] - [System.Int32] - $PageSize, + [System.String] + $IntroductionText, [Parameter()] [System.Management.Automation.SwitchParameter] - $All, + $Confirm, [Parameter()] [System.String] - $CountVariable - ) -} + $BackgroundColor, -function Update-MgBetaNetworkAccessForwardingProfilePolicy -{ - [CmdletBinding()] - param - ( [Parameter()] [System.String] - $ForwardingProfileId, + $DisclaimerText, [Parameter()] [System.String] - $PolicyLinkId , - - [Parameter()] - [PSObject] - $InputObject, + $PrivacyStatementUrl, [Parameter()] - [PSObject] - $BodyParameter, + [System.Boolean] + $SocialIdSignIn, [Parameter()] [System.String] - $ResponseHeadersVariable, + $EmailText, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Boolean] + $OTPEnabled, [Parameter()] - [System.String] - $Id, + [System.Object] + $Identity + ) +} +function Set-OnPremisesOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $InboundConnector, [Parameter()] - [System.String] - $State, + [System.Object] + $OutboundConnector, [Parameter()] [System.String] - $Version, + $OrganizationName, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $Confirm, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String] + $Comment, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $Identity, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $OrganizationRelationship, [Parameter()] - [System.Uri] - $Proxy, - + [System.Object] + $HybridDomains + ) +} +function Set-Organization +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $UnifiedAuditLogIngestionEnabled, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm + $Force ) } - -#endregion - -#region MgBetaIdentityB2XUserFlow -function Get-MgBetaIdentityB2XUserFlow +function Set-OrganizationConfig { [CmdletBinding()] - param - ( - [Parameter()] - [System.String] - $B2XIdentityUserFlowId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - + param( [Parameter()] - [System.String] - $Filter, + [System.Boolean] + $BookingsSearchEngineIndexDisabled, [Parameter()] - [System.String] - $Search, + [System.Object] + $EwsAllowMacOutlook, [Parameter()] [System.Int32] - $Skip, + $RequiredCharsetCoverage, [Parameter()] - [System.String[]] - $Sort, + [System.Boolean] + $PublicComputersDetectionEnabled, [Parameter()] - [System.Int32] - $Top, + [System.Boolean] + $MaskClientIpInReceivedHeadersEnabled, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $OAuth2ClientProfileEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $DefaultPublicFolderProhibitPostQuota, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $EnableOutlookEvents, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $OutlookGifPickerDisabled, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.String] + $VisibleMeetingUpdateProperties, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $EwsEnabled, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $DefaultPublicFolderIssueWarningQuota, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $RefreshSessionEnabled, [Parameter()] - [System.Int32] - $PageSize, + [System.Boolean] + $IsGroupFoldersAndRulesEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Boolean] + $WebSuggestedRepliesDisabled, [Parameter()] - [System.String] - $CountVariable - ) -} + [System.Boolean] + $ReadTrackingEnabled, -function New-MgBetaIdentityB2XUserFlow -{ - [CmdletBinding()] - param - ( [Parameter()] - [PSObject] - $BodyParameter, + [System.Boolean] + $BookingsExposureOfStaffDetailsRestricted, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $MessageRecallEnabled, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Boolean] + $ExchangeNotificationEnabled, [Parameter()] - [PSObject] - $ApiConnectorConfiguration, + [System.Boolean] + $AutoEnableArchiveMailbox, [Parameter()] - [System.String] - $Id, + [System.Boolean] + $WorkspaceTenantEnabled, [Parameter()] - [PSObject[]] - $IdentityProviders, + [System.Object] + $DistributionGroupDefaultOU, [Parameter()] - [PSObject[]] - $Languages, + [System.Boolean] + $BookingsSocialSharingRestricted, [Parameter()] - [PSObject[]] - $UserAttributeAssignments, + [System.Int32] + $DefaultMinutesToReduceLongEventsBy, [Parameter()] - [PSObject[]] - $UserFlowIdentityProviders, + [System.Boolean] + $MessageRecallAlertRecipientsEnabled, [Parameter()] - [System.String] - $UserFlowType, + [System.Object] + $EwsAllowList, [Parameter()] - [System.Single] - $UserFlowTypeVersion, + [System.Boolean] + $BookingsAuthEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $AcceptedDomainApprovedSendersEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $AutomaticForcedReadReceiptEnabled, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $OnlineMeetingsByDefaultEnabled, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.String] + $BookingsNamingPolicyPrefix, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $FindTimeLockPollForAttendeesEnabled, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $BookingsNamingPolicyPrefixEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $ConnectorsEnabledForSharepoint, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} + [System.Object] + $EwsBlockList, -function Remove-MgBetaIdentityB2XUserFlow -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $B2XIdentityUserFlowId, + [System.Object] + $EwsAllowOutlook, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $OutlookMobileSingleAccountEnabled, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $ActivityBasedAuthenticationTimeoutInterval, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $LinkPreviewEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $DefaultPublicFolderDeletedItemRetention, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $MailTipsAllTipsEnabled, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $DistributionGroupNameBlockedWordsList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Boolean] + $ConnectorsEnabledForTeams, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $EndUserDLUpgradeFlowsDisabled, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $MessageRecallMaxRecallableAge, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $FocusedInboxOn, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} + [System.Object] + $DefaultPublicFolderAgeLimit, -function Update-MgBetaIdentityB2XUserFlow -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $B2XIdentityUserFlowId, + [System.Boolean] + $EnableForwardingAddressSyncForMailboxes, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $DefaultGroupAccessType, [Parameter()] - [PSObject] - $BodyParameter, + [System.Boolean] + $BlockMoveMessagesForGroupFolders, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $FindTimeAutoScheduleDisabled, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject] - $ApiConnectorConfiguration, + [System.Uri] + $SiteMailboxCreationURL, [Parameter()] - [System.String] - $Id, + [System.Boolean] + $ConnectorsEnabledForOutlook, [Parameter()] - [PSObject[]] - $IdentityProviders, + [System.UInt32] + $MailTipsLargeAudienceThreshold, [Parameter()] - [PSObject[]] - $Languages, + [System.Boolean] + $DirectReportsGroupAutoCreationEnabled, [Parameter()] - [PSObject[]] - $UserAttributeAssignments, + [System.Boolean] + $TenantAdminNotificationForDelayedDelicensingEnabled, [Parameter()] - [PSObject[]] - $UserFlowIdentityProviders, + [System.Boolean] + $MessageRemindersEnabled, [Parameter()] - [System.String] - $UserFlowType, + [System.Boolean] + $PublicFolderShowClientControl, [Parameter()] - [System.Single] - $UserFlowTypeVersion, + [System.Boolean] + $AppsForOfficeEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $UnblockUnsafeSenderPromptEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $ConnectorsActionableMessagesEnabled, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Int32] + $DefaultMinutesToReduceShortEventsBy, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $CalendarVersionStoreEnabled, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $RemotePublicFolderMailboxes, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $EndUserMailNotificationForDelayedDelicensingEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $BookingsBlockedWordsEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -#endregion + [System.Boolean] + $FindTimeOnlineMeetingOptionDisabled, -#region MgBetaIdentityB2XUserFlowApiConnectorConfiguration -function Get-MgBetaIdentityB2XUserFlowApiConnectorConfiguration -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $B2XIdentityUserFlowId, + [System.Object] + $HierarchicalAddressBookRoot, [Parameter()] - [System.String[]] - $ExpandProperty - ) -} + [System.Boolean] + $AsyncSendEnabled, -function Set-MgBetaIdentityB2XUserFlowPostFederationSignupByRef -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $B2XIdentityUserFlowId, + [System.Boolean] + $HybridRSVPEnabled, [Parameter()] - [PSObject] - $BodyParameter - ) -} + [System.Boolean] + $ConnectorsEnabled, -function Set-MgBetaIdentityB2XUserFlowPostAttributeCollectionByRef -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $B2XIdentityUserFlowId, + [System.Boolean] + $PerTenantSwitchToESTSEnabled, [Parameter()] - [PSObject] - $BodyParameter - ) -} -#endregion + [System.Int32] + $PreferredInternetCodePageForShiftJis, -#region MgBetaIdentityB2XUserFlowUserAttributeAssignment -function Get-MgBetaIdentityB2XUserFlowUserAttributeAssignment -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $B2XIdentityUserFlowId, + [System.Boolean] + $BookingsPhoneNumberEntryRestricted, [Parameter()] - [System.String[]] - $ExpandProperty - ) -} + [System.Boolean] + $MobileAppEducationEnabled, -function New-MgBetaIdentityB2XUserFlowUserAttributeAssignment -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $B2XIdentityUserFlowId, + [System.Boolean] + $BookingsNamingPolicyEnabled, [Parameter()] - [PSObject] - $BodyParameter - ) -} + [System.Boolean] + $ActivityBasedAuthenticationTimeoutEnabled, -function Update-MgBetaIdentityB2XUserFlowUserAttributeAssignment -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $B2XIdentityUserFlowId, + [System.Boolean] + $BookingsAddressEntryRestricted, [Parameter()] - [System.String] - $IdentityUserFlowAttributeAssignmentId, + [System.Boolean] + $RejectDirectSend, [Parameter()] - [PSObject] - $BodyParameter - ) -} + [System.Boolean] + $BookingsSmsMicrosoftEnabled, -function Remove-MgBetaIdentityB2XUserFlowUserAttributeAssignment -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $B2XIdentityUserFlowId, + [System.Boolean] + $BookingsEnabled, [Parameter()] - [System.String] - $IdentityUserFlowAttributeAssignmentId - ) -} + [System.Object] + $ExchangeNotificationRecipients, -#endregion + [Parameter()] + [System.Object] + $EwsAllowEntourage, -#region MgBetaIdentityB2XUserFlowIdentityProvider -function Get-MgBetaIdentityB2XUserFlowIdentityProvider -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $B2XIdentityUserFlowId, + [System.Boolean] + $IsAgendaMailEnabled, [Parameter()] - [System.String[]] - $ExpandProperty - ) -} + [System.Boolean] + $BookingsMembershipApprovalRequired, -function New-MgBetaIdentityB2XUserFlowIdentityProviderByRef -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $B2XIdentityUserFlowId, + [System.Boolean] + $CustomerLockboxEnabled, [Parameter()] - [PSObject] - $BodyParameter - ) -} + [System.Boolean] + $OutlookPayEnabled, -function Remove-MgBetaIdentityB2XUserFlowIdentityProviderByRef -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $B2XIdentityUserFlowId, + [System.Boolean] + $MessageRecallAlertRecipientsReadMessagesOnlyEnabled, [Parameter()] - [System.String] - $IdentityProviderBaseId - ) -} -#endregion + [System.Boolean] + $MailTipsMailboxSourcedTipsEnabled, -function Get-MgBetaIdentityApiConnector -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $IdentityApiConnectorId, + [System.Boolean] + $OutlookTextPredictionDisabled, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $DefaultPublicFolderMaxItemSize, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $PublicFoldersEnabled, [Parameter()] - [System.String[]] - $Property, + [System.Boolean] + $SendFromAliasEnabled, [Parameter()] - [System.String] - $Filter, + [System.Object] + $IPListBlocked, [Parameter()] - [System.String] - $Search, + [System.Boolean] + $ActivityBasedAuthenticationTimeoutWithSingleSignOnEnabled, [Parameter()] - [System.Int32] - $Skip, + [System.Boolean] + $IsGroupMemberAllowedToEditContent, [Parameter()] - [System.String[]] - $Sort, + [System.Boolean] + $EwsOperationAccessPolicyEnabled, [Parameter()] - [System.Int32] - $Top, + [System.Boolean] + $DisablePlusAddressInRecipients, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $OutlookMobileGCCRestrictionsEnabled, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $AutoExpandingArchive, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $RecallReadMessagesEnabled, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $SharedDomainEmailAddressFlowEnabled, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $ShortenEventScopeDefault, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $DelayedDelicensingEnabled, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $MailTipsGroupMetricsEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $SmtpActionableMessagesEnabled, [Parameter()] - [System.Int32] - $PageSize, + [System.Boolean] + $BookingsNamingPolicySuffixEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Boolean] + $AutodiscoverPartialDirSync, [Parameter()] - [System.String] - $CountVariable - ) -} -#region MgBetaOrganizationCertificateBasedAuthConfiguration -function Get-MgBetaOrganizationCertificateBasedAuthConfiguration -{ - [CmdletBinding()] - param - ( + [System.Boolean] + $BookingsCreationOfCustomQuestionsRestricted, + [Parameter()] - [System.String] - $CertificateBasedAuthConfigurationId, + [System.Boolean] + $AuditDisabled, [Parameter()] - [System.String] - $OrganizationId, + [System.Boolean] + $FindTimeAttendeeAuthenticationEnabled, [Parameter()] - [PSObject] - $InputObject, + [System.String] + $BookingsNamingPolicySuffix, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $DistributionGroupNamingPolicy, [Parameter()] - [System.String[]] - $Property, + [System.Boolean] + $ComplianceMLBgdCrawlEnabled, [Parameter()] - [System.String] - $Filter, + [System.Boolean] + $BookingsPaymentsEnabled, [Parameter()] - [System.String] - $Search, + [System.Boolean] + $OutlookMobileHelpShiftEnabled, [Parameter()] - [System.Int32] - $Skip, + [System.Boolean] + $PostponeRoamingSignaturesUntilLater, [Parameter()] - [System.String[]] - $Sort, + [System.Boolean] + $MailTipsExternalRecipientsTipsEnabled, [Parameter()] - [System.Int32] - $Top, + [System.Boolean] + $BookingsNotesEntryRestricted, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $MatchSenderOrganizerProperties, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $EwsApplicationAccessPolicy, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $MessageHighlightsEnabled, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $ElcProcessingDisabled, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $WebPushNotificationsDisabled, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $DefaultPublicFolderMovedItemRetention, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $LeanPopoutEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $DefaultAuthenticationPolicy, [Parameter()] - [System.Int32] - $PageSize, + [System.String] + $EwsOperationAccessPolicyAllowList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Int32] + $ByteEncoderTypeFor7BitCharsets, [Parameter()] - [System.String] - $CountVariable + [System.Boolean] + $ConnectorsEnabledForYammer ) } - -function New-MgBetaOrganizationCertificateBasedAuthConfiguration +function Set-OrganizationRelationship { [CmdletBinding()] - param - ( + param( [Parameter()] - [System.String] - $OrganizationId, + [System.Object] + $MailboxMovePublishedScopes, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $MailTipsAccessLevel, [Parameter()] - [PSObject] - $BodyParameter, + [System.String] + $OAuthApplicationId, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $MailTipsAccessScope, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $CertificateAuthorities, + [System.Object] + $MailboxMoveCapability, [Parameter()] - [System.String] - $Id, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $DeliveryReportEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $MailTipsAccessEnabled + ) +} +function Set-OutboundConnector +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $RouteAllMessagesViaOnPremises, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $RecipientDomains, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $CloudServicesMailEnabled, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $Enabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.String] + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} + [System.Boolean] + $AllAcceptedDomains, -function Remove-MgBetaOrganizationCertificateBasedAuthConfiguration -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $CertificateBasedAuthConfigurationId, + [System.Boolean] + $TestMode, [Parameter()] [System.String] - $OrganizationId, + $Comment, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $IsTransportRuleScoped, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $IsValidated, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $UseMXRecord, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $LastValidationTimestamp, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $TlsSettings, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.String[]] + $ValidationRecipients, [Parameter()] [System.Management.Automation.SwitchParameter] - $PassThru, + $Confirm, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $ConnectorType, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $SmartHosts, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $SenderRewritingEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Object] + $TlsDomain, + + [Parameter()] + [System.Object] + $ConnectorSource ) } - -function Update-MgBetaIdentityApiConnector +function Set-OwaMailboxPolicy { [CmdletBinding()] param( [Parameter()] - [System.String] - $DisplayName, + [System.Int32] + $DefaultClientLanguage, [Parameter()] - [System.Collections.Hashtable] - $AuthenticationConfiguration, + [System.Boolean] + $ContactsEnabled, [Parameter()] - [System.String] - $IdentityApiConnectorId, + [System.Boolean] + $PersonalAccountCalendarsEnabled, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Boolean] + $MessagePreviewsDisabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $ExplicitLogonEnabled, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Boolean] + $ShowOnlineArchiveEnabled, [Parameter()] - [System.String] - $TargetUrl, + [System.Object] + $BlockedFileTypes, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $NpsSurveysEnabled, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $LinkedInEnabled, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $ConditionalAccessPolicy, [Parameter()] - [System.String] - $Id, + [System.String[]] + $AllowedOrganizationAccountDomains, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $ChangePasswordEnabled, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $SignaturesEnabled, [Parameter()] [System.String] - $ResponseHeadersVariable, + $BookingsMailboxDomain, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $WeatherEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $WacViewingOnPublicComputersEnabled, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} + [System.Boolean] + $OutlookBetaToggleEnabled, -function New-MgBetaIdentityApiConnector -{ - [CmdletBinding()] - param( [Parameter()] - [System.String] - $DisplayName, + [System.Boolean] + $SMimeSuppressNameChecksEnabled, [Parameter()] - [System.Collections.Hashtable] - $AuthenticationConfiguration, + [System.Object] + $ActionForUnknownFileAndMIMETypes, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.String] + $ExternalSPMySiteHostURL, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $OfflineEnabledWeb, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $HideClassicOutlookToggleOut, [Parameter()] - [System.String] - $TargetUrl, + [System.Boolean] + $JournalEnabled, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $CalendarEnabled, [Parameter()] - [PSObject] - $BodyParameter, + [System.Boolean] + $SpellCheckerEnabled, [Parameter()] - [System.String] - $Id, + [System.Boolean] + $DisplayPhotosEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $TasksEnabled, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $GroupCreationEnabled, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $ForceSaveFileTypes, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $OutlookNewslettersAccessLevel, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ChangeSettingsAccountEnabled, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} + [System.Object] + $AdditionalAccountsEnabled, -function Remove-MgBetaIdentityApiConnector -{ - [CmdletBinding()] - param( [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $TeamsnapCalendarsEnabled, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Boolean] + $WacViewingOnPrivateComputersEnabled, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $TextMessagingEnabled, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $SearchFoldersEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Boolean] + $UserVoiceEnabled, [Parameter()] - [System.String] - $IfMatch, + [System.Boolean] + $ForceWacViewingFirstOnPublicComputers, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $GlobalAddressListEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $IRMEnabled, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Boolean] + $DirectFileAccessOnPublicComputersEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $WacOMEXEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $DirectFileAccessOnPrivateComputersEnabled, [Parameter()] - [System.String] - $IdentityApiConnectorId, + [System.Object] + $OutlookNewslettersReactions, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} + [System.Boolean] + $OfflineEnabledWin, -function Invoke-MgBetaUploadIdentityApiConnectorClientCertificate -{ - [CmdletBinding()] - param( [Parameter()] - [System.String] - $Password, + [System.Object] + $ItemsToOtherAccountsEnabled, [Parameter()] - [System.String] - $IdentityApiConnectorId, + [System.Boolean] + $WSSAccessOnPublicComputersEnabled, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $ForceSaveMimeTypes, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $OnSendAddinsEnabled, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Boolean] + $WacExternalServicesEnabled, [Parameter()] [System.String] - $Pkcs12Value, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Uri] - $Proxy, + $InternalSPMySiteHostURL, [Parameter()] - [PSObject] - $BodyParameter, + [System.Boolean] + $RemindersAndNotificationsEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $SatisfactionEnabled, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $OWALightEnabled, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $InstantMessagingType, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $OutlookDataFile, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $AccountTransferEnabled, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} + [System.Object] + $PersonalAccountsEnabled, -#endregion -#region MgBetaPolicyHomeRealmDiscoveryPolicy -function Get-MgBetaPolicyHomeRealmDiscoveryPolicy -{ - [CmdletBinding()] - param - ( [Parameter()] [System.String] - $HomeRealmDiscoveryPolicyId, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, + $DefaultTheme, [Parameter()] - [System.String] - $Filter, + [System.Boolean] + $SetPhotoEnabled, [Parameter()] - [System.String] - $Search, + [System.Boolean] + $ClassicAttachmentsEnabled, [Parameter()] - [System.Int32] - $Skip, + [System.Boolean] + $AllowCopyContactsToDeviceAddressBook, [Parameter()] - [System.String[]] - $Sort, + [System.Object] + $AllowedMimeTypes, [Parameter()] - [System.Int32] - $Top, + [System.Object] + $OutlookNewslettersShowMore, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $OutboundCharset, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $LocalEventsEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $ReportJunkEmailEnabled, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $UseISO885915, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $ForceWacViewingFirstOnPrivateComputers, [Parameter()] - [System.Uri] - $Proxy, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $UMIntegrationEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $NotesEnabled, [Parameter()] - [System.Int32] - $PageSize, + [System.Boolean] + $OrganizationEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Object] + $WebPartsFrameOptionsType, [Parameter()] [System.String] - $CountVariable - ) -} + $SetPhotoURL, -function New-MgBetaPolicyHomeRealmDiscoveryPolicy -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, + [System.Boolean] + $WacEditingEnabled, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $PublicFoldersEnabled, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Boolean] + $BookingsMailboxCreationEnabled, [Parameter()] - [PSObject[]] - $AppliesTo, + [System.Boolean] + $ForceSaveAttachmentFilteringEnabled, [Parameter()] - [System.String[]] - $Definition, + [System.Int32] + $LogonAndErrorLanguage, [Parameter()] - [System.DateTime] - $DeletedDateTime, + [System.Boolean] + $WSSAccessOnPrivateComputersEnabled, [Parameter()] - [System.String] - $Description, + [System.Boolean] + $AllAddressListsEnabled, [Parameter()] - [System.String] - $DisplayName, + [System.Boolean] + $EmptyStateEnabled, [Parameter()] - [System.String] - $Id, + [System.Boolean] + $ProjectMocaEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, + [System.Boolean] + $DelegateAccessEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $PremiumClientEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $BlockedMimeTypes, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $PlacesEnabled, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $FeedbackEnabled, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $SilverlightEnabled, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $RecoverDeletedItemsEnabled, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $IsDefault, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} + [System.Boolean] + $UseGB18030, -function Remove-MgBetaPolicyHomeRealmDiscoveryPolicy -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $HomeRealmDiscoveryPolicyId, + [System.Object] + $AllowOfflineOn, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $AllowedFileTypes, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $ExternalImageProxyEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $RulesEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $OneWinNativeOutlookEnabled, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Boolean] + $FreCardsEnabled, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $ActiveSyncIntegrationEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.String] + $Name, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $ThemeSelectionEnabled, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $InstantMessagingEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $AdditionalStorageProvidersAvailable, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} + [System.Boolean] + $InterestingCalendarsEnabled, -function Update-MgBetaPolicyHomeRealmDiscoveryPolicy -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $HomeRealmDiscoveryPolicyId, + [System.Boolean] + $BizBarEnabled, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $OneDriveAttachmentsEnabled, [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, + [System.Boolean] + $PrintWithoutDownloadEnabled, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $SaveAttachmentsToCloudEnabled, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $Identity, [Parameter()] - [PSObject[]] - $AppliesTo, + [System.Boolean] + $PhoneticSupportEnabled, [Parameter()] - [System.String[]] - $Definition, + [System.Boolean] + $SkipCreateUnifiedGroupCustomSharepointClassification, [Parameter()] - [System.DateTime] - $DeletedDateTime, + [System.Boolean] + $ReferenceAttachmentsEnabled, [Parameter()] - [System.String] - $Description, - + [System.Management.Automation.SwitchParameter] + $DisableFacebook + ) +} +function Set-PartnerApplication +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $DisplayName, + $ApplicationIdentifier, [Parameter()] [System.String] - $Id, + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, + [System.Object] + $LinkedAccount, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.Collections.IDictionary] - $Headers, - - [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + $Confirm, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Boolean] + $AcceptSecurityIdentifierInformation, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.String[]] + $ActAsPermissions, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $AccountType, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.Boolean] + $Enabled ) } - -#endregion - -#region Microsoft.Graph.Authentication -function Get-MgBetaDeviceManagementAndroidDeviceOwnerEnrollmentProfile +function Set-PerimeterConfig { [CmdletBinding()] param( [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String[]] - $Property, + [System.Object] + $Identity, [Parameter()] - [PSObject] - $InputObject, - + [System.Object] + $GatewayIPAddresses + ) +} +function Set-Place +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $AndroidDeviceOwnerEnrollmentProfileId, - - [Parameter()] - [System.Int32] - $PageSize, + $PostalCode, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.String] + $Phone, [Parameter()] - [System.Int32] - $Skip, + [System.Object] + $Identity, [Parameter()] - [System.Int32] - $Top, + [System.Object] + $CountryOrRegion, [Parameter()] [System.String] - $CountVariable, + $ParentId, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $Street, [Parameter()] - [System.String[]] - $Sort, + [System.Boolean] + $IsWheelChairAccessible, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.String] + $AudioDeviceName, [Parameter()] [System.String] - $Filter, + $DisplayDeviceName, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.String] + $Building, [Parameter()] [System.String] - $Search, + $State, [Parameter()] [System.String] - $ResponseHeadersVariable, + $City, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $Floor, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.String] + $VideoDeviceName, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $Confirm, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaDeviceManagementAndroidDeviceOwnerEnrollmentProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $WifiSecurityType, + [System.String[]] + $Tags, [Parameter()] [System.String] - $DisplayName, + $FloorLabel, [Parameter()] - [System.String] - $WifiSsid, + [System.Object] + $Capacity, [Parameter()] [System.String] - $Description, - - [Parameter()] - [System.DateTime] - $LastModifiedDateTime, + $Label, [Parameter()] - [System.DateTime] - $CreatedDateTime, + [System.Object] + $GeoCoordinates, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ConfigureWifi, - + [System.Boolean] + $MTREnabled + ) +} +function Set-PolicyTipConfig +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $TokenValue, + $Value, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.DateTime] - $TokenCreationDateTime, - + [System.Object] + $Identity + ) +} +function Set-ProtectionAlert +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $WifiHidden, - + $Confirm + ) +} +function Set-QuarantinePolicy +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Boolean] + $IncludeMessagesFromBlockedSenderAddress, [Parameter()] - [System.String] - $WifiPassword, + [System.Object] + $MultiLanguageCustomDisclaimer, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $AdminNotificationLanguage, [Parameter()] - [PSObject] - $EnrollmentMode, + [System.Object] + $Identity, [Parameter()] - [PSObject] - $QrCodeImage, + [System.String] + $EndUserSpamNotificationCustomFromAddress, [Parameter()] [System.String] - $AccountId, + $CustomDisclaimer, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Int32] + $EndUserQuarantinePermissionsValue, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $ESNEnabled, [Parameter()] - [PSObject] - $BodyParameter, + [System.Management.Automation.SwitchParameter] + $IgnoreDehydratedFlag, [Parameter()] - [System.DateTime] - $TokenExpirationDateTime, + [System.Object] + $EndUserQuarantinePermissions, [Parameter()] - [System.String] - $Id, + [System.Boolean] + $AdminNotificationsEnabled, [Parameter()] - [System.Int32] - $EnrolledDeviceCount, + [System.Object] + $EndUserSpamNotificationLanguage, [Parameter()] - [PSObject] - $EnrollmentTokenType, + [System.Object] + $DomainController, [Parameter()] - [System.String] - $QrCodeContent, + [System.Object] + $MultiLanguageSenderName, [Parameter()] - [System.String[]] - $RoleScopeTagIds, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $AdminQuarantinePermissionsList, [Parameter()] - [System.Int32] - $EnrollmentTokenUsageCount, + [System.Object] + $MultiLanguageSetting, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.TimeSpan] + $EndUserSpamNotificationFrequency, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsTeamsDeviceProfile, + [System.Int32] + $QuarantineRetentionDays, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $EsnCustomSubject, [Parameter()] - [PSObject] - $HttpPipelineAppend + [System.Boolean] + $OrganizationBrandingEnabled, + + [Parameter()] + [System.Int32] + $AdminNotificationFrequencyInDays ) } -function Remove-MgBetaDeviceManagementAndroidDeviceOwnerEnrollmentProfile +function Set-RemoteDomain { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $AutoReplyEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Object] + $Identity, [Parameter()] - [System.String] - $IfMatch, + [System.Object] + $TNEFEnabled, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $DeliveryReportEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $RequiredCharsetCoverage, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Boolean] + $MeetingForwardNotificationEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $ContentType, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ByteEncoderTypeFor7BitCharsets, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $AutoForwardEnabled, [Parameter()] [System.String] - $AndroidDeviceOwnerEnrollmentProfileId, + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -#endregion + [System.Boolean] + $TrustedMailInboundEnabled, -function Get-AzResourceGroup -{ - [CmdletBinding()] - param( [Parameter()] - [System.String] - $Id - ) -} + [System.Object] + $LineWrapSize, -#region Microsoft.Graph.Authentication -function Set-PolicyConfig -{ - [CmdletBinding()] - param( [Parameter()] - [System.Object[]] - $DlpAppGroups, + [System.String] + $CharacterSet, [Parameter()] [System.Object] - $OnPremisesWorkload, - - [Parameter()] - [System.Boolean] - $EnableAdvancedRuleBuilder, + $PreferredInternetCodePageForShiftJis, [Parameter()] - [System.Object[]] - $DlpAppGroupsPsws, + [System.String] + $NonMimeCharacterSet, [Parameter()] [System.Boolean] - $ReservedForFutureUse, + $TargetDeliveryDomain, [Parameter()] [System.Boolean] - $EnableSpoAipMigration, + $TrustedMailOutboundEnabled, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.String] - $ComplianceUrl, + [System.Boolean] + $DisplaySenderName, [Parameter()] - [System.Management.Automation.SwitchParameter] - $MigrateLabelScheme, + [System.Object] + $AllowedOOFType, [Parameter()] [System.Boolean] - $IsDlpSimulationOptedIn, + $NDRDiagnosticInfoEnabled, [Parameter()] - [System.Object] - $InformationBarrierPeopleSearchRestriction, + [System.Boolean] + $NDREnabled, [Parameter()] - [System.String] - $TextExtractionConfig, + [System.Boolean] + $IsInternal, [Parameter()] - [System.Object] - $DocumentIsUnsupportedSeverity, - + [System.Boolean] + $UseSimpleDisplayName + ) +} +function Set-ReportSubmissionPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $EndpointDlpGlobalSettingsPsws, + [System.String] + $PostSubmitMessage, [Parameter()] [System.Object] - $ProcessingLimitExceededSeverity, + $ReportJunkAddresses, [Parameter()] [System.Boolean] - $ExtendTeamsDlpPoliciesToSharePointOneDrive, + $NotificationsForPhishMalwareSubmissionAirInvestigationsEnabled, [Parameter()] - [System.Object[]] - $EndpointDlpGlobalSettings, + [System.String] + $PhishingReviewResultMessage, [Parameter()] - [System.Boolean] - $IsEventFoldingOnDlpAlertsOptedOut, + [System.String] + $PostSubmitMessageTitle, [Parameter()] - [System.Object] - $DlpRemovableMediaGroups, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonTextForNotJunk, [Parameter()] [System.Boolean] - $RetentionForwardCrawl, + $EnableCustomizedMsg, [Parameter()] - [System.String] - $JitEnforcementSettings, + [System.Object] + $NotificationSenderAddress, [Parameter()] - [System.Boolean] - $EnableLabelCoauth, + [System.String[]] + $MultiLanguagePostSubmitMessageButtonTextForJunk, [Parameter()] - [System.Object] - $SenderAddressLocation, + [System.Boolean] + $NotificationsForSpamSubmissionAirInvestigationsEnabled, [Parameter()] - [System.Object[]] - $SiteGroupsPsws, + [System.String] + $PostSubmitMessageForJunk, [Parameter()] - [System.Object] - $RuleErrorAction, + [System.String[]] + $MultiLanguagePostSubmitMessageForPhishing, [Parameter()] [System.Boolean] - $IsDefaultMlDlpPoliciesOptedOut, + $EnableThirdPartyAddress, [Parameter()] - [System.Object] - $DlpNetworkShareGroups, + [System.String] + $PreSubmitMessageTitleForPhishing, [Parameter()] - [System.Object] - $DlpExtensionGroups, + [System.String] + $PreSubmitMessageForJunk, [Parameter()] - [System.Boolean] - $PurviewLabelConsent, + [System.Int32] + $UserSubmissionOptions, [Parameter()] - [System.Object] - $DlpPrinterGroups, + [System.String[]] + $MultiLanguagePostSubmitMessageButtonTextForPhishing, [Parameter()] - [System.Object] - $InformationBarrierMode, + [System.String] + $PreSubmitMessageForNotJunk, [Parameter()] - [System.Object[]] - $SiteGroups, + [System.String[]] + $MultiLanguagePostSubmitMessageTitleForPhishing, [Parameter()] - [System.Object] - $ClassificationScheme, + [System.String[]] + $MultiLanguagePreSubmitMessageTitleForNotJunk, [Parameter()] - [System.Boolean] - $EnableSensitivityLabelingForPdf, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonTextForJunk, [Parameter()] [System.String[]] - $MessageHeadersToRetainInOutlook - ) -} -function Get-PolicyConfig -{ - [CmdletBinding()] - param( + $MultiLanguagePreSubmitMessageForNotJunk, - ) -} -#endregion + [Parameter()] + [System.Boolean] + $ReportJunkToCustomizedAddress, + + [Parameter()] + [System.String[]] + $MultiLanguagePostSubmitMessageButtonLinkForPhishing, -#region Microsoft.Graph.Authentication -function Update-MgBetaIdentityGovernanceLifecycleWorkflowCustomTaskExtension -{ - [CmdletBinding()] - param( [Parameter()] - [PSObject] - $CallbackConfiguration, + [System.Boolean] + $ReportNotJunkToCustomizedAddress, [Parameter()] [System.String] - $Description, + $PostSubmitMessageTitleForJunk, [Parameter()] - [System.DateTime] - $LastModifiedDateTime, + [System.String[]] + $MultiLanguagePreSubmitMessageForPhishing, [Parameter()] - [System.DateTime] - $CreatedDateTime, + [System.String] + $NotificationFooterMessage, [Parameter()] - [System.String] - $DisplayName, + [System.Boolean] + $EnableOrganizationBranding, [Parameter()] - [System.Collections.Hashtable] - $AuthenticationConfiguration, + [System.String] + $PreSubmitMessageForPhishing, [Parameter()] - [PSObject] - $InputObject, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonLinkForNotJunk, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonLinkForPhishing, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $EnableReportToMicrosoft, [Parameter()] - [System.Collections.Hashtable] - $EndpointConfiguration, + [System.String] + $PreSubmitMessageTitleForJunk, [Parameter()] - [PSObject] - $ClientConfiguration, + [System.Boolean] + $ReportChatMessageEnabled, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $ThirdPartyReportAddresses, [Parameter()] - [PSObject] - $CreatedBy, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonLinkForJunk, [Parameter()] - [System.String] - $CustomTaskExtensionId, + [System.Boolean] + $NotificationsForCleanSubmissionAirInvestigationsEnabled, [Parameter()] - [PSObject] - $LastModifiedBy, + [System.String] + $PostSubmitMessageForNotJunk, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $MultiLanguageSetting, [Parameter()] - [PSObject] - $BodyParameter, + [System.String[]] + $MultiLanguagePostSubmitMessageForJunk, [Parameter()] - [System.String] - $Id, + [System.Boolean] + $DisableQuarantineReportingOption, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $ReportNotJunkAddresses, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $EnableUserEmailNotification, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.String[]] + $MultiLanguagePreSubmitMessageForJunk, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String] + $PostSubmitMessageTitleForPhishing, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaIdentityGovernanceLifecycleWorkflowCustomTaskExtension -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $CallbackConfiguration, + [System.String[]] + $MultiLanguagePreSubmitMessageTitleForJunk, [Parameter()] - [System.String] - $Description, + [System.Boolean] + $DisableUserSubmissionOptions, [Parameter()] - [System.DateTime] - $LastModifiedDateTime, + [System.Boolean] + $OnlyShowPhishingDisclaimer, [Parameter()] - [System.DateTime] - $CreatedDateTime, + [System.String] + $PostSubmitMessageTitleForNotJunk, [Parameter()] [System.String] - $DisplayName, + $PreSubmitMessage, [Parameter()] - [System.Collections.Hashtable] - $AuthenticationConfiguration, + [System.String] + $PreSubmitMessageTitleForNotJunk, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.String] + $JunkReviewResultMessage, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $EnableCustomNotificationSender, [Parameter()] - [System.Collections.Hashtable] - $EndpointConfiguration, + [System.Boolean] + $ReportChatMessageToCustomizedAddressEnabled, [Parameter()] - [PSObject] - $ClientConfiguration, + [System.Object] + $ReportPhishAddresses, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.String[]] + $MultiLanguagePostSubmitMessageTitleForJunk, [Parameter()] - [PSObject] - $CreatedBy, + [System.String] + $NotJunkReviewResultMessage, [Parameter()] - [PSObject] - $LastModifiedBy, + [System.Boolean] + $NotificationsForSubmissionAirInvestigationsEnabled, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $PreSubmitMessageEnabled, [Parameter()] - [PSObject] - $BodyParameter, + [System.Boolean] + $PostSubmitMessageEnabled, [Parameter()] [System.String] - $Id, + $PreSubmitMessageTitle, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String[]] + $MultiLanguagePreSubmitMessageTitleForPhishing, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonTextForPhishing, [Parameter()] [System.String] - $ResponseHeadersVariable, + $UserSubmissionOptionsMessage, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.String] + $PostSubmitMessageForPhishing, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String[]] + $MultiLanguagePostSubmitMessageButtonLinkForJunk, [Parameter()] - [PSObject] - $HttpPipelineAppend + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $ReportPhishToCustomizedAddress ) } -function Remove-MgBetaIdentityGovernanceLifecycleWorkflowCustomTaskExtension +function Set-ReportSubmissionRule { [CmdletBinding()] param( - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, - [Parameter()] [System.String] - $IfMatch, + $Name, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object[]] + $SentTo, [Parameter()] [System.String] - $CustomTaskExtensionId, + $Comments, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $ReportSubmissionPolicy, [Parameter()] - [System.Collections.IDictionary] - $Headers, - + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Set-ResourceConfig +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break + [System.Object] + $ResourcePropertySchema ) } -function Get-MgBetaIdentityGovernanceLifecycleWorkflowCustomTaskExtension +function Set-RetentionPolicy { [CmdletBinding()] param( [Parameter()] - [System.String[]] - $Property, + [System.String] + $Name, [Parameter()] - [PSObject] - $InputObject, + [System.Object[]] + $RetentionPolicyTagLinks, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $IsDefault, [Parameter()] - [System.Int32] - $PageSize, + [System.Object] + $Identity, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Guid] + $RetentionId, [Parameter()] - [System.Int32] - $Skip, + [System.Management.Automation.SwitchParameter] + $IsDefaultArbitrationMailbox, [Parameter()] - [System.Int32] - $Top, + [System.Management.Automation.SwitchParameter] + $Confirm, + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Set-RoleAssignmentPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $CustomTaskExtensionId, + $Description, [Parameter()] [System.String] - $CountVariable, + $Name, [Parameter()] - [System.Uri] - $Proxy, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String[]] - $Sort, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $All, - + $IsDefault + ) +} +function Set-RoleGroup +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $Filter, + $Description, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.String] + $DisplayName, [Parameter()] [System.String] - $Search, + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.String] - $ResponseHeadersVariable, + $WellKnownObject, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $Identity, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Management.Automation.SwitchParameter] + $BypassSecurityGroupManagerCheck, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ManagedBy, [Parameter()] - [PSObject] - $HttpPipelineAppend + [System.Management.Automation.SwitchParameter] + $Force ) } -#endregion -#region Microsoft.Graph.Authentication -function Get-MgBetaNetworkAccessSettingEnrichedAuditLog +function Set-SafeAttachmentPolicy { [CmdletBinding()] param( [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $Action, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Boolean] + $Redirect, [Parameter()] [System.String] - $ResponseHeadersVariable, + $AdminDisplayName, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Boolean] + $Enable, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $RedirectAddress, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String[]] - $Property, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break + [System.String] + $QuarantineTag ) } -#endregion -#region Microsoft.Graph.Authentication -function Get-MgBetaNetworkAccessSettingCrossTenantAccess +function Set-SafeAttachmentRule { [CmdletBinding()] param( [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Int32] + $Priority, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $Name, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object[]] + $SentTo, [Parameter()] [System.String] - $ResponseHeadersVariable, + $Comments, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Object[]] + $RecipientDomainIs, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $Identity, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $SafeAttachmentPolicy, [Parameter()] - [System.String[]] - $Property, + [System.Object[]] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Object[]] + $ExceptIfSentTo, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break + $Confirm, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf ) } -function Update-MgBetaNetworkAccessSettingCrossTenantAccess +function Set-SafeLinksPolicy { [CmdletBinding()] param( + [Parameter()] + [System.Boolean] + $EnableOrganizationBranding, + + [Parameter()] + [System.Object] + $Identity, + [Parameter()] [System.String] - $Id, + $AdminDisplayName, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Boolean] + $UseTranslatedNotificationText, [Parameter()] - [PSObject] - $BodyParameter, + [System.Boolean] + $DisableUrlRewrite, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $DoNotRewriteUrls, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $EnableSafeLinksForTeams, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $EnableSafeLinksForOffice, + + [Parameter()] + [System.Boolean] + $TrackClicks, + + [Parameter()] + [System.Boolean] + $AllowClickThrough, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.String] + $CustomNotificationText, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $DeliverMessageAfterScan, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $EnableSafeLinksForEmail, [Parameter()] - [System.String] - $NetworkPacketTaggingStatus, + [System.Boolean] + $ScanUrls, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $LocalizedNotificationTextList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break + [System.Boolean] + $EnableForInternalSenders ) } -#endregion -#region Microsoft.Graph.Authentication -function Get-MgBetaDeviceManagementApplePushNotificationCertificate +function Set-SafeLinksRule { [CmdletBinding()] param( [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Int32] + $Priority, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $Name, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object[]] + $SentTo, [Parameter()] [System.String] - $ResponseHeadersVariable, + $Comments, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Object[]] + $RecipientDomainIs, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $Identity, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.String[]] - $Property, + [System.Object] + $SafeLinksPolicy, + + [Parameter()] + [System.Object[]] + $ExceptIfSentTo, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break + $Confirm, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf ) } -function Get-MgBetaDeviceManagementDataSharingConsent +function Set-ServicePrincipal { [CmdletBinding()] param( [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, + [System.String] + $DisplayName, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, + $Confirm, [Parameter()] - [System.Int32] - $Top, - + [System.Object] + $Identity + ) +} +function Set-SweepRule +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, + $Name, [Parameter()] - [System.String[]] - $Sort, + [System.Object] + $Sender, [Parameter()] [System.String] - $DataSharingConsentId, + $Provider, [Parameter()] - [System.String] - $Filter, + [System.Object] + $SystemCategory, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $KeepLatest, [Parameter()] - [System.String] - $Search, + [System.Object] + $SourceFolder, [Parameter()] [System.Management.Automation.SwitchParameter] - $All, + $Confirm, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $Mailbox, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $Identity, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $DestinationFolder, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $KeepForDays, [Parameter()] - [PSObject] - $HttpPipelineAppend + [System.Boolean] + $Enabled ) } -function Update-MgBetaDeviceManagementApplePushNotificationCertificate +function Set-TenantAllowBlockListItems { [CmdletBinding()] param( - [Parameter()] - [System.String] - $AppleIdentifier, - - [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.String] - $CertificateUploadFailureReason, - [Parameter()] [System.DateTime] - $LastModifiedDateTime, - - [Parameter()] - [System.String] - $Certificate, + $ExpirationDate, [Parameter()] - [System.String] - $TopicIdentifier, + [System.Object] + $ListSubType, [Parameter()] - [PSObject] - $BodyParameter, + [System.Management.Automation.SwitchParameter] + $Block, [Parameter()] [System.String] - $Id, - - [Parameter()] - [System.Uri] - $Proxy, + $Notes, [Parameter()] - [System.DateTime] - $ExpirationDateTime, + [System.Int32] + $RemoveAfter, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $OutputJson, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Management.Automation.SwitchParameter] + $NoExpiration, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.String[]] + $Ids, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String] - $CertificateUploadStatus, + $Allow, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String[]] + $Entries, [Parameter()] - [PSObject] - $HttpPipelineAppend + [System.Object] + $ListType ) } -#endregion -#region Microsoft.Graph.Authentication -function Update-MgBetaNetworkAccessFilteringPolicyRule +function Set-TenantAllowBlockListSpoofItems { [CmdletBinding()] param( [Parameter()] [System.String] - $FilteringPolicyId, + $Action, [Parameter()] - [System.String] - $Name, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - + [System.String[]] + $Ids + ) +} +function Set-TransportConfig +{ + [CmdletBinding()] + param( [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Boolean] + $InternalDelayDsnEnabled, [Parameter()] - [System.String] - $PolicyRuleId, + [System.Boolean] + $InternalDsnSendHtml, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $ExternalDelayDsnEnabled, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $DSNConversionMode, [Parameter()] - [PSObject] - $BodyParameter, + [System.Boolean] + $SmtpClientAuthenticationDisabled, [Parameter()] - [System.String] - $Id, + [System.Object] + $MessageExpiration, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + $Force, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $ReplyAllStormProtectionEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $AddressBookPolicyRoutingEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Boolean] + $ExternalDsnLanguageDetectionEnabled, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaNetworkAccessFilteringPolicyRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $FilteringPolicyId, + [System.Boolean] + $ExternalDsnSendHtml, [Parameter()] - [System.String[]] - $Property, + [System.Boolean] + $Rfc2231EncodingEnabled, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $InternalDsnLanguageDetectionEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $VoicemailJournalingEnabled, [Parameter()] - [System.Int32] - $PageSize, + [System.Object] + $HeaderPromotionModeSetting, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $JournalingReportNdrTo, [Parameter()] - [System.String] - $PolicyRuleId, + [System.Boolean] + $ConvertDisclaimerWrapperToEml, [Parameter()] - [System.Int32] - $Skip, + [System.Object] + $InternalDsnReportingAuthority, [Parameter()] [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, + $JournalMessageExpirationDays, [Parameter()] - [System.Uri] - $Proxy, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String[]] - $Sort, + [System.Object] + $MaxRecipientEnvelopeLimit, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Int32] + $ReplyAllStormDetectionMinimumReplies, [Parameter()] - [System.String] - $Filter, + [System.Object] + $ExternalDsnReportingAuthority, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Globalization.CultureInfo] + $ExternalDsnDefaultLanguage, [Parameter()] - [System.String] - $Search, + [System.Globalization.CultureInfo] + $InternalDsnDefaultLanguage, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $AllowLegacyTLSClients, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $ClearCategories, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Int32] + $ReplyAllStormBlockDurationHours, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ExternalPostmasterAddress, [Parameter()] - [PSObject] - $HttpPipelineAppend + [System.Int32] + $ReplyAllStormDetectionMinimumRecipients ) } -function New-MgBetaNetworkAccessFilteringPolicyRule +function Set-TransportRule { [CmdletBinding()] param( [Parameter()] - [System.String] - $FilteringPolicyId, + [System.Object] + $ActivationDate, [Parameter()] - [System.String] - $Name, + [System.Object[]] + $AddToRecipients, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object] + $ApplyHtmlDisclaimerFallbackAction, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object[]] + $ExceptIfRecipientADAttributeContainsWords, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $AttachmentSizeOver, [Parameter()] - [PSObject] - $InputObject, + [System.Object[]] + $ExceptIfSenderADAttributeContainsWords, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $SetSCL, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object[]] + $AnyOfToHeaderMemberOf, [Parameter()] - [System.String] - $Id, + [System.Boolean] + $Disconnect, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Int32] + $Priority, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object[]] + $ExceptIfSentToMemberOf, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object[]] + $ExceptIfAnyOfCcHeader, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object[]] + $ExceptIfAttachmentMatchesPatterns, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object[]] + $RecipientDomainIs, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaNetworkAccessFilteringPolicyRule -{ - [CmdletBinding()] - param( + [System.Object] + $ManagerForEvaluatedUser, + [Parameter()] - [PSObject] - $InputObject, + [System.Object[]] + $ExceptIfHeaderMatchesPatterns, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $ExceptIfFromScope, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $AdComparisonAttribute, [Parameter()] - [System.String] - $FilteringPolicyId, + [System.Object[]] + $ExceptIfHeaderContainsWords, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Object[]] + $HeaderMatchesPatterns, [Parameter()] - [System.String] - $IfMatch, + [System.Object] + $AddManagerAsRecipientType, [Parameter()] - [System.Uri] - $Proxy, + [System.Boolean] + $DeleteMessage, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Boolean] + $HasSenderOverride, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $SmtpRejectMessageRejectStatusCode, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.String] + $ExceptIfHasClassification, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $Quarantine, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object[]] + $ExceptIfAnyOfRecipientAddressMatchesPatterns, [Parameter()] - [System.String] - $PolicyRuleId, + [System.Object[]] + $ExceptIfRecipientInSenderList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -#endregion -#region Microsoft.Graph.Authentication -function Update-MgBetaNetworkAccessFilteringPolicy -{ - [CmdletBinding()] - param( + [System.Object] + $RecipientAddressType, + [Parameter()] - [PSObject] - $PolicyRules, + [System.Object[]] + $ExceptIfContentCharacterSetContainsWords, [Parameter()] - [System.String] - $Description, + [System.Object[]] + $BlindCopyTo, [Parameter()] - [System.DateTime] - $LastModifiedDateTime, + [System.Object] + $ApplyHtmlDisclaimerLocation, [Parameter()] - [System.String] - $FilteringPolicyId, + [System.Object] + $ExceptIfMessageTypeMatches, [Parameter()] - [System.DateTime] - $CreatedDateTime, + [System.Object] + $SenderIpRanges, [Parameter()] - [System.String] - $Action, + [System.Collections.Hashtable[]] + $ExceptIfMessageContainsDataClassifications, [Parameter()] - [System.String] - $Name, + [System.Object[]] + $ModerateMessageByUser, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $HasNoClassification, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object[]] + $ExceptIfSenderInRecipientList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $HeaderContainsMessageHeader, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $RemoveHeader, [Parameter()] [System.String] - $Version, + $HasClassification, [Parameter()] - [System.Uri] - $Proxy, + [System.Collections.Hashtable[]] + $MessageContainsDataClassifications, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object[]] + $ExceptIfFromMemberOf, [Parameter()] - [System.String] - $Id, + [System.Object] + $RuleSubType, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $AnyOfRecipientAddressMatchesPatterns, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $SentToScope, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object[]] + $AnyOfToCcHeaderMemberOf, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object[]] + $From, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object[]] + $ExceptIfAnyOfRecipientAddressContainsWords, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaNetworkAccessFilteringPolicy -{ - [CmdletBinding()] - param( + [System.Object] + $ExceptIfWithImportance, + [Parameter()] - [System.String] - $FilteringPolicyId, + [System.Object[]] + $ContentCharacterSetContainsWords, [Parameter()] - [System.String[]] - $Property, + [System.Object[]] + $SubjectContainsWords, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $RejectMessageEnhancedStatusCode, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object[]] + $SenderADAttributeMatchesPatterns, [Parameter()] - [System.Int32] - $PageSize, + [System.Object[]] + $ExceptIfSenderADAttributeMatchesPatterns, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object[]] + $IncidentReportContent, [Parameter()] - [System.Int32] - $Skip, + [System.Object[]] + $FromMemberOf, [Parameter()] - [System.Int32] - $Top, + [System.Object[]] + $AttachmentContainsWords, [Parameter()] - [System.String] - $CountVariable, + [System.Object] + $ExceptIfSCLOver, [Parameter()] - [System.Uri] - $Proxy, + [System.Object[]] + $ExceptIfBetweenMemberOf1, [Parameter()] - [System.String[]] - $Sort, + [System.Object] + $GenerateNotification, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Object] + $NotifySender, [Parameter()] - [System.String] - $Filter, + [System.Boolean] + $ExceptIfAttachmentIsPasswordProtected, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object[]] + $ExceptIfAttachmentNameMatchesPatterns, [Parameter()] - [System.String] - $Search, + [System.Object] + $ExceptIfSenderManagementRelationship, [Parameter()] [System.String] - $ResponseHeadersVariable, + $SetAuditSeverity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object[]] + $AttachmentPropertyContainsWords, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object[]] + $ExceptIfAnyOfToHeader, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ApplyRightsProtectionCustomizationTemplate, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function New-MgBetaNetworkAccessFilteringPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $PolicyRules, + [System.Object] + $SetHeaderName, [Parameter()] - [System.String] - $Description, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.DateTime] - $LastModifiedDateTime, + [System.Boolean] + $RouteMessageOutboundRequireTls, [Parameter()] - [System.DateTime] - $CreatedDateTime, + [System.Object] + $WithImportance, [Parameter()] - [System.String] - $Action, + [System.Object] + $RuleErrorAction, [Parameter()] - [System.String] - $Name, + [System.Object] + $FromScope, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object[]] + $AttachmentNameMatchesPatterns, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object[]] + $SentTo, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object[]] + $ExceptIfFromAddressMatchesPatterns, [Parameter()] - [System.String] - $Version, + [System.Object[]] + $AnyOfCcHeaderMemberOf, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $ExceptIfAttachmentSizeOver, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $ExceptIfManagerForEvaluatedUser, [Parameter()] - [System.String] - $Id, + [System.Boolean] + $RemoveOMEv2, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $ExceptIfFromAddressContainsWords, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $AttachmentHasExecutableContent, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $RouteMessageOutboundConnector, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object[]] + $ExceptIfSenderDomainIs, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaNetworkAccessFilteringPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $SenderManagementRelationship, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object[]] + $ExceptIfBetweenMemberOf2, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object[]] + $RedirectMessageTo, [Parameter()] - [System.String] - $FilteringPolicyId, + [System.Boolean] + $ApplyOME, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Object[]] + $SenderDomainIs, [Parameter()] - [System.String] - $IfMatch, + [System.Object[]] + $SenderADAttributeContainsWords, [Parameter()] - [System.Uri] - $Proxy, + [System.Object[]] + $ExceptIfAnyOfCcHeaderMemberOf, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $ApplyHtmlDisclaimerText, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $ExceptIfAttachmentHasExecutableContent, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Boolean] + $ExceptIfAttachmentIsUnsupported, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $RemoveOME, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $RejectMessageReasonText, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -#endregion -#region Microsoft.Graph.Authentication -function New-MgBetaNetworkAccessFilteringProfile -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, + [System.Object[]] + $RecipientAddressContainsWords, [Parameter()] - [System.DateTime] - $LastModifiedDateTime, + [System.Object] + $GenerateIncidentReport, [Parameter()] - [System.DateTime] - $CreatedDateTime, + [System.Object[]] + $FromAddressContainsWords, [Parameter()] - [System.String] - $Name, + [System.Boolean] + $RemoveRMSAttachmentEncryption, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.Object[]] + $RecipientAddressMatchesPatterns, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object[]] + $ExceptIfSubjectContainsWords, [Parameter()] - [PSObject] - $Policies, + [System.Object[]] + $ExceptIfFrom, [Parameter()] - [System.Int64] - $Priority, + [System.Object[]] + $AnyOfToCcHeader, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $ExceptIfSentToScope, [Parameter()] - [System.String] - $Version, + [System.Object[]] + $ExceptIfAnyOfToCcHeaderMemberOf, [Parameter()] - [System.String] - $State, + [System.Boolean] + $ModerateMessageByManager, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $AdComparisonOperator, [Parameter()] - [PSObject] - $BodyParameter, + [System.Object] + $MessageSizeOver, [Parameter()] - [System.String] - $Id, + [System.Object[]] + $BetweenMemberOf2, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $SubjectMatchesPatterns, [Parameter()] - [PSObject] - $ConditionalAccessPolicies, + [System.Boolean] + $AttachmentProcessingLimitExceeded, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object[]] + $ExceptIfSubjectMatchesPatterns, [Parameter()] [System.String] - $ResponseHeadersVariable, + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object[]] + $ExceptIfRecipientAddressContainsWords, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $HeaderMatchesMessageHeader, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaNetworkAccessFilteringProfile -{ - [CmdletBinding()] - param( + [System.Object[]] + $AnyOfRecipientAddressContainsWords, + + [Parameter()] + [System.Object[]] + $HeaderContainsWords, + [Parameter()] [System.String] - $FilteringProfileId, + $Comments, [Parameter()] - [System.String[]] - $Property, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $ExceptIfAdComparisonAttribute, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] - [System.Int32] - $PageSize, + [System.Object] + $ExceptIfAdComparisonOperator, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $Identity, [Parameter()] - [System.Int32] - $Skip, + [System.Object[]] + $ExceptIfAnyOfToHeaderMemberOf, [Parameter()] - [System.Int32] - $Top, + [System.Object] + $Mode, [Parameter()] - [System.String] - $CountVariable, + [System.Object[]] + $RecipientInSenderList, [Parameter()] - [System.Uri] - $Proxy, + [System.Object[]] + $SubjectOrBodyMatchesPatterns, [Parameter()] - [System.String[]] - $Sort, + [System.Object[]] + $ExceptIfAttachmentExtensionMatchesWords, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Object[]] + $ExceptIfSubjectOrBodyMatchesPatterns, [Parameter()] - [System.String] - $Filter, + [System.Object[]] + $ExceptIfRecipientAddressMatchesPatterns, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $ExceptIfHasNoClassification, [Parameter()] - [System.String] - $Search, + [System.Object] + $ExceptIfSenderIpRanges, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object[]] + $ExceptIfRecipientADAttributeMatchesPatterns, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object[]] + $RecipientADAttributeContainsWords, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Boolean] + $AttachmentIsUnsupported, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ExpiryDate, [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Remove-MgBetaNetworkAccessFilteringProfile -{ - [CmdletBinding()] - param( + [System.Object[]] + $AttachmentExtensionMatchesWords, + [Parameter()] - [PSObject] - $InputObject, + [System.Object[]] + $ExceptIfSubjectOrBodyContainsWords, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $LogEventText, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object[]] + $ExceptIfManagerAddresses, [Parameter()] - [System.Uri] - $Proxy, + [System.Object[]] + $SenderInRecipientList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Object[]] + $ExceptIfAnyOfToCcHeader, [Parameter()] - [System.String] - $IfMatch, + [System.Object[]] + $AttachmentMatchesPatterns, [Parameter()] [System.String] - $ResponseHeadersVariable, + $DlpPolicy, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $ManagerAddresses, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Object] + $SenderAddressLocation, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object[]] + $CopyTo, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object[]] + $SubjectOrBodyContainsWords, [Parameter()] [System.String] - $FilteringProfileId, + $ApplyClassification, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break - ) -} -#endregion -#region Microsoft.Graph.Authentication -function Get-MgBetaNetworkAccessFilteringProfilePolicy -{ - [CmdletBinding()] - param( + [System.Object[]] + $RecipientADAttributeMatchesPatterns, + [Parameter()] - [System.String] - $FilteringProfileId, + [System.Object] + $SetHeaderValue, [Parameter()] - [System.String[]] - $Property, + [System.Boolean] + $AttachmentIsPasswordProtected, [Parameter()] - [PSObject] - $InputObject, + [System.Object[]] + $BetweenMemberOf1, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $ExceptIfMessageSizeOver, [Parameter()] - [System.Int32] - $PageSize, + [System.Collections.Hashtable[]] + $ExceptIfMessageContainsAllDataClassifications, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object[]] + $AnyOfCcHeader, [Parameter()] - [System.String] - $PolicyLinkId, + [System.Boolean] + $ExceptIfAttachmentProcessingLimitExceeded, [Parameter()] - [System.Int32] - $Skip, + [System.Object[]] + $FromAddressMatchesPatterns, [Parameter()] - [System.Int32] - $Top, + [System.Object] + $ExceptIfHeaderMatchesMessageHeader, [Parameter()] - [System.String] - $CountVariable, + [System.Object] + $SmtpRejectMessageRejectText, [Parameter()] - [System.Uri] - $Proxy, + [System.Object[]] + $ExceptIfAttachmentContainsWords, [Parameter()] - [System.String[]] - $Sort, + [System.Object[]] + $AnyOfToHeader, [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, + [System.Boolean] + $ExceptIfHasSenderOverride, [Parameter()] - [System.String] - $Filter, + [System.Object] + $SCLOver, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $PrependSubject, [Parameter()] - [System.String] - $Search, + [System.Object] + $ApplyRightsProtectionTemplate, [Parameter()] - [System.String] - $ResponseHeadersVariable, + [System.Object] + $MessageTypeMatches, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object[]] + $ExceptIfAttachmentPropertyContainsWords, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Boolean] + $StopRuleProcessing, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Collections.Hashtable[]] + $MessageContainsAllDataClassifications, [Parameter()] - [PSObject] - $HttpPipelineAppend + [System.Object] + $ExceptIfHeaderContainsMessageHeader ) } -#endregion -#region Microsoft.Graph.Authentication -function Update-MgBetaNetworkAccessSettingConditionalAccess +function Set-UnifiedGroup { [CmdletBinding()] param( [Parameter()] - [System.String] - $Id, + [System.Object] + $EmailAddresses, [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $AcceptMessagesOnlyFromSendersOrMembers, [Parameter()] - [PSObject] - $BodyParameter, + [System.String] + $CustomAttribute12, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $CustomAttribute10, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Globalization.CultureInfo] + $Language, + + [Parameter()] + [System.Object] + $IsMemberAllowedToEditContent, [Parameter()] [System.String] - $ResponseHeadersVariable, + $CustomAttribute8, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.String] + $CustomAttribute5, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + $UnifiedGroupWelcomeMessageEnabled, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String] + $MailTip, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $ModeratedBy, + + [Parameter()] + [System.Object] + $PrimarySmtpAddress, [Parameter()] [System.String] - $SignalingStatus, + $Classification, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $AutoSubscribeNewMembers, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties - ) -} -function Get-MgBetaNetworkAccessSettingConditionalAccess -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, + [System.Object] + $AuditLogAgeLimit, [Parameter()] - [System.Uri] - $Proxy, + [System.Management.Automation.SwitchParameter] + $HiddenFromExchangeClientsEnabled, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $MaxReceiveSize, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Object] + $ExtensionCustomAttribute5, [Parameter()] [System.String] - $ResponseHeadersVariable, + $CustomAttribute15, [Parameter()] - [PSObject] - $HttpPipelineAppend, + [System.Object] + $RejectMessagesFromSendersOrMembers, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.String] + $Alias, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String] + $DisplayName, [Parameter()] - [System.String[]] - $Property, + [System.String] + $CustomAttribute1, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break - ) -} -#endregion + $SubscriptionEnabled, -#region MgBetaPolicyClaimMappingPolicy -function Get-MgBetaPolicyClaimMappingPolicy -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $ClaimsMappingPolicyId, + [System.Management.Automation.SwitchParameter] + $ForceUpgrade, [Parameter()] - [PSObject] - $InputObject, + [System.Object] + $AccessType, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.String] + $MailboxRegion, [Parameter()] - [System.String[]] - $Property, + [System.Object] + $GrantSendOnBehalfTo, [Parameter()] - [System.String] - $Filter, + [System.Object] + $ExtensionCustomAttribute1, [Parameter()] [System.String] - $Search, + $Notes, [Parameter()] - [System.Int32] - $Skip, + [System.String] + $CustomAttribute14, [Parameter()] - [System.String[]] - $Sort, + [System.Boolean] + $RequireSenderAuthenticationEnabled, [Parameter()] - [System.Int32] - $Top, + [System.String] + $CustomAttribute9, [Parameter()] [System.String] - $ResponseHeadersVariable, + $CustomAttribute6, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Object] + $DataEncryptionPolicy, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $ExtensionCustomAttribute4, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Object] + $SensitivityLabelId, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Management.Automation.SwitchParameter] + $AlwaysSubscribeMembersToCalendarEvents, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $ExtensionCustomAttribute2, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.String] + $CustomAttribute13, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.String] + $CustomAttribute2, [Parameter()] - [System.Int32] - $PageSize, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Management.Automation.SwitchParameter] - $All, + $CalendarMemberReadOnly, [Parameter()] - [System.String] - $CountVariable - ) -} + [System.Object] + $InformationBarrierMode, -function New-MgBetaPolicyClaimMappingPolicy -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, + [System.Object] + $MaxSendSize, + + [Parameter()] + [System.Object] + $MailTipTranslations, [Parameter()] [System.String] - $ResponseHeadersVariable, + $CustomAttribute7, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.String] + $CustomAttribute4, [Parameter()] - [PSObject[]] - $AppliesTo, + [System.Object] + $ExtensionCustomAttribute3, [Parameter()] - [System.String[]] - $Definition, + [System.Management.Automation.SwitchParameter] + $ConnectorsEnabled, [Parameter()] - [System.DateTime] - $DeletedDateTime, + [System.Boolean] + $ModerationEnabled, [Parameter()] [System.String] - $Description, + $CustomAttribute3, [Parameter()] [System.String] - $DisplayName, + $CustomAttribute11, [Parameter()] - [System.String] - $Id, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, + [System.Boolean] + $HiddenFromAddressListsEnabled + ) +} +function Set-User +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $WindowsEmailAddress, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, + [System.Boolean] + $IsShadowMailbox, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String] + $LastName, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.String] + $Phone, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.String] + $DisplayName, [Parameter()] - [System.Uri] - $Proxy, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.String] + $Office, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Object] + $CountryOrRegion, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} + [System.Object] + $AuthenticationPolicy, -function Remove-MgBetaPolicyClaimMappingPolicy -{ - [CmdletBinding()] - param - ( [Parameter()] - [System.String] - $ClaimsMappingPolicyId, + [System.Object] + $OtherTelephone, [Parameter()] - [PSObject] - $InputObject, + [System.String] + $Pager, [Parameter()] [System.String] - $ResponseHeadersVariable, + $PhoneticDisplayName, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $ClearDataEncryptionPolicy, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.String] + $Fax, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Management.Automation.SwitchParameter] + $Force, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $ManagedOnboardingType, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PassThru, + [System.Object] + $StsRefreshTokensValidFrom, [Parameter()] - [System.Uri] - $Proxy, + [System.Management.Automation.SwitchParameter] + $RemoveMailboxProvisioningConstraint, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Boolean] + $ResetPasswordOnNextLogon, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.Boolean] + $BlockCloudCache, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} + [System.Object] + $SeniorityIndex, -function Update-MgBetaPolicyClaimMappingPolicy -{ - [CmdletBinding()] - param - ( [Parameter()] [System.String] - $ClaimsMappingPolicyId, + $City, [Parameter()] - [PSObject] - $InputObject, + [System.Boolean] + $VIP, [Parameter()] - [System.Collections.Hashtable] - $BodyParameter, + [System.String] + $Title, [Parameter()] [System.String] - $ResponseHeadersVariable, + $MobilePhone, [Parameter()] - [System.Collections.Hashtable] - $AdditionalProperties, + [System.String] + $AssistantName, [Parameter()] - [PSObject[]] - $AppliesTo, + [System.Management.Automation.SwitchParameter] + $PublicFolder, [Parameter()] - [System.String[]] - $Definition, + [System.String] + $FirstName, [Parameter()] - [System.DateTime] - $DeletedDateTime, + [System.String] + $Company, [Parameter()] [System.String] - $Description, + $StateOrProvince, [Parameter()] [System.String] - $DisplayName, + $SimpleDisplayName, [Parameter()] [System.String] - $Id, + $Initials, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsOrganizationDefault, + [System.String] + $WebPage, + + [Parameter()] + [System.String] + $Notes, [Parameter()] [System.Management.Automation.SwitchParameter] - $Break, + $PermanentlyClearPreviousMailboxInfo, [Parameter()] - [System.Collections.IDictionary] - $Headers, + [System.Object] + $Manager, [Parameter()] - [PSObject[]] - $HttpPipelineAppend, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [PSObject[]] - $HttpPipelinePrepend, + [System.Object] + $OtherFax, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $StreetAddress, [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, + [System.Object] + $MailboxRegionSuffix, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.String] + $HomePhone, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -#endregion -#region Microsoft.Graph.Authentication -function New-TenantAllowBlockListSpoofItems -{ - [CmdletBinding()] - param( + [System.String] + $Department, + + [Parameter()] + [System.Object] + $OtherHomePhone, + [Parameter()] [System.String] - $Action, + $MailboxRegion, + + [Parameter()] + [System.Boolean] + $EXOModuleEnabled, + + [Parameter()] + [System.Boolean] + $RemotePowerShellEnabled, [Parameter()] [System.String] - $SendingInfrastructure, + $Name, [Parameter()] [System.String] - $SpoofType, + $PostalCode, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $GeoCoordinates, [Parameter()] [System.Object] - $Identity, + $PostOfficeBox, [Parameter()] - [System.String] - $SpoofedUser + [System.Object] + $DesiredWorkloads, + + [Parameter()] + [System.Boolean] + $CanHaveCloudCache ) } -function Remove-TenantAllowBlockListSpoofItems +function Start-MigrationBatch { [CmdletBinding()] param( @@ -103927,35 +16503,31 @@ function Remove-TenantAllowBlockListSpoofItems $Identity, [Parameter()] - [System.String[]] - $Ids + [System.Object] + $Partition ) } -function Get-TenantAllowBlockListSpoofItems +function Stop-MigrationBatch { [CmdletBinding()] param( [Parameter()] - [System.String] - $Action, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $SpoofType, + [System.Object] + $Identity, [Parameter()] [System.Object] - $Identity + $Partition ) } -function Set-TenantAllowBlockListSpoofItems +function Update-RoleGroupMember { [CmdletBinding()] param( - [Parameter()] - [System.String] - $Action, - [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, @@ -103965,9 +16537,13 @@ function Set-TenantAllowBlockListSpoofItems $Identity, [Parameter()] - [System.String[]] - $Ids + [System.Management.Automation.SwitchParameter] + $BypassSecurityGroupManagerCheck, + + [Parameter()] + [System.Object] + $Members ) } - #endregion + From 6c31ca2b906f9c5824a08e46a8ec61db1fbe7dd8 Mon Sep 17 00:00:00 2001 From: "Arpita Mohapatra (from Dev Box)" Date: Mon, 11 Nov 2024 18:42:59 +0530 Subject: [PATCH 08/58] Resolved UTs --- .../MSFT_EXOMigration/MSFT_EXOMigration.psm1 | 19 +---- .../MSFT_EXOMigration.schema.mof | 1 - .../Microsoft365DSC.EXOMigration.Tests.ps1 | 74 +++++++++++-------- 3 files changed, 45 insertions(+), 49 deletions(-) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 index eefee7e694..40599f3250 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 @@ -8,10 +8,6 @@ function Get-TargetResource [System.String] $Identity, - [Parameter()] - [System.Byte[]] - $CSVData, - [Parameter()] [System.String[]] $NotificationEmails, @@ -124,11 +120,10 @@ function Get-TargetResource } $Users = Get-MigrationUser -BatchId $Identity - $UserEmails = $Users | Select-Object -ExpandProperty Identity + $UserEmails = $Users | ForEach-Object { $_.Identity } $results = @{ Identity = $Identity - CSVData = [System.Byte[]]$instance.CSVData NotificationEmails = [System.String[]]$instance.NotificationEmails CompleteAfter = $instance.CompleteAfter AddUsers = [System.Boolean]$instance.AddUsers @@ -173,10 +168,6 @@ function Set-TargetResource [System.String] $Identity, - [Parameter()] - [System.Byte[]] - $CSVData, - [Parameter()] [System.String[]] $NotificationEmails, @@ -306,13 +297,13 @@ function Set-TargetResource # Retrieve the migration batch $migrationBatch = Get-MigrationBatch -Identity $currentInstance.Identity -ErrorAction Stop - if ($migrationBatch.Status -in @('Completed', 'CompletedWithErrors', 'Stopped', 'Failed', 'SyncedWithErrors')) + if ($migrationBatch.Status.Value -in @('Completed', 'CompletedWithErrors', 'Stopped', 'Failed', 'SyncedWithErrors')) { # If the migration batch is in a final state, remove it directly Remove-MigrationBatch -Identity $currentInstance.Identity -Confirm:$false Write-Host "Migration batch '$($currentInstance.Identity)' has been removed as it was in a completed or stopped state." } - elseif ($migrationBatch.Status -in @('InProgress', 'Syncing', 'Queued', 'Completing')) + elseif ($migrationBatch.Status.Value -in @('InProgress', 'Syncing', 'Queued', 'Completing')) { # If the migration batch is in progress, stop it first Stop-MigrationBatch -Identity $currentInstance.Identity -Confirm:$false @@ -380,10 +371,6 @@ function Test-TargetResource [System.String] $Identity, - [Parameter()] - [System.Byte[]] - $CSVData, - [Parameter()] [System.String[]] $NotificationEmails, diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.schema.mof index 597dd00e2f..f8354ee7e9 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.schema.mof @@ -2,7 +2,6 @@ class MSFT_EXOMigration : OMI_BaseResource { [Key, Description("The Identity parameter identifies the name of the current migration batch.")] String Identity; - [Write, Description("The CSVData parameter specifies the CSV file that contains information about the user mailboxes to be moved or migrated.")] String CSVData; [Write, Description("The NotificationEmails parameter specifies one or more email addresses that migration status reports are sent to.")] String NotificationEmails[]; [Write, Description("The CompleteAfter parameter specifies a delay before the batch is completed.")] DateTime CompleteAfter; [Write, Description("The AddUsers parameter controls whether additional users can be dynamically added to an existing migration batch after it has been created.")] Boolean AddUsers; diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 index 85690291e3..c6d3d1a29f 100644 --- a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 @@ -68,7 +68,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { $testParams = @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "7/30/2020 9:00:00 PM"; + CompleteAfter = "07/30/2020 9:00:00 PM"; Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; @@ -78,7 +78,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; - StartAfter = "7/30/2020 9:00:00 PM"; + StartAfter = "07/30/2020 9:00:00 PM"; Status = "Completing"; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; @@ -106,7 +106,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { $testParams = @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "7/30/2020 9:00:00 PM"; + CompleteAfter = "07/30/2020 9:00:00 PM"; Credential = $Credscredential; Ensure = "Absent"; Identity = "Arpita"; @@ -116,7 +116,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; - StartAfter = "7/30/2020 9:00:00 PM"; + StartAfter = "07/30/2020 9:00:00 PM"; Status = "Completing"; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; @@ -126,7 +126,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { return @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "7/30/2020 9:00:00 PM"; + CompleteAfter = "07/30/2020 21:00:00"; Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; @@ -135,9 +135,9 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { MoveOptions = @(); NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); - SourceEndpoint = "gmailCalendar"; - StartAfter = "7/30/2020 9:00:00 PM"; - Status = "Completing"; + SourceEndpoint = @{Identity = @{Id = "gmailCalendar"}}; + StartAfter = "07/30/2020 21:00:00"; + Status = @{Value = "Completing"}; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; } @@ -162,7 +162,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { $testParams = @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "7/30/2020 9:00:00 PM"; + CompleteAfter = "07/30/2020 9:00:00 PM"; Credential = $Credscredential; Ensure = "Absent"; Identity = "Arpita"; @@ -172,7 +172,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; - StartAfter = "7/30/2020 9:00:00 PM"; + StartAfter = "07/30/2020 9:00:00 PM"; Status = "Completed"; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; @@ -182,18 +182,17 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { return @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "7/30/2020 9:00:00 PM"; + CompleteAfter = "07/30/2020 21:00:00"; Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; LargeItemLimit = "Unlimited"; - MigrationUsers = @("peixintest1@bellred.org","akstest39@bellred.org"); MoveOptions = @(); NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); - SourceEndpoint = "gmailCalendar"; - StartAfter = "7/30/2020 9:00:00 PM"; - Status = "Completed"; + SourceEndpoint = @{Identity = @{Id = "gmailCalendar"}}; + StartAfter = "07/30/2020 21:00:00"; + Status = @{Value = "Completed"}; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; } @@ -217,7 +216,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { $testParams = @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "7/30/2020 9:00:00 PM"; + CompleteAfter = "07/30/2020 9:00:00 PM"; Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; @@ -227,7 +226,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; - StartAfter = "7/30/2020 9:00:00 PM"; + StartAfter = "07/30/2020 9:00:00 PM"; Status = "Completing"; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; @@ -237,26 +236,37 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { return @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "7/30/2020 9:00:00 PM"; + CompleteAfter = "07/30/2020 21:00:00"; Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; LargeItemLimit = "Unlimited"; - MigrationUsers = @("peixintest1@bellred.org","akstest39@bellred.org"); MoveOptions = @(); NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); - SourceEndpoint = "gmailCalendar"; - StartAfter = "7/30/2020 9:00:00 PM"; - Status = "Completing"; + SourceEndpoint = @{Identity = @{Id = "gmailCalendar"}}; + StartAfter = "07/30/2020 21:00:00"; + Status = @{Value = "Completing"}; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; } } + + Mock -CommandName Get-MigrationUser -MockWith { + return @( + @{ + Identity = "peixintest1@bellred.org" + }, + @{ + Identity = "akstest39@bellred.org" + } + ) + } } + It 'Should return true from the Test method' { - Test-TargetResource @testParams | Should -Be $true + Test-TargetResource @testParams -Verbose | Should -Be $true } } @@ -265,7 +275,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { $testParams = @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "7/30/2020 9:00:00 PM"; + CompleteAfter = "07/30/2020 21:00:00"; Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; @@ -275,8 +285,8 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; - StartAfter = "7/30/2020 9:00:00 PM"; - Status = "Completing"; + StartAfter = "07/30/2020 21:00:00"; + Status = @{Value = "Completing"}; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; } @@ -285,7 +295,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { return @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "7/30/2020 9:00:00 PM"; + CompleteAfter = "07/30/2020 21:00:00"; Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; @@ -295,8 +305,8 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @(); SourceEndpoint = "gmailCalendar"; - StartAfter = "7/30/2020 9:00:00 PM"; - Status = "Completing"; + StartAfter = "07/30/2020 21:00:00"; + Status = @{Value = "Completing"}; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; } @@ -329,7 +339,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { return @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "7/30/2020 9:00:00 PM"; + CompleteAfter = "07/30/2020 21:00:00"; Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; @@ -339,8 +349,8 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @(); SourceEndpoint = "gmailCalendar"; - StartAfter = "7/30/2020 9:00:00 PM"; - Status = "Completing"; + StartAfter = "07/30/2020 21:00:00"; + Status = @{Value = "Completing"}; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; } From 6f1a64f39093b06905f211e6b559c6cf066be35f Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Mon, 11 Nov 2024 14:20:10 +0000 Subject: [PATCH 09/58] Updated Resources and Cmdlet documentation pages --- ...eAntivirusPolicyWindows10SettingCatalog.md | 148 +++++++++--------- 1 file changed, 75 insertions(+), 73 deletions(-) diff --git a/docs/docs/resources/intune/IntuneAntivirusPolicyWindows10SettingCatalog.md b/docs/docs/resources/intune/IntuneAntivirusPolicyWindows10SettingCatalog.md index 83653bc0e8..afe2de1dda 100644 --- a/docs/docs/resources/intune/IntuneAntivirusPolicyWindows10SettingCatalog.md +++ b/docs/docs/resources/intune/IntuneAntivirusPolicyWindows10SettingCatalog.md @@ -7,80 +7,82 @@ | **DisplayName** | Key | String | Display name of the endpoint protection policy for Windows 10. | | | **Identity** | Write | String | Identity of the endpoint protection policy for Windows 10. | | | **Description** | Write | String | Description of the endpoint protection policy for Windows 10. | | -| **tamperprotection** | Write | String | Allows or disallows scanning of archives. (0: enable feature. 1: disable feature) | `0`, `1` | -| **disableaccountprotectionui** | Write | String | Use this policy setting to specify if to display the Account protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | -| **disableappbrowserui** | Write | String | Use this policy setting if you want to disable the display of the app and browser protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | -| **disablecleartpmbutton** | Write | String | Disable the Clear TPM button in Windows Security. (0: disable feature. 1: enable feature) | `0`, `1` | -| **disabledevicesecurityui** | Write | String | Use this policy setting if you want to disable the display of the Device security area in the Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | -| **disablefamilyui** | Write | String | Use this policy setting if you want to disable the display of the family options area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | -| **disablehealthui** | Write | String | Use this policy setting if you want to disable the display of the device performance and health area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | -| **disablenetworkui** | Write | String | Use this policy setting if you want to disable the display of the firewall and network protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | -| **disableenhancednotifications** | Write | String | Use this policy setting if you want to disable the display of Windows Defender Security Center notifications. (0: disable feature. 1: enable feature) | `0`, `1` | -| **disabletpmfirmwareupdatewarning** | Write | String | Hide the recommendation to update TPM Firmware when a vulnerable firmware is detected. (0: disable feature. 1: enable feature) | `0`, `1` | -| **disablevirusui** | Write | String | Use this policy setting if you want to disable the display of the virus and threat protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | -| **hideransomwaredatarecovery** | Write | String | Use this policy setting to hide the Ransomware data recovery area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | -| **hidewindowssecuritynotificationareacontrol** | Write | String | This policy setting hides the Windows Security notification area control. (0: disable feature. 1: enable feature) | `0`, `1` | -| **enablecustomizedtoasts** | Write | String | Enable this policy to display your company name and contact options in the notifications. (0: disable feature. 1: enable feature) | `0`, `1` | -| **enableinappcustomization** | Write | String | Enable this policy to have your company name and contact options displayed in a contact card fly out in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | -| **companyname** | Write | String | The company name that is displayed to the users. CompanyName is required for both EnableCustomizedToasts and EnableInAppCustomization. | | -| **email** | Write | String | The email address that is displayed to users. The default mail application is used to initiate email actions. | | -| **phone** | Write | String | The phone number or Skype ID that is displayed to users. Skype is used to initiate the call. | | -| **url** | Write | String | The help portal URL that is displayed to users. The default browser is used to initiate this action. | | -| **allowarchivescanning** | Write | String | Allows or disallows scanning of archives. (0: disable feature. 1: enable feature) | `0`, `1` | -| **allowbehaviormonitoring** | Write | String | Allows or disallows Windows Defender Behavior Monitoring functionality. (0: disable feature. 1: enable feature) | `0`, `1` | -| **allowcloudprotection** | Write | String | To best protect your PC, Windows Defender will send information to Microsoft about any problems it finds. Microsoft will analyze that information, learn more about problems affecting you and other customers, and offer improved solutions. (0: disable feature. 1: enable feature) | `0`, `1` | -| **allowdatagramprocessingonwinserver** | Write | String | Allows or disallows Network Protection to enable datagram processing on Windows Server. (0: disable feature. 1: enable feature) | `0`, `1` | -| **allowemailscanning** | Write | String | Allows or disallows scanning of email. (0: disable feature. 1: enable feature) | `0`, `1` | -| **allowfullscanonmappednetworkdrives** | Write | String | Allows or disallows a full scan of mapped network drives. (0: disable feature. 1: enable feature) | `0`, `1` | -| **allowfullscanremovabledrivescanning** | Write | String | Allows or disallows a full scan of removable drives. During a quick scan, removable drives may still be scanned. (0: disable feature. 1: enable feature) | `0`, `1` | -| **allowintrusionpreventionsystem** | Write | String | https://github.com/MicrosoftDocs/memdocs/issues/2250 (0: disable feature. 1: enable feature) | `0`, `1` | -| **allowioavprotection** | Write | String | Allows or disallows Windows Defender IOAVP Protection functionality. (0: disable feature. 1: enable feature) | `0`, `1` | -| **allownetworkprotectiondownlevel** | Write | String | Allows or disallows Network Protection to be configured into block or audit mode on windows downlevel of RS3. (0: disable feature. 1: enable feature) | `0`, `1` | -| **allowrealtimemonitoring** | Write | String | Allows or disallows Windows Defender real-time Monitoring functionality. (0: disable feature. 1: enable feature) | `0`, `1` | -| **allowscanningnetworkfiles** | Write | String | Allows or disallows a scanning of network files. (0: disable feature. 1: enable feature) | `0`, `1` | -| **allowscriptscanning** | Write | String | Allows or disallows Windows Defender Script Scanning functionality. (0: disable feature. 1: enable feature) | `0`, `1` | -| **allowuseruiaccess** | Write | String | Allows or disallows user access to the Windows Defender UI. I disallowed, all Windows Defender notifications will also be suppressed. (0: Prevents users from accessing UI. 1: Lets users access UI) | `0`, `1` | -| **avgcpuloadfactor** | Write | SInt32 | Represents the average CPU load factor for the Windows Defender scan (in percent). | | -| **archivemaxdepth** | Write | SInt32 | Specify the maximum folder depth to extract from archive files for scanning. | | -| **archivemaxsize** | Write | SInt32 | Specify the maximum size, in KB, of archive files to be extracted and scanned. | | -| **checkforsignaturesbeforerunningscan** | Write | String | This policy setting allows you to manage whether a check for new virus and spyware definitions will occur before running a scan. (0: disable feature. 1: enable feature) | `0`, `1` | -| **cloudblocklevel** | Write | String | This policy setting determines how aggressive Microsoft Defender Antivirus will be in blocking and scanning suspicious files. Value type is integer.(0: Default windows defender blocking level, 2: High blocking level, 4:High+ blocking level, 6:Zero tolerance blocking level) | `0`, `2`, `4`, `6` | -| **cloudextendedtimeout** | Write | SInt32 | This feature allows Microsoft Defender Antivirus to block a suspicious file for up to 60 seconds, and scan it in the cloud to make sure it's safe. Value type is integer, range is 0 - 50. | | -| **daystoretaincleanedmalware** | Write | SInt32 | Time period (in days) that quarantine items will be stored on the system. | | -| **disablecatchupfullscan** | Write | String | This policy setting allows you to configure catch-up scans for scheduled full scans. (1: disabled, 0: enabled) | `0`, `1` | -| **disablecatchupquickscan** | Write | String | This policy setting allows you to configure catch-up scans for scheduled quick scans. (1: disabled, 0: enabled) | `0`, `1` | -| **disablednsovertcpparsing** | Write | String | Disables or enables DNS over TCP Parsing for Network Protection. (0: enable feature. 1: disable feature) | `0`, `1` | -| **disablehttpparsing** | Write | String | Disables or enables HTTP Parsing for Network Protection. (0: enable feature. 1: disable feature) | `0`, `1` | +| **TamperProtection** | Write | String | Allows or disallows scanning of archives. (0: enable feature. 1: disable feature) | `0`, `1` | +| **DisableAccountProtectionUI** | Write | String | Use this policy setting to specify if to display the Account protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | +| **DisableAppBrowserUI** | Write | String | Use this policy setting if you want to disable the display of the app and browser protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | +| **DisableClearTpmButton** | Write | String | Disable the Clear TPM button in Windows Security. (0: disable feature. 1: enable feature) | `0`, `1` | +| **DisableDeviceSecurityUI** | Write | String | Use this policy setting if you want to disable the display of the Device security area in the Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | +| **DisableFamilyUI** | Write | String | Use this policy setting if you want to disable the display of the family options area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | +| **DisableHealthUI** | Write | String | Use this policy setting if you want to disable the display of the device performance and health area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | +| **DisableNetworkUI** | Write | String | Use this policy setting if you want to disable the display of the firewall and network protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | +| **DisableEnhancedNotifications** | Write | String | Use this policy setting if you want to disable the display of Windows Defender Security Center notifications. (0: disable feature. 1: enable feature) | `0`, `1` | +| **DisableTpmFirmwareUpdateWarning** | Write | String | Hide the recommendation to update TPM Firmware when a vulnerable firmware is detected. (0: disable feature. 1: enable feature) | `0`, `1` | +| **DisableVirusUI** | Write | String | Use this policy setting if you want to disable the display of the virus and threat protection area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | +| **HideRansomwareDataRecovery** | Write | String | Use this policy setting to hide the Ransomware data recovery area in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | +| **HideWindowsSecurityNotificationAreaControl** | Write | String | This policy setting hides the Windows Security notification area control. (0: disable feature. 1: enable feature) | `0`, `1` | +| **EnableCustomizedToasts** | Write | String | Enable this policy to display your company name and contact options in the notifications. (0: disable feature. 1: enable feature) | `0`, `1` | +| **EnableInAppCustomization** | Write | String | Enable this policy to have your company name and contact options displayed in a contact card fly out in Windows Defender Security Center. (0: disable feature. 1: enable feature) | `0`, `1` | +| **CompanyName** | Write | String | The company name that is displayed to the users. CompanyName is required for both EnableCustomizedToasts and EnableInAppCustomization. | | +| **Email** | Write | String | The email address that is displayed to users. The default mail application is used to initiate email actions. | | +| **Phone** | Write | String | The phone number or Skype ID that is displayed to users. Skype is used to initiate the call. | | +| **URL** | Write | String | The help portal URL that is displayed to users. The default browser is used to initiate this action. | | +| **AllowArchiveScanning** | Write | String | Allows or disallows scanning of archives. (0: disable feature. 1: enable feature) | `0`, `1` | +| **AllowBehaviorMonitoring** | Write | String | Allows or disallows Windows Defender Behavior Monitoring functionality. (0: disable feature. 1: enable feature) | `0`, `1` | +| **AllowCloudProtection** | Write | String | To best protect your PC, Windows Defender will send information to Microsoft about any problems it finds. Microsoft will analyze that information, learn more about problems affecting you and other customers, and offer improved solutions. (0: disable feature. 1: enable feature) | `0`, `1` | +| **AllowDatagramProcessingOnWinServer** | Write | String | Allows or disallows Network Protection to enable datagram processing on Windows Server. (0: disable feature. 1: enable feature) | `0`, `1` | +| **AllowEmailScanning** | Write | String | Allows or disallows scanning of email. (0: disable feature. 1: enable feature) | `0`, `1` | +| **AllowFullScanOnMappedNetworkDrives** | Write | String | Allows or disallows a full scan of mapped network drives. (0: disable feature. 1: enable feature) | `0`, `1` | +| **AllowFullScanRemovableDriveScanning** | Write | String | Allows or disallows a full scan of removable drives. During a quick scan, removable drives may still be scanned. (0: disable feature. 1: enable feature) | `0`, `1` | +| **AllowIntrusionPreventionSystem** | Write | String | https://github.com/MicrosoftDocs/memdocs/issues/2250 (0: disable feature. 1: enable feature) | `0`, `1` | +| **AllowIOAVProtection** | Write | String | Allows or disallows Windows Defender IOAVP Protection functionality. (0: disable feature. 1: enable feature) | `0`, `1` | +| **AllowNetworkProtectionDownLevel** | Write | String | Allows or disallows Network Protection to be configured into block or audit mode on windows downlevel of RS3. (0: disable feature. 1: enable feature) | `0`, `1` | +| **AllowRealtimeMonitoring** | Write | String | Allows or disallows Windows Defender real-time Monitoring functionality. (0: disable feature. 1: enable feature) | `0`, `1` | +| **AllowScanningNetworkFiles** | Write | String | Allows or disallows a scanning of network files. (0: disable feature. 1: enable feature) | `0`, `1` | +| **AllowScriptScanning** | Write | String | Allows or disallows Windows Defender Script Scanning functionality. (0: disable feature. 1: enable feature) | `0`, `1` | +| **AllowUserUIAccess** | Write | String | Allows or disallows user access to the Windows Defender UI. I disallowed, all Windows Defender notifications will also be suppressed. (0: Prevents users from accessing UI. 1: Lets users access UI) | `0`, `1` | +| **AvgCPULoadFactor** | Write | SInt32 | Represents the average CPU load factor for the Windows Defender scan (in percent). | | +| **ArchiveMaxDepth** | Write | SInt32 | Specify the maximum folder depth to extract from archive files for scanning. | | +| **ArchiveMaxSize** | Write | SInt32 | Specify the maximum size, in KB, of archive files to be extracted and scanned. | | +| **CheckForSignaturesBeforeRunningScan** | Write | String | This policy setting allows you to manage whether a check for new virus and spyware definitions will occur before running a scan. (0: disable feature. 1: enable feature) | `0`, `1` | +| **CloudBlockLevel** | Write | String | This policy setting determines how aggressive Microsoft Defender Antivirus will be in blocking and scanning suspicious files. Value type is integer.(0: Default windows defender blocking level, 2: High blocking level, 4:High+ blocking level, 6:Zero tolerance blocking level) | `0`, `2`, `4`, `6` | +| **CloudExtendedTimeout** | Write | SInt32 | This feature allows Microsoft Defender Antivirus to block a suspicious file for up to 60 seconds, and scan it in the cloud to make sure it's safe. Value type is integer, range is 0 - 50. | | +| **DaysToRetainCleanedMalware** | Write | SInt32 | Time period (in days) that quarantine items will be stored on the system. | | +| **DisableCatchupFullScan** | Write | String | This policy setting allows you to configure catch-up scans for scheduled full scans. (1: disabled, 0: enabled) | `0`, `1` | +| **DisableCatchupQuickScan** | Write | String | This policy setting allows you to configure catch-up scans for scheduled quick scans. (1: disabled, 0: enabled) | `0`, `1` | +| **DisableCoreServiceECSIntegration** | Write | String | Disable Core Service ECS Integration. (0: disabled, 1: enabled) | `0`, `1` | +| **DisableCoreServiceTelemetry** | Write | String | Disable Core Service Telemetry. (1: disabled, 0: enabled) | `0`, `1` | +| **DisableDnsOverTcpParsing** | Write | String | Disables or enables DNS over TCP Parsing for Network Protection. (0: enable feature. 1: disable feature) | `0`, `1` | +| **DisableHttpParsing** | Write | String | Disables or enables HTTP Parsing for Network Protection. (0: enable feature. 1: disable feature) | `0`, `1` | | **DisableSshParsing** | Write | String | Disable Ssh Parsing (1: SSH parsing is disabled, 0: SSH parsing is enabled) | `1`, `0` | -| **enablelowcpupriority** | Write | String | This policy setting allows you to enable or disable low CPU priority for scheduled scans. (0: disable feature. 1: enable feature) | `0`, `1` | -| **enablenetworkprotection** | Write | String | This policy allows you to turn on network protection (block/audit) or off. (0: disabled, 1: block mode, 2: audit mode) | `0`, `1`, `2` | -| **excludedextensions** | Write | StringArray[] | Allows an administrator to specify a list of file type extensions to ignore during a scan. | | -| **excludedpaths** | Write | StringArray[] | Allows an administrator to specify a list of directory paths to ignore during a scan. | | -| **excludedprocesses** | Write | StringArray[] | Allows an administrator to specify a list of files opened by processes to ignore during a scan. | | -| **puaprotection** | Write | String | Specifies the level of detection for potentially unwanted applications (PUAs). (0: disabled, 1: block mode, 2: audit mode) | `0`, `1`, `2` | -| **engineupdateschannel** | Write | String | Enable this policy to specify when devices receive Microsoft Defender engine updates during the monthly gradual rollout. (0: Not configured, 2: Beta Channel, 3: Current Channel (Preview), 4: Current Channel (Staged), 5: Current Channel (Broad), 6: Critical) | `0`, `2`, `3`, `4`, `5`, `6` | -| **meteredconnectionupdates** | Write | String | Allow managed devices to update through metered connections. (0: disabled, 1: enabled) | | -| **platformupdateschannel** | Write | String | Enable this policy to specify when devices receive Microsoft Defender platform updates during the monthly gradual rollout. (0: Not configured, 2: Beta Channel, 3: Current Channel (Preview), 4: Current Channel (Staged), 5: Current Channel (Broad), 6: Critical) | `0`, `2`, `3`, `4`, `5`, `6` | -| **securityintelligenceupdateschannel** | Write | String | Enable this policy to specify when devices receive Microsoft Defender security intelligence updates during the daily gradual rollout. (0: Not configured, 4: Current Channel (Staged), 5: Current Channel (Broad)) | `0`, `4`, `5` | -| **realtimescandirection** | Write | String | Controls which sets of files should be monitored. (0: Monitor all files (bi-directional), 1: Monitor incoming files, 2: Monitor outgoing files) | `0`, `1`, `2` | -| **scanparameter** | Write | String | Selects whether to perform a quick scan or full scan. (1: Quick scan, 2: Full scan) | `1`, `2` | -| **schedulequickscantime** | Write | SInt32 | Selects the time of day that the Windows Defender quick scan should run. | | -| **schedulescanday** | Write | String | Selects the day that the Windows Defender scan should run. (0: Every day, 1: Sunday, 2: Monday, 3: Tuesday, 4: Wednesday, 5: Thursday, 6: Friday, 7: Saturday, 8: No scheduled scan) | `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8` | -| **schedulescantime** | Write | SInt32 | Selects the time of day that the Windows Defender scan should run. Must be between 0 and 1380 minutes. | | -| **disabletlsparsing** | Write | String | This setting disables TLS Parsing for Network Protection. (0: enabled, 1: disabled) | `0`, `1` | -| **randomizescheduletasktimes** | Write | String | Specifies if the start time of the scan is randomized. (0: no randomization, 1: randomized) | `0`, `1` | -| **schedulerrandomizationtime** | Write | SInt32 | This setting allows you to configure the scheduler randomization in hours. The randomization interval is [1 - 23] hours. | | -| **signatureupdatefallbackorder** | Write | StringArray[] | This policy setting allows you to define the order in which different definition update sources should be contacted. | | -| **signatureupdatefilesharessources** | Write | StringArray[] | This policy setting allows you to configure UNC file share sources for downloading definition updates. | | -| **signatureupdateinterval** | Write | SInt32 | Specifies the interval (in hours) that will be used to check for signatures, so instead of using the ScheduleDay and ScheduleTime the check for new signatures will be set according to the interval. Must be between 0 and 24 hours. | | -| **submitsamplesconsent** | Write | String | Checks for the user consent level in Windows Defender to send data. (0: Always prompt, 1: Send safe samples automatically, 2: Never send, 3: Send all samples automatically) | `0`, `1`, `2`, `3` | -| **disablelocaladminmerge** | Write | String | This policy setting controls whether or not complex list settings configured by a local administrator are merged with managed settings. (0: enable local admin merge, 1: disable local admin merge) | `0`, `1` | -| **allowonaccessprotection** | Write | String | Allows or disallows Windows Defender On Access Protection functionality. (0: disable feature. 1: enable feature) | `0`, `1` | -| **lowseveritythreats** | Write | String | Allows an administrator to specify low severity threats corresponding action ID to take. | `clean`, `quarantine`, `remove`, `allow`, `userdefined`, `block` | -| **moderateseveritythreats** | Write | String | Allows an administrator to specify moderate severity threats corresponding action ID to take. | `clean`, `quarantine`, `remove`, `allow`, `userdefined`, `block` | -| **severethreats** | Write | String | Allows an administrator to specify high severity threats corresponding action ID to take. | `clean`, `quarantine`, `remove`, `allow`, `userdefined`, `block` | -| **highseveritythreats** | Write | String | Allows an administrator to specify severe threats corresponding action ID to take. | `clean`, `quarantine`, `remove`, `allow`, `userdefined`, `block` | -| **templateId** | Write | String | Template Id of the policy. 0: Windows Security Experience, 1: Defender Update controls, 2: Microsoft Defender Antivirus exclusions, 3: Microsoft Defender Antivirus | `d948ff9b-99cb-4ee0-8012-1fbc09685377_1`, `e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1`, `45fea5e9-280d-4da1-9792-fb5736da0ca9_1`, `804339ad-1553-4478-a742-138fb5807418_1` | +| **EnableLowCPUPriority** | Write | String | This policy setting allows you to enable or disable low CPU priority for scheduled scans. (0: disable feature. 1: enable feature) | `0`, `1` | +| **EnableNetworkProtection** | Write | String | This policy allows you to turn on network protection (block/audit) or off. (0: disabled, 1: block mode, 2: audit mode) | `0`, `1`, `2` | +| **ExcludedExtensions** | Write | StringArray[] | Allows an administrator to specify a list of file type extensions to ignore during a scan. | | +| **ExcludedPaths** | Write | StringArray[] | Allows an administrator to specify a list of directory paths to ignore during a scan. | | +| **ExcludedProcesses** | Write | StringArray[] | Allows an administrator to specify a list of files opened by processes to ignore during a scan. | | +| **PUAProtection** | Write | String | Specifies the level of detection for potentially unwanted applications (PUAs). (0: disabled, 1: block mode, 2: audit mode) | `0`, `1`, `2` | +| **EngineUpdatesChannel** | Write | String | Enable this policy to specify when devices receive Microsoft Defender engine updates during the monthly gradual rollout. (0: Not configured, 2: Beta Channel, 3: Current Channel (Preview), 4: Current Channel (Staged), 5: Current Channel (Broad), 6: Critical) | `0`, `2`, `3`, `4`, `5`, `6` | +| **MeteredConnectionUpdates** | Write | String | Allow managed devices to update through metered connections. (0: disabled, 1: enabled) | | +| **PlatformUpdatesChannel** | Write | String | Enable this policy to specify when devices receive Microsoft Defender platform updates during the monthly gradual rollout. (0: Not configured, 2: Beta Channel, 3: Current Channel (Preview), 4: Current Channel (Staged), 5: Current Channel (Broad), 6: Critical) | `0`, `2`, `3`, `4`, `5`, `6` | +| **SecurityIntelligenceUpdatesChannel** | Write | String | Enable this policy to specify when devices receive Microsoft Defender security intelligence updates during the daily gradual rollout. (0: Not configured, 4: Current Channel (Staged), 5: Current Channel (Broad)) | `0`, `4`, `5` | +| **RealTimeScanDirection** | Write | String | Controls which sets of files should be monitored. (0: Monitor all files (bi-directional), 1: Monitor incoming files, 2: Monitor outgoing files) | `0`, `1`, `2` | +| **ScanParameter** | Write | String | Selects whether to perform a quick scan or full scan. (1: Quick scan, 2: Full scan) | `1`, `2` | +| **ScheduleQuickScanTime** | Write | SInt32 | Selects the time of day that the Windows Defender quick scan should run. | | +| **ScheduleScanDay** | Write | String | Selects the day that the Windows Defender scan should run. (0: Every day, 1: Sunday, 2: Monday, 3: Tuesday, 4: Wednesday, 5: Thursday, 6: Friday, 7: Saturday, 8: No scheduled scan) | `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8` | +| **ScheduleScanTime** | Write | SInt32 | Selects the time of day that the Windows Defender scan should run. Must be between 0 and 1380 minutes. | | +| **DisableTlsParsing** | Write | String | This setting disables TLS Parsing for Network Protection. (0: enabled, 1: disabled) | `0`, `1` | +| **RandomizeScheduleTaskTimes** | Write | String | Specifies if the start time of the scan is randomized. (0: no randomization, 1: randomized) | `0`, `1` | +| **SchedulerRandomizationTime** | Write | SInt32 | This setting allows you to configure the scheduler randomization in hours. The randomization interval is [1 - 23] hours. | | +| **SignatureUpdateFallbackOrder** | Write | StringArray[] | This policy setting allows you to define the order in which different definition update sources should be contacted. | | +| **SignatureUpdateFileSharesSources** | Write | StringArray[] | This policy setting allows you to configure UNC file share sources for downloading definition updates. | | +| **SignatureUpdateInterval** | Write | SInt32 | Specifies the interval (in hours) that will be used to check for signatures, so instead of using the ScheduleDay and ScheduleTime the check for new signatures will be set according to the interval. Must be between 0 and 24 hours. | | +| **SubmitSamplesConsent** | Write | String | Checks for the user consent level in Windows Defender to send data. (0: Always prompt, 1: Send safe samples automatically, 2: Never send, 3: Send all samples automatically) | `0`, `1`, `2`, `3` | +| **DisableLocalAdminMerge** | Write | String | This policy setting controls whether or not complex list settings configured by a local administrator are merged with managed settings. (0: enable local admin merge, 1: disable local admin merge) | `0`, `1` | +| **AllowOnAccessProtection** | Write | String | Allows or disallows Windows Defender On Access Protection functionality. (0: disable feature. 1: enable feature) | `0`, `1` | +| **LowSeverityThreats** | Write | String | Allows an administrator to specify low severity threats corresponding action ID to take. | `clean`, `quarantine`, `remove`, `allow`, `userdefined`, `block` | +| **ModerateSeverityThreats** | Write | String | Allows an administrator to specify moderate severity threats corresponding action ID to take. | `clean`, `quarantine`, `remove`, `allow`, `userdefined`, `block` | +| **SevereThreats** | Write | String | Allows an administrator to specify high severity threats corresponding action ID to take. | `clean`, `quarantine`, `remove`, `allow`, `userdefined`, `block` | +| **HighSeverityThreats** | Write | String | Allows an administrator to specify severe threats corresponding action ID to take. | `clean`, `quarantine`, `remove`, `allow`, `userdefined`, `block` | +| **TemplateId** | Write | String | Template Id of the policy. 0: Windows Security Experience, 1: Defender Update controls, 2: Microsoft Defender Antivirus exclusions, 3: Microsoft Defender Antivirus | `d948ff9b-99cb-4ee0-8012-1fbc09685377_1`, `e3f74c5a-a6de-411d-aef6-eb15628f3a0a_1`, `45fea5e9-280d-4da1-9792-fb5736da0ca9_1`, `804339ad-1553-4478-a742-138fb5807418_1` | | **Assignments** | Write | MSFT_DeviceManagementConfigurationPolicyAssignments[] | Represents the assignment to the Intune policy. | | | **Ensure** | Write | String | Present ensures the policy exists, absent ensures it is removed | `Present`, `Absent` | | **Credential** | Write | PSCredential | Credentials of the Intune Admin | | From 40a6070d3f939de3565dc1439ee502d9772eefa7 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Mon, 11 Nov 2024 14:21:55 +0000 Subject: [PATCH 10/58] Updated Schema Definition --- Modules/Microsoft365DSC/SchemaDefinition.json | 65 ------------------- 1 file changed, 65 deletions(-) diff --git a/Modules/Microsoft365DSC/SchemaDefinition.json b/Modules/Microsoft365DSC/SchemaDefinition.json index 03cf064c2c..2df1c3f8c0 100644 --- a/Modules/Microsoft365DSC/SchemaDefinition.json +++ b/Modules/Microsoft365DSC/SchemaDefinition.json @@ -15735,71 +15735,6 @@ } ] }, - { - "ClassName": "MSFT_EXOM365DataAtRestEncryptionPolicy", - "Parameters": [ - { - "CIMType": "String", - "Name": "Identity", - "Option": "Key" - }, - { - "CIMType": "String", - "Name": "Name", - "Option": "Write" - }, - { - "CIMType": "String", - "Name": "Description", - "Option": "Write" - }, - { - "CIMType": "Boolean", - "Name": "Enabled", - "Option": "Write" - }, - { - "CIMType": "String[]", - "Name": "AzureKeyIDs", - "Option": "Write" - }, - { - "CIMType": "string", - "Name": "Ensure", - "Option": "Write" - }, - { - "CIMType": "MSFT_Credential", - "Name": "Credential", - "Option": "Write" - }, - { - "CIMType": "String", - "Name": "ApplicationId", - "Option": "Write" - }, - { - "CIMType": "String", - "Name": "TenantId", - "Option": "Write" - }, - { - "CIMType": "String", - "Name": "CertificateThumbprint", - "Option": "Write" - }, - { - "CIMType": "Boolean", - "Name": "ManagedIdentity", - "Option": "Write" - }, - { - "CIMType": "String[]", - "Name": "AccessTokens", - "Option": "Write" - } - ] - }, { "ClassName": "MSFT_EXOMailboxAuditBypassAssociation", "Parameters": [ From 43fea2e8b724df9c4ecd8a56556784419f821f20 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Mon, 11 Nov 2024 14:22:27 +0000 Subject: [PATCH 11/58] Updated {Create} EXO Integration Tests --- .../M365DSCIntegration.EXO.Create.Tests.ps1 | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 index 598715487f..ac6dbe5567 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 @@ -483,18 +483,6 @@ TenantId = $TenantId CertificateThumbprint = $CertificateThumbprint } - EXOM365DataAtRestEncryptionPolicy 'M365DataAtRestEncryptionPolicy-Riyansh_Policy' - { - AzureKeyIDs = @("https://m365dataatrestencryption.vault.azure.net/keys/EncryptionKey","https://m365datariyansh.vault.azure.net/keys/EncryptionRiyansh"); - Description = "Tenant default policy 1"; - Enabled = $True; - Ensure = "Present"; - Identity = "Riyansh_Policy"; - Name = "Riyansh_Policy"; - ApplicationId = $ApplicationId; - TenantId = $TenantId; - CertificateThumbprint = $CertificateThumbprint; - } EXOMailboxFolderPermission 'EXOMailboxFolderPermission-admin:\Calendar' { ApplicationId = $ApplicationId From 8e4df37bbd4893bf6133548026a2062279e90621 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Mon, 11 Nov 2024 14:23:12 +0000 Subject: [PATCH 12/58] Updated {Update} EXO Integration Tests --- .../M365DSCIntegration.EXO.Update.Tests.ps1 | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 index cf8e6c6efb..5d18ef125e 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 @@ -689,18 +689,6 @@ TenantId = $TenantId CertificateThumbprint = $CertificateThumbprint } - EXOM365DataAtRestEncryptionPolicy 'M365DataAtRestEncryptionPolicy-Riyansh_Policy' - { - AzureKeyIDs = @("https://m365dataatrestencryption.vault.azure.net/keys/EncryptionKey","https://m365datariyansh.vault.azure.net/keys/EncryptionRiyansh"); - Description = "Tenant default policy 2"; # drift - Enabled = $True; - Ensure = "Present"; - Identity = "Riyansh_Policy"; - Name = "Riyansh_Policy"; - ApplicationId = $ApplicationId; - TenantId = $TenantId; - CertificateThumbprint = $CertificateThumbprint; - } EXOMailboxAuditBypassAssociation 'EXOMailboxAuditBypassAssociation-Test' { AuditBypassEnabled = $True; #Updated Property From a6986dc075b76c879cff359fb5c93e288c6c6475 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Mon, 11 Nov 2024 14:23:44 +0000 Subject: [PATCH 13/58] Updated {Update} EXO Integration Tests --- .../M365DSCIntegration.EXO.Remove.Tests.ps1 | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Remove.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Remove.Tests.ps1 index e51daed2ea..47a64c525d 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Remove.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Remove.Tests.ps1 @@ -359,18 +359,6 @@ TenantId = $TenantId CertificateThumbprint = $CertificateThumbprint } - EXOM365DataAtRestEncryptionPolicy 'M365DataAtRestEncryptionPolicy-Riyansh_Policy' - { - AzureKeyIDs = @("https://m365dataatrestencryption.vault.azure.net/keys/EncryptionKey","https://m365datariyansh.vault.azure.net/keys/EncryptionRiyansh"); - Description = "Tenant default policy 1"; - Enabled = $True; - Ensure = "Absent"; - Identity = "Riyansh_Policy"; - Name = "Riyansh_Policy"; - ApplicationId = $ApplicationId; - TenantId = $TenantId; - CertificateThumbprint = $CertificateThumbprint; - } EXOMailContact 'TestMailContact' { Alias = 'TestMailContact' From bc46efa693b8ba666dfe15e0613479a3575f6703 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Mon, 11 Nov 2024 14:52:24 +0000 Subject: [PATCH 14/58] Updated Schema Definition --- Modules/Microsoft365DSC/SchemaDefinition.json | 156 ++++++++++-------- 1 file changed, 83 insertions(+), 73 deletions(-) diff --git a/Modules/Microsoft365DSC/SchemaDefinition.json b/Modules/Microsoft365DSC/SchemaDefinition.json index 2df1c3f8c0..3af30a3dfe 100644 --- a/Modules/Microsoft365DSC/SchemaDefinition.json +++ b/Modules/Microsoft365DSC/SchemaDefinition.json @@ -24950,222 +24950,232 @@ }, { "CIMType": "String", - "Name": "tamperprotection", + "Name": "TamperProtection", "Option": "Write" }, { "CIMType": "String", - "Name": "disableaccountprotectionui", + "Name": "DisableAccountProtectionUI", "Option": "Write" }, { "CIMType": "String", - "Name": "disableappbrowserui", + "Name": "DisableAppBrowserUI", "Option": "Write" }, { "CIMType": "String", - "Name": "disablecleartpmbutton", + "Name": "DisableClearTpmButton", "Option": "Write" }, { "CIMType": "String", - "Name": "disabledevicesecurityui", + "Name": "DisableDeviceSecurityUI", "Option": "Write" }, { "CIMType": "String", - "Name": "disablefamilyui", + "Name": "DisableFamilyUI", "Option": "Write" }, { "CIMType": "String", - "Name": "disablehealthui", + "Name": "DisableHealthUI", "Option": "Write" }, { "CIMType": "String", - "Name": "disablenetworkui", + "Name": "DisableNetworkUI", "Option": "Write" }, { "CIMType": "String", - "Name": "disableenhancednotifications", + "Name": "DisableEnhancedNotifications", "Option": "Write" }, { "CIMType": "String", - "Name": "disabletpmfirmwareupdatewarning", + "Name": "DisableTpmFirmwareUpdateWarning", "Option": "Write" }, { "CIMType": "String", - "Name": "disablevirusui", + "Name": "DisableVirusUI", "Option": "Write" }, { "CIMType": "String", - "Name": "hideransomwaredatarecovery", + "Name": "HideRansomwareDataRecovery", "Option": "Write" }, { "CIMType": "String", - "Name": "hidewindowssecuritynotificationareacontrol", + "Name": "HideWindowsSecurityNotificationAreaControl", "Option": "Write" }, { "CIMType": "String", - "Name": "enablecustomizedtoasts", + "Name": "EnableCustomizedToasts", "Option": "Write" }, { "CIMType": "String", - "Name": "enableinappcustomization", + "Name": "EnableInAppCustomization", "Option": "Write" }, { "CIMType": "String", - "Name": "companyname", + "Name": "CompanyName", "Option": "Write" }, { "CIMType": "String", - "Name": "email", + "Name": "Email", "Option": "Write" }, { "CIMType": "String", - "Name": "phone", + "Name": "Phone", "Option": "Write" }, { "CIMType": "String", - "Name": "url", + "Name": "URL", "Option": "Write" }, { "CIMType": "String", - "Name": "allowarchivescanning", + "Name": "AllowArchiveScanning", "Option": "Write" }, { "CIMType": "String", - "Name": "allowbehaviormonitoring", + "Name": "AllowBehaviorMonitoring", "Option": "Write" }, { "CIMType": "String", - "Name": "allowcloudprotection", + "Name": "AllowCloudProtection", "Option": "Write" }, { "CIMType": "String", - "Name": "allowdatagramprocessingonwinserver", + "Name": "AllowDatagramProcessingOnWinServer", "Option": "Write" }, { "CIMType": "String", - "Name": "allowemailscanning", + "Name": "AllowEmailScanning", "Option": "Write" }, { "CIMType": "String", - "Name": "allowfullscanonmappednetworkdrives", + "Name": "AllowFullScanOnMappedNetworkDrives", "Option": "Write" }, { "CIMType": "String", - "Name": "allowfullscanremovabledrivescanning", + "Name": "AllowFullScanRemovableDriveScanning", "Option": "Write" }, { "CIMType": "String", - "Name": "allowintrusionpreventionsystem", + "Name": "AllowIntrusionPreventionSystem", "Option": "Write" }, { "CIMType": "String", - "Name": "allowioavprotection", + "Name": "AllowIOAVProtection", "Option": "Write" }, { "CIMType": "String", - "Name": "allownetworkprotectiondownlevel", + "Name": "AllowNetworkProtectionDownLevel", "Option": "Write" }, { "CIMType": "String", - "Name": "allowrealtimemonitoring", + "Name": "AllowRealtimeMonitoring", "Option": "Write" }, { "CIMType": "String", - "Name": "allowscanningnetworkfiles", + "Name": "AllowScanningNetworkFiles", "Option": "Write" }, { "CIMType": "String", - "Name": "allowscriptscanning", + "Name": "AllowScriptScanning", "Option": "Write" }, { "CIMType": "String", - "Name": "allowuseruiaccess", + "Name": "AllowUserUIAccess", "Option": "Write" }, { "CIMType": "sInt32", - "Name": "avgcpuloadfactor", + "Name": "AvgCPULoadFactor", "Option": "Write" }, { "CIMType": "sInt32", - "Name": "archivemaxdepth", + "Name": "ArchiveMaxDepth", "Option": "Write" }, { "CIMType": "sInt32", - "Name": "archivemaxsize", + "Name": "ArchiveMaxSize", "Option": "Write" }, { "CIMType": "String", - "Name": "checkforsignaturesbeforerunningscan", + "Name": "CheckForSignaturesBeforeRunningScan", "Option": "Write" }, { "CIMType": "String", - "Name": "cloudblocklevel", + "Name": "CloudBlockLevel", "Option": "Write" }, { "CIMType": "sInt32", - "Name": "cloudextendedtimeout", + "Name": "CloudExtendedTimeout", "Option": "Write" }, { "CIMType": "sInt32", - "Name": "daystoretaincleanedmalware", + "Name": "DaysToRetainCleanedMalware", "Option": "Write" }, { "CIMType": "String", - "Name": "disablecatchupfullscan", + "Name": "DisableCatchupFullScan", "Option": "Write" }, { "CIMType": "String", - "Name": "disablecatchupquickscan", + "Name": "DisableCatchupQuickScan", "Option": "Write" }, { "CIMType": "String", - "Name": "disablednsovertcpparsing", + "Name": "DisableCoreServiceECSIntegration", "Option": "Write" }, { "CIMType": "String", - "Name": "disablehttpparsing", + "Name": "DisableCoreServiceTelemetry", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisableDnsOverTcpParsing", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisableHttpParsing", "Option": "Write" }, { @@ -25175,147 +25185,147 @@ }, { "CIMType": "String", - "Name": "enablelowcpupriority", + "Name": "EnableLowCPUPriority", "Option": "Write" }, { "CIMType": "String", - "Name": "enablenetworkprotection", + "Name": "EnableNetworkProtection", "Option": "Write" }, { "CIMType": "String[]", - "Name": "excludedextensions", + "Name": "ExcludedExtensions", "Option": "Write" }, { "CIMType": "String[]", - "Name": "excludedpaths", + "Name": "ExcludedPaths", "Option": "Write" }, { "CIMType": "String[]", - "Name": "excludedprocesses", + "Name": "ExcludedProcesses", "Option": "Write" }, { "CIMType": "String", - "Name": "puaprotection", + "Name": "PUAProtection", "Option": "Write" }, { "CIMType": "String", - "Name": "engineupdateschannel", + "Name": "EngineUpdatesChannel", "Option": "Write" }, { "CIMType": "String", - "Name": "meteredconnectionupdates", + "Name": "MeteredConnectionUpdates", "Option": "Write" }, { "CIMType": "String", - "Name": "platformupdateschannel", + "Name": "PlatformUpdatesChannel", "Option": "Write" }, { "CIMType": "String", - "Name": "securityintelligenceupdateschannel", + "Name": "SecurityIntelligenceUpdatesChannel", "Option": "Write" }, { "CIMType": "String", - "Name": "realtimescandirection", + "Name": "RealTimeScanDirection", "Option": "Write" }, { "CIMType": "String", - "Name": "scanparameter", + "Name": "ScanParameter", "Option": "Write" }, { "CIMType": "sInt32", - "Name": "schedulequickscantime", + "Name": "ScheduleQuickScanTime", "Option": "Write" }, { "CIMType": "String", - "Name": "schedulescanday", + "Name": "ScheduleScanDay", "Option": "Write" }, { "CIMType": "sInt32", - "Name": "schedulescantime", + "Name": "ScheduleScanTime", "Option": "Write" }, { "CIMType": "String", - "Name": "disabletlsparsing", + "Name": "DisableTlsParsing", "Option": "Write" }, { "CIMType": "String", - "Name": "randomizescheduletasktimes", + "Name": "RandomizeScheduleTaskTimes", "Option": "Write" }, { "CIMType": "sInt32", - "Name": "schedulerrandomizationtime", + "Name": "SchedulerRandomizationTime", "Option": "Write" }, { "CIMType": "String[]", - "Name": "signatureupdatefallbackorder", + "Name": "SignatureUpdateFallbackOrder", "Option": "Write" }, { "CIMType": "String[]", - "Name": "signatureupdatefilesharessources", + "Name": "SignatureUpdateFileSharesSources", "Option": "Write" }, { "CIMType": "sInt32", - "Name": "signatureupdateinterval", + "Name": "SignatureUpdateInterval", "Option": "Write" }, { "CIMType": "String", - "Name": "submitsamplesconsent", + "Name": "SubmitSamplesConsent", "Option": "Write" }, { "CIMType": "String", - "Name": "disablelocaladminmerge", + "Name": "DisableLocalAdminMerge", "Option": "Write" }, { "CIMType": "String", - "Name": "allowonaccessprotection", + "Name": "AllowOnAccessProtection", "Option": "Write" }, { "CIMType": "String", - "Name": "lowseveritythreats", + "Name": "LowSeverityThreats", "Option": "Write" }, { "CIMType": "String", - "Name": "moderateseveritythreats", + "Name": "ModerateSeverityThreats", "Option": "Write" }, { "CIMType": "String", - "Name": "severethreats", + "Name": "SevereThreats", "Option": "Write" }, { "CIMType": "String", - "Name": "highseveritythreats", + "Name": "HighSeverityThreats", "Option": "Write" }, { "CIMType": "String", - "Name": "templateId", + "Name": "TemplateId", "Option": "Write" }, { From 0ac51cb018623bf25bd964e53f46064673c4168a Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Mon, 11 Nov 2024 16:03:40 +0000 Subject: [PATCH 15/58] Updated Resources and Cmdlet documentation pages --- .../IntuneAntivirusExclusionsPolicyMacOS.md | 216 ++++++++++++++++++ .../intune/IntuneAntivirusPolicyLinux.md | 2 +- 2 files changed, 217 insertions(+), 1 deletion(-) create mode 100644 docs/docs/resources/intune/IntuneAntivirusExclusionsPolicyMacOS.md diff --git a/docs/docs/resources/intune/IntuneAntivirusExclusionsPolicyMacOS.md b/docs/docs/resources/intune/IntuneAntivirusExclusionsPolicyMacOS.md new file mode 100644 index 0000000000..9667f39dcc --- /dev/null +++ b/docs/docs/resources/intune/IntuneAntivirusExclusionsPolicyMacOS.md @@ -0,0 +1,216 @@ +# IntuneAntivirusExclusionsPolicyMacOS + +## Parameters + +| Parameter | Attribute | DataType | Description | Allowed Values | +| --- | --- | --- | --- | --- | +| **Description** | Write | String | Policy description | | +| **DisplayName** | Key | String | Policy name | | +| **RoleScopeTagIds** | Write | StringArray[] | List of Scope Tags for this Entity instance. | | +| **Id** | Write | String | The unique identifier for an entity. Read-only. | | +| **Exclusions** | Write | MSFT_MicrosoftGraphIntuneSettingsCatalogexclusions[] | Scan exclusions | | +| **Assignments** | Write | MSFT_DeviceManagementConfigurationPolicyAssignments[] | Represents the assignment to the Intune policy. | | +| **Ensure** | Write | String | Present ensures the policy exists, absent ensures it is removed. | `Present`, `Absent` | +| **Credential** | Write | PSCredential | Credentials of the Admin | | +| **ApplicationId** | Write | String | Id of the Azure Active Directory application to authenticate with. | | +| **TenantId** | Write | String | Id of the Azure Active Directory tenant used for authentication. | | +| **ApplicationSecret** | Write | PSCredential | Secret of the Azure Active Directory tenant used for authentication. | | +| **CertificateThumbprint** | Write | String | Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication. | | +| **ManagedIdentity** | Write | Boolean | Managed ID being used for authentication. | | +| **AccessTokens** | Write | StringArray[] | Access token used for authentication. | | + +### MSFT_DeviceManagementConfigurationPolicyAssignments + +#### Parameters + +| Parameter | Attribute | DataType | Description | Allowed Values | +| --- | --- | --- | --- | --- | +| **dataType** | Write | String | The type of the target assignment. | `#microsoft.graph.groupAssignmentTarget`, `#microsoft.graph.allLicensedUsersAssignmentTarget`, `#microsoft.graph.allDevicesAssignmentTarget`, `#microsoft.graph.exclusionGroupAssignmentTarget`, `#microsoft.graph.configurationManagerCollectionAssignmentTarget` | +| **deviceAndAppManagementAssignmentFilterType** | Write | String | The type of filter of the target assignment i.e. Exclude or Include. Possible values are:none, include, exclude. | `none`, `include`, `exclude` | +| **deviceAndAppManagementAssignmentFilterId** | Write | String | The Id of the filter for the target assignment. | | +| **groupId** | Write | String | The group Id that is the target of the assignment. | | +| **groupDisplayName** | Write | String | The group Display Name that is the target of the assignment. | | +| **collectionId** | Write | String | The collection Id that is the target of the assignment.(ConfigMgr) | | + +### MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions + +#### Parameters + +| Parameter | Attribute | DataType | Description | Allowed Values | +| --- | --- | --- | --- | --- | +| **exclusions_item_type** | Write | String | Type - Depends on exclusions (0: Path, 1: File extension, 2: Process name) | `0`, `1`, `2` | +| **exclusions_item_extension** | Write | String | File extension - Depends on exclusions_item_type=1 | | +| **exclusions_item_name** | Write | String | File name - exclusions_item_type=2 | | +| **exclusions_item_path** | Write | String | Path - exclusions_item_type=0 | | +| **exclusions_item_isDirectory** | Write | String | Is directory (false: Disabled, true: Enabled) - Depends on exclusions_item_type=0 | `false`, `true` | + + +## Description + +Intune Antivirus Exclusions Policy for macOS + +## Permissions + +### Microsoft Graph + +To authenticate with the Microsoft Graph API, this resource required the following permissions: + +#### Delegated permissions + +- **Read** + + - DeviceManagementConfiguration.Read.All, Group.Read.All + +- **Update** + + - DeviceManagementConfiguration.ReadWrite.All, Group.Read.All + +#### Application permissions + +- **Read** + + - DeviceManagementConfiguration.Read.All, Group.Read.All + +- **Update** + + - DeviceManagementConfiguration.ReadWrite.All, Group.Read.All + +## Examples + +### Example 1 + +This example is used to test new resources and showcase the usage of new resources being worked on. +It is not meant to use as a production baseline. + +```powershell +Configuration Example +{ + param( + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint + ) + Import-DscResource -ModuleName Microsoft365DSC + + node localhost + { + IntuneAntivirusExclusionsPolicyMacOS 'myIntuneAntivirusExclusionsPolicyMacOS' + { + Assignments = @(); + Description = ""; + DisplayName = "Test"; + Ensure = "Present"; + Exclusions = @( + MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions{ + Exclusions_item_extension = '.dmg' + Exclusions_item_type = '1' + } + MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions{ + Exclusions_item_name = 'process1' + Exclusions_item_type = '2' + } + ); + RoleScopeTagIds = @("0"); + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } + } +} +``` + +### Example 2 + +This example is used to test new resources and showcase the usage of new resources being worked on. +It is not meant to use as a production baseline. + +```powershell +Configuration Example +{ + param( + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint + ) + Import-DscResource -ModuleName Microsoft365DSC + + node localhost + { + IntuneAntivirusExclusionsPolicyMacOS 'myIntuneAntivirusExclusionsPolicyMacOS' + { + Assignments = @(); + Description = ""; + DisplayName = "Test"; + Ensure = "Present"; + Exclusions = @( + MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions{ + Exclusions_item_extension = '.xcode' # Updated property + Exclusions_item_type = '1' + } + MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions{ + Exclusions_item_name = 'process1' + Exclusions_item_type = '2' + } + ); + RoleScopeTagIds = @("0"); + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } + } +} +``` + +### Example 3 + +This example is used to test new resources and showcase the usage of new resources being worked on. +It is not meant to use as a production baseline. + +```powershell +Configuration Example +{ + param( + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint + ) + Import-DscResource -ModuleName Microsoft365DSC + + node localhost + { + IntuneAntivirusExclusionsPolicyMacOS 'myIntuneAntivirusPolicyMacOS' + { + DisplayName = 'test' + Ensure = 'Absent' + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } + } +} +``` + diff --git a/docs/docs/resources/intune/IntuneAntivirusPolicyLinux.md b/docs/docs/resources/intune/IntuneAntivirusPolicyLinux.md index 390afdcdb4..c551920908 100644 --- a/docs/docs/resources/intune/IntuneAntivirusPolicyLinux.md +++ b/docs/docs/resources/intune/IntuneAntivirusPolicyLinux.md @@ -79,7 +79,7 @@ ## Description -Intune Antivirus Policy Linux +Intune Antivirus Policy for Linux ## Permissions From c9b71f53b7a5a5ce01c8c6c568226bb01d9ee663 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Mon, 11 Nov 2024 16:05:54 +0000 Subject: [PATCH 16/58] Updated Schema Definition --- Modules/Microsoft365DSC/SchemaDefinition.json | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/Modules/Microsoft365DSC/SchemaDefinition.json b/Modules/Microsoft365DSC/SchemaDefinition.json index 3af30a3dfe..81d5db4ea9 100644 --- a/Modules/Microsoft365DSC/SchemaDefinition.json +++ b/Modules/Microsoft365DSC/SchemaDefinition.json @@ -24535,6 +24535,81 @@ } ] }, + { + "ClassName": "MSFT_IntuneAntivirusExclusionsPolicyMacOS", + "Parameters": [ + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "RoleScopeTagIds", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphIntuneSettingsCatalogexclusions[]", + "Name": "Exclusions", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AccessTokens", + "Option": "Write" + } + ] + }, { "ClassName": "MSFT_MicrosoftGraphIntuneSettingsCatalogthreatTypeSettings", "Parameters": [ From a39894509d2042933a9a66ab73e5a5e662270d33 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Mon, 11 Nov 2024 16:06:47 +0000 Subject: [PATCH 17/58] Updated {Create} Intune Integration Tests --- ...M365DSCIntegration.INTUNE.Create.Tests.ps1 | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 index 97fbc9a505..678e74b71c 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 @@ -127,6 +127,27 @@ TenantId = $TenantId; CertificateThumbprint = $CertificateThumbprint; } + IntuneAntivirusExclusionsPolicyMacOS 'myIntuneAntivirusExclusionsPolicyMacOS' + { + Assignments = @(); + Description = ""; + DisplayName = "Test"; + Ensure = "Present"; + Exclusions = @( + MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions{ + Exclusions_item_extension = '.dmg' + Exclusions_item_type = '1' + } + MSFT_MicrosoftGraphIntuneSettingsCatalogExclusions{ + Exclusions_item_name = 'process1' + Exclusions_item_type = '2' + } + ); + RoleScopeTagIds = @("0"); + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } IntuneAntivirusPolicyLinux 'myIntuneAntivirusPolicyLinux' { allowedThreats = @("Threat 1"); From fc515b5cc06099d6f6c6ff226bf2b143a08e2d0f Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Mon, 11 Nov 2024 11:26:10 -0500 Subject: [PATCH 18/58] Updated DSCParser to version 2.0.0.12 --- CHANGELOG.md | 2 ++ Modules/Microsoft365DSC/Dependencies/Manifest.psd1 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 308612b6ef..8e122cdcfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ * M365DSCDRGUtil * Restrict CIM instance access to properties that appear multiple times. * Switch log type for not found Intune assignments to `Warning`. +* DEPENDENCIES + * Updated DSCParser to version 2.0.0.12. # 1.24.1106.3 diff --git a/Modules/Microsoft365DSC/Dependencies/Manifest.psd1 b/Modules/Microsoft365DSC/Dependencies/Manifest.psd1 index 8cf9012973..1e6255bee7 100644 --- a/Modules/Microsoft365DSC/Dependencies/Manifest.psd1 +++ b/Modules/Microsoft365DSC/Dependencies/Manifest.psd1 @@ -18,7 +18,7 @@ }, @{ ModuleName = 'DSCParser' - RequiredVersion = '2.0.0.11' + RequiredVersion = '2.0.0.12' }, @{ ModuleName = 'ExchangeOnlineManagement' From 727843e3ccdcbf8b0a238aec076586333f9455c9 Mon Sep 17 00:00:00 2001 From: Fabien Tschanz Date: Mon, 11 Nov 2024 20:09:30 +0100 Subject: [PATCH 19/58] Fix property naming and settings catalog handling --- CHANGELOG.md | 8 +++++ ...alAdministratorPasswordSolutionPolicy.psm1 | 10 +++---- ...nistratorPasswordSolutionPolicy.schema.mof | 2 +- ...T_IntuneSecurityBaselineMicrosoftEdge.psm1 | 30 +++++++++++++++++++ ...neSecurityBaselineMicrosoftEdge.schema.mof | 3 +- .../1-Create.ps1 | 2 +- .../2-Update.ps1 | 2 +- .../Modules/M365DSCDRGUtil.psm1 | 2 +- .../M365DSCIntuneSettingsCatalogUtil.psm1 | 3 +- 9 files changed, 51 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e122cdcfb..6c5c7d350b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,14 +2,22 @@ # UNRELEASED +* IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy + * Update property `PasswordAgeDays_AAD` to be lower-case. + FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (1/2) * IntuneAntivirusExclusionsPolicyMacOS * Initial release. * IntuneAntivirusPolicyWindows10SettingCatalog * Update properties to be upper-case. Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneSecurityBaselineMicrosoftEdge + * Deprecate property `authschemes` and replace with `AuthSchemes_AuthSchemes` * M365DSCDRGUtil * Restrict CIM instance access to properties that appear multiple times. * Switch log type for not found Intune assignments to `Warning`. +* M365DSCIntuneSettingsCatalogUtil + * Add ADMX handling for `edge~httpauthentication_`. + FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (2/2) * DEPENDENCIES * Updated DSCParser to version 2.0.0.12. diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.psm1 index 9a6140387a..b9fc29e2af 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.psm1 @@ -24,7 +24,7 @@ function Get-TargetResource [Parameter()] [System.Int32] [ValidateRange(7, 365)] - $PasswordAgeDays_AAD, + $passwordagedays_aad, [Parameter()] [System.Int32] @@ -118,7 +118,7 @@ function Get-TargetResource -ErrorAction Stop #Ensure the proper dependencies are installed in the current environment. - Confirm-M365DSCDependencies + #Confirm-M365DSCDependencies #region Telemetry $ResourceName = $MyInvocation.MyCommand.ModuleName -replace 'MSFT_', '' @@ -237,7 +237,7 @@ function Set-TargetResource [Parameter()] [System.Int32] [ValidateRange(7, 365)] - $PasswordAgeDays_AAD, + $passwordagedays_aad, [Parameter()] [System.Int32] @@ -324,7 +324,7 @@ function Set-TargetResource ) #Ensure the proper dependencies are installed in the current environment. - Confirm-M365DSCDependencies + #Confirm-M365DSCDependencies #region Telemetry $ResourceName = $MyInvocation.MyCommand.ModuleName -replace 'MSFT_', '' @@ -433,7 +433,7 @@ function Test-TargetResource [Parameter()] [System.Int32] [ValidateRange(7, 365)] - $PasswordAgeDays_AAD, + $passwordagedays_aad, [Parameter()] [System.Int32] diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.schema.mof index 33aeb469d7..a3eb529bec 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.schema.mof @@ -17,7 +17,7 @@ class MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy : OMI [Write, Description("Description of the account protection local administrator password solution policy.")] String Description; [Write, Description("Assignments of the account protection local administrator password solution policy."), EmbeddedInstance("MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicyAssignments")] String Assignments[]; [Write, Description("Configures which directory the local admin account password is backed up to. 0 - Disabled, 1 - Azure AD, 2 - AD"), ValueMap{"0", "1", "2"}, Values{"0", "1", "2"}] UInt32 BackupDirectory; - [Write, Description("Configures the maximum password age of the managed local administrator account for Azure AD. Minimum - 7, Maximum - 365")] UInt32 PasswordAgeDays_AAD; + [Write, Description("Configures the maximum password age of the managed local administrator account for Azure AD. Minimum - 7, Maximum - 365")] UInt32 passwordagedays_aad; [Write, Description("Configures the maximum password age of the managed local administrator account for Active Directory. Minimum - 1, Maximum - 365")] UInt32 PasswordAgeDays; [Write, Description("Configures additional enforcement of maximum password age for the managed local administrator account.")] Boolean PasswordExpirationProtectionEnabled; [Write, Description("Configures how many previous encrypted passwords will be remembered in Active Directory. Minimum - 0, Maximum - 12")] UInt32 AdEncryptedPasswordHistorySize; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSecurityBaselineMicrosoftEdge/MSFT_IntuneSecurityBaselineMicrosoftEdge.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSecurityBaselineMicrosoftEdge/MSFT_IntuneSecurityBaselineMicrosoftEdge.psm1 index c3b6e71fd2..35d258852e 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSecurityBaselineMicrosoftEdge/MSFT_IntuneSecurityBaselineMicrosoftEdge.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSecurityBaselineMicrosoftEdge/MSFT_IntuneSecurityBaselineMicrosoftEdge.psm1 @@ -80,6 +80,10 @@ function Get-TargetResource [System.String] $authschemes, + [Parameter()] + [System.String] + $AuthSchemes_AuthSchemes, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -338,6 +342,10 @@ function Set-TargetResource [System.String] $authschemes, + [Parameter()] + [System.String] + $AuthSchemes_AuthSchemes, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -441,6 +449,13 @@ function Set-TargetResource $platforms = 'windows10' $technologies = 'mdm' + if ($BoundParameters.ContainsKey('authschemes')) + { + Write-Warning -Message "The parameter 'authschemes' is deprecated. Please use 'AuthSchemes_AuthSchemes' instead." + $BoundParameters['AuthSchemes_AuthSchemes'] = $BoundParameters['authschemes'] + $BoundParameters.Remove('authschemes') | Out-Null + } + if ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Absent') { Write-Verbose -Message "Creating an Intune Security Baseline Microsoft Edge with Name {$DisplayName}" @@ -589,6 +604,10 @@ function Test-TargetResource [System.String] $authschemes, + [Parameter()] + [System.String] + $AuthSchemes_AuthSchemes, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -730,6 +749,17 @@ function Test-TargetResource } } + if ($PSBoundParameters.ContainsKey('authschemes')) + { + Write-Warning -Message "The parameter 'authschemes' is deprecated. Please use 'AuthSchemes_AuthSchemes' instead." + if ($PSBoundParameters['authschemes'] -ne $CurrentValues['AuthSchemes_AuthSchemes']) + { + $testResult = $false + } + $ValuesToCheck.Remove('authschemes') | Out-Null + $ValuesToCheck.Remove('AuthSchemes_AuthSchemes') | Out-Null + } + $ValuesToCheck.Remove('Id') | Out-Null $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSecurityBaselineMicrosoftEdge/MSFT_IntuneSecurityBaselineMicrosoftEdge.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSecurityBaselineMicrosoftEdge/MSFT_IntuneSecurityBaselineMicrosoftEdge.schema.mof index 8a9515e3d3..d8a2607bcb 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSecurityBaselineMicrosoftEdge/MSFT_IntuneSecurityBaselineMicrosoftEdge.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSecurityBaselineMicrosoftEdge/MSFT_IntuneSecurityBaselineMicrosoftEdge.schema.mof @@ -28,7 +28,8 @@ class MSFT_IntuneSecurityBaselineMicrosoftEdge : OMI_BaseResource [Write, Description("Force WebSQL to be enabled (0: Disabled, 1: Enabled)"), ValueMap{"0", "1"}, Values{"0", "1"}] String WebSQLAccess; [Write, Description("Allow Basic authentication for HTTP (0: Disabled, 1: Enabled)"), ValueMap{"0", "1"}, Values{"0", "1"}] String BasicAuthOverHttpEnabled; [Write, Description("Supported authentication schemes (0: Disabled, 1: Enabled)"), ValueMap{"0", "1"}, Values{"0", "1"}] String MicrosoftEdge_HTTPAuthentication_AuthSchemes; - [Write, Description("Supported authentication schemes (Device) - Depends on MicrosoftEdge_HTTPAuthentication_AuthSchemes")] String authschemes; + [Write, Description("(Deprecated) - Supported authentication schemes (Device) - Depends on MicrosoftEdge_HTTPAuthentication_AuthSchemes")] String authschemes; + [Write, Description("Supported authentication schemes (Device) - Depends on MicrosoftEdge_HTTPAuthentication_AuthSchemes")] String AuthSchemes_AuthSchemes; [Write, Description("Allow user-level native messaging hosts (installed without admin permissions) (0: Disabled, 1: Enabled)"), ValueMap{"0", "1"}, Values{"0", "1"}] String NativeMessagingUserLevelHosts; [Write, Description("Specifies whether to allow insecure websites to make requests to more-private network endpoints (0: Disabled, 1: Enabled)"), ValueMap{"0", "1"}, Values{"0", "1"}] String InsecurePrivateNetworkRequestsAllowed; [Write, Description("Show the Reload in Internet Explorer mode button in the toolbar (0: Disabled, 1: Enabled)"), ValueMap{"0", "1"}, Values{"0", "1"}] String InternetExplorerModeToolbarButtonEnabled; diff --git a/Modules/Microsoft365DSC/Examples/Resources/IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/1-Create.ps1 b/Modules/Microsoft365DSC/Examples/Resources/IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/1-Create.ps1 index 0e1d844cfc..6018fdbd85 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/1-Create.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/1-Create.ps1 @@ -34,7 +34,7 @@ Configuration Example } ); BackupDirectory = "1"; - PasswordAgeDays_AAD = 10; + passwordagedays_aad = 10; AdministratorAccountName = "Administrator"; PasswordAgeDays = 20; ApplicationId = $ApplicationId; diff --git a/Modules/Microsoft365DSC/Examples/Resources/IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/2-Update.ps1 index 08d2c88584..c67e11eee7 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/2-Update.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/2-Update.ps1 @@ -34,7 +34,7 @@ Configuration Example } ); BackupDirectory = "1"; - PasswordAgeDays_AAD = 15; # Updated Property + passwordagedays_aad = 15; # Updated Property AdministratorAccountName = "Administrator"; PasswordAgeDays = 20; ApplicationId = $ApplicationId; diff --git a/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 b/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 index 1fa5f90e54..9e9392dc88 100644 --- a/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 +++ b/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 @@ -2480,7 +2480,7 @@ function Update-IntuneDeviceConfigurationPolicy 'settings' = $Settings } $body = $policy | ConvertTo-Json -Depth 20 - Write-Verbose -Message $body -Verbose + # Write-Verbose -Message $body -Verbose Invoke-MgGraphRequest -Method PUT -Uri $Uri -Body $body -ErrorAction Stop } catch diff --git a/Modules/Microsoft365DSC/Modules/M365DSCIntuneSettingsCatalogUtil.psm1 b/Modules/Microsoft365DSC/Modules/M365DSCIntuneSettingsCatalogUtil.psm1 index 2888ff7ad7..465189fd7a 100644 --- a/Modules/Microsoft365DSC/Modules/M365DSCIntuneSettingsCatalogUtil.psm1 +++ b/Modules/Microsoft365DSC/Modules/M365DSCIntuneSettingsCatalogUtil.psm1 @@ -67,7 +67,7 @@ } # When there is no parent, we can't use the parent setting name to make the setting name unique - # Instead, we traverse up the OffsetUri. + # Instead, we traverse up the OffsetUri. if ($null -eq $parentSetting) { $settingResult = Get-UniqueSettingDefinitionNameFromMultipleMatches -SettingDefinition $SettingDefinition -SettingName $settingName -SettingsWithSameName $settingsWithSameName @@ -98,6 +98,7 @@ 'pub16v2~Policy~L_MicrosoftOfficePublisher~*' { $settingName = $settingName.Replace('pub16v2~Policy~L_MicrosoftOfficePublisher', 'MicrosoftPublisherV2_') } 'pub16v3~Policy~L_MicrosoftOfficePublisher~*' { $settingName = $settingName.Replace('pub16v3~Policy~L_MicrosoftOfficePublisher', 'MicrosoftPublisherV3_') } 'microsoft_edge~Policy~microsoft_edge~*' { $settingName = $settingName.Replace('microsoft_edge~Policy~microsoft_edge', 'MicrosoftEdge_') } + 'edge~httpauthentication*' { $settingName = $settingName.Replace('edge~httpauthentication', 'MicrosoftEdge_HTTPAuthentication') } '*~L_Security~*' { $settingName = $settingName.Replace('~L_Security', 'Security') } '*~L_TrustCenter*' { $settingName = $settingName.Replace('~L_TrustCenter', '_TrustCenter') } '*~L_ProtectedView_*' { $settingName = $settingName.Replace('~L_ProtectedView', 'ProtectedView') } From 2207007d0da50369f7e065e59f9f9a1dce97e3be Mon Sep 17 00:00:00 2001 From: Ricardo Mestre Date: Mon, 11 Nov 2024 22:08:37 +0000 Subject: [PATCH 20/58] Cast to String --- CHANGELOG.md | 4 ++++ .../MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e122cdcfb..d678e1dabf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ * IntuneAntivirusPolicyWindows10SettingCatalog * Update properties to be upper-case. Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneDeviceConfigurationCustomPolicyWindows10 + * Fixed issue where `Value`, from `OmaSettings`, could not be compared + correctly if it was boolean and set to `$False` + FIXES [#5384](https://github.com/microsoft/Microsoft365DSC/issues/5384) * M365DSCDRGUtil * Restrict CIM instance access to properties that appear multiple times. * Switch log type for not found Intune assignments to `Warning`. diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 index 3585277caf..777816ab38 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 @@ -144,7 +144,7 @@ function Get-TargetResource $myomaSettings.Add('IsEncrypted', $currentomaSettings.isEncrypted) $myomaSettings.Add('OmaUri', $currentomaSettings.omaUri) $myomaSettings.Add('FileName', $currentomaSettings.fileName) - $myomaSettings.Add('Value', $currentomaSettings.value) + $myomaSettings.Add('Value', [System.String]$currentomaSettings.value) if ($currentomaSettings.'@odata.type' -eq '#microsoft.graph.omaSettingInteger') { $myomaSettings.Add('IsReadOnly', $currentomaSettings.isReadOnly) From 2a4720a31d514c8b84185cd2095fff58527c9377 Mon Sep 17 00:00:00 2001 From: Ricardo Mestre Date: Mon, 11 Nov 2024 22:08:49 +0000 Subject: [PATCH 21/58] Remove verbose message --- .../MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 | 1 - 1 file changed, 1 deletion(-) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 index 777816ab38..daa9bb00c1 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 @@ -125,7 +125,6 @@ function Get-TargetResource if ($currentomaSettings.isEncrypted -eq $true) { - write-verbose ("IsEncrypted = true -- $($currentomaSettings.displayName)") $SecretReferenceValueId = $currentomaSettings.secretReferenceValueId $OmaSettingPlainTextValue = Get-OmaSettingPlainTextValue -SecretReferenceValueId $SecretReferenceValueId if (![String]::IsNullOrEmpty($OmaSettingPlainTextValue)) From bb072fccda3824cbc7412a36ed5bde27250cd543 Mon Sep 17 00:00:00 2001 From: "Arpita Mohapatra (from Dev Box)" Date: Tue, 12 Nov 2024 18:53:54 +0530 Subject: [PATCH 22/58] Resoling UTs --- .../MSFT_EXOMigration/MSFT_EXOMigration.psm1 | 38 +++++++++++-------- .../MSFT_EXOMigration.schema.mof | 6 ++- .../Microsoft365DSC.EXOMigration.Tests.ps1 | 31 +++++++++++---- 3 files changed, 51 insertions(+), 24 deletions(-) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 index 40599f3250..1bc81f562f 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 @@ -13,7 +13,7 @@ function Get-TargetResource $NotificationEmails, [Parameter()] - [System.DateTime] + [System.String] $CompleteAfter, [Parameter()] @@ -37,7 +37,7 @@ function Get-TargetResource $SkipMerging, [Parameter()] - [System.DateTime] + [System.String] $StartAfter, [Parameter()] @@ -125,13 +125,11 @@ function Get-TargetResource $results = @{ Identity = $Identity NotificationEmails = [System.String[]]$instance.NotificationEmails - CompleteAfter = $instance.CompleteAfter AddUsers = [System.Boolean]$instance.AddUsers BadItemLimit = [System.String]$instance.BadItemLimit LargeItemLimit = [System.String]$instance.LargeItemLimit MoveOptions = [System.String[]]$instance.MoveOptions SkipMerging = [System.String[]]$instance.SkipMerging - StartAfter = $instance.StartAfter Update = [System.Boolean]$instance.Update Ensure = 'Present' Credential = $Credential @@ -146,6 +144,16 @@ function Get-TargetResource TargetDeliveryDomain = $instance.TargetDeliveryDomain } + if ($instance.CompleteAfter -ne $null) + { + $results.Add('CompleteAfter', $instance.CompleteAfter.ToString("MM/dd/yyyy hh:mm tt")) + } + + if ($instance.StartAfter -ne $null) + { + $results.Add('StartAfter', $instance.CompleteAfter.ToString("MM/dd/yyyy hh:mm tt")) + } + return [System.Collections.Hashtable] $results } catch @@ -173,7 +181,7 @@ function Set-TargetResource $NotificationEmails, [Parameter()] - [System.DateTime] + [System.String] $CompleteAfter, [Parameter()] @@ -197,7 +205,7 @@ function Set-TargetResource $SkipMerging, [Parameter()] - [System.DateTime] + [System.String] $StartAfter, [Parameter()] @@ -265,18 +273,18 @@ function Set-TargetResource if ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Absent') { - # Define the path for the CSV file to store the migration users - $csvFilePath = "$env:TEMP\MigrationUsers.csv" + # Convert the list of users to CSV format + $csvContent = @('"EmailAddress"') + ($MigrationUsers | ForEach-Object { "`"$_`"" }) - # Convert each item in the array to a custom object with an EmailAddress property - $csvContent = $MigrationUsers | ForEach-Object { [PSCustomObject]@{EmailAddress = $_} } + # Join the results into a single string with new lines + $csvContent = $csvContent -join "`r`n" - # Export to CSV with the header "EmailAddress" - $csvContent | Export-Csv -Path $csvFilePath -NoTypeInformation -Force + # Convert the CSV content to bytes directly without saving to a file + $csvBytes = [System.Text.Encoding]::UTF8.GetBytes($csvContent -join "`r`n") $BatchParams = @{ Name = $Identity # Use the existing Identity as the new batch name - CSVData = [System.IO.File]::ReadAllBytes($csvFilePath) # Load the CSV as byte array + CSVData = $csvBytes # Directly use the byte array NotificationEmails = $NotificationEmails # Use the same notification emails if provided CompleteAfter = $CompleteAfter StartAfter = $StartAfter @@ -376,7 +384,7 @@ function Test-TargetResource $NotificationEmails, [Parameter()] - [System.DateTime] + [System.String] $CompleteAfter, [Parameter()] @@ -400,7 +408,7 @@ function Test-TargetResource $SkipMerging, [Parameter()] - [System.DateTime] + [System.String] $StartAfter, [Parameter()] diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.schema.mof index f8354ee7e9..03eae75eed 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.schema.mof @@ -3,16 +3,18 @@ class MSFT_EXOMigration : OMI_BaseResource { [Key, Description("The Identity parameter identifies the name of the current migration batch.")] String Identity; [Write, Description("The NotificationEmails parameter specifies one or more email addresses that migration status reports are sent to.")] String NotificationEmails[]; - [Write, Description("The CompleteAfter parameter specifies a delay before the batch is completed.")] DateTime CompleteAfter; + [Write, Description("The CompleteAfter parameter specifies a delay before the batch is completed.")] String CompleteAfter; [Write, Description("The AddUsers parameter controls whether additional users can be dynamically added to an existing migration batch after it has been created.")] Boolean AddUsers; [Write, Description("The BadItemLimit parameter specifies the maximum number of bad items that are allowed before the migration request fails.")] String BadItemLimit; [Write, Description("The LargeItemLimit parameter specifies the maximum number of large items that are allowed before the migration request fails.")] String LargeItemLimit; [Write, Description("The MoveOptions parameter specifies the stages of the migration that you want to skip for debugging purposes.")] String MoveOptions[]; [Write, Description("The SkipMerging parameter specifies the stages of the migration that you want to skip for debugging purposes.")] String SkipMerging[]; - [Write, Description("The StartAfter parameter specifies a delay before the data migration for the users within the batch is started.")] DateTime StartAfter; + [Write, Description("The StartAfter parameter specifies a delay before the data migration for the users within the batch is started.")] String StartAfter; [Write, Description("The Update switch sets the Update flag on the migration batch.")] Boolean Update; [Write, Description("The Status parameter returns information about migration users that have the specified status state.")] String Status; [Write, Description("Migration Users states the list of the users/mailboxes that are part of a migration batch that are to be migrated.")] String MigrationUsers[]; + [Write, Description("The SourceEndpoint parameter specifies the migration endpoint to use for the source of the migration batch.")] String SourceEndpoint; + [Write, Description("The TargetDeliveryDomain parameter specifies the FQDN of the external email address created in the source forest for the mail-enabled user when the migration batch is complete.")] String TargetDeliveryDomain; [Write, Description("Specifies if the migration endpoint should exist or not."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Write, Description("Credentials of the workload's Admin"), EmbeddedInstance("MSFT_Credential")] string Credential; diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 index c6d3d1a29f..fbf402a9ee 100644 --- a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 @@ -53,9 +53,6 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Mock -CommandName Get-MigrationUser -MockWith { } - Mock -CommandName Get-MigrationUser -MockWith { - } - # Mock Write-Host to hide output during the tests Mock -CommandName Write-Host -MockWith { } @@ -126,7 +123,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { return @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "07/30/2020 21:00:00"; + CompleteAfter = "07/30/2020 9:00:00 PM"; Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; @@ -136,18 +133,28 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = @{Identity = @{Id = "gmailCalendar"}}; - StartAfter = "07/30/2020 21:00:00"; + StartAfter = "07/30/2020 9:00:00 PM"; Status = @{Value = "Completing"}; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; } } + Mock -CommandName Get-MigrationUser -MockWith { + return @( + @{ + Identity = "peixintest1@bellred.org" + }, + @{ + Identity = "akstest39@bellred.org" + } + ) + } } It 'Should return Values from the Get method' { (Get-TargetResource @testParams).Ensure | Should -Be 'Present' } It 'Should return false from the Test method' { - Test-TargetResource @testParams | Should -Be $false + Test-TargetResource @testParams -Verbose | Should -Be $false } It 'Should remove the instance from the Set method' { @@ -197,6 +204,16 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Update = $False; } } + Mock -CommandName Get-MigrationUser -MockWith { + return @( + @{ + Identity = "peixintest1@bellred.org" + }, + @{ + Identity = "akstest39@bellred.org" + } + ) + } } It 'Should return Values from the Get method' { (Get-TargetResource @testParams).Ensure | Should -Be 'Present' @@ -266,7 +283,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { It 'Should return true from the Test method' { - Test-TargetResource @testParams -Verbose | Should -Be $true + Test-TargetResource @testParams | Should -Be $true } } From cb7fba5b724ae36a6efa8c456ff26e0d1c658f5e Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Tue, 12 Nov 2024 13:34:24 +0000 Subject: [PATCH 23/58] Updated Resources and Cmdlet documentation pages --- ...untProtectionLocalAdministratorPasswordSolutionPolicy.md | 6 +++--- .../resources/intune/IntuneSecurityBaselineMicrosoftEdge.md | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/docs/resources/intune/IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.md b/docs/docs/resources/intune/IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.md index 7f39e3c94a..432220a768 100644 --- a/docs/docs/resources/intune/IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.md +++ b/docs/docs/resources/intune/IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.md @@ -9,7 +9,7 @@ | **Description** | Write | String | Description of the account protection local administrator password solution policy. | | | **Assignments** | Write | MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicyAssignments[] | Assignments of the account protection local administrator password solution policy. | | | **BackupDirectory** | Write | UInt32 | Configures which directory the local admin account password is backed up to. 0 - Disabled, 1 - Azure AD, 2 - AD | `0`, `1`, `2` | -| **PasswordAgeDays_AAD** | Write | UInt32 | Configures the maximum password age of the managed local administrator account for Azure AD. Minimum - 7, Maximum - 365 | | +| **passwordagedays_aad** | Write | UInt32 | Configures the maximum password age of the managed local administrator account for Azure AD. Minimum - 7, Maximum - 365 | | | **PasswordAgeDays** | Write | UInt32 | Configures the maximum password age of the managed local administrator account for Active Directory. Minimum - 1, Maximum - 365 | | | **PasswordExpirationProtectionEnabled** | Write | Boolean | Configures additional enforcement of maximum password age for the managed local administrator account. | | | **AdEncryptedPasswordHistorySize** | Write | UInt32 | Configures how many previous encrypted passwords will be remembered in Active Directory. Minimum - 0, Maximum - 12 | | @@ -112,7 +112,7 @@ Configuration Example } ); BackupDirectory = "1"; - PasswordAgeDays_AAD = 10; + passwordagedays_aad = 10; AdministratorAccountName = "Administrator"; PasswordAgeDays = 20; ApplicationId = $ApplicationId; @@ -160,7 +160,7 @@ Configuration Example } ); BackupDirectory = "1"; - PasswordAgeDays_AAD = 15; # Updated Property + passwordagedays_aad = 15; # Updated Property AdministratorAccountName = "Administrator"; PasswordAgeDays = 20; ApplicationId = $ApplicationId; diff --git a/docs/docs/resources/intune/IntuneSecurityBaselineMicrosoftEdge.md b/docs/docs/resources/intune/IntuneSecurityBaselineMicrosoftEdge.md index 858d62840b..b841315513 100644 --- a/docs/docs/resources/intune/IntuneSecurityBaselineMicrosoftEdge.md +++ b/docs/docs/resources/intune/IntuneSecurityBaselineMicrosoftEdge.md @@ -19,7 +19,8 @@ | **WebSQLAccess** | Write | String | Force WebSQL to be enabled (0: Disabled, 1: Enabled) | `0`, `1` | | **BasicAuthOverHttpEnabled** | Write | String | Allow Basic authentication for HTTP (0: Disabled, 1: Enabled) | `0`, `1` | | **MicrosoftEdge_HTTPAuthentication_AuthSchemes** | Write | String | Supported authentication schemes (0: Disabled, 1: Enabled) | `0`, `1` | -| **authschemes** | Write | String | Supported authentication schemes (Device) - Depends on MicrosoftEdge_HTTPAuthentication_AuthSchemes | | +| **authschemes** | Write | String | (Deprecated) - Supported authentication schemes (Device) - Depends on MicrosoftEdge_HTTPAuthentication_AuthSchemes | | +| **AuthSchemes_AuthSchemes** | Write | String | Supported authentication schemes (Device) - Depends on MicrosoftEdge_HTTPAuthentication_AuthSchemes | | | **NativeMessagingUserLevelHosts** | Write | String | Allow user-level native messaging hosts (installed without admin permissions) (0: Disabled, 1: Enabled) | `0`, `1` | | **InsecurePrivateNetworkRequestsAllowed** | Write | String | Specifies whether to allow insecure websites to make requests to more-private network endpoints (0: Disabled, 1: Enabled) | `0`, `1` | | **InternetExplorerModeToolbarButtonEnabled** | Write | String | Show the Reload in Internet Explorer mode button in the toolbar (0: Disabled, 1: Enabled) | `0`, `1` | From d61b8fc75108803cd684022533f67421b6ab8fed Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Tue, 12 Nov 2024 13:36:37 +0000 Subject: [PATCH 24/58] Updated Schema Definition --- Modules/Microsoft365DSC/SchemaDefinition.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Modules/Microsoft365DSC/SchemaDefinition.json b/Modules/Microsoft365DSC/SchemaDefinition.json index 81d5db4ea9..42d14171be 100644 --- a/Modules/Microsoft365DSC/SchemaDefinition.json +++ b/Modules/Microsoft365DSC/SchemaDefinition.json @@ -23790,7 +23790,7 @@ }, { "CIMType": "UInt32", - "Name": "PasswordAgeDays_AAD", + "Name": "passwordagedays_aad", "Option": "Write" }, { @@ -45443,6 +45443,11 @@ "Name": "authschemes", "Option": "Write" }, + { + "CIMType": "String", + "Name": "AuthSchemes_AuthSchemes", + "Option": "Write" + }, { "CIMType": "String", "Name": "NativeMessagingUserLevelHosts", From 2b03e072f83864e5dcb8e919aed1292288c6ec95 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Tue, 12 Nov 2024 13:37:31 +0000 Subject: [PATCH 25/58] Updated {Create} Intune Integration Tests --- .../Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 index 678e74b71c..a68b840aa5 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 @@ -46,7 +46,7 @@ } ); BackupDirectory = "1"; - PasswordAgeDays_AAD = 10; + passwordagedays_aad = 10; AdministratorAccountName = "Administrator"; PasswordAgeDays = 20; ApplicationId = $ApplicationId; From 7f69ca080fa0844420d4ab4341b996b7650879ca Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Tue, 12 Nov 2024 14:48:38 +0100 Subject: [PATCH 26/58] Updated dependencies to MSCloudLoginAssistant 1.1.28 --- CHANGELOG.md | 1 + Modules/Microsoft365DSC/Dependencies/Manifest.psd1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c5c7d350b..04fe1794a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (2/2) * DEPENDENCIES * Updated DSCParser to version 2.0.0.12. + * Updated MSCloudLoginAssistant to version 1.1.28. # 1.24.1106.3 diff --git a/Modules/Microsoft365DSC/Dependencies/Manifest.psd1 b/Modules/Microsoft365DSC/Dependencies/Manifest.psd1 index 1e6255bee7..42d1488d67 100644 --- a/Modules/Microsoft365DSC/Dependencies/Manifest.psd1 +++ b/Modules/Microsoft365DSC/Dependencies/Manifest.psd1 @@ -122,7 +122,7 @@ }, @{ ModuleName = "MSCloudLoginAssistant" - RequiredVersion = "1.1.27" + RequiredVersion = "1.1.28" }, @{ ModuleName = 'PnP.PowerShell' From c7dcfc0246500653439fd3f4ba2c2857d0fc31ff Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Tue, 12 Nov 2024 09:01:06 -0500 Subject: [PATCH 27/58] TeamsUpgradePolicy - Performance Improvements --- CHANGELOG.md | 2 ++ .../MSFT_TeamsUpgradePolicy/MSFT_TeamsUpgradePolicy.psm1 | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c5c7d350b..e34ab75c46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ * M365DSCIntuneSettingsCatalogUtil * Add ADMX handling for `edge~httpauthentication_`. FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (2/2) +* TeamsUpgradePolicy + * Changes to how we're retrieving the users to improve performance. * DEPENDENCIES * Updated DSCParser to version 2.0.0.12. diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUpgradePolicy/MSFT_TeamsUpgradePolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUpgradePolicy/MSFT_TeamsUpgradePolicy.psm1 index 20ecfd0716..e845b47cb9 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUpgradePolicy/MSFT_TeamsUpgradePolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUpgradePolicy/MSFT_TeamsUpgradePolicy.psm1 @@ -68,13 +68,13 @@ function Get-TargetResource if ($Identity -eq 'Global') { - [array]$users = Get-CsOnlineUser | Where-Object -Filter { $_.TeamsUpgradePolicy -eq $null } + [array]$users = Get-CsOnlineUser -Filter "TeamsUpgradePolicy eq null" } else { try { - [array]$users = Get-CsOnlineUser -Filter "TeamsUpgradePolicy -eq '$Identity'" + [array]$users = Get-CsOnlineUser -Filter "TeamsUpgradePolicy eq '$Identity'" } catch { From f984173f2489537e72de7b0295f0419821924eb4 Mon Sep 17 00:00:00 2001 From: "Arpita Mohapatra (from Dev Box)" Date: Tue, 12 Nov 2024 23:09:13 +0530 Subject: [PATCH 28/58] final changes --- CHANGELOG.md | 2 ++ .../MSFT_EXOMigration/MSFT_EXOMigration.psm1 | 1 + .../Microsoft365DSC.EXOMigration.Tests.ps1 | 25 ++++++++----------- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e122cdcfb..f77ce8e57e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -133,6 +133,8 @@ * EXOMailboxSettings * Added support for AddressBookPolicy, RetentionPolicy, RoleAssignmentPolicy and SharingPolicy. +* EXOMigration + * Initial release. * EXOServicePrincipal * Initial release. * EXOTenantAllowBlockListItems diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 index 1bc81f562f..7eccbcb0c8 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 @@ -158,6 +158,7 @@ function Get-TargetResource } catch { + Write-Verbose $_ New-M365DSCLogEntry -Message 'Error retrieving data:' ` -Exception $_ ` -Source $($MyInvocation.MyCommand.Source) ` diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 index fbf402a9ee..3e7e4c3adb 100644 --- a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 @@ -123,7 +123,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { return @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "07/30/2020 9:00:00 PM"; + CompleteAfter = [DateTime]::ParseExact("07/30/2020 9:00:00 PM", "MM/dd/yyyy h:mm:ss tt", $null) Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; @@ -133,7 +133,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = @{Identity = @{Id = "gmailCalendar"}}; - StartAfter = "07/30/2020 9:00:00 PM"; + StartAfter = [DateTime]::ParseExact("07/30/2020 9:00:00 PM", "MM/dd/yyyy h:mm:ss tt", $null) Status = @{Value = "Completing"}; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; @@ -154,7 +154,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { (Get-TargetResource @testParams).Ensure | Should -Be 'Present' } It 'Should return false from the Test method' { - Test-TargetResource @testParams -Verbose | Should -Be $false + Test-TargetResource @testParams | Should -Be $false } It 'Should remove the instance from the Set method' { @@ -189,7 +189,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { return @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "07/30/2020 21:00:00"; + CompleteAfter = [DateTime]::ParseExact("07/30/2020 9:00:00 PM", "MM/dd/yyyy h:mm:ss tt", $null) Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; @@ -198,7 +198,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = @{Identity = @{Id = "gmailCalendar"}}; - StartAfter = "07/30/2020 21:00:00"; + StartAfter = [DateTime]::ParseExact("07/30/2020 9:00:00 PM", "MM/dd/yyyy h:mm:ss tt", $null) Status = @{Value = "Completed"}; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; @@ -233,7 +233,6 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { $testParams = @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "07/30/2020 9:00:00 PM"; Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; @@ -243,7 +242,6 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; - StartAfter = "07/30/2020 9:00:00 PM"; Status = "Completing"; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; @@ -253,7 +251,6 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { return @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "07/30/2020 21:00:00"; Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; @@ -262,7 +259,6 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = @{Identity = @{Id = "gmailCalendar"}}; - StartAfter = "07/30/2020 21:00:00"; Status = @{Value = "Completing"}; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; @@ -281,9 +277,8 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { } } - It 'Should return true from the Test method' { - Test-TargetResource @testParams | Should -Be $true + Test-TargetResource @testParams -Verbose | Should -Be $true } } @@ -292,7 +287,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { $testParams = @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "07/30/2020 21:00:00"; + CompleteAfter = "07/30/2020 9:00:00 PM" Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; @@ -302,7 +297,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @("abc"); SourceEndpoint = "gmailCalendar"; - StartAfter = "07/30/2020 21:00:00"; + StartAfter = "07/30/2020 9:00:00 PM" Status = @{Value = "Completing"}; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; @@ -312,7 +307,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { return @{ AddUsers = $False; BadItemLimit = "Unlimited"; - CompleteAfter = "07/30/2020 21:00:00"; + CompleteAfter = [DateTime]::ParseExact("07/30/2020 9:00:00 PM", "MM/dd/yyyy h:mm:ss tt", $null) Credential = $Credscredential; Ensure = "Present"; Identity = "Arpita"; @@ -322,7 +317,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); SkipMerging = @(); SourceEndpoint = "gmailCalendar"; - StartAfter = "07/30/2020 21:00:00"; + StartAfter = [DateTime]::ParseExact("07/30/2020 9:00:00 PM", "MM/dd/yyyy h:mm:ss tt", $null) Status = @{Value = "Completing"}; TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; Update = $False; From 297c743d4db8b71fe42162e9f3818e3ff5717837 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Tue, 12 Nov 2024 20:27:10 +0000 Subject: [PATCH 29/58] Updated Resources and Cmdlet documentation pages --- docs/docs/resources/exchange/EXOMigration.md | 188 +++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 docs/docs/resources/exchange/EXOMigration.md diff --git a/docs/docs/resources/exchange/EXOMigration.md b/docs/docs/resources/exchange/EXOMigration.md new file mode 100644 index 0000000000..4eb00e13eb --- /dev/null +++ b/docs/docs/resources/exchange/EXOMigration.md @@ -0,0 +1,188 @@ +# EXOMigration + +## Parameters + +| Parameter | Attribute | DataType | Description | Allowed Values | +| --- | --- | --- | --- | --- | +| **Identity** | Key | String | The Identity parameter identifies the name of the current migration batch. | | +| **NotificationEmails** | Write | StringArray[] | The NotificationEmails parameter specifies one or more email addresses that migration status reports are sent to. | | +| **CompleteAfter** | Write | String | The CompleteAfter parameter specifies a delay before the batch is completed. | | +| **AddUsers** | Write | Boolean | The AddUsers parameter controls whether additional users can be dynamically added to an existing migration batch after it has been created. | | +| **BadItemLimit** | Write | String | The BadItemLimit parameter specifies the maximum number of bad items that are allowed before the migration request fails. | | +| **LargeItemLimit** | Write | String | The LargeItemLimit parameter specifies the maximum number of large items that are allowed before the migration request fails. | | +| **MoveOptions** | Write | StringArray[] | The MoveOptions parameter specifies the stages of the migration that you want to skip for debugging purposes. | | +| **SkipMerging** | Write | StringArray[] | The SkipMerging parameter specifies the stages of the migration that you want to skip for debugging purposes. | | +| **StartAfter** | Write | String | The StartAfter parameter specifies a delay before the data migration for the users within the batch is started. | | +| **Update** | Write | Boolean | The Update switch sets the Update flag on the migration batch. | | +| **Status** | Write | String | The Status parameter returns information about migration users that have the specified status state. | | +| **MigrationUsers** | Write | StringArray[] | Migration Users states the list of the users/mailboxes that are part of a migration batch that are to be migrated. | | +| **SourceEndpoint** | Write | String | The SourceEndpoint parameter specifies the migration endpoint to use for the source of the migration batch. | | +| **TargetDeliveryDomain** | Write | String | The TargetDeliveryDomain parameter specifies the FQDN of the external email address created in the source forest for the mail-enabled user when the migration batch is complete. | | +| **Ensure** | Write | String | Specifies if the migration endpoint should exist or not. | `Present`, `Absent` | +| **Credential** | Write | PSCredential | Credentials of the workload's Admin | | +| **ApplicationId** | Write | String | Id of the Azure Active Directory application to authenticate with. | | +| **TenantId** | Write | String | Id of the Azure Active Directory tenant used for authentication. | | +| **CertificateThumbprint** | Write | String | Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication. | | +| **ManagedIdentity** | Write | Boolean | Managed ID being used for authentication. | | +| **AccessTokens** | Write | StringArray[] | Access token used for authentication. | | + +# EXOMigrationBatch + +## Description + +Use the MigrationBatch cmdlets to create and update a migration request for a batch of users. + +## Permissions + +### Exchange + +To authenticate with Microsoft Exchange, this resource required the following permissions: + +#### Roles + +- User Options, Data Loss Prevention, Transport Rules, View-Only Configuration, Mail Recipients + +#### Role Groups + +- Organization Management + +## Examples + +### Example 1 + +This example is used to test new resources and showcase the usage of new resources being worked on. +It is not meant to use as a production baseline. + +```powershell +Configuration Example +{ + param( + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint + ) + Import-DscResource -ModuleName Microsoft365DSC + + node localhost + { + EXOMigration "EXOMigration-test" + { + AddUsers = $False; + BadItemLimit = ""; + CompleteAfter = "12/31/9999 11:59:59 PM"; + Ensure = "Present"; + Identity = "test"; + LargeItemLimit = ""; + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org"); + SkipMerging = @(); + Status = "Completed"; + Update = $False; + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } + } +} +``` + +### Example 2 + +This example is used to test new resources and showcase the usage of new resources being worked on. +It is not meant to use as a production baseline. + +```powershell +Configuration Example +{ + param( + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint + ) + Import-DscResource -ModuleName Microsoft365DSC + + node localhost + { + EXOMigration "EXOMigration-test" + { + AddUsers = $True; #Updated Property + BadItemLimit = ""; + CompleteAfter = "12/31/9999 11:59:59 PM"; + Ensure = "Present"; + Identity = "test"; + LargeItemLimit = ""; + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org"); + SkipMerging = @(); + Status = "Completed"; + Update = $False; + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } + } +} +``` + +### Example 3 + +This example is used to test new resources and showcase the usage of new resources being worked on. +It is not meant to use as a production baseline. + +```powershell +Configuration Example +{ + param( + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $CertificateThumbprint + ) + Import-DscResource -ModuleName Microsoft365DSC + + node localhost + { + EXOMigration "EXOMigration-test" + { + AddUsers = $False; + BadItemLimit = ""; + CompleteAfter = "12/31/9999 11:59:59 PM"; + Ensure = "Absent"; + Identity = "test"; + LargeItemLimit = ""; + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org"); + SkipMerging = @(); + Status = "Completed"; + Update = $False; + ApplicationId = $ApplicationId + TenantId = $TenantId + CertificateThumbprint = $CertificateThumbprint + } + } +} +``` + From 2e445942232cefe2696f46fd7ddd076394352a3e Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Tue, 12 Nov 2024 20:29:15 +0000 Subject: [PATCH 30/58] Updated Schema Definition --- Modules/Microsoft365DSC/SchemaDefinition.json | 110 ++++++++++++++++++ 1 file changed, 110 insertions(+) diff --git a/Modules/Microsoft365DSC/SchemaDefinition.json b/Modules/Microsoft365DSC/SchemaDefinition.json index 42d14171be..3e7a22c247 100644 --- a/Modules/Microsoft365DSC/SchemaDefinition.json +++ b/Modules/Microsoft365DSC/SchemaDefinition.json @@ -17590,6 +17590,116 @@ } ] }, + { + "ClassName": "MSFT_EXOMigration", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "NotificationEmails", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CompleteAfter", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AddUsers", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BadItemLimit", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LargeItemLimit", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "MoveOptions", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SkipMerging", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartAfter", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Update", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Status", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "MigrationUsers", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SourceEndpoint", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetDeliveryDomain", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AccessTokens", + "Option": "Write" + } + ] + }, { "ClassName": "MSFT_EXOMigrationEndpoint", "Parameters": [ From 9a4da8587968e902a26d1e7d1625e92e7ac5f38b Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Tue, 12 Nov 2024 20:29:48 +0000 Subject: [PATCH 31/58] Updated {Create} EXO Integration Tests --- .../M365DSCIntegration.EXO.Create.Tests.ps1 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 index ac6dbe5567..77a1ddefe0 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 @@ -610,6 +610,23 @@ TenantId = $TenantId CertificateThumbprint = $CertificateThumbprint } + EXOMigration 'EXOMigration-test' + { + AddUsers = $False; + BadItemLimit = ""; + CompleteAfter = "12/31/9999 11:59:59 PM"; + Ensure = "Present"; + Identity = "test"; + LargeItemLimit = ""; + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org"); + SkipMerging = @(); + Status = "Completed"; + Update = $False; + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } EXOMigrationEndpoint 'EXOMigrationEndpoint-testIMAP' { AcceptUntrustedCertificates = $True; From f98ef48a6c5f0f36bda4fb18bcdd50e550f2f8f9 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Tue, 12 Nov 2024 20:30:32 +0000 Subject: [PATCH 32/58] Updated {Update} EXO Integration Tests --- .../M365DSCIntegration.EXO.Update.Tests.ps1 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 index 5d18ef125e..dc71c9229f 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Update.Tests.ps1 @@ -949,6 +949,23 @@ TenantId = $TenantId CertificateThumbprint = $CertificateThumbprint } + EXOMigration 'EXOMigration-test' + { + AddUsers = $True; #Updated Property + BadItemLimit = ""; + CompleteAfter = "12/31/9999 11:59:59 PM"; + Ensure = "Present"; + Identity = "test"; + LargeItemLimit = ""; + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org"); + SkipMerging = @(); + Status = "Completed"; + Update = $False; + ApplicationId = $ApplicationId; + TenantId = $TenantId; + CertificateThumbprint = $CertificateThumbprint; + } EXOMigrationEndpoint 'EXOMigrationEndpoint-testIMAP' { AcceptUntrustedCertificates = $True; From cd147d330b0285c76b14f3b07832e9a8fe33cb81 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Tue, 12 Nov 2024 20:31:04 +0000 Subject: [PATCH 33/58] Updated {Update} EXO Integration Tests --- .../M365DSCIntegration.EXO.Remove.Tests.ps1 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Remove.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Remove.Tests.ps1 index 47a64c525d..d25fc939b0 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Remove.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Remove.Tests.ps1 @@ -433,6 +433,23 @@ TenantId = $TenantId CertificateThumbprint = $CertificateThumbprint } + EXOMigration 'EXOMigration-test' + { + AddUsers = $False; + BadItemLimit = ""; + CompleteAfter = "12/31/9999 11:59:59 PM"; + Ensure = "Absent"; + Identity = "test"; + LargeItemLimit = ""; + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org"); + SkipMerging = @(); + Status = "Completed"; + Update = $False; + ApplicationId = $ApplicationId + TenantId = $TenantId + CertificateThumbprint = $CertificateThumbprint + } EXOMigrationEndpoint 'EXOMigrationEndpoint-testIMAP' { AcceptUntrustedCertificates = $True; From 1da574e6787daf12c4302699e67ce3ba0f40ea13 Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Tue, 12 Nov 2024 15:34:06 -0500 Subject: [PATCH 34/58] Fixing Unit Tests --- Tests/Unit/Stubs/Microsoft365.psm1 | 103709 ++++++++++++++++++++++++-- 1 file changed, 95767 insertions(+), 7942 deletions(-) diff --git a/Tests/Unit/Stubs/Microsoft365.psm1 b/Tests/Unit/Stubs/Microsoft365.psm1 index a4d1231954..3e81eaf088 100644 --- a/Tests/Unit/Stubs/Microsoft365.psm1 +++ b/Tests/Unit/Stubs/Microsoft365.psm1 @@ -1,503 +1,832 @@ -#region ExchangeOnlineManagement -function Get-DefaultTenantBriefingConfig +#region Azure +function Invoke-AzRest { [CmdletBinding()] param( [Parameter()] - [PSObject] - $ResultSize + [System.String] + $Uri, + + [Parameter()] + [System.String] + $Payload, + + [Parameter()] + [System.String] + $Method ) } -function Get-DefaultTenantMyAnalyticsFeatureConfig +#endregion + +#region M365DataAtRestEncryptionPolicy +function Get-M365DataAtRestEncryptionPolicy { [CmdletBinding()] param( [Parameter()] - [PSObject] - $ResultSize + [System.String] + $Identity ) } -function Set-DefaultTenantBriefingConfig + +function Set-M365DataAtRestEncryptionPolicy { [CmdletBinding()] param( [Parameter()] [System.String] - $IsEnabledByDefault, + $Identity, [Parameter()] - [PSObject] - $ResultSize + [System.String] + $Description, + + [Parameter()] + [System.Boolean] + $Enabled ) } -function Set-DefaultTenantMyAnalyticsFeatureConfig + +function New-M365DataAtRestEncryptionPolicy { [CmdletBinding()] param( [Parameter()] [System.String] - $Feature, + $Description, [Parameter()] [System.Boolean] - $IsEnabled, + $Enabled, [Parameter()] - [PSObject] - $ResultSize, + [System.String] + $Name, [Parameter()] - [System.Nullable`1[System.Double]] - $SamplingRate + [System.String[]] + $AzureKeyIDs + ) +} +function Get-M365DataAtRestEncryptionPolicyAssignment +{ + [CmdletBinding()] + param() +} + +function Set-M365DataAtRestEncryptionPolicyAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DataEncryptionPolicy ) } #endregion -#region ExchangeOnlineManagement -function Add-AvailabilityAddressSpace + +function Get-MgBetaPolicyDeviceRegistrationPolicy +{ + [CmdletBinding()] + param() +} + +function Get-MgBetaPolicyAdminConsentRequestPolicy +{ + [CmdletBinding()] + param() +} + + +#region Microsoft.Graph.Beta.Applications +function Get-MgBetaApplication { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.PSCredential] - $Credentials, + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, [Parameter()] [System.String] - $ForestName, + $CountVariable, + + [Parameter()] + [System.String] + $ApplicationId, [Parameter()] [System.Uri] - $TargetAutodiscoverEpr, + $Proxy, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String[]] + $Sort, [Parameter()] [System.String] - $TargetTenantId, + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] [System.String] - $TargetServiceEpr, + $Filter, [Parameter()] - [System.Object] - $AccessMethod - ) -} -function Add-MailboxFolderPermission -{ - [CmdletBinding()] - param( + [System.Management.Automation.PSCredential] + $ProxyCredential, + [Parameter()] - [System.Object[]] - $AccessRights, + [System.String] + $Search, [Parameter()] - [System.Object] - $SharingPermissionFlags, + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Break, [Parameter()] - [System.Object] - $User, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object] - $Identity, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $SendNotificationToUser + [PSObject] + $HttpPipelineAppend ) } -function Add-MailboxPermission +function Update-MgBetaApplication { [CmdletBinding()] param( [Parameter()] - [System.Object[]] - $AccessRights, + [PSObject] + $InputObject, [Parameter()] - [System.Management.Automation.SwitchParameter] - $GroupMailbox, + [PSObject] + $HomeRealmDiscoveryPolicies, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Deny, + [PSObject] + $Spa, [Parameter()] - [System.Object] - $AutoMapping, + [PSObject] + $Synchronization, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $DefaultRedirectUri, [Parameter()] - [System.Object] - $User, + [System.DateTime] + $CreatedDateTime, [Parameter()] - [System.Object] - $Owner, + [System.String] + $SignInAudience, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $VerifiedPublisher, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $OptionalClaims, + + [Parameter()] + [System.String[]] + $IdentifierUris, + + [Parameter()] + [PSObject] + $AuthenticationBehaviors, [Parameter()] [System.Management.Automation.SwitchParameter] - $IgnoreDefaultScope, + $IsDeviceOnlyAuthSupported, [Parameter()] - [System.DirectoryServices.ActiveDirectorySecurityInheritance] - $InheritanceType - ) -} -function Add-RecipientPermission -{ - [CmdletBinding()] - param( + [System.String] + $TokenEncryptionKeyId, + [Parameter()] - [System.Object] - $AccessRights, + [System.String] + $UniqueName, [Parameter()] - [System.Object] - $Trustee, + [System.String] + $Description, + + [Parameter()] + [PSObject] + $TokenIssuancePolicies, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $Api, + + [Parameter()] + [System.String] + $PublisherDomain, + + [Parameter()] + [System.String] + $GroupMembershipClaims, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String[]] + $Tags, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [PSObject] + $FederatedIdentityCredentials, + + [Parameter()] + [PSObject] + $TokenLifetimePolicies, + + [Parameter()] + [PSObject] + $AppManagementPolicies, + + [Parameter()] + [System.String] + $DisabledByMicrosoftStatus, + + [Parameter()] + [PSObject] + $PasswordCredentials, + + [Parameter()] + [PSObject] + $PublicClient, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [PSObject] + $RequiredResourceAccess, + + [Parameter()] + [PSObject] + $ParentalControlSettings, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [System.String] + $DisplayName, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $IsFallbackPublicClient, [Parameter()] - [System.Object] - $Identity - ) -} -function Add-RoleGroupMember -{ - [CmdletBinding()] - param( + [System.String] + $NativeAuthenticationApisEnabled, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [PSObject] + $RequestSignatureVerification, + + [Parameter()] + [System.String] + $LogoInputFile, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [PSObject] + $AppRoles, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $ExtensionProperties, + + [Parameter()] + [PSObject] + $Windows, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $CreatedOnBehalfOf, + + [Parameter()] + [PSObject] + $ConnectorGroup, + + [Parameter()] + [PSObject] + $ServicePrincipalLockConfiguration, + + [Parameter()] + [System.String] + $ServiceManagementReference, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [PSObject] + $KeyCredentials, + + [Parameter()] + [PSObject] + $Certification, + + [Parameter()] + [PSObject] + $OnPremisesPublishing, + + [Parameter()] + [System.String] + $SamlMetadataUrl, + + [Parameter()] + [PSObject] + $Info, [Parameter()] [System.Management.Automation.SwitchParameter] - $BypassSecurityGroupManagerCheck, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Member + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $AppId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break ) } -function Disable-ATPProtectionPolicyRule +#endregion + +#region Azure +function Get-AzSentinelSetting { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $ResourceGroupName, [Parameter()] - [System.Object] - $Identity + [System.String] + $WorkspaceName, + + [Parameter()] + [System.String] + $SubscriptionId ) } -function Disable-EOPProtectionPolicyRule + +function Update-AzSentinelSetting { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $ResourceGroupName, [Parameter()] - [System.Object] - $Identity + [System.String] + $WorkspaceName, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.String] + $SettingsName, + + [Parameter()] + [System.String] + $DataSource ) } -function Enable-ATPProtectionPolicyRule + +function Get-AzResource { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity + [System.String] + $ResourceType ) } -function Enable-EOPProtectionPolicyRule + +function Get-AzSubscription { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $SubscriptionId, [Parameter()] - [System.Object] - $Identity + [System.String] + $SubscriptionName ) } -function Enable-OrganizationCustomization + +function Get-AzSecurityPricing { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + [System.String] + $Name ) } -function Get-AcceptedDomain + +function Set-AzSecurityPricing { [CmdletBinding()] param( [Parameter()] - [System.Object] - $Identity, + [System.String] + $Name, [Parameter()] - [System.Object] - $ResultSize + [System.String] + $PricingTier, + + [Parameter()] + [System.String] + $SubPlan, + + [Parameter()] + [System.String] + $Extension ) } -function Get-ActiveSyncDevice + +function Get-AzContext +{ + [CmdletBinding()] + param() +} + +function Set-AzContext { [CmdletBinding()] param( [Parameter()] [System.String] - $SortBy, + $Subscription + ) +} +function Search-AzGraph +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $Mailbox, + [System.String] + $Query, [Parameter()] - [System.Object] - $OrganizationalUnit, + [System.Int32] + $First, [Parameter()] [System.String] - $Filter, - - [Parameter()] - [System.Object] - $Identity, + $SkipToken, [Parameter()] - [System.Object] - $ResultSize + [System.Management.Automation.SwitchParameter] + $UseTenantScope ) } -function Get-ActiveSyncDeviceAccessRule + + +function Enable-ATPProtectionPolicyRule { [CmdletBinding()] param( [Parameter()] - [System.Object] + [System.String] $Identity ) } -function Get-ActiveSyncMailboxPolicy + +function Enable-AzSubscription { [CmdletBinding()] param( [Parameter()] - [System.Object] - $Identity + [System.String] + $Id ) } -function Get-AddressBookPolicy + +function Disable-ATPProtectionPolicyRule { [CmdletBinding()] param( [Parameter()] - [System.Object] + [System.String] $Identity ) } -function Get-AddressList + +function Disable-AzSubscription { [CmdletBinding()] param( [Parameter()] [System.String] - $SearchText, - - [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Container + $Id ) } -function Get-AdminAuditLogConfig +#endregion + +# region ExchangeOnlineManagement +function Get-EmailTenantSettings { [CmdletBinding()] param( - ) } -function Get-AdministrativeUnit + +function Set-EmailTenantSettings { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $EnablePriorityAccountProtection + ) +} +function Get-DnssecStatusForVerifiedDomain +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $Identity + $DomainName ) } -function Get-AntiPhishPolicy + +function Enable-DnssecForVerifiedDomain { [CmdletBinding()] param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Impersonation, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Advanced, - [Parameter()] [System.Object] - $Identity, + $DomainName + ) +} +function Disable-DnssecForVerifiedDomain +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Spoof + [System.Object] + $DomainName ) } -function Get-AntiPhishRule + +function Get-MailboxIRMAccess { [CmdletBinding()] param( [Parameter()] [System.Object] - $Identity, + $User, [Parameter()] [System.Object] - $State + $Identity ) } -function Get-App + +function Set-MailboxIRMAccess { [CmdletBinding()] param( [Parameter()] [System.Object] - $Mailbox, + $User, [Parameter()] [System.Object] $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $OrganizationApp, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrivateCatalog + [System.Object] + $AccessLevel ) } -function Get-ApplicationAccessPolicy + +function Remove-MailboxIRMAccess { [CmdletBinding()] param( [Parameter()] [System.Object] - $Identity + $User, + + [Parameter()] + [System.Object] + $Identity ) } + function Get-ArcConfig { [CmdletBinding()] - param( - - ) + param() } -function Get-ATPBuiltInProtectionRule + +function Set-ArcConfig { [CmdletBinding()] param( [Parameter()] - [System.Object] - $Identity, + [System.String[]] + $ArcTrustedSealers, - [Parameter()] - [System.Object] - $State - ) -} -function Get-AtpPolicyForO365 -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] $Identity ) } -function Get-ATPProtectionPolicyRule + +function Get-ManagementScope { [CmdletBinding()] param( + [Parameter()] + [System.Boolean] + $Exclusive, + [Parameter()] [System.Object] $Identity, [Parameter()] - [System.Object] - $State + [System.Management.Automation.SwitchParameter] + $Orphan ) } -function Get-AuditConfig + +function New-ManagementScope { [CmdletBinding()] param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Exclusive, + + [Parameter()] + [System.Object] + $RecipientRoot, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $RecipientRestrictionFilter, + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force ) } -function Get-AuditConfigurationPolicy + +function Set-ManagementScope { [CmdletBinding()] param( [Parameter()] [System.Object] - $Identity + $RecipientRoot, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $RecipientRestrictionFilter, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force ) } -function Get-AuthenticationPolicy + +function Remove-ManagementScope { [CmdletBinding()] param( [Parameter()] - [System.String] - $TenantId, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] @@ -505,218 +834,261 @@ function Get-AuthenticationPolicy [Parameter()] [System.Management.Automation.SwitchParameter] - $AllowLegacyExchangeTokens + $Force ) } -function Get-AvailabilityAddressSpace + +function Get-FocusedInbox { [CmdletBinding()] param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UseCustomRouting, + [Parameter()] [System.Object] $Identity ) } -function Get-AvailabilityConfig + +function Set-FocusedInbox { [CmdletBinding()] param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UseCustomRouting, + [Parameter()] [System.Object] - $Identity + $Identity, + + [Parameter()] + [System.Object] + $FocusedInboxOn ) } -function Get-CalendarProcessing + +function Get-MailboxCalendarConfiguration { [CmdletBinding()] param( [Parameter()] [System.Object] - $Identity, + $MailboxLocation, [Parameter()] [System.Object] - $ResultSize + $Identity ) } -function Get-CASMailbox + +function Set-MailboxCalendarConfiguration { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $RecalculateHasActiveSyncDevicePartnership, + [System.Int32] + $WeatherLocationBookmark, [Parameter()] - [System.String] - $SortBy, + [System.Object] + $WorkspaceUserEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProtocolSettings, + [System.Boolean] + $ConversationalSchedulingEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ReadIsOptimizedForAccessibility, + [System.Boolean] + $HotelEventsFromEmailEnabled, [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, + [System.Boolean] + $SkipAgendaMailOnFreeDays, + + [Parameter()] + [System.Boolean] + $DiningEventsFromEmailEnabled, [Parameter()] [System.Object] - $OrganizationalUnit, + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ActiveSyncDebugLogging, + [System.Boolean] + $CreateEventsFromEmailAsPrivate, [Parameter()] - [System.Object] - $Identity, + [System.String] + $CalendarFeedsPreferredLanguage, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IgnoreDefaultScope, + [System.Boolean] + $PackageDeliveryEventsFromEmailEnabled, [Parameter()] - [System.Object[]] - $RecipientTypeDetails, + [System.Object] + $WorkingHoursTimeZone, [Parameter()] [System.Object] - $ResultSize, + $WeatherLocations, [Parameter()] - [System.String] - $Filter, + [System.Boolean] + $FlightEventsFromEmailEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ActiveSyncSuppressReadReceipt, + [System.Boolean] + $RentalCarEventsFromEmailEnabled, [Parameter()] - [System.String] - $Anr - ) -} -function Get-CASMailboxPlan -{ - [CmdletBinding()] - param( + [System.Boolean] + $DeleteMeetingRequestOnRespond, + [Parameter()] - [System.String] - $SortBy, + [System.Int32] + $DefaultMeetingDuration, [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, + [System.Boolean] + $ReminderSoundEnabled, + + [Parameter()] + [System.TimeSpan] + $WorkingHoursEndTime, [Parameter()] [System.Object] - $Identity, + $ShortenEventScopeDefault, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IgnoreDefaultScope, + [System.Boolean] + $InvoiceEventsFromEmailEnabled, + + [Parameter()] + [System.Boolean] + $UseBrightCalendarColorThemeInOwa, + + [Parameter()] + [System.TimeSpan] + $DefaultReminderTime, [Parameter()] [System.Object] - $ResultSize, + $LocationDetailsInFreeBusy, + + [Parameter()] + [System.Object] + $WeatherEnabled, [Parameter()] [System.String] - $Filter - ) -} -function Get-ClientAccessRule -{ - [CmdletBinding()] - param( + $CalendarFeedsPreferredRegion, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $ServiceAppointmentEventsFromEmailEnabled, + + [Parameter()] + [System.Boolean] + $ShowWeekNumbers, + + [Parameter()] + [System.Boolean] + $RemindersEnabled, [Parameter()] [System.Object] - $Identity, + $WeekStartDay, [Parameter()] [System.Object] - $DomainController - ) -} -function Get-ComplianceTag -{ - [CmdletBinding()] - param( + $FirstWeekOfYear, + [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludingLabelState, + $Confirm, [Parameter()] - [System.Object] - $Identity - ) -} -function Get-DataClassification -{ - [CmdletBinding()] - param( + [System.Boolean] + $AgendaMailIntroductionEnabled, + + [Parameter()] + [System.TimeSpan] + $WorkingHoursStartTime, + + [Parameter()] + [System.String] + $CalendarFeedsRootPageId, + [Parameter()] [System.Object] - $Identity, + $DailyAgendaMailSchedule, + + [Parameter()] + [System.Int32] + $DefaultMinutesToReduceLongEventsBy, + + [Parameter()] + [System.Int32] + $DefaultMinutesToReduceShortEventsBy, + + [Parameter()] + [System.Boolean] + $AutoDeclineWhenBusy, [Parameter()] [System.Object] - $ClassificationRuleCollectionIdentity - ) -} -function Get-DataEncryptionPolicy -{ - [CmdletBinding()] - param( + $OnlineMeetingsByDefaultEnabled, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $PreserveDeclinedMeetings, [Parameter()] [System.Object] - $Identity, + $TimeIncrement, [Parameter()] [System.Object] - $DomainController - ) -} -function Get-DeviceConditionalAccessPolicy -{ - [CmdletBinding()] - param( + $WorkDays, + + [Parameter()] + [System.Boolean] + $EntertainmentEventsFromEmailEnabled, + + [Parameter()] + [System.Boolean] + $EventsFromEmailEnabled, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-DeviceConditionalAccessRule -{ - [CmdletBinding()] - param( + $WeatherUnit, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-DeviceConfigurationPolicy -{ - [CmdletBinding()] - param( + $DefaultOnlineMeetingProvider, + [Parameter()] [System.Object] - $Identity + $MailboxLocation, + + [Parameter()] + [System.Boolean] + $AgendaMailEnabled, + + [Parameter()] + [System.Boolean] + $AgendaPaneEnabled ) } -function Get-DeviceConfigurationRule + + + +function Get-RetentionPolicy { [CmdletBinding()] param( @@ -725,187 +1097,199 @@ function Get-DeviceConfigurationRule $Identity ) } -function Get-DistributionGroup + +function New-RetentionPolicy { [CmdletBinding()] param( [Parameter()] [System.String] - $SortBy, + $Name, [Parameter()] - [System.Object] - $Identity, + [System.Object[]] + $RetentionPolicyTagLinks, [Parameter()] - [System.String] - $Anr, + [System.Management.Automation.SwitchParameter] + $IsDefaultArbitrationMailbox, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeAcceptMessagesOnlyFromSendersOrMembersWithDisplayNames, + $IsDefault, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeAcceptMessagesOnlyFromWithDisplayNames, + [System.Guid] + $RetentionId, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeAcceptMessagesOnlyFromDLMembersWithDisplayNames, + $Confirm + ) +} + +function Remove-RetentionPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $ResultSize, + $Identity, [Parameter()] - [System.Object[]] - $RecipientTypeDetails, + [System.Management.Automation.SwitchParameter] + $Force + ) +} + +function Set-RetentionPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.String[]] - $Properties, + [System.String] + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Async, + [System.Object[]] + $RetentionPolicyTagLinks, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeBypassModerationFromSendersOrMembersWithDisplayNames, + $IsDefault, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeGrantSendOnBehalfToWithDisplayNames, + [System.Object] + $Identity, [Parameter()] - [System.String] - $Filter, + [System.Guid] + $RetentionId, [Parameter()] - [System.Object] - $ManagedBy, + [System.Management.Automation.SwitchParameter] + $IsDefaultArbitrationMailbox, [Parameter()] - [System.Object] - $OrganizationalUnit, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeModeratedByWithDisplayNames + $Force ) } -function Get-DistributionGroupMember + +function Get-SweepRule { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeSoftDeletedObjects, + [System.Int32] + $SkipCount, + + [Parameter()] + [System.String] + $Provider, [Parameter()] [System.Object] - $Identity, + $Mailbox, [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, + [System.Management.Automation.SwitchParameter] + $BypassScopeCheck, [Parameter()] [System.Object] - $ResultSize - ) -} -function Get-DkimSigningConfig -{ - [CmdletBinding()] - param( + $Identity, + [Parameter()] [System.Object] - $Identity + $ResultSize ) } -function Get-DnssecStatusForVerifiedDomain +function New-ServicePrincipal { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipMtaStsValidation, + [System.String] + $DisplayName, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipMxValidation, + [System.String] + $ObjectId, [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipDnsValidation, + [System.String] + $ServiceId, [Parameter()] [System.String] - $DomainName + $AppId ) } -function Get-EmailAddressPolicy +function New-SweepRule { [CmdletBinding()] param( + [Parameter()] + [System.String] + $Name, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-EmailTenantSettings -{ - [CmdletBinding()] - param( + $DestinationFolder, + + [Parameter()] + [System.String] + $Provider, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-EOPProtectionPolicyRule -{ - [CmdletBinding()] - param( + $SystemCategory, + [Parameter()] [System.Object] - $Identity, + $KeepLatest, [Parameter()] [System.Object] - $State - ) -} -function Get-ExoPhishSimOverrideRule -{ - [CmdletBinding()] - param( + $SourceFolder, + [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] [System.Object] - $Identity, + $Mailbox, [Parameter()] [System.Object] - $Policy, + $Sender, [Parameter()] [System.Object] - $DomainController + $KeepForDays, + + [Parameter()] + [System.Boolean] + $Enabled ) } -function Get-ExoSecOpsOverrideRule +function Remove-ServicePrincipal { [CmdletBinding()] param( @@ -915,294 +1299,347 @@ function Get-ExoSecOpsOverrideRule [Parameter()] [System.Object] - $Identity, - - [Parameter()] - [System.Object] - $Policy, - - [Parameter()] - [System.Object] - $DomainController + $Identity ) } -function Get-ExternalInOutlook +function Remove-SweepRule { [CmdletBinding()] param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Mailbox, + [Parameter()] [System.Object] $Identity ) } -function Get-FocusedInbox +function Set-ServicePrincipal { [CmdletBinding()] param( + [Parameter()] + [System.String] + $DisplayName, + [Parameter()] [System.Management.Automation.SwitchParameter] - $UseCustomRouting, + $Confirm, [Parameter()] [System.Object] $Identity ) } -function Get-GlobalAddressList +function Set-SweepRule { [CmdletBinding()] param( [Parameter()] - [System.Object] - $Identity, + [System.String] + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $DefaultOnly - ) -} -function Get-Group -{ - [CmdletBinding()] - param( + [System.Object] + $Sender, + [Parameter()] [System.String] - $SortBy, + $Provider, [Parameter()] [System.Object] - $OrganizationalUnit, + $SystemCategory, [Parameter()] [System.Object] - $Identity, + $KeepLatest, [Parameter()] - [System.Object[]] - $RecipientTypeDetails, + [System.Object] + $SourceFolder, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $ResultSize, + $Mailbox, [Parameter()] - [System.String] - $Filter, + [System.Object] + $Identity, [Parameter()] - [System.String] - $Anr - ) -} -function Get-HostedConnectionFilterPolicy -{ - [CmdletBinding()] - param( + [System.Object] + $DestinationFolder, + [Parameter()] [System.Object] - $Identity + $KeepForDays, + + [Parameter()] + [System.Boolean] + $Enabled ) } -function Get-HostedContentFilterPolicy + +function Get-ExoPhishSimOverrideRule { [CmdletBinding()] param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + [Parameter()] [System.Object] - $Identity + $Identity, + + [Parameter()] + [System.String] + $Policy ) } -function Get-HostedContentFilterRule + +function New-ExoPhishSimOverrideRule { [CmdletBinding()] param( + [Parameter()] + [System.String] + $Name, + [Parameter()] [System.Object] - $Identity, + $SenderIpRanges, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $State + $Domains, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.String] + $Policy ) } -function Get-HostedOutboundSpamFilterPolicy + +function Remove-ExoPhishSimOverrideRule { [CmdletBinding()] param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + [Parameter()] [System.Object] $Identity ) } -function Get-HostedOutboundSpamFilterRule + +function Set-ExoPhishSimOverrideRule { [CmdletBinding()] param( [Parameter()] [System.Object] - $Identity, + $AddDomains, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment, [Parameter()] [System.Object] - $State - ) -} -function Get-InboundConnector -{ - [CmdletBinding()] - param( + $AddSenderIpRanges, + [Parameter()] [System.Object] $Identity, [Parameter()] [System.Object] - $ResultSize + $RemoveDomains, + + [Parameter()] + [System.Object] + $RemoveSenderIpRanges ) } -function Get-IntraOrganizationConnector + +function Get-DefaultTenantBriefingConfig { [CmdletBinding()] param( [Parameter()] - [System.Object] - $Identity + [PSObject] + $ResultSize ) } -function Get-IRMConfiguration +function Get-DefaultTenantMyAnalyticsFeatureConfig { [CmdletBinding()] param( - + [Parameter()] + [PSObject] + $ResultSize ) } -function Get-JournalRule +function Set-DefaultTenantBriefingConfig { [CmdletBinding()] param( [Parameter()] - [System.Object] - $Identity + [System.String] + $IsEnabledByDefault, + + [Parameter()] + [PSObject] + $ResultSize ) } -function Get-M365DataAtRestEncryptionPolicy +function Set-DefaultTenantMyAnalyticsFeatureConfig { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $Feature, [Parameter()] - [System.Object] - $Identity, + [System.Boolean] + $IsEnabled, [Parameter()] - [System.Object] - $DomainController - ) -} -function Get-M365DataAtRestEncryptionPolicyAssignment -{ - [CmdletBinding()] - param( + [PSObject] + $ResultSize, + [Parameter()] + [System.Nullable`1[System.Double]] + $SamplingRate ) } -function Get-Mailbox +#endregion +#region ExchangeOnlineManagement +function Add-AvailabilityAddressSpace { [CmdletBinding()] param( [Parameter()] - [System.String] - $SortBy, + [System.Management.Automation.PSCredential] + $Credentials, [Parameter()] - [System.Object] - $Identity, + [System.String] + $ForestName, [Parameter()] - [System.Management.Automation.SwitchParameter] - $InactiveMailboxOnly, + [System.Uri] + $TargetAutodiscoverEpr, [Parameter()] [System.Management.Automation.SwitchParameter] - $PublicFolder, + $Confirm, [Parameter()] [System.String] - $Anr, + $TargetTenantId, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Archive, + [System.String] + $TargetServiceEpr, [Parameter()] - [System.Management.Automation.SwitchParameter] - $SoftDeletedMailbox, - + [System.Object] + $AccessMethod + ) +} +function Add-MailboxPermission +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeAcceptMessagesOnlyFromSendersOrMembersWithDisplayNames, + [System.Object] + $Owner, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeAcceptMessagesOnlyFromWithDisplayNames, + [System.Object[]] + $AccessRights, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeAcceptMessagesOnlyFromDLMembersWithDisplayNames, + $GroupMailbox, [Parameter()] - [System.Object] - $ResultSize, + [System.Management.Automation.SwitchParameter] + $Deny, [Parameter()] [System.Object] - $MailboxPlan, - - [Parameter()] - [System.Object[]] - $RecipientTypeDetails, + $AutoMapping, [Parameter()] [System.Management.Automation.SwitchParameter] - $Migration, + $Confirm, [Parameter()] - [System.String[]] - $Properties, + [System.Object] + $User, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Async, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeGrantSendOnBehalfToWithDisplayNames, + $IgnoreDefaultScope, [Parameter()] - [System.String] - $Filter, - + [System.DirectoryServices.ActiveDirectorySecurityInheritance] + $InheritanceType + ) +} +function Add-RecipientPermission +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $GroupMailbox, + [System.Object] + $AccessRights, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeInactiveMailbox, + $Confirm, [Parameter()] [System.Object] - $OrganizationalUnit, + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeEmailAddressDisplayNames + [System.Object] + $Trustee ) } -function Get-MailboxAuditBypassAssociation +function Get-ExoSecOpsOverrideRule { [CmdletBinding()] param( @@ -1212,68 +1649,89 @@ function Get-MailboxAuditBypassAssociation [Parameter()] [System.Object] - $ResultSize + $Policy ) } -function Get-MailboxAutoReplyConfiguration + +function New-ExoSecOpsOverrideRule { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, + [System.String] + $Name, [Parameter()] [System.Object] - $Identity + $Policy, + + [Parameter()] + [System.String] + $Comment ) } -function Get-MailboxCalendarConfiguration +function Remove-ExoSecOpsOverrideRule { [CmdletBinding()] param( - [Parameter()] - [System.Object] - $MailboxLocation, [Parameter()] [System.Object] $Identity ) } -function Get-MailboxCalendarFolder +function Set-ExoSecOpsOverrideRule { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, + [System.String] + $Comment, [Parameter()] [System.Object] $Identity ) } -function Get-MailboxFolderPermission +function Disable-JournalRule { [CmdletBinding()] param( - [Parameter()] - [System.Int32] - $SkipCount, - [Parameter()] [System.Management.Automation.SwitchParameter] - $GroupMailbox, + $Confirm, + [Parameter()] + [System.Object] + $Identity + ) +} +function Enable-JournalRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $UseCustomRouting, + $Confirm, [Parameter()] [System.Object] - $User, - + $Identity + ) +} +function Enable-OrganizationCustomization +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Get-AcceptedDomain +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] $Identity, @@ -1283,144 +1741,99 @@ function Get-MailboxFolderPermission $ResultSize ) } -function Get-MailboxFolderStatistics +function Get-ActiveSyncDevice { [CmdletBinding()] param( - [Parameter()] - [System.Object] - $Database, - [Parameter()] [System.String] - $DiagnosticInfo, + $SortBy, [Parameter()] [System.Object] - $StoreMailboxIdentity, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeOldestAndNewestItems, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Archive, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeSoftDeletedRecipients, + $Mailbox, [Parameter()] - [System.Int32] - $SkipCount, + [System.Object] + $OrganizationalUnit, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeAnalysis, + [System.String] + $Filter, [Parameter()] [System.Object] - $ResultSize, + $Identity, [Parameter()] [System.Object] - $FolderScope, + $ResultSize + ) +} +function Get-ActiveSyncMailboxPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] $Identity ) } -function Get-MailboxIRMAccess + +function Get-ActiveSyncDeviceAccessRule { [CmdletBinding()] param( - [Parameter()] - [System.Object] - $User, - [Parameter()] [System.Object] $Identity ) } -function Get-MailboxPermission +function Get-AddressBookPolicy { [CmdletBinding()] param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ReadFromDomainController, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeUnresolvedPermissions, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $GroupMailbox, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeSoftDeletedUserPermissions, - [Parameter()] [System.Object] - $User, - + $Identity + ) +} +function Get-AddressList +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Owner, + [System.String] + $SearchText, [Parameter()] [System.Object] $Identity, - [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SoftDeletedMailbox, - [Parameter()] [System.Object] - $ResultSize + $Container ) } -function Get-MailboxPlan +function Get-AdminAuditLogConfig { [CmdletBinding()] param( - [Parameter()] - [System.String] - $SortBy, - - [Parameter()] - [System.Management.Automation.PSCredential] - $Credential, - - [Parameter()] - [System.String] - $Filter, + ) +} +function Get-AntiPhishPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $IgnoreDefaultScope, + $Impersonation, [Parameter()] - [System.Object] - $ResultSize, + [System.Management.Automation.SwitchParameter] + $Advanced, [Parameter()] [System.Object] @@ -1428,68 +1841,44 @@ function Get-MailboxPlan [Parameter()] [System.Management.Automation.SwitchParameter] - $AllMailboxPlanReleases + $Spoof ) } -function Get-MailboxRegionalConfiguration +function Get-AntiPhishRule { [CmdletBinding()] param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $VerifyDefaultFolderNameLanguage, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Archive, - [Parameter()] [System.Object] $Identity, [Parameter()] [System.Object] - $MailboxLocation + $State ) } -function Get-MailContact +function Get-App { [CmdletBinding()] param( - [Parameter()] - [System.String] - $SortBy, - [Parameter()] [System.Object] - $OrganizationalUnit, + $Mailbox, [Parameter()] [System.Object] $Identity, [Parameter()] - [System.Object[]] - $RecipientTypeDetails, - - [Parameter()] - [System.Object] - $ResultSize, - - [Parameter()] - [System.String] - $Filter, + [System.Management.Automation.SwitchParameter] + $OrganizationApp, [Parameter()] - [System.String] - $Anr + [System.Management.Automation.SwitchParameter] + $PrivateCatalog ) } -function Get-MalwareFilterPolicy +function Get-ApplicationAccessPolicy { [CmdletBinding()] param( @@ -1498,172 +1887,207 @@ function Get-MalwareFilterPolicy $Identity ) } -function Get-MalwareFilterRule + +function Get-ATPProtectionPolicyRule { [CmdletBinding()] param( [Parameter()] - [System.Object] + [System.String] $Identity, [Parameter()] - [System.Object] + [System.String] $State ) } -function Get-ManagementRole + +function Get-AtpPolicyForO365 { [CmdletBinding()] param( [Parameter()] [System.Object] - $RoleType, - - [Parameter()] - [System.String[]] - $CmdletParameters, - - [Parameter()] - [System.String[]] - $ScriptParameters, + $Identity + ) +} +function Get-AuditConfig +{ + [CmdletBinding()] + param( + ) +} +function Get-AuditConfigurationPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $Identity, - - [Parameter()] - [System.String] - $Cmdlet, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Recurse, - - [Parameter()] - [System.String] - $Script, - + $Identity + ) +} +function Get-AuthenticationPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $GetChildren + [System.Object] + $Identity ) } -function Get-ManagementRoleAssignment +function Get-AvailabilityAddressSpace { [CmdletBinding()] param( [Parameter()] [System.Object] - $RoleAssigneeType, - + $Identity + ) +} +function Get-AvailabilityConfig +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $CustomRecipientWriteScope, - + $Identity + ) +} +function Get-CalendarProcessing +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] $Identity, [Parameter()] [System.Object] - $RecipientGroupScope, + $ResultSize + ) +} +function Get-CASMailbox +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RecalculateHasActiveSyncDevicePartnership, [Parameter()] - [System.Boolean] - $Enabled, + [System.String] + $SortBy, [Parameter()] - [System.Object] - $RecipientWriteScope, + [System.Management.Automation.SwitchParameter] + $ProtocolSettings, [Parameter()] - [System.Object] - $WritableRecipient, + [System.Management.Automation.SwitchParameter] + $ReadIsOptimizedForAccessibility, [Parameter()] - [System.Object] - $ConfigWriteScope, + [System.Management.Automation.PSCredential] + $Credential, [Parameter()] - [System.Boolean] - $Delegating, + [System.Object] + $OrganizationalUnit, [Parameter()] - [System.Boolean] - $Exclusive, + [System.Management.Automation.SwitchParameter] + $ActiveSyncDebugLogging, [Parameter()] - [System.Object[]] - $AssignmentMethod, + [System.Object] + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $GetEffectiveUsers, + $IgnoreDefaultScope, [Parameter()] - [System.Object] - $Role, + [System.Object[]] + $RecipientTypeDetails, [Parameter()] [System.Object] - $RecipientAdministrativeUnitScope, + $ResultSize, [Parameter()] - [System.Object] - $ExclusiveRecipientWriteScope, + [System.String] + $Filter, [Parameter()] - [System.Object] - $RecipientOrganizationalUnitScope, + [System.Management.Automation.SwitchParameter] + $ActiveSyncSuppressReadReceipt, [Parameter()] - [System.Object] - $RoleAssignee + [System.String] + $Anr ) } -function Get-ManagementRoleEntry +function Get-CASMailboxPlan { [CmdletBinding()] param( [Parameter()] - [System.Object[]] - $Type, + [System.String] + $SortBy, [Parameter()] - [System.String] - $PSSnapinName, + [System.Management.Automation.PSCredential] + $Credential, [Parameter()] [System.Object] $Identity, [Parameter()] - [System.String[]] - $Parameters, + [System.Management.Automation.SwitchParameter] + $IgnoreDefaultScope, [Parameter()] [System.Object] - $ResultSize + $ResultSize, + + [Parameter()] + [System.String] + $Filter ) } -function Get-ManagementScope +function Get-ClientAccessRule { [CmdletBinding()] param( [Parameter()] - [System.Boolean] - $Exclusive, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] $Identity, + [Parameter()] + [System.Object] + $DomainController + ) +} +function Get-ComplianceTag +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Orphan + $IncludingLabelState, + + [Parameter()] + [System.Object] + $Identity ) } -function Get-MessageClassification +function Get-DataClassification { [CmdletBinding()] param( @@ -1672,21 +2096,17 @@ function Get-MessageClassification $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeLocales + [System.Object] + $ClassificationRuleCollectionIdentity ) } -function Get-MigrationBatch +function Get-DataEncryptionPolicy { [CmdletBinding()] param( - [Parameter()] - [System.String] - $DiagnosticInfo, - [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeReport, + $Confirm, [Parameter()] [System.Object] @@ -1694,237 +2114,190 @@ function Get-MigrationBatch [Parameter()] [System.Object] - $Partition, - + $DomainController + ) +} +function Get-DeviceConditionalAccessPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $ResultSize, + $Identity + ) +} +function Get-DeviceConditionalAccessRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $CompareToWorkload, [Parameter()] [System.Object] - $Status, + $Identity, [Parameter()] [System.Object] - $Endpoint + $DomainController ) } -function Get-MigrationEndpoint +function New-DeviceConditionalAccessRule { [CmdletBinding()] param( [Parameter()] - [System.String] - $DiagnosticInfo, + [System.Object] + $CameraEnabled, [Parameter()] [System.Object] - $Type, + $EnableRemovableStorage, [Parameter()] [System.Object] - $Identity, + $AntiVirusSignatureStatus, [Parameter()] [System.Object] - $Partition - ) -} -function Get-MigrationUser -{ - [CmdletBinding()] - param( + $FirewallStatus, + [Parameter()] [System.Object] - $EmailAddress, + $AllowAppStore, [Parameter()] [System.Object] - $MailboxGuid, + $AllowAssistantWhileLocked, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeAssociatedUsers, + [System.Object] + $AllowiCloudBackup, [Parameter()] [System.Object] - $Identity, + $AppsRating, [Parameter()] [System.Object] - $BatchId, + $PasswordHistoryCount, [Parameter()] [System.Object] - $Partition, + $PasswordQuality, [Parameter()] [System.Object] - $ResultSize, + $PasswordMinComplexChars, [Parameter()] [System.Object] - $Status, + $PhoneMemoryEncrypted, + + [Parameter()] + [System.String] + $EmailAddress, [Parameter()] [System.Object] - $StatusSummary - ) -} -function Get-MobileDevice -{ - [CmdletBinding()] - param( + $BluetoothEnabled, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $OWAforDevices, + [System.Object] + $AllowConvenienceLogon, [Parameter()] - [System.String] - $SortBy, + [System.Object] + $MaxPasswordGracePeriod, [Parameter()] - [System.Management.Automation.SwitchParameter] - $UniversalOutlook, + [System.Object] + $AllowiCloudDocSync, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ActiveSync, + [System.Object] + $ForceAppStorePassword, [Parameter()] [System.Object] - $Mailbox, + $Policy, [Parameter()] [System.Object] - $OrganizationalUnit, + $TVShowsRating, [Parameter()] [System.Object] - $Identity, + $AllowJailbroken, [Parameter()] - [System.Management.Automation.SwitchParameter] - $RestApi, + [System.Object] + $RequireEmailProfile, [Parameter()] [System.Object] - $ResultSize, + $AllowDiagnosticSubmission, + + [Parameter()] + [System.Object] + $AutoUpdateStatus, [Parameter()] [System.String] - $Filter - ) -} -function Get-MobileDeviceMailboxPolicy -{ - [CmdletBinding()] - param( + $AccountUserName, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-OfflineAddressBook -{ - [CmdletBinding()] - param( + $WLANEnabled, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-OMEConfiguration -{ - [CmdletBinding()] - param( + $AllowVoiceDialing, + [Parameter()] - [System.Object] - $Identity - ) -} -function Get-OnPremisesOrganization -{ - [CmdletBinding()] - param( + [System.String] + $AccountName, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-OrganizationConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $RetrieveEwsOperationAccessPolicy - ) -} -function Get-OrganizationRelationship -{ - [CmdletBinding()] - param( + $PasswordExpirationDays, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-OutboundConnector -{ - [CmdletBinding()] - param( + $PasswordTimeout, + [Parameter()] - [System.Boolean] - $IncludeTestModeConnectors, + [System.Object] + $AllowiCloudPhotoSync, [Parameter()] [System.Object] - $Identity, + $AllowSimplePassword, [Parameter()] [System.Object] - $ResultSize, + $AllowPassbookWhileLocked, [Parameter()] - [System.Boolean] - $IsTransportRuleScoped - ) -} -function Get-OwaMailboxPolicy -{ - [CmdletBinding()] - param( + [System.Object] + $PasswordMinimumLength, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-PartnerApplication -{ - [CmdletBinding()] - param( + $AllowVideoConferencing, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-PerimeterConfig -{ - [CmdletBinding()] - param( + $PasswordRequired, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-Place -{ - [CmdletBinding()] - param( + $MaxPasswordAttemptsBeforeWipe, + [Parameter()] [System.Object] - $Type, + $MoviesRating, [Parameter()] [System.Management.Automation.SwitchParameter] @@ -1932,209 +2305,285 @@ function Get-Place [Parameter()] [System.Object] - $Identity, + $DomainController, [Parameter()] [System.Object] - $ResultSize - ) -} -function Get-PolicyConfig -{ - [CmdletBinding()] - param( + $AntiVirusStatus, + + [Parameter()] + [System.String] + $WorkFoldersSyncUrl, - ) -} -function Get-PolicyTipConfig -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] - $Action, + $UserAccountControlStatus, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Original, + [System.Object] + $ForceEncryptedBackup, [Parameter()] - [System.Globalization.CultureInfo] - $Locale, + [System.String] + $ExchangeActiveSyncHost, [Parameter()] [System.Object] - $Identity + $AllowScreenshot, + + [Parameter()] + [System.Object] + $PasswordComplexity, + + [Parameter()] + [System.Object] + $TargetGroups, + + [Parameter()] + [System.Object] + $AllowVoiceAssistant, + + [Parameter()] + [System.Object] + $SystemSecurityTLS, + + [Parameter()] + [System.Object] + $RegionRatings, + + [Parameter()] + [System.Object] + $SmartScreenEnabled ) } -function Get-ProtectionAlert +function Remove-DeviceConditionalAccessRule { [CmdletBinding()] param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + [Parameter()] [System.Object] $Identity ) } -function Get-QuarantinePolicy +function Set-DeviceConditionalAccessRule { [CmdletBinding()] param( [Parameter()] [System.Object] - $Identity, + $CameraEnabled, [Parameter()] [System.Object] - $QuarantinePolicyType - ) -} -function Get-Recipient -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $SortBy, + $EnableRemovableStorage, [Parameter()] [System.Object] - $Identity, + $AntiVirusSignatureStatus, [Parameter()] - [System.String] - $RecipientPreviewFilter, + [System.Object] + $FirewallStatus, [Parameter()] - [System.String] - $Anr, + [System.Object] + $AllowAppStore, [Parameter()] - [System.String] - $BookmarkDisplayName, + [System.Object] + $AllowAssistantWhileLocked, [Parameter()] [System.Object] - $Capabilities, + $AllowiCloudBackup, [Parameter()] [System.Object] - $ResultSize, + $AppsRating, [Parameter()] - [System.Object[]] - $RecipientTypeDetails, + [System.Object] + $PasswordHistoryCount, [Parameter()] - [System.String[]] - $Properties, + [System.Object] + $PasswordQuality, [Parameter()] [System.Object] - $PropertySet, + $PasswordMinComplexChars, [Parameter()] [System.Object] - $AuthenticationType, + $PhoneMemoryEncrypted, [Parameter()] [System.String] - $Filter, + $EmailAddress, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeSoftDeletedRecipients, + [System.Object] + $BluetoothEnabled, [Parameter()] - [System.Object[]] - $RecipientType, + [System.Object] + $Identity, [Parameter()] [System.Object] - $OrganizationalUnit, + $AllowConvenienceLogon, [Parameter()] - [System.Boolean] - $IncludeBookmarkObject - ) -} -function Get-RecipientPermission -{ - [CmdletBinding()] - param( + [System.Object] + $MaxPasswordGracePeriod, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $ReadFromDomainController, + [System.Object] + $AllowiCloudDocSync, [Parameter()] [System.Object] - $AccessRights, + $ForceAppStorePassword, [Parameter()] [System.Object] - $Identity, + $TVShowsRating, [Parameter()] [System.Object] - $ResultSize, + $AllowJailbroken, [Parameter()] [System.Object] - $Trustee - ) -} -function Get-RemoteDomain -{ - [CmdletBinding()] - param( + $RequireEmailProfile, + [Parameter()] [System.Object] - $Identity, + $AllowDiagnosticSubmission, [Parameter()] [System.Object] - $ResultSize - ) -} -function Get-ReportSubmissionPolicy -{ - [CmdletBinding()] - param( + $AutoUpdateStatus, + + [Parameter()] + [System.String] + $AccountUserName, + [Parameter()] [System.Object] - $Identity - ) -} -function Get-ReportSubmissionRule -{ - [CmdletBinding()] - param( + $WLANEnabled, + [Parameter()] [System.Object] - $Identity, + $AllowVoiceDialing, + + [Parameter()] + [System.String] + $AccountName, [Parameter()] [System.Object] - $State - ) -} -function Get-ResourceConfig -{ - [CmdletBinding()] - param( + $PasswordExpirationDays, - ) -} -function Get-RetentionPolicy -{ - [CmdletBinding()] - param( [Parameter()] [System.Object] - $Identity + $PasswordTimeout, + + [Parameter()] + [System.Object] + $AllowiCloudPhotoSync, + + [Parameter()] + [System.Object] + $AllowSimplePassword, + + [Parameter()] + [System.Object] + $AllowPassbookWhileLocked, + + [Parameter()] + [System.Object] + $PasswordMinimumLength, + + [Parameter()] + [System.Object] + $AllowVideoConferencing, + + [Parameter()] + [System.Object] + $PasswordRequired, + + [Parameter()] + [System.Object] + $MaxPasswordAttemptsBeforeWipe, + + [Parameter()] + [System.Object] + $MoviesRating, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $DomainController, + + [Parameter()] + [System.Object] + $AntiVirusStatus, + + [Parameter()] + [System.String] + $WorkFoldersSyncUrl, + + [Parameter()] + [System.Object] + $UserAccountControlStatus, + + [Parameter()] + [System.Object] + $ForceEncryptedBackup, + + [Parameter()] + [System.String] + $ExchangeActiveSyncHost, + + [Parameter()] + [System.Object] + $AllowScreenshot, + + [Parameter()] + [System.Object] + $PasswordComplexity, + + [Parameter()] + [System.Object] + $TargetGroups, + + [Parameter()] + [System.Object] + $AllowVoiceAssistant, + + [Parameter()] + [System.Object] + $SystemSecurityTLS, + + [Parameter()] + [System.Object] + $RegionRatings, + + [Parameter()] + [System.Object] + $SmartScreenEnabled ) } -function Get-RoleAssignmentPolicy + +function Get-DeviceConfigurationPolicy { [CmdletBinding()] param( @@ -2143,45 +2592,81 @@ function Get-RoleAssignmentPolicy $Identity ) } -function Get-RoleGroup +function Get-DistributionGroup { [CmdletBinding()] param( [Parameter()] - [System.String] - $SortBy, + [System.Management.Automation.SwitchParameter] + $IncludeAcceptMessagesOnlyFromDLMembersWithDisplayNames, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeAcceptMessagesOnlyFromWithDisplayNames, + + [Parameter()] + [System.Management.Automation.PSCredential] + $Credential, + + [Parameter()] + [System.Object] + $OrganizationalUnit, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object[]] + $RecipientTypeDetails, + + [Parameter()] + [System.Object] + $ManagedBy, [Parameter()] [System.String] $Filter, + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeAcceptMessagesOnlyFromSendersOrMembersWithDisplayNames, + [Parameter()] [System.Object] $ResultSize, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ShowPartnerLinked, + [System.String] + $Anr, [Parameter()] - [System.Object] - $Identity + [System.String] + $SortBy ) } -function Get-RoleGroupMember +function Get-DistributionGroupMember { [CmdletBinding()] param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeSoftDeletedObjects, + [Parameter()] [System.Object] $Identity, + [Parameter()] + [System.Management.Automation.PSCredential] + $Credential, + [Parameter()] [System.Object] $ResultSize ) } -function Get-SafeAttachmentPolicy +function Get-DkimSigningConfig { [CmdletBinding()] param( @@ -2190,7 +2675,16 @@ function Get-SafeAttachmentPolicy $Identity ) } -function Get-SafeAttachmentRule +function Get-EmailAddressPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-GlobalAddressList { [CmdletBinding()] param( @@ -2199,33 +2693,62 @@ function Get-SafeAttachmentRule $Identity, [Parameter()] - [System.Object] - $State + [System.Management.Automation.SwitchParameter] + $DefaultOnly ) } -function Get-SafeLinksPolicy +function Get-Group { [CmdletBinding()] param( + [Parameter()] + [System.String] + $SortBy, + [Parameter()] [System.Object] - $Identity + $OrganizationalUnit, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object[]] + $RecipientTypeDetails, + + [Parameter()] + [System.Object] + $ResultSize, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Anr ) } -function Get-SafeLinksRule +function Get-HostedConnectionFilterPolicy { [CmdletBinding()] param( [Parameter()] [System.Object] - $Identity, - + $Identity + ) +} +function Get-HostedContentFilterPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $State + $Identity ) } -function Get-ServicePrincipal +function Get-HostedContentFilterRule { [CmdletBinding()] param( @@ -2235,10 +2758,10 @@ function Get-ServicePrincipal [Parameter()] [System.Object] - $Organization + $State ) } -function Get-SharingPolicy +function Get-HostedOutboundSpamFilterPolicy { [CmdletBinding()] param( @@ -2247,16 +2770,20 @@ function Get-SharingPolicy $Identity ) } -function Get-SupervisoryReviewPolicyV2 +function Get-HostedOutboundSpamFilterRule { [CmdletBinding()] param( [Parameter()] [System.Object] - $Identity + $Identity, + + [Parameter()] + [System.Object] + $State ) } -function Get-SupervisoryReviewRule +function Get-InboundConnector { [CmdletBinding()] param( @@ -2266,233 +2793,260 @@ function Get-SupervisoryReviewRule [Parameter()] [System.Object] - $Policy + $ResultSize ) } -function Get-SweepRule +function Get-IntraOrganizationConnector { [CmdletBinding()] param( [Parameter()] - [System.Int32] - $SkipCount, + [System.Object] + $Identity + ) +} +function Get-IRMConfiguration +{ + [CmdletBinding()] + param( + ) +} +function Get-JournalRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-Mailbox +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $Provider, + $SortBy, [Parameter()] [System.Object] - $Mailbox, + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $BypassScopeCheck, + $InactiveMailboxOnly, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $PublicFolder, [Parameter()] - [System.Object] - $ResultSize - ) -} -function Get-TenantAllowBlockListItems -{ - [CmdletBinding()] - param( - [Parameter()] - [System.DateTime] - $ExpirationDate, + [System.String] + $Anr, [Parameter()] - [System.Object[]] - $ListSubType, + [System.Management.Automation.SwitchParameter] + $Archive, [Parameter()] [System.Management.Automation.SwitchParameter] - $Block, + $SoftDeletedMailbox, [Parameter()] [System.Management.Automation.SwitchParameter] - $OutputJson, + $IncludeAcceptMessagesOnlyFromSendersOrMembersWithDisplayNames, [Parameter()] [System.Management.Automation.SwitchParameter] - $NoExpiration, + $IncludeAcceptMessagesOnlyFromWithDisplayNames, [Parameter()] [System.Management.Automation.SwitchParameter] - $Allow, + $IncludeAcceptMessagesOnlyFromDLMembersWithDisplayNames, [Parameter()] - [System.String] - $Entry, + [System.Object] + $ResultSize, [Parameter()] [System.Object] - $ListType - ) -} -function Get-TenantAllowBlockListSpoofItems -{ - [CmdletBinding()] - param( + $MailboxPlan, + [Parameter()] - [System.String] - $Action, + [System.Object[]] + $RecipientTypeDetails, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Migration, [Parameter()] [System.String] - $SpoofType, + $Filter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $GroupMailbox, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeInactiveMailbox, [Parameter()] [System.Object] - $Identity + $OrganizationalUnit, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeEmailAddressDisplayNames ) } -function Get-TransportConfig +function Get-MailboxAuditBypassAssociation { [CmdletBinding()] param( + [Parameter()] + [System.Object] + $Identity, + [Parameter()] + [System.Object] + $ResultSize ) } -function Get-TransportRule +function Get-MailboxAutoReplyConfiguration { [CmdletBinding()] param( [Parameter()] - [System.String] - $DlpPolicy, - - [Parameter()] - [System.Object] - $ResultSize, + [System.Management.Automation.SwitchParameter] + $ReadFromDomainController, [Parameter()] - [System.Boolean] - $ExcludeConditionActionDetails, + [System.Management.Automation.SwitchParameter] + $UseCustomRouting, [Parameter()] - [System.String] - $Filter, + [System.Management.Automation.PSCredential] + $Credential, [Parameter()] [System.Object] - $State, + $Identity, [Parameter()] [System.Object] - $Identity + $ResultSize ) } -function Get-UnifiedGroup +function Get-MailboxCalendarFolder { [CmdletBinding()] param( [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeGrantSendOnBehalfToWithDisplayNames, - - [Parameter()] - [System.String] - $SortBy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeSoftDeletedGroups, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeAcceptMessagesOnlyFromSendersOrMembersWithDisplayNames, + $UseCustomRouting, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeModeratedByWithDisplayNames, - + [System.Object] + $Identity + ) +} +function Get-MailboxFolder +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeAllProperties, + $MailFolderOnly, [Parameter()] [System.Management.Automation.SwitchParameter] - $IncludeBypassModerationFromSendersOrMembersWithDisplayNames, + $GetChildren, [Parameter()] [System.Object] $Identity, - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeRejectMessagesFromSendersOrMembersWithDisplayNames, - [Parameter()] [System.Object] $ResultSize, [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.String] - $Anr + [System.Management.Automation.SwitchParameter] + $Recurse ) } -function Get-User +function Get-MailboxFolderPermission { [CmdletBinding()] param( [Parameter()] - [System.String] - $SortBy, + [System.Int32] + $SkipCount, [Parameter()] [System.Management.Automation.SwitchParameter] - $PublicFolder, + $GroupMailbox, [Parameter()] [System.Management.Automation.SwitchParameter] - $IsVIP, + $UseCustomRouting, [Parameter()] [System.Object] - $OrganizationalUnit, + $User, [Parameter()] [System.Object] $Identity, + [Parameter()] + [System.Object] + $ResultSize + ) +} +function Set-MailboxFolderPermission +{ + [CmdletBinding()] + param( [Parameter()] [System.Object[]] - $RecipientTypeDetails, + $AccessRights, [Parameter()] [System.Object] - $ResultSize, + $SharingPermissionFlags, [Parameter()] - [System.String] - $Filter, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $Anr + [System.Object] + $User, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $SendNotificationToUser ) } -function New-ActiveSyncDeviceAccessRule +function Add-MailboxFolderPermission { [CmdletBinding()] param( [Parameter()] - [System.String] - $QueryString, + [System.Object[]] + $AccessRights, [Parameter()] [System.Object] - $Characteristic, + $SharingPermissionFlags, [Parameter()] [System.Management.Automation.SwitchParameter] @@ -2500,471 +3054,548 @@ function New-ActiveSyncDeviceAccessRule [Parameter()] [System.Object] - $AccessLevel + $User, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $SendNotificationToUser ) } -function New-ActiveSyncMailboxPolicy +function Remove-MailboxFolderPermission { [CmdletBinding()] param( [Parameter()] - [System.Boolean] - $AllowUnsignedApplications, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $AllowUnsignedInstallationPackages, + [System.Object] + $User, [Parameter()] - [System.Boolean] - $AllowExternalDeviceManagement, + [System.Object] + $Identity, [Parameter()] - [System.Boolean] - $AllowIrDA, + [System.Management.Automation.SwitchParameter] + $ResetDelegateUserCollection, [Parameter()] [System.Boolean] - $AllowStorageCard, + $SendNotificationToUser, [Parameter()] - [System.Boolean] - $AllowNonProvisionableDevices, + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Get-MailboxFolderStatistics +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Database, [Parameter()] - [System.Boolean] - $AllowRemoteDesktop, + [System.String] + $DiagnosticInfo, [Parameter()] [System.Object] - $UnapprovedInROMApplicationList, + $StoreMailboxIdentity, [Parameter()] - [System.Boolean] - $DevicePasswordEnabled, + [System.Management.Automation.SwitchParameter] + $IncludeOldestAndNewestItems, [Parameter()] - [System.Boolean] - $RequireEncryptedSMIMEMessages, + [System.Management.Automation.SwitchParameter] + $UseCustomRouting, [Parameter()] - [System.Int32] - $DevicePasswordHistory, + [System.Management.Automation.SwitchParameter] + $Archive, [Parameter()] - [System.Boolean] - $RequireDeviceEncryption, + [System.Management.Automation.SwitchParameter] + $IncludeSoftDeletedRecipients, [Parameter()] - [System.Boolean] - $AllowInternetSharing, + [System.Int32] + $SkipCount, [Parameter()] - [System.Int32] - $MinDevicePasswordComplexCharacters, + [System.Management.Automation.SwitchParameter] + $IncludeAnalysis, [Parameter()] [System.Object] - $RequireSignedSMIMEAlgorithm, + $ResultSize, [Parameter()] [System.Object] - $MaxEmailHTMLBodyTruncationSize, + $FolderScope, [Parameter()] [System.Object] - $DevicePasswordExpiration, - + $Identity + ) +} +function Get-MailboxPermission +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $UNCAccessEnabled, + [System.Management.Automation.SwitchParameter] + $ReadFromDomainController, [Parameter()] - [System.Boolean] - $AllowCamera, + [System.Management.Automation.SwitchParameter] + $IncludeUnresolvedPermissions, [Parameter()] - [System.Object] - $MaxDevicePasswordFailedAttempts, + [System.Management.Automation.SwitchParameter] + $GroupMailbox, [Parameter()] - [System.Boolean] - $AllowBrowser, + [System.Management.Automation.SwitchParameter] + $UseCustomRouting, [Parameter()] - [System.Boolean] - $RequireManualSyncWhenRoaming, + [System.Management.Automation.SwitchParameter] + $IncludeSoftDeletedUserPermissions, [Parameter()] [System.Object] - $AllowSMIMEEncryptionAlgorithmNegotiation, + $User, [Parameter()] - [System.Boolean] - $DeviceEncryptionEnabled, + [System.Management.Automation.SwitchParameter] + $Owner, [Parameter()] [System.Object] - $MaxEmailBodyTruncationSize, + $Identity, [Parameter()] - [System.Object] - $AllowBluetooth, + [System.Management.Automation.PSCredential] + $Credential, [Parameter()] - [System.Object] - $RequireEncryptionSMIMEAlgorithm, + [System.Management.Automation.SwitchParameter] + $SoftDeletedMailbox, [Parameter()] [System.Object] - $DevicePolicyRefreshInterval, - - [Parameter()] - [System.Boolean] - $AllowMobileOTAUpdate, - + $ResultSize + ) +} +function Get-MailboxPlan +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $Name, + $SortBy, [Parameter()] - [System.Object] - $MaxAttachmentSize, + [System.Management.Automation.PSCredential] + $Credential, [Parameter()] - [System.Boolean] - $AllowConsumerEmail, + [System.String] + $Filter, [Parameter()] - [System.Boolean] - $AllowDesktopSync, + [System.Management.Automation.SwitchParameter] + $IgnoreDefaultScope, [Parameter()] [System.Object] - $MaxInactivityTimeDeviceLock, + $ResultSize, [Parameter()] - [System.Boolean] - $AlphanumericDevicePasswordRequired, + [System.Object] + $Identity, [Parameter()] - [System.Boolean] - $RequireStorageCardEncryption, - + [System.Management.Automation.SwitchParameter] + $AllMailboxPlanReleases + ) +} +function Get-MailboxRegionalConfiguration +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $VerifyDefaultFolderNameLanguage, [Parameter()] - [System.Boolean] - $AttachmentsEnabled, + [System.Management.Automation.SwitchParameter] + $UseCustomRouting, [Parameter()] - [System.Boolean] - $AllowSMIMESoftCerts, + [System.Management.Automation.SwitchParameter] + $Archive, [Parameter()] [System.Object] - $MaxEmailAgeFilter, - - [Parameter()] - [System.Boolean] - $AllowSimpleDevicePassword, - - [Parameter()] - [System.Boolean] - $PasswordRecoveryEnabled, + $Identity, [Parameter()] [System.Object] - $MaxCalendarAgeFilter, - - [Parameter()] - [System.Boolean] - $AllowWiFi, - - [Parameter()] - [System.Boolean] - $AllowApplePushNotifications, - - [Parameter()] - [System.Boolean] - $AllowPOPIMAPEmail, - + $MailboxLocation + ) +} +function Get-MailContact +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $IsDefault, + [System.String] + $SortBy, [Parameter()] - [System.Boolean] - $IsDefaultPolicy, + [System.Object] + $OrganizationalUnit, [Parameter()] [System.Object] - $ApprovedApplicationList, + $Identity, [Parameter()] - [System.Boolean] - $AllowTextMessaging, + [System.Object[]] + $RecipientTypeDetails, [Parameter()] - [System.Boolean] - $WSSAccessEnabled, + [System.Object] + $ResultSize, [Parameter()] - [System.Boolean] - $RequireSignedSMIMEMessages, + [System.String] + $Filter, [Parameter()] - [System.Boolean] - $AllowHTMLEmail, - + [System.String] + $Anr + ) +} +function Get-MalwareFilterPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $MinDevicePasswordLength, - - [Parameter()] - [System.Boolean] - $IrmEnabled + $Identity ) } -function New-AddressBookPolicy +function Get-MalwareFilterRule { [CmdletBinding()] param( [Parameter()] [System.Object] - $RoomList, + $Identity, + + [Parameter()] + [System.Object] + $State + ) +} +function Get-ManagementRoleEntry +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $Name, + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $ResultSize + ) +} +function Get-MgBetaRoleManagementEntitlementManagementRoleAssignment +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $GlobalAddressList, + [System.String] + $UnifiedRoleAssignmentId, [Parameter()] - [System.Object[]] - $AddressLists, + [System.String] + $Filter, [Parameter()] - [System.Object] - $OfflineAddressBook + [Switch] + $All ) } -function New-AddressList +function Update-MgBetaEntitlementManagementSetting { [CmdletBinding()] param( [Parameter()] [System.String] - $RecipientFilter, + $Id, [Parameter()] - [System.Object] - $ConditionalCustomAttribute8, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.String] - $DisplayName, + [PSObject] + $BodyParameter, [Parameter()] - [System.Object] - $ConditionalCustomAttribute10, + [System.Uri] + $Proxy, [Parameter()] - [System.String] - $Name, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $ConditionalCustomAttribute9, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $ConditionalCustomAttribute2, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $IncludedRecipients, + [PSObject] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $ConditionalCompany, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $ConditionalCustomAttribute6, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $ConditionalCustomAttribute3, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $ConditionalCustomAttribute12, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $Container, + [System.Int32] + $DaysUntilExternalUserDeletedAfterBlocked, [Parameter()] - [System.Object] - $ConditionalCustomAttribute13, + [System.String] + $ExternalUserLifecycleAction + ) +} +function Get-MgBetaEntitlementManagementSetting +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $ConditionalCustomAttribute15, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $ConditionalDepartment, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $ConditionalStateOrProvince, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $ConditionalCustomAttribute7, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object] - $ConditionalCustomAttribute14, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $ConditionalCustomAttribute4, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $ConditionalCustomAttribute11, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $ConditionalCustomAttribute1, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $ConditionalCustomAttribute5 + [System.Management.Automation.SwitchParameter] + $Break ) } -function New-AntiPhishPolicy + +function Get-MgBetaRoleManagementEntitlementManagementRoleDefinition { [CmdletBinding()] param( [Parameter()] - [System.Boolean] - $EnableFirstContactSafetyTips, + [System.String] + $UnifiedRoleDefinitionId, [Parameter()] - [System.Management.Automation.SwitchParameter] - $MakeDefault, + [System.String] + $Filter, [Parameter()] - [System.Int32] - $PhishThresholdLevel, + [Switch] + $All + ) +} - [Parameter()] - [System.Boolean] - $EnableTargetedUserProtection, +function Get-MgBetaPolicyAuthenticationFlowPolicy +{ + [CmdletBinding()] + param() +} +function Update-MgBetaPolicyAuthenticationFlowPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Boolean] - $EnableTargetedDomainsProtection, + $SelfServiceSignUp + ) +} +function New-MgBetaRoleManagementEntitlementManagementRoleAssignment +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $HonorDmarcPolicy, + [System.String] + $AppScopeId, [Parameter()] - [System.Boolean] - $Enabled, + [System.String] + $DirectoryScopeId, [Parameter()] - [System.Boolean] - $EnableViaTag, + [System.String] + $PrincipalId, [Parameter()] [System.String] - $Name, + $RoleDefinitionId + ) +} +function Remove-MgBetaRoleManagementEntitlementManagementRoleAssignment +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $TargetedDomainsToProtect, + [System.String] + $UnifiedRoleAssignmentId + ) +} +function Get-MigrationEndpoint +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $EnableSpoofIntelligence, + [System.String] + $DiagnosticInfo, [Parameter()] - [System.Boolean] - $EnableSimilarUsersSafetyTips, + [System.Object] + $Type, [Parameter()] [System.Object] - $ExcludedDomains, + $Identity, [Parameter()] [System.Object] - $MailboxIntelligenceProtectionAction, + $Partition + ) +} +function Set-MigrationEndpoint +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $MailboxIntelligenceProtectionActionRecipients, + $Identity, + + [Parameter()] + [System.Boolean] + $AcceptUntrustedCertificates, [Parameter()] [System.Object] - $TargetedDomainActionRecipients, + $MaxConcurrentMigrations, + + [Parameter()] + [System.Byte[]] + $ServiceAccountKeyFileData, [Parameter()] [System.Object] - $DmarcQuarantineAction, + $TestMailbox, [Parameter()] [System.String] - $TargetedDomainQuarantineTag, + $ExchangeServer, [Parameter()] - [System.String] - $SimilarUsersSafetyTipsCustomText, + [System.Management.Automation.SwitchParameter] + $SkipVerification, [Parameter()] [System.Object] - $ImpersonationProtectionState, + $Authentication, [Parameter()] - [System.Boolean] - $EnableOrganizationDomainsProtection, + [System.String] + $AppSecretKeyVaultUrl, [Parameter()] [System.Object] - $TargetedDomainProtectionAction, + $Port, [Parameter()] [System.String] - $AdminDisplayName, + $ApplicationId, [Parameter()] [System.Object] - $TargetedUsersToProtect, + $RemoteServer, [Parameter()] [System.Object] - $TargetedUserProtectionAction, + $Partition, [Parameter()] [System.Object] - $RecommendedPolicyType, + $MailboxPermission, [Parameter()] [System.Management.Automation.SwitchParameter] @@ -2972,575 +3603,491 @@ function New-AntiPhishPolicy [Parameter()] [System.String] - $MailboxIntelligenceQuarantineTag, + $SourceMailboxLegacyDN, [Parameter()] [System.String] - $UnusualCharactersSafetyTipsCustomText, + $NspiServer, [Parameter()] - [System.Boolean] - $EnableSimilarDomainsSafetyTips, + [System.Object] + $RPCProxyServer, [Parameter()] [System.String] - $SpoofQuarantineTag, + $PublicFolderDatabaseServerLegacyDN, [Parameter()] - [System.Boolean] - $EnableUnauthenticatedSender, + [System.Object] + $Security, [Parameter()] [System.Object] - $DmarcRejectAction, + $MaxConcurrentIncrementalSyncs, [Parameter()] - [System.String] - $PolicyTag, + [System.Management.Automation.PSCredential] + $Credentials + ) +} + +function New-MigrationEndpoint +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AcceptUntrustedCertificates, [Parameter()] [System.String] - $TargetedUserQuarantineTag, + $Name, [Parameter()] - [System.Object] - $ExcludedSubDomains, + [System.Management.Automation.SwitchParameter] + $ExchangeRemoteMove, [Parameter()] - [System.Boolean] - $EnableMailboxIntelligenceProtection, + [System.Object] + $MaxConcurrentMigrations, [Parameter()] - [System.Boolean] - $EnableUnusualCharactersSafetyTips, + [System.Byte[]] + $ServiceAccountKeyFileData, [Parameter()] - [System.Boolean] - $EnableMailboxIntelligence, + [System.Management.Automation.SwitchParameter] + $PublicFolder, [Parameter()] [System.Object] - $AuthenticationFailAction, + $TestMailbox, [Parameter()] - [System.Object] - $TargetedUserActionRecipients, + [System.String] + $ExchangeServer, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SkipVerification, [Parameter()] [System.Object] - $ExcludedSenders - ) -} -function New-AntiPhishRule -{ - [CmdletBinding()] - param( + $Authentication, + [Parameter()] - [System.Int32] - $Priority, + [System.Management.Automation.SwitchParameter] + $ExchangeOutlookAnywhere, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Gmail, [Parameter()] [System.String] - $Name, + $AppSecretKeyVaultUrl, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [System.Management.Automation.SwitchParameter] + $Compliance, [Parameter()] - [System.Object] - $AntiPhishPolicy, + [System.Int32] + $Port, [Parameter()] - [System.Object[]] - $SentTo, + [System.Security.SecureString] + $OAuthCode, [Parameter()] [System.String] - $Comments, + $ApplicationId, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Object] + $RemoteServer, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.Object] + $Partition, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.Object] + $MailboxPermission, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, + [System.String] + $SourceMailboxLegacyDN, - [Parameter()] - [System.Boolean] - $Enabled - ) -} -function New-App -{ - [CmdletBinding()] - param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $IMAP, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowReadWriteMailbox, + [System.String] + $RemoteTenant, [Parameter()] - [System.Uri] - $Url, + [System.Management.Automation.SwitchParameter] + $PublicFolderToUnifiedGroup, [Parameter()] - [System.IO.Stream] - $FileStream, + [System.String] + $NspiServer, - [Parameter()] - [System.Byte[]] - $FileData - ) -} -function New-ApplicationAccessPolicy -{ - [CmdletBinding()] - param( [Parameter()] [System.String] - $Description, + $RedirectUri, [Parameter()] [System.Object] - $PolicyScopeGroupId, + $RPCProxyServer, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $EmailAddress, [Parameter()] [System.Object] - $AccessRight, - - [Parameter()] - [System.String[]] - $AppId - ) -} -function New-ATPProtectionPolicyRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $Priority, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object[]] - $SentToMemberOf, - - [Parameter()] - [System.Object[]] - $SentTo, - - [Parameter()] - [System.String] - $Comments, - - [Parameter()] - [System.Object[]] - $RecipientDomainIs, + $Security, [Parameter()] [System.Object] - $SafeAttachmentPolicy, + $MaxConcurrentIncrementalSyncs, [Parameter()] - [System.Object] - $SafeLinksPolicy, + [System.String] + $PublicFolderDatabaseServerLegacyDN, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.Management.Automation.PSCredential] + $Credentials, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.Management.Automation.SwitchParameter] + $Autodiscover + ) +} +function Remove-MigrationEndpoint +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, + [System.Object] + $Identity, [Parameter()] - [System.Boolean] - $Enabled + [System.Object] + $Partition ) } -function New-AuthenticationPolicy + +function Set-ManagementRoleEntry { [CmdletBinding()] param( [Parameter()] [System.String] - $Name, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthPop, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthSmtp, + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthMapi, + [System.String[]] + $Parameters, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthImap, + [Switch] + $AddParameter, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthAutodiscover, + [Switch] + $RemoveParameter + ) +} +function Get-ManagementRole +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthPowershell, + [System.Object] + $RoleType, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthRpc, + [System.String[]] + $CmdletParameters, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthOfflineAddressBook, + [System.String[]] + $ScriptParameters, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthReportingWebServices, + [System.Object] + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthOutlookService, + [System.String] + $Cmdlet, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Recurse, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowBasicAuthActiveSync, + [System.String] + $Script, [Parameter()] [System.Management.Automation.SwitchParameter] - $AllowBasicAuthWebServices + $GetChildren ) } -function New-AvailabilityConfig +function Get-ManagementRoleAssignment { [CmdletBinding()] param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - [Parameter()] [System.Object] - $OrgWideAccount, + $RoleAssigneeType, [Parameter()] [System.Object] - $AllowedTenantIds - ) -} -function New-ClientAccessRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $ExceptAnyOfClientIPAddressesOrRanges, + $CustomRecipientWriteScope, [Parameter()] [System.Object] - $Action, + $Identity, [Parameter()] [System.Object] - $AnyOfClientIPAddressesOrRanges, + $RecipientGroupScope, [Parameter()] [System.Boolean] $Enabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $RecipientWriteScope, [Parameter()] - [System.String] - $Name, + [System.Object] + $WritableRecipient, [Parameter()] - [System.String] - $UserRecipientFilter, + [System.Object] + $ConfigWriteScope, [Parameter()] - [System.Object] - $ExceptAnyOfProtocols, + [System.Boolean] + $Delegating, [Parameter()] - [System.Int32] - $Priority, + [System.Boolean] + $Exclusive, [Parameter()] - [System.Object] - $ExceptUsernameMatchesAnyOfPatterns, + [System.Object[]] + $AssignmentMethod, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $GetEffectiveUsers, [Parameter()] [System.Object] - $UsernameMatchesAnyOfPatterns, + $Role, [Parameter()] [System.Object] - $AnyOfAuthenticationTypes, + $RecipientAdministrativeUnitScope, [Parameter()] [System.Object] - $AnyOfProtocols, + $ExclusiveRecipientWriteScope, [Parameter()] [System.Object] - $ExceptAnyOfAuthenticationTypes, + $RecipientOrganizationalUnitScope, [Parameter()] [System.Object] - $Scope + $RoleAssignee ) } -function New-DataEncryptionPolicy +function Get-MessageClassification { [CmdletBinding()] param( - [Parameter()] - [System.String] - $Description, - - [Parameter()] - [System.String] - $Name, - [Parameter()] [System.Object] - $DomainController, + $Identity, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $AzureKeyIDs, - - [Parameter()] - [System.Boolean] - $Enabled + $IncludeLocales ) } -function New-DistributionGroup +function Get-MobileDevice { [CmdletBinding()] param( - [Parameter()] - [System.Object] - $ModeratedBy, - - [Parameter()] - [System.Boolean] - $RequireSenderAuthenticationEnabled, - - [Parameter()] - [System.Boolean] - $ModerationEnabled, - - [Parameter()] - [System.String] - $DisplayName, - - [Parameter()] - [System.Object] - $MemberDepartRestriction, - - [Parameter()] - [System.String] - $Name, - [Parameter()] [System.Management.Automation.SwitchParameter] - $IgnoreNamingPolicy, + $OWAforDevices, [Parameter()] - [System.Management.Automation.SwitchParameter] - $RoomList, + [System.String] + $SortBy, [Parameter()] [System.Management.Automation.SwitchParameter] - $HiddenGroupMembershipEnabled, - - [Parameter()] - [System.Boolean] - $BypassNestedModerationEnabled, + $UniversalOutlook, [Parameter()] [System.Management.Automation.SwitchParameter] - $CopyOwnerToMember, - - [Parameter()] - [System.Boolean] - $BccBlocked, + $ActiveSync, [Parameter()] [System.Object] - $Members, + $Mailbox, [Parameter()] [System.Object] - $Description, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $Notes, + $OrganizationalUnit, [Parameter()] [System.Object] - $MemberJoinRestriction, + $Identity, [Parameter()] - [System.Object] - $Type, + [System.Management.Automation.SwitchParameter] + $RestApi, [Parameter()] [System.Object] - $ManagedBy, + $ResultSize, [Parameter()] [System.String] - $Alias, - + $Filter + ) +} +function Get-MobileDeviceMailboxPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $PrimarySmtpAddress, - + $Identity + ) +} +function Get-OfflineAddressBook +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $SendModerationNotifications, - + $Identity + ) +} +function Get-OMEConfiguration +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $OrganizationalUnit + $Identity ) } -function New-DkimSigningConfig +function Get-OnPremisesOrganization { [CmdletBinding()] param( - [Parameter()] - [System.String] - $AdminDisplayName, - [Parameter()] [System.Object] - $BodyCanonicalization, + $Identity + ) +} +function Get-OrganizationConfig +{ + [CmdletBinding()] + param( + ) +} +function Get-OrganizationRelationship +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $HeaderCanonicalization, - + $Identity + ) +} +function Get-OutboundConnector +{ + [CmdletBinding()] + param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $IncludeTestModeConnectors, [Parameter()] - [System.UInt16] - $KeySize, + [System.Object] + $Identity, [Parameter()] [System.Object] - $DomainName, + $ResultSize, [Parameter()] [System.Boolean] - $Enabled + $IsTransportRuleScoped ) } -function New-EmailAddressPolicy +function Get-OwaMailboxPolicy { [CmdletBinding()] param( [Parameter()] [System.Object] - $Priority, - - [Parameter()] - [System.String] - $Name, - + $Identity + ) +} +function Get-PartnerApplication +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $EnabledEmailAddressTemplates, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.String] - $EnabledPrimarySMTPAddressTemplate, - - [Parameter()] - [System.String] - $ManagedByFilter, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IncludeUnifiedGroupRecipients + $Identity ) } -function New-ExoPhishSimOverrideRule +function Get-PerimeterConfig { [CmdletBinding()] param( - [Parameter()] - [System.String] - $Name, - [Parameter()] [System.Object] - $SenderIpRanges, - + $Identity + ) +} +function Get-Place +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $DomainController, + $Type, [Parameter()] [System.Management.Automation.SwitchParameter] @@ -3548,1031 +4095,1012 @@ function New-ExoPhishSimOverrideRule [Parameter()] [System.Object] - $Domains, - - [Parameter()] - [System.String] - $Comment, + $Identity, [Parameter()] [System.Object] - $Policy + $ResultSize ) } -function New-ExoSecOpsOverrideRule +function Get-PolicyTipConfig { [CmdletBinding()] param( - [Parameter()] - [System.String] - $Name, - [Parameter()] [System.Object] - $Policy, + $Action, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Original, [Parameter()] - [System.String] - $Comment, + [System.Globalization.CultureInfo] + $Locale, [Parameter()] [System.Object] - $DomainController + $Identity ) } -function New-GlobalAddressList +function Get-QuarantinePolicy { [CmdletBinding()] param( [Parameter()] - [System.String] - $RecipientFilter, + [System.Object] + $Identity, [Parameter()] [System.Object] - $ConditionalCustomAttribute8, + $QuarantinePolicyType + ) +} +function Get-Recipient +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $SortBy, [Parameter()] [System.Object] - $ConditionalCustomAttribute10, + $Identity, [Parameter()] [System.String] - $Name, + $RecipientPreviewFilter, [Parameter()] - [System.Object] - $ConditionalCustomAttribute9, + [System.String] + $Anr, [Parameter()] - [System.Object] - $ConditionalCustomAttribute2, + [System.String] + $BookmarkDisplayName, [Parameter()] [System.Object] - $IncludedRecipients, + $Capabilities, [Parameter()] [System.Object] - $ConditionalCompany, + $ResultSize, [Parameter()] - [System.Object] - $ConditionalCustomAttribute6, + [System.Object[]] + $RecipientTypeDetails, [Parameter()] - [System.Object] - $ConditionalCustomAttribute3, + [System.String[]] + $Properties, [Parameter()] [System.Object] - $ConditionalCustomAttribute12, + $PropertySet, [Parameter()] [System.Object] - $ConditionalCustomAttribute13, + $AuthenticationType, [Parameter()] - [System.Object] - $ConditionalCustomAttribute15, + [System.String] + $Filter, [Parameter()] - [System.Object] - $ConditionalDepartment, + [System.Management.Automation.SwitchParameter] + $IncludeSoftDeletedRecipients, [Parameter()] - [System.Object] - $ConditionalStateOrProvince, + [System.Object[]] + $RecipientType, [Parameter()] [System.Object] - $ConditionalCustomAttribute7, + $OrganizationalUnit, [Parameter()] - [System.Object] - $ConditionalCustomAttribute14, - + [System.Boolean] + $IncludeBookmarkObject + ) +} +function Get-RecipientPermission +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ReadFromDomainController, [Parameter()] [System.Object] - $ConditionalCustomAttribute4, + $AccessRights, [Parameter()] [System.Object] - $ConditionalCustomAttribute11, + $Identity, [Parameter()] [System.Object] - $ConditionalCustomAttribute1, + $ResultSize, [Parameter()] [System.Object] - $ConditionalCustomAttribute5 + $Trustee ) } -function New-HostedConnectionFilterPolicy +function Get-RemoteDomain { [CmdletBinding()] param( - [Parameter()] - [System.String] - $ConfigurationXmlRaw, - - [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.String] - $AdminDisplayName, - - [Parameter()] - [System.Boolean] - $EnableSafeList, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - [Parameter()] [System.Object] - $IPBlockList, + $Identity, [Parameter()] [System.Object] - $IPAllowList + $ResultSize ) } -function New-HostedContentFilterPolicy +function Get-ReportSubmissionPolicy { [CmdletBinding()] param( - [Parameter()] - [System.Boolean] - $InlineSafetyTipsEnabled, - - [Parameter()] - [System.Object] - $RegionBlockList, - - [Parameter()] - [System.String] - $HighConfidencePhishQuarantineTag, - - [Parameter()] - [System.Int32] - $EndUserSpamNotificationFrequency, - - [Parameter()] - [System.Int32] - $QuarantineRetentionPeriod, - - [Parameter()] - [System.Int32] - $EndUserSpamNotificationLimit, - - [Parameter()] - [System.Int32] - $BulkThreshold, - [Parameter()] [System.Object] - $TestModeBccToRecipients, - - [Parameter()] - [System.String] - $PhishQuarantineTag, - - [Parameter()] - [System.String] - $AddXHeaderValue, - + $Identity + ) +} +function Get-ReportSubmissionRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $MarkAsSpamEmbedTagsInHtml, + $Identity, [Parameter()] [System.Object] - $MarkAsSpamFramesInHtml, + $State + ) +} +function Get-ResourceConfig +{ + [CmdletBinding()] + param( + ) +} +function Get-RoleAssignmentPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $IncreaseScoreWithImageLinks, - - [Parameter()] - [System.Boolean] - $EnableLanguageBlockList, - + $Identity + ) +} +function Get-RoleGroup +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $PhishSpamAction, + [System.String] + $SortBy, [Parameter()] [System.String] - $EndUserSpamNotificationCustomFromName, + $Filter, [Parameter()] [System.Object] - $MarkAsSpamSensitiveWordList, + $ResultSize, [Parameter()] - [System.String] - $SpamQuarantineTag, + [System.Management.Automation.SwitchParameter] + $ShowPartnerLinked, [Parameter()] [System.Object] - $MarkAsSpamNdrBackscatter, - + $Identity + ) +} +function Get-RoleGroupMember +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $BlockedSenders, + $Identity, [Parameter()] [System.Object] - $LanguageBlockList, - + $ResultSize + ) +} +function Get-SafeAttachmentPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $HighConfidenceSpamAction, - + $Identity + ) +} +function Get-SafeAttachmentRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $AllowedSenderDomains, + $Identity, [Parameter()] [System.Object] - $IncreaseScoreWithBizOrInfoUrls, - + $State + ) +} +function Get-SafeLinksPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $MarkAsSpamWebBugsInHtml, - - [Parameter()] - [System.String] - $AdminDisplayName, - + $Identity + ) +} +function Get-SafeLinksRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $IntraOrgFilterState, + $Identity, [Parameter()] [System.Object] - $MarkAsSpamFromAddressAuthFail, - - [Parameter()] - [System.String] - $Name, - + $State + ) +} +function Get-ServicePrincipal +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $MarkAsSpamEmptyMessages, - - [Parameter()] - [System.String] - $BulkQuarantineTag, + $Identity, [Parameter()] [System.Object] - $MarkAsSpamFormTagsInHtml, - + $Organization + ) +} +function Get-ServicePrincipal +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $MarkAsSpamObjectTagsInHtml, + $Identity, [Parameter()] [System.Object] - $BulkSpamAction, - + $Organization + ) +} +function Get-SharingPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $EndUserSpamNotificationLanguage, - + $Identity + ) +} +function Get-SupervisoryReviewPolicyV2 +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $IncreaseScoreWithRedirectToOtherPort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - + $Identity + ) +} +function Get-SupervisoryReviewRule +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $HighConfidencePhishAction, + $Identity, [Parameter()] [System.Object] - $RedirectToRecipients, + $Policy + ) +} +function Get-TransportConfig +{ + [CmdletBinding()] + param( + ) +} +function Get-TransportRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $SpamZapEnabled, + [System.String] + $DlpPolicy, [Parameter()] [System.Object] - $TestModeAction, + $ResultSize, [Parameter()] [System.Boolean] - $EnableRegionBlockList, + $ExcludeConditionActionDetails, [Parameter()] [System.String] - $EndUserSpamNotificationCustomSubject, + $Filter, [Parameter()] [System.Object] - $MarkAsSpamSpfRecordHardFail, + $State, [Parameter()] [System.Object] - $EndUserSpamNotificationCustomFromAddress, + $Identity + ) +} +function Get-UnifiedAuditLogRetentionPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $DownloadLink, + [System.String] + $Operation, [Parameter()] - [System.Object] - $SpamAction, + [System.String] + $RecordType, [Parameter()] [System.String] - $ModifySubjectValue, + $RetentionDuration, [Parameter()] - [System.Object] - $IncreaseScoreWithNumericIps, + [System.String] + $UserId + ) +} +function Get-UnifiedGroup +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $AllowedSenders, + [System.String] + $SortBy, [Parameter()] - [System.Object] - $MarkAsSpamJavaScriptInHtml, + [System.Management.Automation.SwitchParameter] + $IncludeSoftDeletedGroups, [Parameter()] - [System.Object] - $MarkAsSpamBulkMail, + [System.Management.Automation.SwitchParameter] + $IncludeAllProperties, [Parameter()] - [System.Object] - $BlockedSenderDomains, + [System.String] + $Filter, [Parameter()] [System.Object] - $RecommendedPolicyType, - - [Parameter()] - [System.Boolean] - $PhishZapEnabled, + $Identity, [Parameter()] - [System.Boolean] - $EnableEndUserSpamNotifications, + [System.Object] + $ResultSize, [Parameter()] [System.String] - $HighConfidenceSpamQuarantineTag + $Anr ) } -function New-HostedContentFilterRule +function Get-User { [CmdletBinding()] param( - [Parameter()] - [System.Int32] - $Priority, - [Parameter()] [System.String] - $Name, - - [Parameter()] - [System.Object[]] - $SentToMemberOf, - - [Parameter()] - [System.Object] - $HostedContentFilterPolicy, + $SortBy, [Parameter()] - [System.Object[]] - $SentTo, + [System.Management.Automation.SwitchParameter] + $PublicFolder, [Parameter()] - [System.String] - $Comments, + [System.Management.Automation.SwitchParameter] + $IsVIP, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Object] + $OrganizationalUnit, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.Object] + $Identity, [Parameter()] [System.Object[]] - $ExceptIfSentTo, + $RecipientTypeDetails, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $ResultSize, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, + [System.String] + $Filter, [Parameter()] - [System.Boolean] - $Enabled + [System.String] + $Anr ) } -function New-HostedOutboundSpamFilterPolicy +function New-ActiveSyncDeviceAccessRule { [CmdletBinding()] param( - [Parameter()] - [System.Object] - $RecommendedPolicyType, - [Parameter()] [System.String] - $Name, + $QueryString, [Parameter()] - [System.String] - $AdminDisplayName, + [System.Object] + $Characteristic, [Parameter()] - [System.Object] - $BccSuspiciousOutboundAdditionalRecipients, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $NotifyOutboundSpamRecipients, + $AccessLevel + ) +} +function New-ActiveSyncMailboxPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.UInt32] - $RecipientLimitPerDay, + [System.Boolean] + $AllowUnsignedApplications, [Parameter()] - [System.Object] - $ActionWhenThresholdReached, + [System.Boolean] + $AllowUnsignedInstallationPackages, [Parameter()] - [System.Object] - $AutoForwardingMode, + [System.Boolean] + $AllowExternalDeviceManagement, [Parameter()] [System.Boolean] - $NotifyOutboundSpam, + $AllowIrDA, [Parameter()] [System.Boolean] - $BccSuspiciousOutboundMail, + $AllowStorageCard, [Parameter()] - [System.UInt32] - $RecipientLimitInternalPerHour, + [System.Boolean] + $AllowNonProvisionableDevices, [Parameter()] - [System.UInt32] - $RecipientLimitExternalPerHour - ) -} -function New-HostedOutboundSpamFilterRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $Priority, + [System.Boolean] + $AllowRemoteDesktop, [Parameter()] - [System.String] - $Name, + [System.Object] + $UnapprovedInROMApplicationList, [Parameter()] - [System.Object[]] - $ExceptIfFromMemberOf, + [System.Boolean] + $DevicePasswordEnabled, [Parameter()] - [System.Object[]] - $ExceptIfFrom, + [System.Boolean] + $RequireEncryptedSMIMEMessages, [Parameter()] - [System.Object[]] - $ExceptIfSenderDomainIs, + [System.Int32] + $DevicePasswordHistory, [Parameter()] - [System.String] - $Comments, + [System.Boolean] + $RequireDeviceEncryption, [Parameter()] - [System.Object[]] - $FromMemberOf, + [System.Boolean] + $AllowInternetSharing, [Parameter()] - [System.Object[]] - $SenderDomainIs, + [System.Int32] + $MinDevicePasswordComplexCharacters, [Parameter()] [System.Object] - $HostedOutboundSpamFilterPolicy, + $RequireSignedSMIMEAlgorithm, [Parameter()] - [System.Object[]] - $From, + [System.Object] + $MaxEmailHTMLBodyTruncationSize, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $DevicePasswordExpiration, [Parameter()] [System.Boolean] - $Enabled - ) -} -function New-InboundConnector -{ - [CmdletBinding()] - param( + $UNCAccessEnabled, + [Parameter()] [System.Boolean] - $RestrictDomainsToIPAddresses, + $AllowCamera, [Parameter()] - [System.Boolean] - $CloudServicesMailEnabled, + [System.Object] + $MaxDevicePasswordFailedAttempts, [Parameter()] [System.Boolean] - $Enabled, + $AllowBrowser, [Parameter()] - [System.Object] - $ClientHostNames, + [System.Boolean] + $RequireManualSyncWhenRoaming, [Parameter()] [System.Object] - $EFSkipMailGateway, + $AllowSMIMEEncryptionAlgorithmNegotiation, [Parameter()] [System.Boolean] - $EFTestMode, + $DeviceEncryptionEnabled, [Parameter()] [System.Object] - $TrustedOrganizations, + $MaxEmailBodyTruncationSize, [Parameter()] [System.Object] - $TlsSenderCertificateName, + $AllowBluetooth, [Parameter()] [System.Object] - $ScanAndDropRecipients, + $RequireEncryptionSMIMEAlgorithm, [Parameter()] [System.Object] - $AssociatedAcceptedDomains, + $DevicePolicyRefreshInterval, + + [Parameter()] + [System.Boolean] + $AllowMobileOTAUpdate, [Parameter()] [System.String] $Name, [Parameter()] - [System.String] - $Comment, + [System.Object] + $MaxAttachmentSize, [Parameter()] [System.Boolean] - $RequireTls, + $AllowConsumerEmail, [Parameter()] - [System.Object] - $SenderDomains, + [System.Boolean] + $AllowDesktopSync, [Parameter()] [System.Object] - $SenderIPAddresses, + $MaxInactivityTimeDeviceLock, [Parameter()] [System.Boolean] - $EFSkipLastIP, + $AlphanumericDevicePasswordRequired, [Parameter()] - [System.Object] - $EFUsers, + [System.Boolean] + $RequireStorageCardEncryption, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object] - $ConnectorType, + [System.Boolean] + $AttachmentsEnabled, [Parameter()] [System.Boolean] - $RestrictDomainsToCertificate, + $AllowSMIMESoftCerts, [Parameter()] [System.Object] - $EFSkipIPs, + $MaxEmailAgeFilter, [Parameter()] [System.Boolean] - $TreatMessagesAsInternal, + $AllowSimpleDevicePassword, + + [Parameter()] + [System.Boolean] + $PasswordRecoveryEnabled, [Parameter()] [System.Object] - $ConnectorSource - ) -} -function New-IntraOrganizationConnector -{ - [CmdletBinding()] - param( + $MaxCalendarAgeFilter, + [Parameter()] - [System.String] - $Name, + [System.Boolean] + $AllowWiFi, [Parameter()] - [System.Object] - $TargetAddressDomains, + [System.Boolean] + $AllowApplePushNotifications, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function New-M365DataAtRestEncryptionPolicy -{ - [CmdletBinding()] - param( + [System.Boolean] + $AllowPOPIMAPEmail, + [Parameter()] - [System.String] - $Description, + [System.Boolean] + $IsDefault, [Parameter()] - [System.String] - $Name, + [System.Boolean] + $IsDefaultPolicy, [Parameter()] [System.Object] - $DomainController, + $ApprovedApplicationList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $AllowTextMessaging, + + [Parameter()] + [System.Boolean] + $WSSAccessEnabled, + + [Parameter()] + [System.Boolean] + $RequireSignedSMIMEMessages, + + [Parameter()] + [System.Boolean] + $AllowHTMLEmail, [Parameter()] [System.Object] - $AzureKeyIDs, + $MinDevicePasswordLength, [Parameter()] [System.Boolean] - $Enabled + $IrmEnabled ) } -function New-Mailbox + +function New-AddressBookPolicy { [CmdletBinding()] param( [Parameter()] - [System.String] - $MailboxRegion, + [System.Object] + $RoomList, [Parameter()] [System.Object] - $ModeratedBy, + $OfflineAddressBook, [Parameter()] - [System.Boolean] - $ModerationEnabled, + [System.String] + $Name, [Parameter()] - [System.String] - $Office, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $DisplayName, + [System.Object] + $GlobalAddressList, [Parameter()] - [System.Security.SecureString] - $Password, + [System.Object[]] + $AddressLists + ) +} +function New-AddressList +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.String] - $Name, + $RecipientFilter, [Parameter()] [System.Object] - $RemovedMailbox, + $ConditionalCustomAttribute8, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolder, + [System.String] + $DisplayName, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, + [System.Object] + $ConditionalCustomAttribute10, [Parameter()] [System.String] - $LastName, + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $TargetAllMDBs, + [System.Object] + $ConditionalCustomAttribute9, [Parameter()] [System.Object] - $RoleAssignmentPolicy, + $ConditionalCustomAttribute2, [Parameter()] [System.Object] - $ResourceCapacity, + $IncludedRecipients, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Archive, + [System.Object] + $ConditionalCompany, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Equipment, + [System.Object] + $ConditionalCustomAttribute6, [Parameter()] - [System.String] - $ImmutableId, + [System.Object] + $ConditionalCustomAttribute3, [Parameter()] - [System.Management.Automation.SwitchParameter] - $CopyCustomAttributes, + [System.Object] + $ConditionalCustomAttribute12, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Scheduling, + [System.Object] + $Container, [Parameter()] - [System.Security.SecureString] - $RoomMailboxPassword, + [System.Object] + $ConditionalCustomAttribute13, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Shared, + [System.Object] + $ConditionalCustomAttribute15, [Parameter()] - [System.Boolean] - $IsExcludedFromServingHierarchy, + [System.Object] + $ConditionalDepartment, [Parameter()] [System.Object] - $MailboxPlan, + $ConditionalStateOrProvince, [Parameter()] [System.Object] - $MicrosoftOnlineServicesID, + $ConditionalCustomAttribute7, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Migration, + [System.Object] + $ConditionalCustomAttribute14, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Room, + [System.Object] + $ConditionalCustomAttribute4, [Parameter()] - [System.String] - $Initials, + [System.Object] + $ConditionalCustomAttribute11, [Parameter()] [System.Object] - $InactiveMailbox, + $ConditionalCustomAttribute1, [Parameter()] - [System.String] - $FederatedIdentity, + [System.Object] + $ConditionalCustomAttribute5 + ) +} +function New-AntiPhishPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $EnableFirstContactSafetyTips, [Parameter()] - [System.Object] - $ActiveSyncMailboxPolicy, + [System.Management.Automation.SwitchParameter] + $MakeDefault, [Parameter()] [System.Object] - $OrganizationalUnit, + $DmarcRejectAction, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Int32] + $PhishThresholdLevel, [Parameter()] [System.Management.Automation.SwitchParameter] - $HoldForMigration, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Discovery, + [System.Boolean] + $EnableTargetedDomainsProtection, [Parameter()] [System.Boolean] - $ResetPasswordOnNextLogon, + $HonorDmarcPolicy, [Parameter()] [System.Boolean] - $EnableRoomMailboxAccount, + $Enabled, [Parameter()] - [System.String] - $FirstName, + [System.Boolean] + $EnableViaTag, [Parameter()] [System.String] - $Phone, - - [Parameter()] - [System.Object] - $PrimarySmtpAddress, + $Name, [Parameter()] [System.Object] - $SendModerationNotifications, - - [Parameter()] - [System.String] - $Alias, + $TargetedDomainsToProtect, [Parameter()] [System.Boolean] - $RemotePowerShellEnabled - ) -} -function New-MailContact -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $ModeratedBy, + $EnableSpoofIntelligence, [Parameter()] [System.Boolean] - $ModerationEnabled, + $EnableSimilarUsersSafetyTips, [Parameter()] [System.Object] - $MacAttachmentFormat, + $ExcludedDomains, [Parameter()] - [System.String] - $DisplayName, + [System.Object] + $MailboxIntelligenceProtectionAction, [Parameter()] - [System.String] - $Name, + [System.Object] + $TargetedDomainActionRecipients, [Parameter()] - [System.String] - $LastName, + [System.Object] + $DmarcQuarantineAction, [Parameter()] [System.Boolean] - $UsePreferMessageFormat, + $EnableMailboxIntelligence, [Parameter()] - [System.Object] - $MessageBodyFormat, + [System.String] + $TargetedDomainQuarantineTag, [Parameter()] [System.String] - $Initials, + $SimilarUsersSafetyTipsCustomText, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $ImpersonationProtectionState, [Parameter()] [System.Object] - $ExternalEmailAddress, + $TargetedDomainProtectionAction, [Parameter()] [System.String] - $Alias, + $AdminDisplayName, [Parameter()] [System.Object] - $MessageFormat, + $TargetedUsersToProtect, [Parameter()] - [System.String] - $FirstName, + [System.Object] + $TargetedUserProtectionAction, [Parameter()] [System.Object] - $SendModerationNotifications, + $RecommendedPolicyType, [Parameter()] [System.Object] - $OrganizationalUnit - ) -} -function New-MalwareFilterPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $CustomFromName, + $MailboxIntelligenceProtectionActionRecipients, [Parameter()] [System.String] - $AdminDisplayName, + $MailboxIntelligenceQuarantineTag, [Parameter()] [System.String] - $Name, + $UnusualCharactersSafetyTipsCustomText, [Parameter()] - [System.String] - $CustomExternalBody, + [System.Boolean] + $EnableSimilarDomainsSafetyTips, [Parameter()] [System.String] - $QuarantineTag, - - [Parameter()] - [System.Boolean] - $CustomNotifications, + $SpoofQuarantineTag, [Parameter()] [System.Boolean] - $EnableExternalSenderAdminNotifications, + $EnableUnauthenticatedSender, [Parameter()] - [System.Object] - $InternalSenderAdminAddress, + [System.String] + $PolicyTag, [Parameter()] - [System.String[]] - $FileTypes, + [System.String] + $TargetedUserQuarantineTag, [Parameter()] [System.Boolean] - $EnableInternalSenderAdminNotifications, - - [Parameter()] - [System.Object] - $CustomFromAddress, + $EnableOrganizationDomainsProtection, [Parameter()] - [System.String] - $CustomExternalSubject, + [System.Boolean] + $EnableMailboxIntelligenceProtection, [Parameter()] [System.Boolean] - $ZapEnabled, + $EnableUnusualCharactersSafetyTips, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $EnableTargetedUserProtection, [Parameter()] [System.Object] - $ExternalSenderAdminAddress, + $AuthenticationFailAction, [Parameter()] [System.Object] - $RecommendedPolicyType, + $TargetedUserActionRecipients, [Parameter()] [System.Object] - $FileTypeAction, - - [Parameter()] - [System.String] - $CustomInternalSubject, - - [Parameter()] - [System.String] - $CustomInternalBody, - - [Parameter()] - [System.Boolean] - $EnableFileFilter + $ExcludedSenders ) } -function New-MalwareFilterRule +function New-AntiPhishRule { [CmdletBinding()] param( @@ -4584,6 +5112,10 @@ function New-MalwareFilterRule [System.String] $Name, + [Parameter()] + [System.Object] + $AntiPhishPolicy, + [Parameter()] [System.Object[]] $SentToMemberOf, @@ -4604,10 +5136,6 @@ function New-MalwareFilterRule [System.Object[]] $ExceptIfRecipientDomainIs, - [Parameter()] - [System.Object] - $MalwareFilterPolicy, - [Parameter()] [System.Object[]] $ExceptIfSentTo, @@ -4625,972 +5153,1055 @@ function New-MalwareFilterRule $Enabled ) } -function New-ManagementRole +function New-App { [CmdletBinding()] param( [Parameter()] - [System.String] - $Description, + [System.Uri] + $Url, [Parameter()] - [System.String[]] - $EnabledCmdlets, + [System.String] + $Identity, [Parameter()] - [System.String] - $Name, + [System.Boolean] + $Enabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $AddInOverrides, [Parameter()] [System.Object] - $Parent, + $Mailbox, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function New-ManagementRoleAssignment -{ - [CmdletBinding()] - param( + [System.IO.Stream] + $FileStream, + [Parameter()] - [System.Object] - $CustomRecipientWriteScope, + [System.String] + $MarketplaceServicesUrl, [Parameter()] - [System.Object] - $RecipientGroupScope, + [System.String] + $Etoken, [Parameter()] [System.String] - $Name, + $MarketplaceCorrelationID, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, + [System.String] + $Version, [Parameter()] [System.Object] - $RecipientAdministrativeUnitScope, + $DefaultStateForUser, [Parameter()] - [System.Object] - $SecurityGroup, + [System.String] + $MarketplaceQueryMarket, + + [Parameter()] + [System.String] + $MarketplaceUserProfileType, [Parameter()] [System.Object] - $ExclusiveRecipientWriteScope, + $AllowSetting, [Parameter()] [System.Management.Automation.SwitchParameter] - $Delegating, + $DownloadOnly, [Parameter()] [System.Object] - $User, + $ProvidedTo, + + [Parameter()] + [System.Object] + $UserList, + + [Parameter()] + [System.String] + $AppState, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $OrganizationApp, [Parameter()] - [System.Object] - $App, + [System.String] + $AppType, [Parameter()] - [System.Object] - $Role, + [System.String] + $MarketplaceAssetID, [Parameter()] - [System.Object] - $CustomResourceScope, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $Policy, + [System.Byte[]] + $FileData, [Parameter()] - [System.Object] - $RecipientOrganizationalUnitScope, + [System.Management.Automation.SwitchParameter] + $AllowReadWriteMailbox, [Parameter()] - [System.Object] - $RecipientRelativeWriteScope + [System.Management.Automation.SwitchParameter] + $PrivateCatalog, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UpdateAppState ) } -function New-ManagementScope +function New-ApplicationAccessPolicy { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Exclusive, + [System.String] + $Description, [Parameter()] [System.Object] - $RecipientRoot, - - [Parameter()] - [System.String] - $Name, + $PolicyScopeGroupId, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.String] - $RecipientRestrictionFilter, + [System.Object] + $AccessRight, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force + [System.String[]] + $AppId ) } -function New-MessageClassification + +function New-ATPProtectionPolicyRule { [CmdletBinding()] param( [Parameter()] [System.String] - $SenderDescription, + $Name, [Parameter()] [System.String] - $DisplayName, + $SafeAttachmentPolicy, [Parameter()] [System.String] - $RecipientDescription, + $SafeLinksPolicy, [Parameter()] [System.String] - $Name, + $Comments, [Parameter()] - [System.Globalization.CultureInfo] - $Locale, + [System.Boolean] + $Enabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.Boolean] - $PermissionMenuVisible, + [System.String[]] + $ExceptIfSentTo, [Parameter()] - [System.Guid] - $ClassificationID, + [System.String[]] + $ExceptIfSentToMemberOf, [Parameter()] - [System.Object] - $DisplayPrecedence, + [System.UInt32] + $Priority, [Parameter()] - [System.Boolean] - $RetainClassificationEnabled + [System.String[]] + $RecipientDomainIs, + + [Parameter()] + [System.String[]] + $SentTo, + + [Parameter()] + [System.String[]] + $SentToMemberOf ) } -function New-MigrationBatch + +function New-AuthenticationPolicy { [CmdletBinding()] param( [Parameter()] - [System.Object] - $Partition, + [System.String] + $Name, [Parameter()] [System.Management.Automation.SwitchParameter] - $SkipRules, - - [Parameter()] - [System.Object] - $TargetDatabases, - - [Parameter()] - [System.Byte[]] - $CSVData, + $AllowBasicAuthPop, [Parameter()] [System.Management.Automation.SwitchParameter] - $SkipDelegates, + $AllowBasicAuthSmtp, [Parameter()] - [System.Object] - $Users, + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthMapi, [Parameter()] [System.Management.Automation.SwitchParameter] - $SkipMail, + $AllowBasicAuthImap, [Parameter()] - [System.Object] - $TimeZone, + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthAutodiscover, [Parameter()] - [System.Object] - $NotificationEmails, + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthPowershell, [Parameter()] [System.Management.Automation.SwitchParameter] - $ManagedGmailTeams, + $AllowBasicAuthRpc, [Parameter()] [System.Management.Automation.SwitchParameter] - $SkipCalendar, + $AllowBasicAuthOfflineAddressBook, [Parameter()] [System.Management.Automation.SwitchParameter] - $AutoStart, + $AllowBasicAuthReportingWebServices, [Parameter()] - [System.Boolean] - $AllowUnknownColumnsInCSV, + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthOutlookService, [Parameter()] - [System.Object] - $MoveOptions, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Management.Automation.SwitchParameter] - $AdoptPreexisting, + $AllowBasicAuthActiveSync, [Parameter()] - [System.Object] - $ExcludeFolders, - + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthWebServices + ) +} +function New-AvailabilityConfig +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $TargetEndpoint, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $StartAfter, + $OrgWideAccount, [Parameter()] - [System.Management.Automation.SwitchParameter] - $RemoveOnCopy, - + [System.Object] + $AllowedTenantIds + ) +} +function New-ClientAccessRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.Byte[]] - $XMLData, + [System.Object] + $Action, [Parameter()] [System.Object] - $UserIds, + $AnyOfClientIPAddressesOrRanges, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolderToUnifiedGroup, + [System.Boolean] + $Enabled, [Parameter()] [System.Object] - $ReportInterval, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $AutoProvisioning, + $ExceptAnyOfClientIPAddressesOrRanges, [Parameter()] - [System.Management.Automation.SwitchParameter] - $DisableOnCopy, + [System.String] + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ArchiveOnly, + [System.String] + $UserRecipientFilter, [Parameter()] [System.Object] - $SkipMerging, + $ExceptAnyOfProtocols, [Parameter()] - [System.Management.Automation.SwitchParameter] - $MigrateTasks, + [System.Int32] + $Priority, [Parameter()] [System.Object] - $CompleteAfter, + $ExceptUsernameMatchesAnyOfPatterns, [Parameter()] - [System.Globalization.CultureInfo] - $ContentFilterLanguage, + [System.Object] + $UsernameMatchesAnyOfPatterns, [Parameter()] [System.Management.Automation.SwitchParameter] - $GoogleResource, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Analyze, + [System.Object] + $AnyOfAuthenticationTypes, [Parameter()] - [System.Guid] - $SourcePFPrimaryMailboxGuid, + [System.Object] + $AnyOfProtocols, [Parameter()] [System.Object] - $TargetDeliveryDomain, + $ExceptAnyOfAuthenticationTypes, + [Parameter()] + [System.Object] + $Scope + ) +} +function New-DataEncryptionPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $ArchiveDomain, + $Description, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PrimaryOnly, + [System.String] + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipProvisioning, + [System.Object] + $DomainController, [Parameter()] [System.Management.Automation.SwitchParameter] - $SimplifiedSwitchOver, + $Confirm, [Parameter()] [System.Object] - $EndpointPartition, + $AzureKeyIDs, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Restore, - + [System.Boolean] + $Enabled + ) +} +function New-DistributionGroup +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $IncludeFolders, + $ModeratedBy, + + [Parameter()] + [System.Boolean] + $RequireSenderAuthenticationEnabled, + + [Parameter()] + [System.Boolean] + $ModerationEnabled, [Parameter()] [System.String] - $ContentFilter, + $DisplayName, [Parameter()] [System.Object] - $SkipMoving, + $MemberDepartRestriction, [Parameter()] [System.String] - $WorkflowTemplate, + $Name, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $IgnoreNamingPolicy, [Parameter()] - [System.Object] - $SourceEndpoint, + [System.Management.Automation.SwitchParameter] + $RoomList, [Parameter()] [System.Management.Automation.SwitchParameter] - $AvoidMergeOverlap, + $HiddenGroupMembershipEnabled, [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipReports, + [System.Boolean] + $BypassNestedModerationEnabled, [Parameter()] [System.Management.Automation.SwitchParameter] - $SkipContacts, + $CopyOwnerToMember, [Parameter()] - [System.Object] - $BadItemLimit, + [System.Boolean] + $BccBlocked, [Parameter()] [System.Object] - $TargetArchiveDatabases, + $Members, [Parameter()] [System.Object] - $WorkflowControlFlags, + $Description, [Parameter()] [System.Management.Automation.SwitchParameter] - $AutoComplete, + $Confirm, [Parameter()] - [System.Object] - $LargeItemLimit, + [System.String] + $Notes, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PointInTimeRecoveryProvisionOnly, + [System.Object] + $MemberJoinRestriction, [Parameter()] - [System.String] - $Name, + [System.Object] + $Type, [Parameter()] [System.Object] - $ForwardingDisposition, + $ManagedBy, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExcludeDumpsters, + [System.String] + $Alias, [Parameter()] - [System.Management.Automation.SwitchParameter] - $RenamePrimaryCalendar, + [System.Object] + $PrimarySmtpAddress, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PointInTimeRecovery + [System.Object] + $SendModerationNotifications, + + [Parameter()] + [System.Object] + $OrganizationalUnit ) } -function New-MigrationEndpoint +function New-DkimSigningConfig { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $AcceptUntrustedCertificates, + [System.String] + $AdminDisplayName, [Parameter()] - [System.String] - $Name, + [System.Object] + $BodyCanonicalization, [Parameter()] [System.Management.Automation.SwitchParameter] - $ExchangeRemoteMove, + $Confirm, [Parameter()] [System.Object] - $MaxConcurrentMigrations, + $HeaderCanonicalization, [Parameter()] - [System.Byte[]] - $ServiceAccountKeyFileData, + [System.UInt16] + $KeySize, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolder, + [System.Object] + $DomainName, + [Parameter()] + [System.Boolean] + $Enabled + ) +} +function New-EmailAddressPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $TestMailbox, + $Priority, [Parameter()] [System.String] - $ExchangeServer, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipVerification, + $Name, [Parameter()] [System.Object] - $Authentication, + $EnabledEmailAddressTemplates, [Parameter()] [System.Management.Automation.SwitchParameter] - $ExchangeOutlookAnywhere, + $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Gmail, + [System.String] + $EnabledPrimarySMTPAddressTemplate, [Parameter()] [System.String] - $AppSecretKeyVaultUrl, + $ManagedByFilter, [Parameter()] [System.Management.Automation.SwitchParameter] - $Compliance, + $IncludeUnifiedGroupRecipients + ) +} +function New-GlobalAddressList +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Int32] - $Port, + [System.String] + $RecipientFilter, [Parameter()] - [System.Security.SecureString] - $OAuthCode, + [System.Object] + $ConditionalCustomAttribute8, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute10, [Parameter()] [System.String] - $ApplicationId, + $Name, [Parameter()] [System.Object] - $RemoteServer, + $ConditionalCustomAttribute9, [Parameter()] [System.Object] - $Partition, + $ConditionalCustomAttribute2, [Parameter()] [System.Object] - $MailboxPermission, + $IncludedRecipients, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $ConditionalCompany, [Parameter()] - [System.String] - $SourceMailboxLegacyDN, + [System.Object] + $ConditionalCustomAttribute6, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IMAP, + [System.Object] + $ConditionalCustomAttribute3, [Parameter()] - [System.String] - $RemoteTenant, + [System.Object] + $ConditionalCustomAttribute12, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolderToUnifiedGroup, + [System.Object] + $ConditionalCustomAttribute13, [Parameter()] - [System.String] - $NspiServer, + [System.Object] + $ConditionalCustomAttribute15, [Parameter()] - [System.String] - $RedirectUri, + [System.Object] + $ConditionalDepartment, [Parameter()] [System.Object] - $RPCProxyServer, + $ConditionalStateOrProvince, [Parameter()] [System.Object] - $EmailAddress, + $ConditionalCustomAttribute7, [Parameter()] [System.Object] - $Security, + $ConditionalCustomAttribute14, [Parameter()] [System.Object] - $MaxConcurrentIncrementalSyncs, + $ConditionalCustomAttribute4, [Parameter()] - [System.String] - $PublicFolderDatabaseServerLegacyDN, + [System.Object] + $ConditionalCustomAttribute11, [Parameter()] - [System.Management.Automation.PSCredential] - $Credentials, + [System.Object] + $ConditionalCustomAttribute1, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Autodiscover + [System.Object] + $ConditionalCustomAttribute5 ) } -function New-MobileDeviceMailboxPolicy +function New-HostedConnectionFilterPolicy { [CmdletBinding()] param( [Parameter()] - [System.Boolean] - $AllowMicrosoftPushNotifications, + [System.String] + $ConfigurationXmlRaw, [Parameter()] - [System.Boolean] - $AllowUnsignedApplications, + [System.String] + $Name, [Parameter()] - [System.Boolean] - $AllowUnsignedInstallationPackages, + [System.String] + $AdminDisplayName, [Parameter()] [System.Boolean] - $AllowExternalDeviceManagement, + $EnableSafeList, [Parameter()] - [System.Boolean] - $AllowIrDA, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $RequireSignedSMIMEMessages, + [System.Object] + $IPBlockList, [Parameter()] - [System.Boolean] - $AllowStorageCard, - + [System.Object] + $IPAllowList + ) +} +function New-HostedContentFilterPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Int32] - $PasswordHistory, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Boolean] - $AllowNonProvisionableDevices, + $InlineSafetyTipsEnabled, [Parameter()] [System.Object] - $UnapprovedInROMApplicationList, + $BulkSpamAction, [Parameter()] - [System.Boolean] - $RequireEncryptedSMIMEMessages, + [System.String] + $HighConfidencePhishQuarantineTag, [Parameter()] - [System.Boolean] - $RequireDeviceEncryption, + [System.Int32] + $EndUserSpamNotificationFrequency, [Parameter()] - [System.Boolean] - $AllowInternetSharing, + [System.Int32] + $EndUserSpamNotificationLimit, [Parameter()] - [System.Boolean] - $PasswordEnabled, + [System.Int32] + $BulkThreshold, [Parameter()] [System.Object] - $RequireSignedSMIMEAlgorithm, + $TestModeBccToRecipients, [Parameter()] - [System.Object] - $MaxEmailHTMLBodyTruncationSize, + [System.String] + $PhishQuarantineTag, [Parameter()] - [System.Int32] - $MinPasswordComplexCharacters, + [System.String] + $AddXHeaderValue, [Parameter()] - [System.Boolean] - $UNCAccessEnabled, + [System.Object] + $MarkAsSpamEmbedTagsInHtml, [Parameter()] - [System.Boolean] - $AllowCamera, + [System.Object] + $MarkAsSpamFramesInHtml, + + [Parameter()] + [System.Object] + $IncreaseScoreWithImageLinks, [Parameter()] [System.Boolean] - $IrmEnabled, + $EnableLanguageBlockList, [Parameter()] [System.Object] - $PasswordExpiration, + $PhishSpamAction, [Parameter()] - [System.Boolean] - $AllowBrowser, + [System.String] + $EndUserSpamNotificationCustomFromName, [Parameter()] [System.Object] - $MaxEmailAgeFilter, + $MarkAsSpamSensitiveWordList, [Parameter()] - [System.Boolean] - $RequireManualSyncWhenRoaming, + [System.String] + $SpamQuarantineTag, [Parameter()] - [System.Boolean] - $AlphanumericPasswordRequired, + [System.Object] + $MarkAsSpamNdrBackscatter, [Parameter()] [System.Object] - $AllowSMIMEEncryptionAlgorithmNegotiation, + $BlockedSenders, [Parameter()] [System.Object] - $MaxEmailBodyTruncationSize, + $LanguageBlockList, [Parameter()] [System.Object] - $AllowBluetooth, + $HighConfidenceSpamAction, [Parameter()] - [System.Boolean] - $WSSAccessEnabled, + [System.Object] + $AllowedSenderDomains, [Parameter()] [System.Object] - $RequireEncryptionSMIMEAlgorithm, + $IncreaseScoreWithBizOrInfoUrls, [Parameter()] [System.Object] - $DevicePolicyRefreshInterval, + $MarkAsSpamWebBugsInHtml, [Parameter()] - [System.Boolean] - $AllowGooglePushNotifications, + [System.String] + $AdminDisplayName, [Parameter()] - [System.Boolean] - $AllowMobileOTAUpdate, + [System.Object] + $IntraOrgFilterState, [Parameter()] - [System.String] - $Name, + [System.Object] + $RegionBlockList, [Parameter()] [System.Object] - $MaxAttachmentSize, + $MarkAsSpamFromAddressAuthFail, [Parameter()] - [System.Boolean] - $AllowSimplePassword, + [System.String] + $Name, [Parameter()] - [System.Boolean] - $AllowConsumerEmail, + [System.Object] + $MarkAsSpamEmptyMessages, [Parameter()] - [System.Boolean] - $AllowDesktopSync, + [System.String] + $BulkQuarantineTag, [Parameter()] - [System.Boolean] - $PasswordRecoveryEnabled, + [System.Object] + $MarkAsSpamFormTagsInHtml, [Parameter()] - [System.Boolean] - $RequireStorageCardEncryption, + [System.Object] + $MarkAsSpamObjectTagsInHtml, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $EndUserSpamNotificationLanguage, [Parameter()] - [System.Boolean] - $AllowSMIMESoftCerts, + [System.Object] + $IncreaseScoreWithRedirectToOtherPort, [Parameter()] - [System.Boolean] - $AllowRemoteDesktop, + [System.Int32] + $QuarantineRetentionPeriod, [Parameter()] - [System.Boolean] - $AttachmentsEnabled, + [System.Object] + $HighConfidencePhishAction, [Parameter()] [System.Object] - $MaxCalendarAgeFilter, + $RedirectToRecipients, [Parameter()] [System.Boolean] - $AllowWiFi, + $SpamZapEnabled, [Parameter()] - [System.Boolean] - $AllowApplePushNotifications, + [System.Object] + $TestModeAction, [Parameter()] [System.Boolean] - $AllowPOPIMAPEmail, + $EnableRegionBlockList, [Parameter()] - [System.Boolean] - $IsDefault, + [System.String] + $EndUserSpamNotificationCustomSubject, [Parameter()] [System.Object] - $MaxInactivityTimeLock, + $MarkAsSpamSpfRecordHardFail, [Parameter()] [System.Object] - $ApprovedApplicationList, + $EndUserSpamNotificationCustomFromAddress, [Parameter()] [System.Boolean] - $AllowTextMessaging, + $DownloadLink, [Parameter()] [System.Object] - $MaxPasswordFailedAttempts, + $SpamAction, [Parameter()] - [System.Boolean] - $DeviceEncryptionEnabled, + [System.String] + $ModifySubjectValue, [Parameter()] [System.Object] - $MinPasswordLength, + $IncreaseScoreWithNumericIps, [Parameter()] - [System.Boolean] - $AllowHTMLEmail - ) -} -function New-OfflineAddressBook -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, + [System.Object] + $AllowedSenders, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $MarkAsSpamJavaScriptInHtml, [Parameter()] [System.Object] - $DiffRetentionPeriod, + $MarkAsSpamBulkMail, [Parameter()] - [System.Object[]] - $AddressLists, + [System.Object] + $BlockedSenderDomains, + + [Parameter()] + [System.Object] + $RecommendedPolicyType, [Parameter()] [System.Boolean] - $IsDefault + $PhishZapEnabled, + + [Parameter()] + [System.Boolean] + $EnableEndUserSpamNotifications, + + [Parameter()] + [System.String] + $HighConfidenceSpamQuarantineTag ) } -function New-OMEConfiguration +function New-HostedContentFilterRule { [CmdletBinding()] param( [Parameter()] - [System.Double] - $ExternalMailExpiryInDays, - - [Parameter()] - [System.String] - $ReadButtonText, + [System.Int32] + $Priority, [Parameter()] [System.String] - $PortalText, + $Name, [Parameter()] - [System.Byte[]] - $Image, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [System.String] - $IntroductionText, + [System.Object] + $HostedContentFilterPolicy, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $SentTo, [Parameter()] [System.String] - $BackgroundColor, + $Comments, [Parameter()] - [System.String] - $DisclaimerText, + [System.Object[]] + $RecipientDomainIs, [Parameter()] - [System.String] - $PrivacyStatementUrl, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.Boolean] - $SocialIdSignIn, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] - [System.String] - $EmailText, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $OTPEnabled, + [System.Object[]] + $ExceptIfSentToMemberOf, [Parameter()] - [System.Object] - $Identity + [System.Boolean] + $Enabled ) } -function New-OnPremisesOrganization +function New-HostedOutboundSpamFilterPolicy { [CmdletBinding()] param( [Parameter()] [System.Object] - $InboundConnector, + $RecommendedPolicyType, [Parameter()] [System.String] $Name, - [Parameter()] - [System.Object] - $OutboundConnector, - [Parameter()] [System.String] - $OrganizationName, + $AdminDisplayName, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $BccSuspiciousOutboundAdditionalRecipients, [Parameter()] - [System.String] - $Comment, + [System.Object] + $NotifyOutboundSpamRecipients, [Parameter()] - [System.Guid] - $OrganizationGuid, + [System.UInt32] + $RecipientLimitPerDay, [Parameter()] [System.Object] - $OrganizationRelationship, + $ActionWhenThresholdReached, [Parameter()] [System.Object] - $HybridDomains + $AutoForwardingMode, + + [Parameter()] + [System.Boolean] + $NotifyOutboundSpam, + + [Parameter()] + [System.Boolean] + $BccSuspiciousOutboundMail, + + [Parameter()] + [System.UInt32] + $RecipientLimitInternalPerHour, + + [Parameter()] + [System.UInt32] + $RecipientLimitExternalPerHour ) } -function New-OrganizationRelationship +function New-HostedOutboundSpamFilterRule { [CmdletBinding()] param( [Parameter()] - [System.Object] - $MailboxMovePublishedScopes, + [System.Int32] + $Priority, [Parameter()] [System.String] $Name, [Parameter()] - [System.Object] - $MailTipsAccessLevel, + [System.Object[]] + $ExceptIfFromMemberOf, + + [Parameter()] + [System.Object[]] + $ExceptIfFrom, + + [Parameter()] + [System.Object[]] + $ExceptIfSenderDomainIs, [Parameter()] [System.String] - $OAuthApplicationId, + $Comments, [Parameter()] - [System.Object] - $MailTipsAccessScope, + [System.Object[]] + $FromMemberOf, [Parameter()] - [System.Object] - $MailboxMoveCapability, + [System.Object[]] + $SenderDomainIs, [Parameter()] [System.Object] - $DomainNames, + $HostedOutboundSpamFilterPolicy, [Parameter()] - [System.Boolean] - $DeliveryReportEnabled, + [System.Object[]] + $From, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $Enabled, [Parameter()] - [System.Boolean] - $MailTipsAccessEnabled + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function New-OutboundConnector +function New-InboundConnector { [CmdletBinding()] param( [Parameter()] [System.Boolean] - $RouteAllMessagesViaOnPremises, - - [Parameter()] - [System.Object] - $RecipientDomains, + $RestrictDomainsToIPAddresses, [Parameter()] [System.Boolean] @@ -5601,20 +6212,28 @@ function New-OutboundConnector $Enabled, [Parameter()] - [System.Guid] - $LinkForModifiedConnector, + [System.Object] + $EFSkipMailGateway, [Parameter()] - [System.String] - $Name, + [System.Boolean] + $EFTestMode, [Parameter()] - [System.Boolean] - $AllAcceptedDomains, + [System.Object] + $TrustedOrganizations, [Parameter()] [System.Object] - $TlsDomain, + $TlsSenderCertificateName, + + [Parameter()] + [System.Object] + $ScanAndDropRecipients, + + [Parameter()] + [System.Object] + $AssociatedAcceptedDomains, [Parameter()] [System.String] @@ -5622,15 +6241,23 @@ function New-OutboundConnector [Parameter()] [System.Boolean] - $IsTransportRuleScoped, + $RequireTls, + + [Parameter()] + [System.Object] + $SenderDomains, + + [Parameter()] + [System.Object] + $SenderIPAddresses, [Parameter()] [System.Boolean] - $UseMXRecord, + $EFSkipLastIP, [Parameter()] [System.Object] - $TlsSettings, + $EFUsers, [Parameter()] [System.Management.Automation.SwitchParameter] @@ -5641,23 +6268,27 @@ function New-OutboundConnector $ConnectorType, [Parameter()] - [System.Object] - $SmartHosts, + [System.Boolean] + $RestrictDomainsToCertificate, [Parameter()] - [System.Boolean] - $SenderRewritingEnabled, + [System.Object] + $EFSkipIPs, [Parameter()] [System.Boolean] - $TestMode, + $TreatMessagesAsInternal, [Parameter()] [System.Object] - $ConnectorSource + $ConnectorSource, + + [Parameter()] + [System.String] + $Name ) } -function New-OwaMailboxPolicy +function New-IntraOrganizationConnector { [CmdletBinding()] param( @@ -5665,10838 +6296,98042 @@ function New-OwaMailboxPolicy [System.String] $Name, + [Parameter()] + [System.Object] + $TargetAddressDomains, + [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault + [System.Uri] + $TargetSharingEpr, + + [Parameter()] + [System.Uri] + $DiscoveryEndpoint, + + [Parameter()] + [System.Boolean] + $Enabled ) } -function New-PartnerApplication +function New-JournalRule { [CmdletBinding()] param( - [Parameter()] - [System.String] - $ApplicationIdentifier, - [Parameter()] [System.String] $Name, [Parameter()] [System.Object] - $LinkedAccount, + $Scope, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Boolean] - $AcceptSecurityIdentifierInformation, + [System.Object] + $JournalEmailAddress, [Parameter()] [System.Object] - $AccountType, + $Recipient, [Parameter()] [System.Boolean] $Enabled ) } -function New-PolicyTipConfig +function New-Mailbox { [CmdletBinding()] param( [Parameter()] [System.String] - $Value, + $MailboxRegion, [Parameter()] - [System.String] - $Name, + [System.Object] + $ModeratedBy, - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function New-ProtectionAlert -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function New-QuarantinePolicy -{ - [CmdletBinding()] - param( [Parameter()] [System.Boolean] - $IncludeMessagesFromBlockedSenderAddress, - - [Parameter()] - [System.Object] - $MultiLanguageCustomDisclaimer, + $ModerationEnabled, [Parameter()] - [System.Object] - $AdminNotificationLanguage, + [System.Boolean] + $EnableRoomMailboxAccount, [Parameter()] [System.String] - $EndUserSpamNotificationCustomFromAddress, + $Office, [Parameter()] [System.String] - $AdminDisplayName, + $DisplayName, [Parameter()] - [System.String] - $CustomDisclaimer, + [System.Security.SecureString] + $Password, [Parameter()] [System.String] $Name, [Parameter()] - [System.Int32] - $EndUserQuarantinePermissionsValue, + [System.Object] + $RemovedMailbox, [Parameter()] - [System.Boolean] - $ESNEnabled, + [System.Management.Automation.SwitchParameter] + $PublicFolder, [Parameter()] - [System.Object] - $EndUserQuarantinePermissions, + [System.Management.Automation.SwitchParameter] + $Force, [Parameter()] - [System.Boolean] - $AdminNotificationsEnabled, + [System.String] + $LastName, [Parameter()] - [System.Object] - $EndUserSpamNotificationLanguage, + [System.Management.Automation.SwitchParameter] + $TargetAllMDBs, [Parameter()] [System.Object] - $DomainController, + $RoleAssignmentPolicy, [Parameter()] [System.Object] - $MultiLanguageSenderName, + $ResourceCapacity, [Parameter()] - [System.Object] - $AdminQuarantinePermissionsList, + [System.Management.Automation.SwitchParameter] + $Archive, [Parameter()] - [System.Object] - $MultiLanguageSetting, + [System.Management.Automation.SwitchParameter] + $Equipment, [Parameter()] - [System.TimeSpan] - $EndUserSpamNotificationFrequency, + [System.String] + $ImmutableId, [Parameter()] - [System.Int32] - $QuarantineRetentionDays, + [System.Security.SecureString] + $RoomMailboxPassword, [Parameter()] - [System.Object] - $EsnCustomSubject, + [System.Management.Automation.SwitchParameter] + $Shared, [Parameter()] [System.Boolean] - $OrganizationBrandingEnabled, + $IsExcludedFromServingHierarchy, [Parameter()] - [System.Int32] - $AdminNotificationFrequencyInDays, + [System.Object] + $MailboxPlan, [Parameter()] [System.Object] - $QuarantinePolicyType - ) -} -function New-RemoteDomain -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Name, + $MicrosoftOnlineServicesID, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Migration, [Parameter()] - [System.Object] - $DomainName - ) -} -function New-ReportSubmissionPolicy -{ - [CmdletBinding()] - param( + [System.Management.Automation.SwitchParameter] + $Room, + [Parameter()] [System.String] - $PostSubmitMessage, + $Initials, [Parameter()] [System.Object] - $ReportJunkAddresses, - - [Parameter()] - [System.Boolean] - $NotificationsForPhishMalwareSubmissionAirInvestigationsEnabled, + $InactiveMailbox, [Parameter()] [System.String] - $PhishingReviewResultMessage, + $FederatedIdentity, [Parameter()] - [System.String] - $PostSubmitMessageTitle, + [System.Object] + $ActiveSyncMailboxPolicy, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonTextForNotJunk, + [System.Object] + $OrganizationalUnit, [Parameter()] - [System.Boolean] - $EnableCustomizedMsg, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $NotificationSenderAddress, + [System.Management.Automation.SwitchParameter] + $HoldForMigration, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonTextForJunk, + [System.Management.Automation.SwitchParameter] + $Discovery, [Parameter()] [System.Boolean] - $NotificationsForSpamSubmissionAirInvestigationsEnabled, + $ResetPasswordOnNextLogon, [Parameter()] [System.String] - $PostSubmitMessageForJunk, + $FirstName, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageForPhishing, + [System.String] + $Phone, [Parameter()] - [System.Boolean] - $EnableThirdPartyAddress, + [System.Object] + $PrimarySmtpAddress, [Parameter()] - [System.String] - $PreSubmitMessageTitleForPhishing, + [System.Object] + $SendModerationNotifications, [Parameter()] [System.String] - $PreSubmitMessageForJunk, + $Alias, [Parameter()] - [System.Int32] - $UserSubmissionOptions, - + [System.Boolean] + $RemotePowerShellEnabled + ) +} +function New-MailContact +{ + [CmdletBinding()] + param( [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonTextForPhishing, + [System.Object] + $ModeratedBy, [Parameter()] - [System.String] - $PreSubmitMessageForNotJunk, + [System.Boolean] + $ModerationEnabled, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageTitleForPhishing, + [System.Object] + $MacAttachmentFormat, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageTitleForNotJunk, + [System.String] + $DisplayName, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonTextForJunk, + [System.String] + $Name, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageForNotJunk, + [System.String] + $LastName, [Parameter()] [System.Boolean] - $ReportJunkToCustomizedAddress, + $UsePreferMessageFormat, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonLinkForPhishing, + [System.Object] + $MessageBodyFormat, [Parameter()] - [System.Boolean] - $ReportNotJunkToCustomizedAddress, + [System.String] + $Initials, [Parameter()] - [System.String] - $PostSubmitMessageTitleForJunk, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageForPhishing, + [System.Object] + $ExternalEmailAddress, [Parameter()] [System.String] - $NotificationFooterMessage, + $Alias, [Parameter()] - [System.Boolean] - $EnableOrganizationBranding, + [System.Object] + $MessageFormat, [Parameter()] [System.String] - $PreSubmitMessageForPhishing, + $FirstName, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonLinkForNotJunk, + [System.Object] + $SendModerationNotifications, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonLinkForPhishing, - + [System.Object] + $OrganizationalUnit + ) +} +function New-MalwareFilterPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $EnableReportToMicrosoft, + [System.String] + $CustomFromName, [Parameter()] [System.String] - $PreSubmitMessageTitleForJunk, + $AdminDisplayName, [Parameter()] - [System.Boolean] - $ReportChatMessageEnabled, + [System.String] + $Name, [Parameter()] - [System.Object] - $ThirdPartyReportAddresses, + [System.String] + $CustomExternalBody, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonLinkForJunk, + [System.String] + $QuarantineTag, [Parameter()] [System.Boolean] - $NotificationsForCleanSubmissionAirInvestigationsEnabled, + $CustomNotifications, [Parameter()] - [System.String] - $PostSubmitMessageForNotJunk, + [System.Boolean] + $EnableExternalSenderAdminNotifications, [Parameter()] [System.Object] - $MultiLanguageSetting, + $InternalSenderAdminAddress, [Parameter()] [System.String[]] - $MultiLanguagePostSubmitMessageForJunk, + $FileTypes, [Parameter()] [System.Boolean] - $DisableQuarantineReportingOption, + $EnableInternalSenderAdminNotifications, [Parameter()] [System.Object] - $ReportNotJunkAddresses, - - [Parameter()] - [System.Boolean] - $EnableUserEmailNotification, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageForJunk, + $CustomFromAddress, [Parameter()] [System.String] - $PostSubmitMessageTitleForPhishing, - - [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageTitleForJunk, + $CustomExternalSubject, [Parameter()] [System.Boolean] - $DisableUserSubmissionOptions, + $ZapEnabled, [Parameter()] - [System.Boolean] - $OnlyShowPhishingDisclaimer, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String] - $PostSubmitMessageTitleForNotJunk, + [System.Object] + $ExternalSenderAdminAddress, [Parameter()] - [System.String] - $PreSubmitMessage, + [System.Object] + $RecommendedPolicyType, [Parameter()] - [System.String] - $PreSubmitMessageTitleForNotJunk, + [System.Object] + $FileTypeAction, [Parameter()] [System.String] - $JunkReviewResultMessage, + $CustomInternalSubject, [Parameter()] - [System.Boolean] - $EnableCustomNotificationSender, + [System.String] + $CustomInternalBody, [Parameter()] [System.Boolean] - $ReportChatMessageToCustomizedAddressEnabled, - - [Parameter()] - [System.Object] - $ReportPhishAddresses, - + $EnableFileFilter + ) +} +function New-MalwareFilterRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageTitleForJunk, + [System.Int32] + $Priority, [Parameter()] [System.String] - $NotJunkReviewResultMessage, + $Name, [Parameter()] - [System.Boolean] - $NotificationsForSubmissionAirInvestigationsEnabled, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [System.Boolean] - $PreSubmitMessageEnabled, + [System.Object[]] + $SentTo, [Parameter()] - [System.Boolean] - $PostSubmitMessageEnabled, + [System.String] + $Comments, [Parameter()] - [System.String] - $PreSubmitMessageTitle, + [System.Object[]] + $RecipientDomainIs, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageTitleForPhishing, + [System.Object] + $MalwareFilterPolicy, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonTextForPhishing, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.String] - $UserSubmissionOptionsMessage, + [System.Object[]] + $ExceptIfSentTo, [Parameter()] - [System.String] - $PostSubmitMessageForPhishing, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonLinkForJunk, + [System.Object[]] + $ExceptIfSentToMemberOf, [Parameter()] [System.Boolean] - $ReportPhishToCustomizedAddress + $Enabled ) } -function New-ReportSubmissionRule +function New-ManagementRole { [CmdletBinding()] param( [Parameter()] [System.String] - $Name, + $Description, [Parameter()] - [System.Object[]] - $SentTo, + [System.String[]] + $EnabledCmdlets, [Parameter()] [System.String] - $Comments, - - [Parameter()] - [System.Object] - $ReportSubmissionPolicy, + $Name, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Boolean] - $Enabled + [System.Object] + $Parent, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force ) } -function New-RetentionPolicy +function New-ManagementRoleAssignment { [CmdletBinding()] param( + [Parameter()] + [System.Object] + $CustomRecipientWriteScope, + + [Parameter()] + [System.Object] + $RecipientGroupScope, + [Parameter()] [System.String] $Name, [Parameter()] - [System.Object[]] - $RetentionPolicyTagLinks, + [System.Management.Automation.SwitchParameter] + $Force, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefaultArbitrationMailbox, + [System.Object] + $RecipientAdministrativeUnitScope, + + [Parameter()] + [System.Object] + $SecurityGroup, + + [Parameter()] + [System.Object] + $ExclusiveRecipientWriteScope, [Parameter()] [System.Management.Automation.SwitchParameter] - $IsDefault, + $Delegating, [Parameter()] - [System.Guid] - $RetentionId, + [System.Object] + $User, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function New-RoleAssignmentPolicy -{ - [CmdletBinding()] - param( + $Confirm, + [Parameter()] - [System.String] - $Description, + [System.Object] + $App, [Parameter()] - [System.String] - $Name, + [System.Object] + $Role, [Parameter()] - [System.Object[]] - $Roles, + [System.Object] + $CustomResourceScope, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $Policy, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault + [System.Object] + $RecipientOrganizationalUnitScope, + + [Parameter()] + [System.Object] + $RecipientRelativeWriteScope ) } -function New-RoleGroup +function New-MessageClassification { [CmdletBinding()] param( [Parameter()] [System.String] - $Description, - - [Parameter()] - [System.Object] - $CustomRecipientWriteScope, + $SenderDescription, [Parameter()] [System.String] $DisplayName, [Parameter()] - [System.Object] - $Members, + [System.String] + $RecipientDescription, [Parameter()] [System.String] $Name, + [Parameter()] + [System.Globalization.CultureInfo] + $Locale, + [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object[]] - $Roles, + [System.Boolean] + $RetainClassificationEnabled, [Parameter()] - [System.String] - $WellKnownObject, + [System.Boolean] + $PermissionMenuVisible, [Parameter()] - [System.Object] - $ManagedBy, + [System.Guid] + $ClassificationID, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force + [System.Object] + $DisplayPrecedence ) } -function New-SafeAttachmentPolicy +function New-MobileDeviceMailboxPolicy { [CmdletBinding()] param( [Parameter()] - [System.Object] - $Action, + [System.Boolean] + $AllowMicrosoftPushNotifications, + + [Parameter()] + [System.Boolean] + $AllowUnsignedApplications, + + [Parameter()] + [System.Boolean] + $AllowUnsignedInstallationPackages, [Parameter()] [System.Object] - $RecommendedPolicyType, + $MaxPasswordFailedAttempts, [Parameter()] [System.Boolean] - $Redirect, + $AllowExternalDeviceManagement, [Parameter()] - [System.String] - $Name, + [System.Boolean] + $AllowIrDA, [Parameter()] - [System.String] - $AdminDisplayName, + [System.Boolean] + $RequireSignedSMIMEMessages, [Parameter()] - [System.Management.Automation.SwitchParameter] - $MakeBuiltInProtection, + [System.Boolean] + $AllowStorageCard, + + [Parameter()] + [System.Int32] + $PasswordHistory, [Parameter()] [System.Boolean] - $Enable, + $AllowNonProvisionableDevices, [Parameter()] [System.Object] - $RedirectAddress, + $UnapprovedInROMApplicationList, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $RequireEncryptedSMIMEMessages, [Parameter()] - [System.String] - $QuarantineTag - ) -} -function New-SafeAttachmentRule -{ - [CmdletBinding()] - param( + [System.Boolean] + $RequireDeviceEncryption, + [Parameter()] - [System.Int32] - $Priority, + [System.Boolean] + $AllowInternetSharing, [Parameter()] - [System.String] - $Name, + [System.Boolean] + $PasswordEnabled, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [System.Object] + $RequireSignedSMIMEAlgorithm, [Parameter()] - [System.Object[]] - $SentTo, + [System.Object] + $MaxEmailHTMLBodyTruncationSize, [Parameter()] - [System.String] - $Comments, + [System.Int32] + $MinPasswordComplexCharacters, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Boolean] + $UNCAccessEnabled, [Parameter()] - [System.Object] - $SafeAttachmentPolicy, + [System.Boolean] + $AllowCamera, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.Boolean] + $IrmEnabled, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.Object] + $PasswordExpiration, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $AllowBrowser, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, + [System.Object] + $MaxEmailAgeFilter, [Parameter()] [System.Boolean] - $Enabled - ) -} -function New-SafeLinksPolicy -{ - [CmdletBinding()] - param( + $RequireManualSyncWhenRoaming, + [Parameter()] [System.Boolean] - $EnableOrganizationBranding, + $AlphanumericPasswordRequired, [Parameter()] - [System.String] - $AdminDisplayName, + [System.Object] + $AllowSMIMEEncryptionAlgorithmNegotiation, [Parameter()] - [System.Boolean] - $UseTranslatedNotificationText, + [System.Object] + $MaxEmailBodyTruncationSize, [Parameter()] - [System.String] - $Name, + [System.Object] + $AllowBluetooth, [Parameter()] - [System.Management.Automation.SwitchParameter] - $MakeBuiltInProtection, + [System.Object] + $RequireEncryptionSMIMEAlgorithm, [Parameter()] [System.Object] - $DoNotRewriteUrls, + $DevicePolicyRefreshInterval, [Parameter()] [System.Boolean] - $EnableSafeLinksForTeams, + $AllowGooglePushNotifications, [Parameter()] [System.Boolean] - $DisableUrlRewrite, + $AllowMobileOTAUpdate, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $MaxAttachmentSize, [Parameter()] [System.Boolean] - $EnableSafeLinksForOffice, + $AllowSimplePassword, [Parameter()] [System.Boolean] - $TrackClicks, + $AllowConsumerEmail, [Parameter()] [System.Boolean] - $AllowClickThrough, + $AllowDesktopSync, [Parameter()] - [System.Object] - $RecommendedPolicyType, + [System.Boolean] + $RequireStorageCardEncryption, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, - [Parameter()] - [System.String] - $CustomNotificationText, - [Parameter()] [System.Boolean] - $DeliverMessageAfterScan, + $AttachmentsEnabled, [Parameter()] [System.Boolean] - $EnableSafeLinksForEmail, + $AllowSMIMESoftCerts, [Parameter()] [System.Boolean] - $ScanUrls, + $AllowRemoteDesktop, [Parameter()] [System.Boolean] - $EnableForInternalSenders - ) -} -function New-SafeLinksRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Int32] - $Priority, + $PasswordRecoveryEnabled, [Parameter()] - [System.String] - $Name, + [System.Object] + $MaxCalendarAgeFilter, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [System.Boolean] + $AllowWiFi, [Parameter()] - [System.Object[]] - $SentTo, + [System.Boolean] + $AllowApplePushNotifications, [Parameter()] - [System.String] - $Comments, + [System.Boolean] + $AllowPOPIMAPEmail, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Boolean] + $IsDefault, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.Object] + $MaxInactivityTimeLock, [Parameter()] [System.Object] - $SafeLinksPolicy, + $ApprovedApplicationList, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.Boolean] + $AllowTextMessaging, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $WSSAccessEnabled, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, + [System.Boolean] + $DeviceEncryptionEnabled, + + [Parameter()] + [System.Object] + $MinPasswordLength, [Parameter()] [System.Boolean] - $Enabled + $AllowHTMLEmail ) } -function New-ServicePrincipal +function New-OfflineAddressBook { [CmdletBinding()] param( [Parameter()] [System.String] - $DisplayName, + $Name, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.String] - $ObjectId, + [System.Boolean] + $IsDefault, [Parameter()] - [System.String] - $ServiceId, + [System.Object] + $DiffRetentionPeriod, [Parameter()] - [System.String] - $AppId + [System.Object[]] + $AddressLists ) } -function New-SweepRule +function New-OMEConfiguration { [CmdletBinding()] param( [Parameter()] - [System.String] - $Name, - - [Parameter()] - [System.Object] - $DestinationFolder, + [System.Double] + $ExternalMailExpiryInDays, [Parameter()] [System.String] - $Provider, + $ReadButtonText, [Parameter()] - [System.Object] - $SystemCategory, + [System.String] + $PortalText, [Parameter()] - [System.Object] - $KeepLatest, + [System.Byte[]] + $Image, [Parameter()] - [System.Object] - $SourceFolder, + [System.String] + $IntroductionText, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object] - $Mailbox, + [System.String] + $BackgroundColor, [Parameter()] - [System.Object] - $Sender, + [System.String] + $DisclaimerText, [Parameter()] - [System.Object] - $KeepForDays, + [System.String] + $PrivacyStatementUrl, [Parameter()] [System.Boolean] - $Enabled + $SocialIdSignIn, + + [Parameter()] + [System.String] + $EmailText, + + [Parameter()] + [System.Boolean] + $OTPEnabled, + + [Parameter()] + [System.Object] + $Identity ) } -function New-TenantAllowBlockListItems +function New-OnPremisesOrganization { [CmdletBinding()] param( [Parameter()] - [System.DateTime] - $ExpirationDate, + [System.Object] + $InboundConnector, + + [Parameter()] + [System.String] + $Name, [Parameter()] [System.Object] - $ListSubType, + $OutboundConnector, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Block, + [System.String] + $OrganizationName, [Parameter()] [System.Management.Automation.SwitchParameter] - $LogExtraDetails, + $Confirm, [Parameter()] [System.String] - $Notes, + $Comment, [Parameter()] - [System.Int32] - $RemoveAfter, + [System.Guid] + $OrganizationGuid, [Parameter()] - [System.Management.Automation.SwitchParameter] - $OutputJson, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $NoExpiration, - - [Parameter()] - [System.String] - $SubmissionID, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Allow, - - [Parameter()] - [System.String[]] - $Entries, + [System.Object] + $OrganizationRelationship, [Parameter()] [System.Object] - $ListType + $HybridDomains ) } -function New-TenantAllowBlockListSpoofItems +function New-OrganizationRelationship { [CmdletBinding()] param( [Parameter()] - [System.String] - $Action, - - [Parameter()] - [System.String] - $SendingInfrastructure, - - [Parameter()] - [System.String] - $SpoofType, + [System.Object] + $MailTipsAccessLevel, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Uri] + $TargetAutodiscoverEpr, [Parameter()] - [System.Object] - $Identity, + [System.Boolean] + $Enabled, [Parameter()] [System.String] - $SpoofedUser - ) -} -function New-TransportRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $ActivationDate, - - [Parameter()] - [System.Object[]] - $AddToRecipients, + $Name, [Parameter()] [System.Object] - $ApplyHtmlDisclaimerFallbackAction, + $FreeBusyAccessScope, [Parameter()] - [System.Object[]] - $ExceptIfRecipientADAttributeContainsWords, + [System.Boolean] + $DeliveryReportEnabled, [Parameter()] - [System.Object] - $AttachmentSizeOver, + [System.String] + $OAuthApplicationId, [Parameter()] - [System.Object[]] - $ExceptIfSenderADAttributeContainsWords, + [System.Boolean] + $MailTipsAccessEnabled, [Parameter()] [System.Object] - $SetSCL, + $OrganizationContact, [Parameter()] - [System.Object[]] - $AnyOfToHeaderMemberOf, + [System.Boolean] + $ArchiveAccessEnabled, [Parameter()] [System.Boolean] - $Disconnect, + $FreeBusyAccessEnabled, [Parameter()] - [System.Int32] - $Priority, + [System.Object] + $MailTipsAccessScope, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, + [System.Uri] + $TargetOwaURL, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfCcHeader, + [System.Uri] + $TargetApplicationUri, [Parameter()] - [System.Object[]] - $ExceptIfAttachmentMatchesPatterns, + [System.Boolean] + $PhotosEnabled, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $ManagerForEvaluatedUser, + $MailboxMovePublishedScopes, [Parameter()] - [System.Object[]] - $ExceptIfHeaderMatchesPatterns, + [System.Boolean] + $MailboxMoveEnabled, [Parameter()] [System.Object] - $ExceptIfFromScope, + $MailboxMoveCapability, [Parameter()] - [System.Object] - $AdComparisonAttribute, + [System.Uri] + $TargetSharingEpr, [Parameter()] - [System.Object[]] - $ExceptIfAttachmentContainsWords, + [System.Object] + $FreeBusyAccessLevel, [Parameter()] - [System.Object[]] - $ExceptIfHeaderContainsWords, - + [System.Object] + $DomainNames + ) +} +function New-OutboundConnector +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $HeaderMatchesPatterns, + [System.Boolean] + $RouteAllMessagesViaOnPremises, [Parameter()] [System.Object] - $AddManagerAsRecipientType, + $RecipientDomains, [Parameter()] [System.Boolean] - $DeleteMessage, + $CloudServicesMailEnabled, [Parameter()] [System.Boolean] - $HasSenderOverride, + $Enabled, [Parameter()] - [System.Object] - $SmtpRejectMessageRejectStatusCode, + [System.Guid] + $LinkForModifiedConnector, [Parameter()] [System.String] - $ExceptIfHasClassification, + $Name, [Parameter()] [System.Boolean] - $Quarantine, - - [Parameter()] - [System.Object[]] - $ExceptIfAnyOfRecipientAddressMatchesPatterns, + $AllAcceptedDomains, [Parameter()] - [System.Object[]] - $ExceptIfRecipientInSenderList, + [System.Object] + $TlsDomain, [Parameter()] - [System.Object] - $RecipientAddressType, + [System.String] + $Comment, [Parameter()] - [System.Object[]] - $ExceptIfContentCharacterSetContainsWords, + [System.Boolean] + $IsTransportRuleScoped, [Parameter()] - [System.Object[]] - $BlindCopyTo, + [System.Boolean] + $UseMXRecord, [Parameter()] [System.Object] - $ApplyHtmlDisclaimerLocation, + $TlsSettings, [Parameter()] - [System.Object] - $ExceptIfMessageTypeMatches, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $SenderIpRanges, + $ConnectorType, [Parameter()] - [System.Collections.Hashtable[]] - $ExceptIfMessageContainsDataClassifications, + [System.Object] + $SmartHosts, [Parameter()] - [System.Object[]] - $ModerateMessageByUser, + [System.Boolean] + $SenderRewritingEnabled, [Parameter()] [System.Boolean] - $HasNoClassification, + $TestMode, [Parameter()] - [System.Object[]] - $ExceptIfSenderInRecipientList, + [System.Object] + $ConnectorSource + ) +} +function New-OwaMailboxPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, [Parameter()] - [System.Object] - $HeaderContainsMessageHeader, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $RemoveHeader, + [System.Management.Automation.SwitchParameter] + $IsDefault + ) +} +function New-PartnerApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ApplicationIdentifier, [Parameter()] [System.String] - $HasClassification, + $Name, [Parameter()] - [System.Collections.Hashtable[]] - $MessageContainsDataClassifications, + [System.Object] + $LinkedAccount, [Parameter()] - [System.Object[]] - $ExceptIfFromMemberOf, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $RuleSubType, + [System.Boolean] + $AcceptSecurityIdentifierInformation, [Parameter()] - [System.Object[]] - $AnyOfRecipientAddressMatchesPatterns, + [System.Boolean] + $Enabled, [Parameter()] [System.Object] - $SentToScope, - + $AccountType + ) +} +function New-PolicyTipConfig +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $AnyOfToCcHeaderMemberOf, + [System.String] + $Value, [Parameter()] - [System.Object[]] - $From, + [System.String] + $Name, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfRecipientAddressContainsWords, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function New-QuarantinePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $MultiLanguageCustomDisclaimer, [Parameter()] [System.Object] - $ExceptIfWithImportance, + $AdminNotificationLanguage, [Parameter()] - [System.Object[]] - $ContentCharacterSetContainsWords, + [System.String] + $EndUserSpamNotificationCustomFromAddress, [Parameter()] - [System.Object[]] - $SubjectContainsWords, + [System.String] + $AdminDisplayName, [Parameter()] - [System.Object] - $RejectMessageEnhancedStatusCode, + [System.Int32] + $EndUserSpamNotificationFrequencyInDays, [Parameter()] - [System.Object[]] - $SenderADAttributeMatchesPatterns, + [System.String] + $CustomDisclaimer, [Parameter()] - [System.Object[]] - $ExceptIfSenderADAttributeMatchesPatterns, + [System.String] + $Name, [Parameter()] - [System.Object[]] - $IncidentReportContent, + [System.Int32] + $EndUserQuarantinePermissionsValue, [Parameter()] [System.Boolean] - $UseLegacyRegex, + $ESNEnabled, [Parameter()] - [System.Object[]] - $FromMemberOf, + [System.Object] + $EndUserQuarantinePermissions, [Parameter()] - [System.Object[]] - $AttachmentContainsWords, + [System.Boolean] + $AdminNotificationsEnabled, [Parameter()] [System.Object] - $ExceptIfSCLOver, + $EndUserSpamNotificationLanguage, [Parameter()] - [System.Object[]] - $ExceptIfBetweenMemberOf1, + [System.Object] + $DomainController, [Parameter()] [System.Object] - $GenerateNotification, + $MultiLanguageSenderName, [Parameter()] [System.Object] - $NotifySender, + $AdminQuarantinePermissionsList, [Parameter()] - [System.Boolean] - $ExceptIfAttachmentIsPasswordProtected, + [System.Object] + $MultiLanguageSetting, [Parameter()] - [System.Object[]] - $ExceptIfAttachmentNameMatchesPatterns, + [System.TimeSpan] + $EndUserSpamNotificationFrequency, [Parameter()] - [System.Object] - $ExceptIfSenderManagementRelationship, + [System.Int32] + $QuarantineRetentionDays, [Parameter()] - [System.String] - $SetAuditSeverity, + [System.Object] + $EsnCustomSubject, [Parameter()] - [System.Object[]] - $AttachmentPropertyContainsWords, + [System.Boolean] + $OrganizationBrandingEnabled, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToHeader, + [System.Int32] + $AdminNotificationFrequencyInDays, [Parameter()] [System.Object] - $ApplyRightsProtectionCustomizationTemplate, - + $QuarantinePolicyType + ) +} +function New-RemoteDomain +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $SetHeaderName, + [System.String] + $Name, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, - [Parameter()] - [System.Boolean] - $RouteMessageOutboundRequireTls, - [Parameter()] [System.Object] - $WithImportance, + $DomainName + ) +} +function New-ReportSubmissionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $PostSubmitMessage, [Parameter()] [System.Object] - $RuleErrorAction, + $ReportJunkAddresses, [Parameter()] - [System.Object] - $FromScope, + [System.Boolean] + $NotificationsForPhishMalwareSubmissionAirInvestigationsEnabled, [Parameter()] - [System.Object[]] - $AttachmentNameMatchesPatterns, + [System.String] + $PhishingReviewResultMessage, [Parameter()] - [System.Object[]] - $SentTo, + [System.String] + $PostSubmitMessageTitle, [Parameter()] - [System.Object[]] - $ExceptIfFromAddressMatchesPatterns, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonTextForNotJunk, [Parameter()] [System.Boolean] - $Enabled, + $EnableCustomizedMsg, [Parameter()] [System.Object] - $ExceptIfAttachmentSizeOver, + $NotificationSenderAddress, [Parameter()] - [System.Object] - $ExceptIfManagerForEvaluatedUser, + [System.String[]] + $MultiLanguagePostSubmitMessageButtonTextForJunk, [Parameter()] [System.Boolean] - $RemoveOMEv2, + $NotificationsForSpamSubmissionAirInvestigationsEnabled, [Parameter()] - [System.Object[]] - $ExceptIfFromAddressContainsWords, + [System.String] + $PostSubmitMessageForJunk, [Parameter()] - [System.Boolean] - $AttachmentHasExecutableContent, + [System.String[]] + $MultiLanguagePostSubmitMessageForPhishing, [Parameter()] - [System.Object] - $RouteMessageOutboundConnector, + [System.Boolean] + $EnableThirdPartyAddress, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.String] + $PreSubmitMessageTitleForPhishing, [Parameter()] - [System.Object[]] - $ExceptIfSenderDomainIs, + [System.String] + $PreSubmitMessageForJunk, [Parameter()] - [System.Object] - $SenderManagementRelationship, + [System.Int32] + $UserSubmissionOptions, [Parameter()] - [System.Object[]] - $ExceptIfBetweenMemberOf2, + [System.String[]] + $MultiLanguagePostSubmitMessageButtonTextForPhishing, [Parameter()] - [System.Object[]] - $RedirectMessageTo, + [System.String] + $PreSubmitMessageForNotJunk, [Parameter()] - [System.Boolean] - $ApplyOME, + [System.String[]] + $MultiLanguagePostSubmitMessageTitleForPhishing, [Parameter()] - [System.Object[]] - $SenderDomainIs, + [System.String[]] + $MultiLanguagePreSubmitMessageTitleForNotJunk, [Parameter()] - [System.Object[]] - $SenderADAttributeContainsWords, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonTextForJunk, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfCcHeaderMemberOf, + [System.String[]] + $MultiLanguagePreSubmitMessageForNotJunk, [Parameter()] - [System.Object] - $ApplyHtmlDisclaimerText, + [System.Boolean] + $ReportJunkToCustomizedAddress, [Parameter()] - [System.Boolean] - $ExceptIfAttachmentHasExecutableContent, + [System.String[]] + $MultiLanguagePostSubmitMessageButtonLinkForPhishing, [Parameter()] [System.Boolean] - $ExceptIfAttachmentIsUnsupported, + $ReportNotJunkToCustomizedAddress, [Parameter()] - [System.Boolean] - $RemoveOME, + [System.String] + $PostSubmitMessageTitleForJunk, [Parameter()] - [System.Object] - $RejectMessageReasonText, + [System.String[]] + $MultiLanguagePreSubmitMessageForPhishing, [Parameter()] - [System.Object[]] - $RecipientAddressContainsWords, + [System.String] + $NotificationFooterMessage, [Parameter()] - [System.Object] - $GenerateIncidentReport, + [System.Boolean] + $EnableOrganizationBranding, [Parameter()] - [System.Object[]] - $FromAddressContainsWords, + [System.String] + $PreSubmitMessageForPhishing, [Parameter()] - [System.Boolean] - $RemoveRMSAttachmentEncryption, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonLinkForNotJunk, [Parameter()] - [System.Object[]] - $RecipientAddressMatchesPatterns, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonLinkForPhishing, [Parameter()] - [System.Object[]] - $ExceptIfSubjectContainsWords, + [System.Boolean] + $EnableReportToMicrosoft, [Parameter()] - [System.Object[]] - $ExceptIfFrom, + [System.String] + $PreSubmitMessageTitleForJunk, [Parameter()] - [System.Object[]] - $AnyOfToCcHeader, + [System.Boolean] + $ReportChatMessageEnabled, [Parameter()] [System.Object] - $ExceptIfSentToScope, + $ThirdPartyReportAddresses, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToCcHeaderMemberOf, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonLinkForJunk, [Parameter()] [System.Boolean] - $ModerateMessageByManager, + $NotificationsForCleanSubmissionAirInvestigationsEnabled, [Parameter()] - [System.Object] - $AdComparisonOperator, + [System.String] + $PostSubmitMessageForNotJunk, [Parameter()] [System.Object] - $MessageSizeOver, + $MultiLanguageSetting, [Parameter()] - [System.Object[]] - $BetweenMemberOf2, + [System.String[]] + $MultiLanguagePostSubmitMessageForJunk, [Parameter()] - [System.Object[]] - $SubjectMatchesPatterns, + [System.Boolean] + $DisableQuarantineReportingOption, + + [Parameter()] + [System.Object] + $ReportNotJunkAddresses, [Parameter()] [System.Boolean] - $AttachmentProcessingLimitExceeded, + $EnableUserEmailNotification, [Parameter()] - [System.Object[]] - $ExceptIfSubjectMatchesPatterns, + [System.String[]] + $MultiLanguagePreSubmitMessageForJunk, [Parameter()] [System.String] - $Name, + $PostSubmitMessageTitleForPhishing, [Parameter()] - [System.Object[]] - $ExceptIfRecipientAddressContainsWords, + [System.String[]] + $MultiLanguagePreSubmitMessageTitleForJunk, [Parameter()] - [System.Object] - $HeaderMatchesMessageHeader, + [System.Boolean] + $DisableUserSubmissionOptions, [Parameter()] - [System.Object[]] - $AnyOfRecipientAddressContainsWords, + [System.Boolean] + $OnlyShowPhishingDisclaimer, [Parameter()] - [System.Object[]] - $HeaderContainsWords, + [System.String] + $PostSubmitMessageTitleForNotJunk, [Parameter()] [System.String] - $Comments, + $PreSubmitMessage, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [System.String] + $PreSubmitMessageTitleForNotJunk, [Parameter()] - [System.Object] - $ExceptIfAdComparisonAttribute, + [System.String] + $JunkReviewResultMessage, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.Boolean] + $EnableCustomNotificationSender, + + [Parameter()] + [System.Boolean] + $ReportChatMessageToCustomizedAddressEnabled, [Parameter()] [System.Object] - $ExceptIfAdComparisonOperator, + $ReportPhishAddresses, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToHeaderMemberOf, + [System.String[]] + $MultiLanguagePostSubmitMessageTitleForJunk, [Parameter()] - [System.Object] - $Mode, + [System.String] + $NotJunkReviewResultMessage, [Parameter()] - [System.Object[]] - $RecipientInSenderList, + [System.Boolean] + $NotificationsForSubmissionAirInvestigationsEnabled, [Parameter()] - [System.Object[]] - $SubjectOrBodyMatchesPatterns, + [System.Boolean] + $PreSubmitMessageEnabled, [Parameter()] - [System.Object[]] - $ExceptIfAttachmentExtensionMatchesWords, + [System.Boolean] + $PostSubmitMessageEnabled, [Parameter()] - [System.Object[]] - $ExceptIfSubjectOrBodyMatchesPatterns, + [System.String] + $PreSubmitMessageTitle, [Parameter()] - [System.Object[]] - $ExceptIfRecipientAddressMatchesPatterns, + [System.String[]] + $MultiLanguagePreSubmitMessageTitleForPhishing, [Parameter()] - [System.Boolean] - $ExceptIfHasNoClassification, + [System.String[]] + $MultiLanguagePreSubmitMessageButtonTextForPhishing, [Parameter()] - [System.Object] - $ExceptIfSenderIpRanges, + [System.String] + $UserSubmissionOptionsMessage, [Parameter()] - [System.Object[]] - $ExceptIfRecipientADAttributeMatchesPatterns, + [System.String] + $PostSubmitMessageForPhishing, [Parameter()] - [System.Object[]] - $RecipientADAttributeContainsWords, + [System.String[]] + $MultiLanguagePostSubmitMessageButtonLinkForJunk, [Parameter()] [System.Boolean] - $AttachmentIsUnsupported, - + $ReportPhishToCustomizedAddress + ) +} +function New-ReportSubmissionRule +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $ExpiryDate, + [System.String] + $Name, [Parameter()] [System.Object[]] - $AttachmentExtensionMatchesWords, + $SentTo, [Parameter()] - [System.Object[]] - $ExceptIfSubjectOrBodyContainsWords, + [System.String] + $Comments, [Parameter()] [System.Object] - $LogEventText, + $ReportSubmissionPolicy, [Parameter()] - [System.Object[]] - $ExceptIfManagerAddresses, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object[]] - $SenderInRecipientList, + [System.Boolean] + $Enabled + ) +} +function New-RoleAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToCcHeader, + [System.String] + $Name, [Parameter()] [System.Object[]] - $AttachmentMatchesPatterns, + $Roles, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsDefault + ) +} +function New-RoleGroup +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $DlpPolicy, + $Description, [Parameter()] - [System.Object[]] - $ManagerAddresses, + [System.Object] + $CustomRecipientWriteScope, + + [Parameter()] + [System.String] + $DisplayName, [Parameter()] [System.Object] - $SenderAddressLocation, + $Members, [Parameter()] - [System.Object[]] - $CopyTo, + [System.String] + $Name, [Parameter()] - [System.Object[]] - $SubjectOrBodyContainsWords, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.String] - $ApplyClassification, + $WellKnownObject, + + [Parameter()] + [System.Object] + $ManagedBy, [Parameter()] [System.Object[]] - $RecipientADAttributeMatchesPatterns, + $Roles, + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function New-SafeAttachmentPolicy +{ + [CmdletBinding()] + param( [Parameter()] [System.Object] - $SetHeaderValue, + $Action, [Parameter()] - [System.Boolean] - $AttachmentIsPasswordProtected, + [System.Object] + $RecommendedPolicyType, [Parameter()] - [System.Object[]] - $BetweenMemberOf1, + [System.Boolean] + $Redirect, [Parameter()] - [System.Object] - $ExceptIfMessageSizeOver, + [System.String] + $Name, [Parameter()] - [System.Collections.Hashtable[]] - $ExceptIfMessageContainsAllDataClassifications, + [System.String] + $AdminDisplayName, [Parameter()] - [System.Object[]] - $AnyOfCcHeader, + [System.Management.Automation.SwitchParameter] + $MakeBuiltInProtection, [Parameter()] [System.Boolean] - $ExceptIfAttachmentProcessingLimitExceeded, + $Enable, [Parameter()] - [System.Object[]] - $FromAddressMatchesPatterns, + [System.Object] + $RedirectAddress, [Parameter()] - [System.Object] - $ExceptIfHeaderMatchesMessageHeader, + [System.String] + $QuarantineTag, [Parameter()] - [System.Object] - $SmtpRejectMessageRejectText, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function New-SafeAttachmentRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $Priority, [Parameter()] - [System.Object[]] - $AnyOfCcHeaderMemberOf, + [System.String] + $Name, [Parameter()] [System.Object[]] - $AnyOfToHeader, + $SentToMemberOf, [Parameter()] - [System.Boolean] - $ExceptIfHasSenderOverride, + [System.Object[]] + $SentTo, [Parameter()] - [System.Object] - $SCLOver, + [System.String] + $Comments, [Parameter()] - [System.Object] - $PrependSubject, + [System.Object[]] + $RecipientDomainIs, [Parameter()] [System.Object] - $ApplyRightsProtectionTemplate, + $SafeAttachmentPolicy, [Parameter()] - [System.Object] - $MessageTypeMatches, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] [System.Object[]] - $ExceptIfAttachmentPropertyContainsWords, + $ExceptIfSentTo, [Parameter()] - [System.Boolean] - $StopRuleProcessing, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Collections.Hashtable[]] - $MessageContainsAllDataClassifications, + [System.Object[]] + $ExceptIfSentToMemberOf, [Parameter()] - [System.Object] - $ExceptIfHeaderContainsMessageHeader + [System.Boolean] + $Enabled ) } -function Remove-ActiveSyncDevice +function New-SafeLinksPolicy { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $EnableOrganizationBranding, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ActiveSyncDeviceAccessRule -{ - [CmdletBinding()] - param( + [System.String] + $AdminDisplayName, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $UseTranslatedNotificationText, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ActiveSyncMailboxPolicy -{ - [CmdletBinding()] - param( + [System.String] + $Name, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $MakeBuiltInProtection, [Parameter()] [System.Object] - $Identity, + $DoNotRewriteUrls, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-AddressBookPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $EnableSafeLinksForTeams, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-AddressList -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $DisableUrlRewrite, [Parameter()] - [System.Object] - $Identity, + [System.Boolean] + $EnableSafeLinksForOffice, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Recursive - ) -} -function Remove-AntiPhishPolicy -{ - [CmdletBinding()] - param( + [System.Boolean] + $TrackClicks, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $AllowClickThrough, [Parameter()] [System.Object] - $Identity, + $RecommendedPolicyType, - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-AntiPhishRule -{ - [CmdletBinding()] - param( [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ApplicationAccessPolicy -{ - [CmdletBinding()] - param( + [System.String] + $CustomNotificationText, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $DeliverMessageAfterScan, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ATPProtectionPolicyRule -{ - [CmdletBinding()] - param( + [System.Boolean] + $EnableSafeLinksForEmail, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $ScanUrls, [Parameter()] - [System.Object] - $Identity + [System.Boolean] + $EnableForInternalSenders ) } -function Remove-AuditConfigurationPolicy +function New-SafeLinksRule { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function Remove-AuthenticationPolicy -{ - [CmdletBinding()] - param( + [System.Int32] + $Priority, + [Parameter()] [System.String] - $TenantId, + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $SentToMemberOf, [Parameter()] - [System.Object] - $Identity, + [System.Object[]] + $SentTo, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AllowLegacyExchangeTokens - ) -} -function Remove-AvailabilityAddressSpace -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $Comments, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-AvailabilityConfig -{ - [CmdletBinding()] - param( + [System.Object[]] + $RecipientDomainIs, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $ExceptIfRecipientDomainIs, [Parameter()] [System.Object] - $Identity - ) -} -function Remove-ClientAccessRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + $SafeLinksPolicy, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-DataClassification -{ - [CmdletBinding()] - param( + [System.Object[]] + $ExceptIfSentTo, + [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object] - $Identity + [System.Object[]] + $ExceptIfSentToMemberOf, + + [Parameter()] + [System.Boolean] + $Enabled ) } -function Remove-DistributionGroup +function New-SharingPolicy { [CmdletBinding()] param( + [Parameter()] + [System.String] + $Name, + [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] [System.Object] - $Identity, + $Domains, [Parameter()] [System.Management.Automation.SwitchParameter] - $BypassSecurityGroupManagerCheck - ) -} -function Remove-EmailAddressPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + $Default, [Parameter()] - [System.Object] - $Identity + [System.Boolean] + $Enabled ) } -function Remove-ExoPhishSimOverrideRule +function New-TransportRule { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $ActivationDate, [Parameter()] - [System.Object] - $Identity, + [System.Object[]] + $AddToRecipients, [Parameter()] [System.Object] - $DomainController - ) -} -function Remove-ExoSecOpsOverrideRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + $ApplyHtmlDisclaimerFallbackAction, [Parameter()] - [System.Object] - $Identity, + [System.Object[]] + $ExceptIfRecipientADAttributeContainsWords, [Parameter()] [System.Object] - $DomainController - ) -} -function Remove-GlobalAddressList -{ - [CmdletBinding()] - param( + $AttachmentSizeOver, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $ExceptIfSenderADAttributeContainsWords, [Parameter()] [System.Object] - $Identity + $SetSCL, + + [Parameter()] + [System.Object[]] + $AnyOfToHeaderMemberOf, + + [Parameter()] + [System.Boolean] + $Disconnect, + + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfCcHeader, + + [Parameter()] + [System.Object[]] + $ExceptIfAttachmentMatchesPatterns, + + [Parameter()] + [System.Object[]] + $RecipientDomainIs, + + [Parameter()] + [System.Object] + $ManagerForEvaluatedUser, + + [Parameter()] + [System.Object[]] + $ExceptIfHeaderMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfFromScope, + + [Parameter()] + [System.Object] + $AdComparisonAttribute, + + [Parameter()] + [System.Object[]] + $ExceptIfAttachmentContainsWords, + + [Parameter()] + [System.Object[]] + $ExceptIfHeaderContainsWords, + + [Parameter()] + [System.Object[]] + $HeaderMatchesPatterns, + + [Parameter()] + [System.Object] + $AddManagerAsRecipientType, + + [Parameter()] + [System.Boolean] + $DeleteMessage, + + [Parameter()] + [System.Boolean] + $HasSenderOverride, + + [Parameter()] + [System.Object] + $SmtpRejectMessageRejectStatusCode, + + [Parameter()] + [System.String] + $ExceptIfHasClassification, + + [Parameter()] + [System.Boolean] + $Quarantine, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientInSenderList, + + [Parameter()] + [System.Object] + $RecipientAddressType, + + [Parameter()] + [System.Object[]] + $ExceptIfContentCharacterSetContainsWords, + + [Parameter()] + [System.Object[]] + $BlindCopyTo, + + [Parameter()] + [System.Object] + $ApplyHtmlDisclaimerLocation, + + [Parameter()] + [System.Object] + $ExceptIfMessageTypeMatches, + + [Parameter()] + [System.Object] + $SenderIpRanges, + + [Parameter()] + [System.Collections.Hashtable[]] + $ExceptIfMessageContainsDataClassifications, + + [Parameter()] + [System.Object[]] + $ModerateMessageByUser, + + [Parameter()] + [System.Boolean] + $HasNoClassification, + + [Parameter()] + [System.Object[]] + $ExceptIfSenderInRecipientList, + + [Parameter()] + [System.Object] + $HeaderContainsMessageHeader, + + [Parameter()] + [System.Object] + $RemoveHeader, + + [Parameter()] + [System.String] + $HasClassification, + + [Parameter()] + [System.Collections.Hashtable[]] + $MessageContainsDataClassifications, + + [Parameter()] + [System.Object[]] + $ExceptIfFromMemberOf, + + [Parameter()] + [System.Object] + $RuleSubType, + + [Parameter()] + [System.Object] + $SentToScope, + + [Parameter()] + [System.Object[]] + $AnyOfToCcHeaderMemberOf, + + [Parameter()] + [System.Object[]] + $From, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfRecipientAddressContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfWithImportance, + + [Parameter()] + [System.Object[]] + $ContentCharacterSetContainsWords, + + [Parameter()] + [System.Object[]] + $SubjectContainsWords, + + [Parameter()] + [System.Object] + $RejectMessageEnhancedStatusCode, + + [Parameter()] + [System.Object[]] + $SenderADAttributeMatchesPatterns, + + [Parameter()] + [System.Object[]] + $ExceptIfSenderADAttributeMatchesPatterns, + + [Parameter()] + [System.Object[]] + $IncidentReportContent, + + [Parameter()] + [System.Boolean] + $UseLegacyRegex, + + [Parameter()] + [System.Object[]] + $FromMemberOf, + + [Parameter()] + [System.Object[]] + $AttachmentContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfSCLOver, + + [Parameter()] + [System.Object[]] + $ExceptIfBetweenMemberOf1, + + [Parameter()] + [System.Object] + $GenerateNotification, + + [Parameter()] + [System.Object] + $NotifySender, + + [Parameter()] + [System.Boolean] + $ExceptIfAttachmentIsPasswordProtected, + + [Parameter()] + [System.Object[]] + $ExceptIfAttachmentNameMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfSenderManagementRelationship, + + [Parameter()] + [System.String] + $SetAuditSeverity, + + [Parameter()] + [System.Object[]] + $AttachmentPropertyContainsWords, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfToHeader, + + [Parameter()] + [System.Object] + $ApplyRightsProtectionCustomizationTemplate, + + [Parameter()] + [System.Object] + $SetHeaderName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $RouteMessageOutboundRequireTls, + + [Parameter()] + [System.Object] + $WithImportance, + + [Parameter()] + [System.Object] + $RuleErrorAction, + + [Parameter()] + [System.Object] + $FromScope, + + [Parameter()] + [System.Object[]] + $AttachmentNameMatchesPatterns, + + [Parameter()] + [System.Object[]] + $SentTo, + + [Parameter()] + [System.Object[]] + $ExceptIfFromAddressMatchesPatterns, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Object] + $ExceptIfAttachmentSizeOver, + + [Parameter()] + [System.Object] + $ExceptIfManagerForEvaluatedUser, + + [Parameter()] + [System.Boolean] + $RemoveOMEv2, + + [Parameter()] + [System.Object[]] + $ExceptIfFromAddressContainsWords, + + [Parameter()] + [System.Boolean] + $AttachmentHasExecutableContent, + + [Parameter()] + [System.Object] + $RouteMessageOutboundConnector, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Object[]] + $ExceptIfSenderDomainIs, + + [Parameter()] + [System.Object] + $SenderManagementRelationship, + + [Parameter()] + [System.Object[]] + $ExceptIfBetweenMemberOf2, + + [Parameter()] + [System.Object[]] + $RedirectMessageTo, + + [Parameter()] + [System.Boolean] + $ApplyOME, + + [Parameter()] + [System.Object[]] + $SenderDomainIs, + + [Parameter()] + [System.Object[]] + $SenderADAttributeContainsWords, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfCcHeaderMemberOf, + + [Parameter()] + [System.Object] + $ApplyHtmlDisclaimerText, + + [Parameter()] + [System.Boolean] + $ExceptIfAttachmentHasExecutableContent, + + [Parameter()] + [System.Boolean] + $ExceptIfAttachmentIsUnsupported, + + [Parameter()] + [System.Boolean] + $RemoveOME, + + [Parameter()] + [System.Object] + $RejectMessageReasonText, + + [Parameter()] + [System.Object[]] + $RecipientAddressContainsWords, + + [Parameter()] + [System.Object] + $GenerateIncidentReport, + + [Parameter()] + [System.Object[]] + $FromAddressContainsWords, + + [Parameter()] + [System.Boolean] + $RemoveRMSAttachmentEncryption, + + [Parameter()] + [System.Object[]] + $RecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object[]] + $ExceptIfSubjectContainsWords, + + [Parameter()] + [System.Object[]] + $ExceptIfFrom, + + [Parameter()] + [System.Object[]] + $AnyOfToCcHeader, + + [Parameter()] + [System.Object] + $ExceptIfSentToScope, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfToCcHeaderMemberOf, + + [Parameter()] + [System.Boolean] + $ModerateMessageByManager, + + [Parameter()] + [System.Object] + $AdComparisonOperator, + + [Parameter()] + [System.Object] + $MessageSizeOver, + + [Parameter()] + [System.Object[]] + $BetweenMemberOf2, + + [Parameter()] + [System.Object[]] + $SubjectMatchesPatterns, + + [Parameter()] + [System.Boolean] + $AttachmentProcessingLimitExceeded, + + [Parameter()] + [System.Object[]] + $ExceptIfSubjectMatchesPatterns, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientAddressContainsWords, + + [Parameter()] + [System.Object] + $HeaderMatchesMessageHeader, + + [Parameter()] + [System.Object[]] + $AnyOfRecipientAddressContainsWords, + + [Parameter()] + [System.Object[]] + $HeaderContainsWords, + + [Parameter()] + [System.String] + $Comments, + + [Parameter()] + [System.Object[]] + $SentToMemberOf, + + [Parameter()] + [System.Object] + $ExceptIfAdComparisonAttribute, + + [Parameter()] + [System.Object[]] + $ExceptIfSentTo, + + [Parameter()] + [System.Object] + $ExceptIfAdComparisonOperator, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfToHeaderMemberOf, + + [Parameter()] + [System.Object] + $Mode, + + [Parameter()] + [System.Object[]] + $RecipientInSenderList, + + [Parameter()] + [System.Object[]] + $SubjectOrBodyMatchesPatterns, + + [Parameter()] + [System.Object[]] + $ExceptIfAttachmentExtensionMatchesWords, + + [Parameter()] + [System.Object[]] + $ExceptIfSubjectOrBodyMatchesPatterns, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Boolean] + $ExceptIfHasNoClassification, + + [Parameter()] + [System.Object] + $ExceptIfSenderIpRanges, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientADAttributeMatchesPatterns, + + [Parameter()] + [System.Boolean] + $StopRuleProcessing, + + [Parameter()] + [System.Object[]] + $RecipientADAttributeContainsWords, + + [Parameter()] + [System.Boolean] + $AttachmentIsUnsupported, + + [Parameter()] + [System.Object] + $ExpiryDate, + + [Parameter()] + [System.Object[]] + $AttachmentExtensionMatchesWords, + + [Parameter()] + [System.Object[]] + $ExceptIfSubjectOrBodyContainsWords, + + [Parameter()] + [System.Object] + $LogEventText, + + [Parameter()] + [System.Object[]] + $ExceptIfManagerAddresses, + + [Parameter()] + [System.Object[]] + $SenderInRecipientList, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfToCcHeader, + + [Parameter()] + [System.Object[]] + $AttachmentMatchesPatterns, + + [Parameter()] + [System.String] + $DlpPolicy, + + [Parameter()] + [System.Object[]] + $ManagerAddresses, + + [Parameter()] + [System.Object] + $SenderAddressLocation, + + [Parameter()] + [System.Object[]] + $CopyTo, + + [Parameter()] + [System.Object[]] + $SubjectOrBodyContainsWords, + + [Parameter()] + [System.String] + $ApplyClassification, + + [Parameter()] + [System.Object[]] + $RecipientADAttributeMatchesPatterns, + + [Parameter()] + [System.Object] + $SetHeaderValue, + + [Parameter()] + [System.Boolean] + $AttachmentIsPasswordProtected, + + [Parameter()] + [System.Object[]] + $BetweenMemberOf1, + + [Parameter()] + [System.Object] + $ExceptIfMessageSizeOver, + + [Parameter()] + [System.Object[]] + $AnyOfCcHeader, + + [Parameter()] + [System.Boolean] + $ExceptIfAttachmentProcessingLimitExceeded, + + [Parameter()] + [System.Object[]] + $FromAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfHeaderMatchesMessageHeader, + + [Parameter()] + [System.Object] + $SmtpRejectMessageRejectText, + + [Parameter()] + [System.Object[]] + $AnyOfCcHeaderMemberOf, + + [Parameter()] + [System.Object[]] + $AnyOfToHeader, + + [Parameter()] + [System.Boolean] + $ExceptIfHasSenderOverride, + + [Parameter()] + [System.Object] + $SCLOver, + + [Parameter()] + [System.Object] + $PrependSubject, + + [Parameter()] + [System.Object] + $ApplyRightsProtectionTemplate, + + [Parameter()] + [System.Object] + $MessageTypeMatches, + + [Parameter()] + [System.Object[]] + $ExceptIfAttachmentPropertyContainsWords, + + [Parameter()] + [System.Object[]] + $AnyOfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfHeaderContainsMessageHeader + ) +} + +function New-UnifiedAuditLogRetentionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.UInt32] + $Priority, + + [Parameter()] + [System.String] + $RetentionDuration, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String[]] + $Operations, + + [Parameter()] + [System.String[]] + $RecordTypes, + + [Parameter()] + [System.String[]] + $UserIds + ) +} + +function Remove-ActiveSyncDevice +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} + +function Remove-ActiveSyncMailboxPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} + +function Remove-ActiveSyncDeviceAccessRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-AddressBookPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-AddressList +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Recursive + ) +} +function Remove-AntiPhishPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-AntiPhishRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-App +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Mailbox, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String] + $AppType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OrganizationApp, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PrivateCatalog + ) +} +function Remove-ApplicationAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} + +function Remove-ATPProtectionPolicyRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Identity + ) +} + +function Remove-AuditConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Remove-AuthenticationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-AvailabilityAddressSpace +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-AvailabilityConfig +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-ClientAccessRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-DataClassification +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-DistributionGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BypassSecurityGroupManagerCheck + ) +} +function Remove-EmailAddressPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-GlobalAddressList +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-HostedConnectionFilterPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-HostedContentFilterPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-HostedContentFilterRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-HostedOutboundSpamFilterPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Remove-HostedOutboundSpamFilterRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-InboundConnector +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-IntraOrganizationConnector +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-JournalRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-Mailbox +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PublicFolder, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PermanentlyDelete, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RemoveCNFPublicFolderMailboxPermanently, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Migration + ) +} +function Remove-MailboxPermission +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ClearAutoMapping, + + [Parameter()] + [System.Object[]] + $AccessRights, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $GroupMailbox, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Deny, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BypassMasterAccountSid, + + [Parameter()] + [System.Object] + $User, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IgnoreDefaultScope, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SoftDeletedMailbox, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ResetDefault, + + [Parameter()] + [System.DirectoryServices.ActiveDirectorySecurityInheritance] + $InheritanceType + ) +} +function Remove-MailContact +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-MalwareFilterPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-MalwareFilterRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-ManagementRole +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Recurse + ) +} +function Remove-ManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-MessageClassification +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-MobileDevice +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-MobileDeviceMailboxPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-OfflineAddressBook +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-OMEConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-OnPremisesOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-OrganizationRelationship +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-OutboundConnector +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-OwaMailboxPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-PartnerApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-PolicyTipConfig +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-QuarantinePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $DomainController + ) +} +function Remove-RecipientPermission +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SkipDomainValidationForMailContact, + + [Parameter()] + [System.Object] + $AccessRights, + + [Parameter()] + [System.Object] + $Trustee, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Deny, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SkipDomainValidationForMailUser, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SkipDomainValidationForSharedMailbox + ) +} +function Remove-RemoteDomain +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-ReportSubmissionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-ReportSubmissionRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-RoleAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-RoleGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BypassSecurityGroupManagerCheck + ) +} +function Remove-SafeAttachmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-SafeAttachmentRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-SafeLinksPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-SafeLinksRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-SharingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-TransportRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} + +function Remove-UnifiedAuditLogRetentionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Identity + ) +} + +function Set-AcceptedDomain +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $CanHaveCloudCache, + + [Parameter()] + [System.Boolean] + $EnableNego2Authentication, + + [Parameter()] + [System.Boolean] + $OutboundOnly, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $SendingFromDomainDisabled, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $MatchSubDomains, + + [Parameter()] + [System.Object] + $DomainType + ) +} +function Set-ActiveSyncDeviceAccessRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $AccessLevel + ) +} + +function Set-ActiveSyncMailboxPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowUnsignedApplications, + + [Parameter()] + [System.Boolean] + $AllowUnsignedInstallationPackages, + + [Parameter()] + [System.Boolean] + $AllowExternalDeviceManagement, + + [Parameter()] + [System.Boolean] + $AllowIrDA, + + [Parameter()] + [System.Boolean] + $AllowStorageCard, + + [Parameter()] + [System.Boolean] + $AllowNonProvisionableDevices, + + [Parameter()] + [System.Boolean] + $AllowRemoteDesktop, + + [Parameter()] + [System.Object] + $UnapprovedInROMApplicationList, + + [Parameter()] + [System.Boolean] + $DevicePasswordEnabled, + + [Parameter()] + [System.Boolean] + $RequireEncryptedSMIMEMessages, + + [Parameter()] + [System.Int32] + $DevicePasswordHistory, + + [Parameter()] + [System.Boolean] + $RequireDeviceEncryption, + + [Parameter()] + [System.Boolean] + $AllowInternetSharing, + + [Parameter()] + [System.Int32] + $MinDevicePasswordComplexCharacters, + + [Parameter()] + [System.Object] + $RequireSignedSMIMEAlgorithm, + + [Parameter()] + [System.Object] + $MaxEmailHTMLBodyTruncationSize, + + [Parameter()] + [System.Object] + $DevicePasswordExpiration, + + [Parameter()] + [System.Boolean] + $UNCAccessEnabled, + + [Parameter()] + [System.Boolean] + $AllowCamera, + + [Parameter()] + [System.Object] + $MaxDevicePasswordFailedAttempts, + + [Parameter()] + [System.Boolean] + $AllowBrowser, + + [Parameter()] + [System.Boolean] + $RequireManualSyncWhenRoaming, + + [Parameter()] + [System.Object] + $AllowSMIMEEncryptionAlgorithmNegotiation, + + [Parameter()] + [System.Boolean] + $DeviceEncryptionEnabled, + + [Parameter()] + [System.Object] + $MaxEmailBodyTruncationSize, + + [Parameter()] + [System.Object] + $AllowBluetooth, + + [Parameter()] + [System.Object] + $RequireEncryptionSMIMEAlgorithm, + + [Parameter()] + [System.Object] + $DevicePolicyRefreshInterval, + + [Parameter()] + [System.Boolean] + $AllowMobileOTAUpdate, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $MaxAttachmentSize, + + [Parameter()] + [System.Boolean] + $AllowConsumerEmail, + + [Parameter()] + [System.Boolean] + $AllowDesktopSync, + + [Parameter()] + [System.Object] + $MaxInactivityTimeDeviceLock, + + [Parameter()] + [System.Boolean] + $AlphanumericDevicePasswordRequired, + + [Parameter()] + [System.Boolean] + $RequireStorageCardEncryption, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AttachmentsEnabled, + + [Parameter()] + [System.Boolean] + $AllowSMIMESoftCerts, + + [Parameter()] + [System.Object] + $MaxEmailAgeFilter, + + [Parameter()] + [System.Boolean] + $AllowSimpleDevicePassword, + + [Parameter()] + [System.Boolean] + $PasswordRecoveryEnabled, + + [Parameter()] + [System.Object] + $MaxCalendarAgeFilter, + + [Parameter()] + [System.Boolean] + $AllowWiFi, + + [Parameter()] + [System.Boolean] + $AllowApplePushNotifications, + + [Parameter()] + [System.Boolean] + $AllowPOPIMAPEmail, + + [Parameter()] + [System.Boolean] + $IsDefault, + + [Parameter()] + [System.Boolean] + $IsDefaultPolicy, + + [Parameter()] + [System.Object] + $ApprovedApplicationList, + + [Parameter()] + [System.Boolean] + $AllowTextMessaging, + + [Parameter()] + [System.Boolean] + $WSSAccessEnabled, + + [Parameter()] + [System.Boolean] + $RequireSignedSMIMEMessages, + + [Parameter()] + [System.Boolean] + $AllowHTMLEmail, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $MinDevicePasswordLength, + + [Parameter()] + [System.Boolean] + $IrmEnabled + ) +} + +function Set-AddressBookPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $RoomList, + + [Parameter()] + [System.Object] + $OfflineAddressBook, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $GlobalAddressList, + + [Parameter()] + [System.Object[]] + $AddressLists + ) +} +function Set-AddressList +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute8, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute10, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute9, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute2, + + [Parameter()] + [System.Object] + $IncludedRecipients, + + [Parameter()] + [System.Object] + $ConditionalCompany, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute6, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute3, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute12, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute13, + + [Parameter()] + [System.String] + $RecipientFilter, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute15, + + [Parameter()] + [System.Object] + $ConditionalDepartment, + + [Parameter()] + [System.Object] + $ConditionalStateOrProvince, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute7, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute14, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute4, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute11, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute1, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute5 + ) +} +function Set-AdminAuditLogConfig +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $UnifiedAuditLogIngestionEnabled + ) +} +function Set-AntiPhishPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $EnableFirstContactSafetyTips, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $MakeDefault, + + [Parameter()] + [System.Object] + $DmarcRejectAction, + + [Parameter()] + [System.Int32] + $PhishThresholdLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $EnableTargetedDomainsProtection, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $HonorDmarcPolicy, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Boolean] + $EnableViaTag, + + [Parameter()] + [System.Object] + $MailboxIntelligenceProtectionAction, + + [Parameter()] + [System.Object] + $TargetedDomainsToProtect, + + [Parameter()] + [System.Boolean] + $EnableSpoofIntelligence, + + [Parameter()] + [System.Boolean] + $EnableSimilarUsersSafetyTips, + + [Parameter()] + [System.Object] + $ExcludedDomains, + + [Parameter()] + [System.String] + $PolicyTag, + + [Parameter()] + [System.Object] + $TargetedDomainActionRecipients, + + [Parameter()] + [System.Object] + $DmarcQuarantineAction, + + [Parameter()] + [System.Boolean] + $EnableMailboxIntelligence, + + [Parameter()] + [System.String] + $TargetedDomainQuarantineTag, + + [Parameter()] + [System.Object] + $ImpersonationProtectionState, + + [Parameter()] + [System.Object] + $TargetedDomainProtectionAction, + + [Parameter()] + [System.String] + $AdminDisplayName, + + [Parameter()] + [System.Object] + $TargetedUsersToProtect, + + [Parameter()] + [System.Object] + $TargetedUserProtectionAction, + + [Parameter()] + [System.Object] + $MailboxIntelligenceProtectionActionRecipients, + + [Parameter()] + [System.String] + $MailboxIntelligenceQuarantineTag, + + [Parameter()] + [System.Boolean] + $EnableSimilarDomainsSafetyTips, + + [Parameter()] + [System.String] + $SpoofQuarantineTag, + + [Parameter()] + [System.Boolean] + $EnableUnauthenticatedSender, + + [Parameter()] + [System.String] + $TargetedUserQuarantineTag, + + [Parameter()] + [System.Boolean] + $EnableOrganizationDomainsProtection, + + [Parameter()] + [System.Boolean] + $EnableMailboxIntelligenceProtection, + + [Parameter()] + [System.Boolean] + $EnableUnusualCharactersSafetyTips, + + [Parameter()] + [System.Boolean] + $EnableTargetedUserProtection, + + [Parameter()] + [System.Object] + $AuthenticationFailAction, + + [Parameter()] + [System.Object] + $TargetedUserActionRecipients, + + [Parameter()] + [System.Object] + $ExcludedSenders + ) +} +function Set-AntiPhishRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object[]] + $SentToMemberOf, + + [Parameter()] + [System.Object] + $AntiPhishPolicy, + + [Parameter()] + [System.Object[]] + $SentTo, + + [Parameter()] + [System.String] + $Comments, + + [Parameter()] + [System.Object[]] + $RecipientDomainIs, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Object[]] + $ExceptIfSentTo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf + ) +} +function Set-App +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $UserList, + + [Parameter()] + [System.Object] + $DefaultStateForUser, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OrganizationApp, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PrivateCatalog, + + [Parameter()] + [System.Object] + $ProvidedTo + ) +} +function Set-ApplicationAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Set-AtpPolicyForO365 +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $EnableATPForSPOTeamsODB, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $EnableSafeDocs, + + [Parameter()] + [System.Boolean] + $AllowSafeDocsOpen, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +function Set-ATPProtectionPolicyRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $Comments, + + [Parameter()] + [System.String] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.String] + $ExceptIfSentTo, + + [Parameter()] + [System.String] + $ExceptIfSentToMemberOf, + + [Parameter()] + [System.String] + $String, + + [Parameter()] + [System.UInt32] + $Priority, + + [Parameter()] + [System.String[]] + $RecipientDomainIs, + + [Parameter()] + [System.String[]] + $SentTo, + + [Parameter()] + [System.String[]] + $SentToMemberOf + ) +} + +function Set-AuthenticationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthPop, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthSmtp, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthMapi, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthImap, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthAutodiscover, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthPowershell, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthRpc, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthOfflineAddressBook, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthReportingWebServices, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthOutlookService, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthActiveSync, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowBasicAuthWebServices + ) +} +function Set-AvailabilityConfig +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $OrgWideAccount, + + [Parameter()] + [System.Object] + $AllowedTenantIds + ) +} +function Set-CalendarProcessing +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $MaximumConflictInstances, + + [Parameter()] + [System.Object] + $BookingType, + + [Parameter()] + [System.Boolean] + $ForwardRequestsToDelegates, + + [Parameter()] + [System.Boolean] + $RemoveCanceledMeetings, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object[]] + $ResourceDelegates, + + [Parameter()] + [System.Boolean] + $DeleteNonCalendarItems, + + [Parameter()] + [System.Boolean] + $RemovePrivateProperty, + + [Parameter()] + [System.Boolean] + $DeleteComments, + + [Parameter()] + [System.Boolean] + $EnforceSchedulingHorizon, + + [Parameter()] + [System.Boolean] + $EnableResponseDetails, + + [Parameter()] + [System.Object[]] + $RequestInPolicy, + + [Parameter()] + [System.Boolean] + $EnforceCapacity, + + [Parameter()] + [System.Boolean] + $AllowConflicts, + + [Parameter()] + [System.Boolean] + $AllRequestInPolicy, + + [Parameter()] + [System.Boolean] + $AddOrganizerToSubject, + + [Parameter()] + [System.Object[]] + $BookInPolicy, + + [Parameter()] + [System.Int32] + $ConflictPercentageAllowed, + + [Parameter()] + [System.Object] + $AutomateProcessing, + + [Parameter()] + [System.Boolean] + $AllRequestOutOfPolicy, + + [Parameter()] + [System.Boolean] + $AddNewRequestsTentatively, + + [Parameter()] + [System.Boolean] + $EnableAutoRelease, + + [Parameter()] + [System.Int32] + $PostReservationMaxClaimTimeInMinutes, + + [Parameter()] + [System.Boolean] + $AllBookInPolicy, + + [Parameter()] + [System.Boolean] + $ProcessExternalMeetingMessages, + + [Parameter()] + [System.Boolean] + $DeleteAttachments, + + [Parameter()] + [System.Boolean] + $ScheduleOnlyDuringWorkHours, + + [Parameter()] + [System.String] + $AdditionalResponse, + + [Parameter()] + [System.Boolean] + $TentativePendingApproval, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Int32] + $MaximumDurationInMinutes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IgnoreDefaultScope, + + [Parameter()] + [System.Object[]] + $RequestOutOfPolicy, + + [Parameter()] + [System.Boolean] + $RemoveOldMeetingMessages, + + [Parameter()] + [System.Boolean] + $OrganizerInfo, + + [Parameter()] + [System.Boolean] + $AddAdditionalResponse, + + [Parameter()] + [System.Boolean] + $RemoveForwardedMeetingNotifications, + + [Parameter()] + [System.Int32] + $MinimumDurationInMinutes, + + [Parameter()] + [System.Int32] + $BookingWindowInDays, + + [Parameter()] + [System.Boolean] + $AllowRecurringMeetings, + + [Parameter()] + [System.Boolean] + $DeleteSubject + ) +} +function Set-CASMailbox +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $IsOptimizedForAccessibility, + + [Parameter()] + [System.Boolean] + $ImapEnabled, + + [Parameter()] + [System.Boolean] + $ImapSuppressReadReceipt, + + [Parameter()] + [System.Boolean] + $ActiveSyncSuppressReadReceipt, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $EwsBlockList, + + [Parameter()] + [System.Object] + $EwsAllowEntourage, + + [Parameter()] + [System.Object] + $OwaMailboxPolicy, + + [Parameter()] + [System.Boolean] + $PopUseProtocolDefaults, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $SmtpClientAuthenticationDisabled, + + [Parameter()] + [System.Boolean] + $PopForceICalForCalendarRetrievalOption, + + [Parameter()] + [System.Boolean] + $ImapForceICalForCalendarRetrievalOption, + + [Parameter()] + [System.Boolean] + $ShowGalAsDefaultView, + + [Parameter()] + [System.Object] + $ActiveSyncBlockedDeviceIDs, + + [Parameter()] + [System.Boolean] + $MAPIEnabled, + + [Parameter()] + [System.Object] + $EwsAllowOutlook, + + [Parameter()] + [System.Boolean] + $PopEnabled, + + [Parameter()] + [System.Object] + $ActiveSyncAllowedDeviceIDs, + + [Parameter()] + [System.Object] + $EwsEnabled, + + [Parameter()] + [System.Object] + $OutlookMobileEnabled, + + [Parameter()] + [System.Object] + $EwsAllowMacOutlook, + + [Parameter()] + [System.Object] + $EwsApplicationAccessPolicy, + + [Parameter()] + [System.Object] + $OneWinNativeOutlookEnabled, + + [Parameter()] + [System.Boolean] + $OWAEnabled, + + [Parameter()] + [System.Boolean] + $PublicFolderClientAccess, + + [Parameter()] + [System.Object] + $ActiveSyncMailboxPolicy, + + [Parameter()] + [System.Object] + $UniversalOutlookEnabled, + + [Parameter()] + [System.Boolean] + $ImapUseProtocolDefaults, + + [Parameter()] + [System.Boolean] + $ActiveSyncDebugLogging, + + [Parameter()] + [System.Boolean] + $OWAforDevicesEnabled, + + [Parameter()] + [System.Object] + $ImapMessagesRetrievalMimeFormat, + + [Parameter()] + [System.Boolean] + $ActiveSyncEnabled, + + [Parameter()] + [System.Object] + $MacOutlookEnabled, + + [Parameter()] + [System.Boolean] + $PopSuppressReadReceipt, + + [Parameter()] + [System.Object] + $EwsAllowList, + + [Parameter()] + [System.Object] + $PopMessagesRetrievalMimeFormat + ) +} +function set-CASMailboxPlan +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $ImapEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $OwaMailboxPolicy, + + [Parameter()] + [System.Boolean] + $PopEnabled, + + [Parameter()] + [System.Boolean] + $ActiveSyncEnabled + ) +} +function Set-ClientAccessRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $UsernameMatchesAnyOfPatterns, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $Action, + + [Parameter()] + [System.Object] + $AnyOfClientIPAddressesOrRanges, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Object] + $ExceptAnyOfClientIPAddressesOrRanges, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $UserRecipientFilter, + + [Parameter()] + [System.Object] + $ExceptAnyOfProtocols, + + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [System.Object] + $ExceptUsernameMatchesAnyOfPatterns, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $AnyOfAuthenticationTypes, + + [Parameter()] + [System.Object] + $AnyOfProtocols, + + [Parameter()] + [System.Object] + $ExceptAnyOfAuthenticationTypes, + + [Parameter()] + [System.Object] + $Scope + ) +} +function Set-DataClassification +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Globalization.CultureInfo] + $Locale, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsDefault, + + [Parameter()] + [System.Object] + $Fingerprints, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Set-DataEncryptionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $DomainController, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PermanentDataPurgeRequested, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String] + $PermanentDataPurgeReason, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.String] + $PermanentDataPurgeContact, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Refresh + ) +} +function Set-DistributionGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $EmailAddresses, + + [Parameter()] + [System.Object] + $RejectMessagesFromDLMembers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RoomList, + + [Parameter()] + [System.Object] + $AcceptMessagesOnlyFromSendersOrMembers, + + [Parameter()] + [System.String] + $CustomAttribute10, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute5, + + [Parameter()] + [System.String] + $CustomAttribute8, + + [Parameter()] + [System.String] + $CustomAttribute5, + + [Parameter()] + [System.Boolean] + $BccBlocked, + + [Parameter()] + [System.Object] + $AcceptMessagesOnlyFromDLMembers, + + [Parameter()] + [System.String] + $SimpleDisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IgnoreNamingPolicy, + + [Parameter()] + [System.Boolean] + $ReportToManagerEnabled, + + [Parameter()] + [System.String] + $MailTip, + + [Parameter()] + [System.Object] + $ModeratedBy, + + [Parameter()] + [System.Object] + $GrantSendOnBehalfTo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ResetMigrationToUnifiedGroup, + + [Parameter()] + [System.Object] + $AcceptMessagesOnlyFrom, + + [Parameter()] + [System.Boolean] + $BypassNestedModerationEnabled, + + [Parameter()] + [System.Boolean] + $ModerationEnabled, + + [Parameter()] + [System.Object] + $MemberDepartRestriction, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute4, + + [Parameter()] + [System.String] + $CustomAttribute15, + + [Parameter()] + [System.Object] + $RejectMessagesFromSendersOrMembers, + + [Parameter()] + [System.Object] + $WindowsEmailAddress, + + [Parameter()] + [System.String] + $Alias, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Boolean] + $ReportToOriginatorEnabled, + + [Parameter()] + [System.Object] + $BypassModerationFromSendersOrMembers, + + [Parameter()] + [System.Object] + $RejectMessagesFrom, + + [Parameter()] + [System.String] + $CustomAttribute1, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceUpgrade, + + [Parameter()] + [System.Object] + $ManagedBy, + + [Parameter()] + [System.Object] + $Description, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute1, + + [Parameter()] + [System.String] + $CustomAttribute14, + + [Parameter()] + [System.Boolean] + $RequireSenderAuthenticationEnabled, + + [Parameter()] + [System.String] + $CustomAttribute9, + + [Parameter()] + [System.String] + $CustomAttribute6, + + [Parameter()] + [System.Boolean] + $SendOofMessageToOriginatorEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BypassSecurityGroupManagerCheck, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute2, + + [Parameter()] + [System.String] + $CustomAttribute13, + + [Parameter()] + [System.String] + $CustomAttribute2, + + [Parameter()] + [System.Object] + $PrimarySmtpAddress, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $SendModerationNotifications, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $HiddenGroupMembershipEnabled, + + [Parameter()] + [System.Object] + $MemberJoinRestriction, + + [Parameter()] + [System.Boolean] + $HiddenFromAddressListsEnabled, + + [Parameter()] + [System.Object] + $MailTipTranslations, + + [Parameter()] + [System.String] + $CustomAttribute7, + + [Parameter()] + [System.String] + $CustomAttribute4, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute3, + + [Parameter()] + [System.String] + $CustomAttribute12, + + [Parameter()] + [System.String] + $CustomAttribute3, + + [Parameter()] + [System.String] + $CustomAttribute11, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Set-DkimSigningConfig +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AdminDisplayName, + + [Parameter()] + [System.Object] + $BodyCanonicalization, + + [Parameter()] + [System.Object] + $HeaderCanonicalization, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PublishTxtRecords, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $Enabled + ) +} +function Set-EmailAddressPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Priority, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $EnabledEmailAddressTemplates, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceUpgrade, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $EnabledPrimarySMTPAddressTemplate, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Set-GlobalAddressList +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute8, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute10, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute9, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute2, + + [Parameter()] + [System.Object] + $IncludedRecipients, + + [Parameter()] + [System.Object] + $ConditionalCompany, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute6, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute3, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute12, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute13, + + [Parameter()] + [System.String] + $RecipientFilter, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute15, + + [Parameter()] + [System.Object] + $ConditionalDepartment, + + [Parameter()] + [System.Object] + $ConditionalStateOrProvince, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute7, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute14, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute4, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute1, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute5, + + [Parameter()] + [System.Object] + $ConditionalCustomAttribute11 + ) +} +function Set-HostedConnectionFilterPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ConfigurationXmlRaw, + + [Parameter()] + [System.String] + $AdminDisplayName, + + [Parameter()] + [System.Boolean] + $EnableSafeList, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $IPBlockList, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $IPAllowList, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $MakeDefault + ) +} +function Set-HostedContentFilterPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $InlineSafetyTipsEnabled, + + [Parameter()] + [System.Object] + $BulkSpamAction, + + [Parameter()] + [System.String] + $HighConfidencePhishQuarantineTag, + + [Parameter()] + [System.Int32] + $EndUserSpamNotificationFrequency, + + [Parameter()] + [System.Int32] + $EndUserSpamNotificationLimit, + + [Parameter()] + [System.Int32] + $BulkThreshold, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $MakeDefault, + + [Parameter()] + [System.Object] + $TestModeBccToRecipients, + + [Parameter()] + [System.String] + $PhishQuarantineTag, + + [Parameter()] + [System.String] + $AddXHeaderValue, + + [Parameter()] + [System.Object] + $MarkAsSpamEmbedTagsInHtml, + + [Parameter()] + [System.Object] + $MarkAsSpamFramesInHtml, + + [Parameter()] + [System.Object] + $IncreaseScoreWithImageLinks, + + [Parameter()] + [System.Boolean] + $EnableLanguageBlockList, + + [Parameter()] + [System.Object] + $PhishSpamAction, + + [Parameter()] + [System.String] + $EndUserSpamNotificationCustomFromName, + + [Parameter()] + [System.Object] + $MarkAsSpamSensitiveWordList, + + [Parameter()] + [System.String] + $SpamQuarantineTag, + + [Parameter()] + [System.Object] + $MarkAsSpamNdrBackscatter, + + [Parameter()] + [System.Object] + $BlockedSenders, + + [Parameter()] + [System.Object] + $LanguageBlockList, + + [Parameter()] + [System.Object] + $HighConfidenceSpamAction, + + [Parameter()] + [System.Object] + $AllowedSenderDomains, + + [Parameter()] + [System.Object] + $IncreaseScoreWithBizOrInfoUrls, + + [Parameter()] + [System.Object] + $MarkAsSpamWebBugsInHtml, + + [Parameter()] + [System.String] + $AdminDisplayName, + + [Parameter()] + [System.Object] + $IntraOrgFilterState, + + [Parameter()] + [System.Object] + $RegionBlockList, + + [Parameter()] + [System.Object] + $MarkAsSpamFromAddressAuthFail, + + [Parameter()] + [System.Object] + $MarkAsSpamEmptyMessages, + + [Parameter()] + [System.String] + $BulkQuarantineTag, + + [Parameter()] + [System.Object] + $MarkAsSpamFormTagsInHtml, + + [Parameter()] + [System.Object] + $MarkAsSpamObjectTagsInHtml, + + [Parameter()] + [System.Object] + $EndUserSpamNotificationLanguage, + + [Parameter()] + [System.Object] + $IncreaseScoreWithRedirectToOtherPort, + + [Parameter()] + [System.Int32] + $QuarantineRetentionPeriod, + + [Parameter()] + [System.Object] + $HighConfidencePhishAction, + + [Parameter()] + [System.Object] + $RedirectToRecipients, + + [Parameter()] + [System.Boolean] + $SpamZapEnabled, + + [Parameter()] + [System.Object] + $TestModeAction, + + [Parameter()] + [System.Boolean] + $EnableRegionBlockList, + + [Parameter()] + [System.String] + $EndUserSpamNotificationCustomSubject, + + [Parameter()] + [System.Object] + $MarkAsSpamSpfRecordHardFail, + + [Parameter()] + [System.Object] + $EndUserSpamNotificationCustomFromAddress, + + [Parameter()] + [System.Boolean] + $DownloadLink, + + [Parameter()] + [System.Object] + $SpamAction, + + [Parameter()] + [System.String] + $ModifySubjectValue, + + [Parameter()] + [System.Object] + $IncreaseScoreWithNumericIps, + + [Parameter()] + [System.Object] + $AllowedSenders, + + [Parameter()] + [System.Object] + $MarkAsSpamJavaScriptInHtml, + + [Parameter()] + [System.Object] + $MarkAsSpamBulkMail, + + [Parameter()] + [System.Object] + $BlockedSenderDomains, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $PhishZapEnabled, + + [Parameter()] + [System.Boolean] + $EnableEndUserSpamNotifications, + + [Parameter()] + [System.String] + $HighConfidenceSpamQuarantineTag + ) +} +function Set-HostedContentFilterRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object[]] + $SentToMemberOf, + + [Parameter()] + [System.Object] + $HostedContentFilterPolicy, + + [Parameter()] + [System.Object[]] + $SentTo, + + [Parameter()] + [System.String] + $Comments, + + [Parameter()] + [System.Object[]] + $RecipientDomainIs, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Object[]] + $ExceptIfSentTo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf + ) +} +function Set-HostedOutboundSpamFilterPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AdminDisplayName, + + [Parameter()] + [System.Object] + $BccSuspiciousOutboundAdditionalRecipients, + + [Parameter()] + [System.Object] + $NotifyOutboundSpamRecipients, + + [Parameter()] + [System.UInt32] + $RecipientLimitPerDay, + + [Parameter()] + [System.Object] + $ActionWhenThresholdReached, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.UInt32] + $RecipientLimitExternalPerHour, + + [Parameter()] + [System.Object] + $AutoForwardingMode, + + [Parameter()] + [System.Boolean] + $NotifyOutboundSpam, + + [Parameter()] + [System.UInt32] + $RecipientLimitInternalPerHour, + + [Parameter()] + [System.Boolean] + $BccSuspiciousOutboundMail + ) +} +function Set-HostedOutboundSpamFilterRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object[]] + $ExceptIfFromMemberOf, + + [Parameter()] + [System.Object[]] + $ExceptIfFrom, + + [Parameter()] + [System.Object[]] + $ExceptIfSenderDomainIs, + + [Parameter()] + [System.String] + $Comments, + + [Parameter()] + [System.Object[]] + $FromMemberOf, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object[]] + $SenderDomainIs, + + [Parameter()] + [System.Object] + $HostedOutboundSpamFilterPolicy, + + [Parameter()] + [System.Object[]] + $From, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Set-InboundConnector +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $RestrictDomainsToIPAddresses, + + [Parameter()] + [System.Boolean] + $CloudServicesMailEnabled, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $EFSkipMailGateway, + + [Parameter()] + [System.Boolean] + $EFTestMode, + + [Parameter()] + [System.Object] + $TrustedOrganizations, + + [Parameter()] + [System.Object] + $TlsSenderCertificateName, + + [Parameter()] + [System.Object] + $ScanAndDropRecipients, + + [Parameter()] + [System.Object] + $AssociatedAcceptedDomains, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Boolean] + $RequireTls, + + [Parameter()] + [System.Object] + $SenderDomains, + + [Parameter()] + [System.Object] + $SenderIPAddresses, + + [Parameter()] + [System.Boolean] + $EFSkipLastIP, + + [Parameter()] + [System.Object] + $EFUsers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $ConnectorType, + + [Parameter()] + [System.Boolean] + $RestrictDomainsToCertificate, + + [Parameter()] + [System.Object] + $EFSkipIPs, + + [Parameter()] + [System.Boolean] + $TreatMessagesAsInternal, + + [Parameter()] + [System.Object] + $ConnectorSource + ) +} +function Set-IntraOrganizationConnector +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $TargetAddressDomains, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Uri] + $DiscoveryEndpoint, + + [Parameter()] + [System.Uri] + $TargetSharingEpr, + + [Parameter()] + [System.Boolean] + $Enabled + ) +} +function Set-IRMConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $TransportDecryptionSetting, + + [Parameter()] + [System.Uri] + $RMSOnlineKeySharingLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Boolean] + $AzureRMSLicensingEnabled, + + [Parameter()] + [System.Boolean] + $EnablePortalTrackingLogs, + + [Parameter()] + [System.Boolean] + $DecryptAttachmentForEncryptOnly, + + [Parameter()] + [System.Boolean] + $RejectIfRecipientHasNoRights, + + [Parameter()] + [System.Boolean] + $SimplifiedClientAccessEncryptOnlyDisabled, + + [Parameter()] + [System.Boolean] + $InternalLicensingEnabled, + + [Parameter()] + [System.Boolean] + $EDiscoverySuperUserEnabled, + + [Parameter()] + [System.Boolean] + $JournalReportDecryptionEnabled, + + [Parameter()] + [System.Boolean] + $EnablePdfEncryption, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AutomaticServiceUpdateEnabled, + + [Parameter()] + [System.Boolean] + $SimplifiedClientAccessDoNotForwardDisabled, + + [Parameter()] + [System.Boolean] + $SearchEnabled, + + [Parameter()] + [System.Object] + $LicensingLocation, + + [Parameter()] + [System.Boolean] + $SimplifiedClientAccessEnabled + ) +} +function Set-JournalRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $Scope, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $JournalEmailAddress, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $Recipient + ) +} +function Set-Mailbox +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $EmailAddresses, + + [Parameter()] + [System.Object] + $RejectMessagesFromDLMembers, + + [Parameter()] + [System.Object] + $AuditOwner, + + [Parameter()] + [System.Object] + $AcceptMessagesOnlyFromSendersOrMembers, + + [Parameter()] + [System.Object] + $Type, + + [Parameter()] + [System.Object] + $UserCertificate, + + [Parameter()] + [System.String] + $CustomAttribute10, + + [Parameter()] + [System.Boolean] + $DeliverToMailboxAndForward, + + [Parameter()] + [System.String] + $RetentionUrl, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute5, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RecalculateInactiveMailbox, + + [Parameter()] + [System.String] + $CustomAttribute8, + + [Parameter()] + [System.Object] + $ProhibitSendReceiveQuota, + + [Parameter()] + [System.String] + $CustomAttribute5, + + [Parameter()] + [System.Security.SecureString] + $RoomMailboxPassword, + + [Parameter()] + [System.Boolean] + $CalendarVersionStoreDisabled, + + [Parameter()] + [System.Object] + $UseDatabaseQuotaDefaults, + + [Parameter()] + [System.Boolean] + $ElcProcessingDisabled, + + [Parameter()] + [System.String[]] + $ExcludeFromOrgHolds, + + [Parameter()] + [System.String] + $MailboxRegion, + + [Parameter()] + [System.String] + $MailTip, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $GroupMailbox, + + [Parameter()] + [System.Object] + $ResourceCapacity, + + [Parameter()] + [System.Object] + $GrantSendOnBehalfTo, + + [Parameter()] + [System.Object] + $UserSMimeCertificate, + + [Parameter()] + [System.Object] + $AcceptMessagesOnlyFrom, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RemoveDisabledArchive, + + [Parameter()] + [System.Object] + $Languages, + + [Parameter()] + [System.Object] + $JournalArchiveAddress, + + [Parameter()] + [System.Object] + $LitigationHoldDuration, + + [Parameter()] + [System.Object] + $ModeratedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProvisionedForOfficeGraph, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $InactiveMailbox, + + [Parameter()] + [System.String] + $RetentionComment, + + [Parameter()] + [System.Object] + $MaxReceiveSize, + + [Parameter()] + [System.Boolean] + $MessageCopyForSendOnBehalfEnabled, + + [Parameter()] + [System.String] + $CustomAttribute15, + + [Parameter()] + [System.Boolean] + $LitigationHoldEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UpdateEnforcedTimestamp, + + [Parameter()] + [System.String] + $ImmutableId, + + [Parameter()] + [System.Object] + $WindowsEmailAddress, + + [Parameter()] + [System.Boolean] + $UseDatabaseRetentionDefaults, + + [Parameter()] + [System.Boolean] + $SchedulerAssistant, + + [Parameter()] + [System.String[]] + $RemoveOrphanedHolds, + + [Parameter()] + [System.Object] + $RulesQuota, + + [Parameter()] + [System.String] + $Alias, + + [Parameter()] + [System.String] + $EnforcedTimestamps, + + [Parameter()] + [System.Object] + $RejectMessagesFromSendersOrMembers, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Object] + $ResourceCustom, + + [Parameter()] + [System.Boolean] + $MessageCopyForSMTPClientSubmissionEnabled, + + [Parameter()] + [System.Object] + $BypassModerationFromSendersOrMembers, + + [Parameter()] + [System.Object] + $DefaultAuditSet, + + [Parameter()] + [System.Object] + $AcceptMessagesOnlyFromDLMembers, + + [Parameter()] + [System.String] + $CustomAttribute1, + + [Parameter()] + [System.Object] + $EmailAddressDisplayNames, + + [Parameter()] + [System.Boolean] + $CalendarRepairDisabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RemoveMailboxProvisioningConstraint, + + [Parameter()] + [System.Object] + $NonCompliantDevices, + + [Parameter()] + [System.Boolean] + $ModerationEnabled, + + [Parameter()] + [System.String] + $LitigationHoldOwner, + + [Parameter()] + [System.Object] + $ProhibitSendQuota, + + [Parameter()] + [System.Boolean] + $AccountDisabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ClearThrottlingPolicyAssignment, + + [Parameter()] + [System.Object] + $AuditDelegate, + + [Parameter()] + [System.String] + $CustomAttribute14, + + [Parameter()] + [System.Boolean] + $SingleItemRecoveryEnabled, + + [Parameter()] + [System.Boolean] + $RequireSenderAuthenticationEnabled, + + [Parameter()] + [System.String] + $CustomAttribute9, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String] + $CustomAttribute6, + + [Parameter()] + [System.Object] + $DataEncryptionPolicy, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute4, + + [Parameter()] + [System.Object] + $LitigationHoldDate, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $EnableRoomMailboxAccount, + + [Parameter()] + [System.Boolean] + $HiddenFromAddressListsEnabled, + + [Parameter()] + [System.Object] + $RetainDeletedItemsFor, + + [Parameter()] + [System.Object] + $MicrosoftOnlineServicesID, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RemoveDelayReleaseHoldApplied, + + [Parameter()] + [System.Object] + $AuditAdmin, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute2, + + [Parameter()] + [System.Object] + $DefaultPublicFolderMailbox, + + [Parameter()] + [System.Boolean] + $RetentionHoldEnabled, + + [Parameter()] + [System.String] + $CustomAttribute13, + + [Parameter()] + [System.Object] + $RetentionPolicy, + + [Parameter()] + [System.String] + $CustomAttribute2, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RemoveDelayHoldApplied, + + [Parameter()] + [System.Object] + $ExternalOofOptions, + + [Parameter()] + [System.Object] + $AuditLogAgeLimit, + + [Parameter()] + [System.Object] + $StartDateForRetentionHold, + + [Parameter()] + [System.Object] + $SendModerationNotifications, + + [Parameter()] + [System.Object] + $EndDateForRetentionHold, + + [Parameter()] + [System.Object] + $RoleAssignmentPolicy, + + [Parameter()] + [System.Boolean] + $IsExcludedFromServingHierarchy, + + [Parameter()] + [System.String] + $Office, + + [Parameter()] + [System.Object] + $MaxSendSize, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ApplyMandatoryProperties, + + [Parameter()] + [System.Object] + $RejectMessagesFrom, + + [Parameter()] + [System.Object] + $RecipientLimits, + + [Parameter()] + [System.Object] + $AddressBookPolicy, + + [Parameter()] + [System.Boolean] + $MessageCopyForSentAsEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PublicFolder, + + [Parameter()] + [System.Object] + $MailTipTranslations, + + [Parameter()] + [System.String] + $CustomAttribute7, + + [Parameter()] + [System.Object] + $SharingPolicy, + + [Parameter()] + [System.String] + $CustomAttribute4, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute1, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ExcludeFromAllOrgHolds, + + [Parameter()] + [System.Object] + $ArchiveName, + + [Parameter()] + [System.Boolean] + $AuditEnabled, + + [Parameter()] + [System.Security.SecureString] + $Password, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Object] + $IssueWarningQuota, + + [Parameter()] + [System.Object] + $StsRefreshTokensValidFrom, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute3, + + [Parameter()] + [System.Object] + $ForwardingAddress, + + [Parameter()] + [System.String] + $CustomAttribute12, + + [Parameter()] + [System.String] + $CustomAttribute3, + + [Parameter()] + [System.String] + $CustomAttribute11, + + [Parameter()] + [System.String] + $SimpleDisplayName, + + [Parameter()] + [System.Object] + $ForwardingSmtpAddress, + + [Parameter()] + [System.Boolean] + $MessageTrackingReadStatusEnabled + ) +} +function Set-MailboxAuditBypassAssociation +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AuditBypassEnabled, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Set-MailboxAutoReplyConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $InternalMessage, + + [Parameter()] + [System.String] + $DeclineMeetingMessage, + + [Parameter()] + [System.Object] + $ExternalAudience, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IgnoreDefaultScope, + + [Parameter()] + [System.Boolean] + $DeclineEventsForScheduledOOF, + + [Parameter()] + [System.Boolean] + $AutoDeclineFutureRequestsWhenOOF, + + [Parameter()] + [System.Object] + $AutoReplyState, + + [Parameter()] + [System.String[]] + $EventsToDeleteIDs, + + [Parameter()] + [System.DateTime] + $StartTime, + + [Parameter()] + [System.Boolean] + $CreateOOFEvent, + + [Parameter()] + [System.String] + $OOFEventSubject, + + [Parameter()] + [System.Boolean] + $DeclineAllEventsForScheduledOOF, + + [Parameter()] + [System.DateTime] + $EndTime, + + [Parameter()] + [System.String] + $ExternalMessage + ) +} +function Set-MailboxCalendarFolder +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $SharedCalendarSyncStartDate, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SetAsSharingSource, + + [Parameter()] + [System.Boolean] + $SearchableUrlEnabled, + + [Parameter()] + [System.Boolean] + $PublishEnabled, + + [Parameter()] + [System.Object] + $PublishDateRangeTo, + + [Parameter()] + [System.Object] + $PublishDateRangeFrom, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UseHttps, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ResetUrl, + + [Parameter()] + [System.Object] + $DetailLevel, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Set-MailboxPlan +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $IssueWarningQuota, + + [Parameter()] + [System.Object] + $RoleAssignmentPolicy, + + [Parameter()] + [System.Object] + $RetentionPolicy, + + [Parameter()] + [System.Object] + $MaxSendSize, + + [Parameter()] + [System.Object] + $ProhibitSendReceiveQuota, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $ProhibitSendQuota, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsDefault, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $RetainDeletedItemsFor, + + [Parameter()] + [System.Object] + $RecipientLimits, + + [Parameter()] + [System.Object] + $MaxReceiveSize, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Set-MailboxRegionalConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DateFormat, + + [Parameter()] + [System.String] + $TimeFormat, + + [Parameter()] + [System.Object] + $MailboxLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UseCustomRouting, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Archive, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $LocalizeDefaultFolderName, + + [Parameter()] + [System.Object] + $TimeZone, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Globalization.CultureInfo] + $Language + ) +} +function Set-MailContact +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $WindowsEmailAddress, + + [Parameter()] + [System.Object] + $AcceptMessagesOnlyFromDLMembers, + + [Parameter()] + [System.String] + $CustomAttribute10, + + [Parameter()] + [System.Boolean] + $RequireSenderAuthenticationEnabled, + + [Parameter()] + [System.Boolean] + $ModerationEnabled, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute4, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $MacAttachmentFormat, + + [Parameter()] + [System.String] + $CustomAttribute8, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $CustomAttribute3, + + [Parameter()] + [System.Object] + $RejectMessagesFrom, + + [Parameter()] + [System.Object] + $RejectMessagesFromSendersOrMembers, + + [Parameter()] + [System.Object] + $MailTipTranslations, + + [Parameter()] + [System.String] + $CustomAttribute7, + + [Parameter()] + [System.Object] + $UseMapiRichTextFormat, + + [Parameter()] + [System.String] + $CustomAttribute5, + + [Parameter()] + [System.Object] + $AcceptMessagesOnlyFromSendersOrMembers, + + [Parameter()] + [System.Boolean] + $HiddenFromAddressListsEnabled, + + [Parameter()] + [System.String] + $CustomAttribute6, + + [Parameter()] + [System.Boolean] + $UsePreferMessageFormat, + + [Parameter()] + [System.String] + $CustomAttribute1, + + [Parameter()] + [System.Object] + $BypassModerationFromSendersOrMembers, + + [Parameter()] + [System.String] + $CustomAttribute11, + + [Parameter()] + [System.String] + $CustomAttribute13, + + [Parameter()] + [System.Object] + $ModeratedBy, + + [Parameter()] + [System.String] + $CustomAttribute14, + + [Parameter()] + [System.String] + $MailTip, + + [Parameter()] + [System.Object] + $MessageBodyFormat, + + [Parameter()] + [System.Object] + $AcceptMessagesOnlyFrom, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute3, + + [Parameter()] + [System.String] + $CustomAttribute15, + + [Parameter()] + [System.Object] + $UserSMimeCertificate, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute1, + + [Parameter()] + [System.Object] + $MessageFormat, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute5, + + [Parameter()] + [System.Object] + $ExternalEmailAddress, + + [Parameter()] + [System.String] + $CustomAttribute4, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute2, + + [Parameter()] + [System.String] + $CustomAttribute9, + + [Parameter()] + [System.Object] + $RejectMessagesFromDLMembers, + + [Parameter()] + [System.String] + $Alias, + + [Parameter()] + [System.String] + $SimpleDisplayName, + + [Parameter()] + [System.String] + $CustomAttribute2, + + [Parameter()] + [System.Object] + $UserCertificate, + + [Parameter()] + [System.Object] + $SendModerationNotifications, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $EmailAddresses, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceUpgrade, + + [Parameter()] + [System.Object] + $GrantSendOnBehalfTo, + + [Parameter()] + [System.String] + $CustomAttribute12 + ) +} +function Set-MalwareFilterPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $MakeDefault, + + [Parameter()] + [System.String] + $CustomFromName, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String] + $AdminDisplayName, + + [Parameter()] + [System.String] + $CustomExternalBody, + + [Parameter()] + [System.String] + $QuarantineTag, + + [Parameter()] + [System.Boolean] + $CustomNotifications, + + [Parameter()] + [System.Boolean] + $EnableExternalSenderAdminNotifications, + + [Parameter()] + [System.Object] + $InternalSenderAdminAddress, + + [Parameter()] + [System.String[]] + $FileTypes, + + [Parameter()] + [System.Boolean] + $EnableInternalSenderAdminNotifications, + + [Parameter()] + [System.Object] + $CustomFromAddress, + + [Parameter()] + [System.Boolean] + $IsPolicyOverrideApplied, + + [Parameter()] + [System.Boolean] + $ZapEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $ExternalSenderAdminAddress, + + [Parameter()] + [System.String] + $CustomExternalSubject, + + [Parameter()] + [System.Object] + $FileTypeAction, + + [Parameter()] + [System.String] + $CustomInternalSubject, + + [Parameter()] + [System.String] + $CustomInternalBody, + + [Parameter()] + [System.Boolean] + $EnableFileFilter + ) +} +function Set-MalwareFilterRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object[]] + $SentToMemberOf, + + [Parameter()] + [System.Object[]] + $SentTo, + + [Parameter()] + [System.String] + $Comments, + + [Parameter()] + [System.Object[]] + $RecipientDomainIs, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Object] + $MalwareFilterPolicy, + + [Parameter()] + [System.Object[]] + $ExceptIfSentTo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf + ) +} +function Set-ManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $RecipientGroupScope, + + [Parameter()] + [System.Object] + $CustomRecipientWriteScope, + + [Parameter()] + [System.Object] + $RecipientAdministrativeUnitScope, + + [Parameter()] + [System.Object] + $ExclusiveRecipientWriteScope, + + [Parameter()] + [System.Object] + $CustomResourceScope, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $RecipientOrganizationalUnitScope, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $RecipientRelativeWriteScope, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Set-MessageClassification +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $SenderDescription, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $RecipientDescription, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $RetainClassificationEnabled, + + [Parameter()] + [System.Boolean] + $PermissionMenuVisible, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Guid] + $ClassificationID, + + [Parameter()] + [System.Object] + $DisplayPrecedence + ) +} +function Set-MobileDeviceMailboxPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowMicrosoftPushNotifications, + + [Parameter()] + [System.Boolean] + $AllowUnsignedApplications, + + [Parameter()] + [System.Boolean] + $AllowUnsignedInstallationPackages, + + [Parameter()] + [System.Object] + $MaxPasswordFailedAttempts, + + [Parameter()] + [System.Boolean] + $AllowExternalDeviceManagement, + + [Parameter()] + [System.Boolean] + $AllowIrDA, + + [Parameter()] + [System.Boolean] + $AllowStorageCard, + + [Parameter()] + [System.Int32] + $PasswordHistory, + + [Parameter()] + [System.Boolean] + $AllowNonProvisionableDevices, + + [Parameter()] + [System.Object] + $UnapprovedInROMApplicationList, + + [Parameter()] + [System.Boolean] + $RequireEncryptedSMIMEMessages, + + [Parameter()] + [System.Boolean] + $RequireDeviceEncryption, + + [Parameter()] + [System.Boolean] + $AllowInternetSharing, + + [Parameter()] + [System.Boolean] + $PasswordEnabled, + + [Parameter()] + [System.Object] + $RequireSignedSMIMEAlgorithm, + + [Parameter()] + [System.Object] + $MaxEmailHTMLBodyTruncationSize, + + [Parameter()] + [System.Int32] + $MinPasswordComplexCharacters, + + [Parameter()] + [System.Boolean] + $UNCAccessEnabled, + + [Parameter()] + [System.Boolean] + $AllowCamera, + + [Parameter()] + [System.Boolean] + $IrmEnabled, + + [Parameter()] + [System.Object] + $PasswordExpiration, + + [Parameter()] + [System.Boolean] + $AllowBrowser, + + [Parameter()] + [System.Object] + $MaxEmailAgeFilter, + + [Parameter()] + [System.Boolean] + $RequireManualSyncWhenRoaming, + + [Parameter()] + [System.Boolean] + $AlphanumericPasswordRequired, + + [Parameter()] + [System.Object] + $AllowSMIMEEncryptionAlgorithmNegotiation, + + [Parameter()] + [System.Boolean] + $DeviceEncryptionEnabled, + + [Parameter()] + [System.Object] + $MaxEmailBodyTruncationSize, + + [Parameter()] + [System.Object] + $AllowBluetooth, + + [Parameter()] + [System.Object] + $RequireEncryptionSMIMEAlgorithm, + + [Parameter()] + [System.Object] + $DevicePolicyRefreshInterval, + + [Parameter()] + [System.Boolean] + $AllowGooglePushNotifications, + + [Parameter()] + [System.Boolean] + $AllowMobileOTAUpdate, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $MaxAttachmentSize, + + [Parameter()] + [System.Boolean] + $AllowSimplePassword, + + [Parameter()] + [System.Boolean] + $AllowConsumerEmail, + + [Parameter()] + [System.Boolean] + $AllowDesktopSync, + + [Parameter()] + [System.Boolean] + $PasswordRecoveryEnabled, + + [Parameter()] + [System.Boolean] + $RequireStorageCardEncryption, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AllowSMIMESoftCerts, + + [Parameter()] + [System.Boolean] + $AllowRemoteDesktop, + + [Parameter()] + [System.Boolean] + $AttachmentsEnabled, + + [Parameter()] + [System.Object] + $MaxCalendarAgeFilter, + + [Parameter()] + [System.Boolean] + $AllowWiFi, + + [Parameter()] + [System.Boolean] + $AllowApplePushNotifications, + + [Parameter()] + [System.Boolean] + $AllowPOPIMAPEmail, + + [Parameter()] + [System.Boolean] + $IsDefault, + + [Parameter()] + [System.Object] + $MaxInactivityTimeLock, + + [Parameter()] + [System.Object] + $ApprovedApplicationList, + + [Parameter()] + [System.Boolean] + $AllowTextMessaging, + + [Parameter()] + [System.Boolean] + $WSSAccessEnabled, + + [Parameter()] + [System.Boolean] + $RequireSignedSMIMEMessages, + + [Parameter()] + [System.Object] + $MinPasswordLength, + + [Parameter()] + [System.Boolean] + $AllowHTMLEmail, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Set-OfflineAddressBook +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $Versions, + + [Parameter()] + [System.Object] + $Schedule, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ApplyMandatoryProperties, + + [Parameter()] + [System.Boolean] + $ZipOabFilesBeforeUploading, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UpgradeFromE14, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Int32] + $FullOabDownloadPreventionThreshold, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $DiffRetentionPeriod, + + [Parameter()] + [System.Object[]] + $AddressLists, + + [Parameter()] + [System.Object] + $ConfiguredAttributes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UseDefaultAttributes, + + [Parameter()] + [System.Boolean] + $IsDefault + ) +} +function Set-OMEConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Double] + $ExternalMailExpiryInDays, + + [Parameter()] + [System.String] + $ReadButtonText, + + [Parameter()] + [System.String] + $PortalText, + + [Parameter()] + [System.Byte[]] + $Image, + + [Parameter()] + [System.String] + $IntroductionText, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $BackgroundColor, + + [Parameter()] + [System.String] + $DisclaimerText, + + [Parameter()] + [System.String] + $PrivacyStatementUrl, + + [Parameter()] + [System.Boolean] + $SocialIdSignIn, + + [Parameter()] + [System.String] + $EmailText, + + [Parameter()] + [System.Boolean] + $OTPEnabled, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Set-OnPremisesOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $InboundConnector, + + [Parameter()] + [System.Object] + $OutboundConnector, + + [Parameter()] + [System.String] + $OrganizationName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $OrganizationRelationship, + + [Parameter()] + [System.Object] + $HybridDomains + ) +} +function Set-Organization +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $UnifiedAuditLogIngestionEnabled + ) +} +function Set-OrganizationConfig +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $FindTimeLockPollForAttendeesEnabled, + + [Parameter()] + [System.Boolean] + $ConnectorsEnabledForYammer, + + [Parameter()] + [System.Boolean] + $PublicFolderShowClientControl, + + [Parameter()] + [System.Boolean] + $MailTipsGroupMetricsEnabled, + + [Parameter()] + [System.Object] + $PublicFoldersEnabled, + + [Parameter()] + [System.Boolean] + $ReadTrackingEnabled, + + [Parameter()] + [System.Boolean] + $ExchangeNotificationEnabled, + + [Parameter()] + [System.Boolean] + $BookingsNamingPolicyPrefixEnabled, + + [Parameter()] + [System.Boolean] + $MailTipsExternalRecipientsTipsEnabled, + + [Parameter()] + [System.Object] + $FocusedInboxOn, + + [Parameter()] + [System.Object] + $EwsApplicationAccessPolicy, + + [Parameter()] + [System.Boolean] + $OAuth2ClientProfileEnabled, + + [Parameter()] + [System.Boolean] + $MobileAppEducationEnabled, + + [Parameter()] + [System.Boolean] + $EnableOutlookEvents, + + [Parameter()] + [System.Boolean] + $BookingsExposureOfStaffDetailsRestricted, + + [Parameter()] + [System.Boolean] + $ElcProcessingDisabled, + + [Parameter()] + [System.Boolean] + $UnblockUnsafeSenderPromptEnabled, + + [Parameter()] + [System.Boolean] + $AutoEnableArchiveMailbox, + + [Parameter()] + [System.Boolean] + $HybridRSVPEnabled, + + [Parameter()] + [System.Boolean] + $RefreshSessionEnabled, + + [Parameter()] + [System.Boolean] + $SmtpActionableMessagesEnabled, + + [Parameter()] + [System.Boolean] + $ConnectorsEnabledForTeams, + + [Parameter()] + [System.Boolean] + $ComplianceMLBgdCrawlEnabled, + + [Parameter()] + [System.Boolean] + $MailTipsAllTipsEnabled, + + [Parameter()] + [System.Boolean] + $PostponeRoamingSignaturesUntilLater, + + [Parameter()] + [System.Object] + $RemotePublicFolderMailboxes, + + [Parameter()] + [System.Boolean] + $BlockMoveMessagesForGroupFolders, + + [Parameter()] + [System.Int32] + $DefaultMinutesToReduceShortEventsBy, + + [Parameter()] + [System.Object] + $EwsAllowEntourage, + + [Parameter()] + [System.Boolean] + $OutlookGifPickerDisabled, + + [Parameter()] + [System.Object] + $OnlineMeetingsByDefaultEnabled, + + [Parameter()] + [System.Boolean] + $ConnectorsEnabledForOutlook, + + [Parameter()] + [System.Object] + $DefaultPublicFolderProhibitPostQuota, + + [Parameter()] + [System.Object] + $ExchangeNotificationRecipients, + + [Parameter()] + [System.Boolean] + $MessageRemindersEnabled, + + [Parameter()] + [System.Boolean] + $DirectReportsGroupAutoCreationEnabled, + + [Parameter()] + [System.Boolean] + $AuditDisabled, + + [Parameter()] + [System.Boolean] + $BookingsAuthEnabled, + + [Parameter()] + [System.Boolean] + $OutlookMobileGCCRestrictionsEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $BookingsCreationOfCustomQuestionsRestricted, + + [Parameter()] + [System.Boolean] + $BookingsSmsMicrosoftEnabled, + + [Parameter()] + [System.Object] + $DefaultAuthenticationPolicy, + + [Parameter()] + [System.Boolean] + $WebPushNotificationsDisabled, + + [Parameter()] + [System.Boolean] + $ActivityBasedAuthenticationTimeoutEnabled, + + [Parameter()] + [System.Boolean] + $BookingsAddressEntryRestricted, + + [Parameter()] + [System.String] + $BookingsNamingPolicyPrefix, + + [Parameter()] + [System.Object] + $DefaultPublicFolderDeletedItemRetention, + + [Parameter()] + [System.Int32] + $PreferredInternetCodePageForShiftJis, + + [Parameter()] + [System.Object] + $ShortenEventScopeDefault, + + [Parameter()] + [System.Object] + $HierarchicalAddressBookRoot, + + [Parameter()] + [System.Boolean] + $IsAgendaMailEnabled, + + [Parameter()] + [System.Boolean] + $FindTimeOnlineMeetingOptionDisabled, + + [Parameter()] + [System.Object] + $EwsEnabled, + + [Parameter()] + [System.Boolean] + $FindTimeAttendeeAuthenticationEnabled, + + [Parameter()] + [System.Boolean] + $AutomaticForcedReadReceiptEnabled, + + [Parameter()] + [System.Boolean] + $LeanPopoutEnabled, + + [Parameter()] + [System.Object] + $DistributionGroupNameBlockedWordsList, + + [Parameter()] + [System.Int32] + $RequiredCharsetCoverage, + + [Parameter()] + [System.Boolean] + $AsyncSendEnabled, + + [Parameter()] + [System.Boolean] + $ConnectorsEnabledForSharepoint, + + [Parameter()] + [System.Boolean] + $BookingsBlockedWordsEnabled, + + [Parameter()] + [System.Boolean] + $ActivityBasedAuthenticationTimeoutWithSingleSignOnEnabled, + + [Parameter()] + [System.Boolean] + $WorkspaceTenantEnabled, + + [Parameter()] + [System.Boolean] + $BookingsNamingPolicyEnabled, + + [Parameter()] + [System.Object] + $DefaultPublicFolderAgeLimit, + + [Parameter()] + [System.String] + $VisibleMeetingUpdateProperties, + + [Parameter()] + [System.Boolean] + $OutlookPayEnabled, + + [Parameter()] + [System.UInt32] + $MailTipsLargeAudienceThreshold, + + [Parameter()] + [System.Object] + $DefaultGroupAccessType, + + [Parameter()] + [System.Boolean] + $CalendarVersionStoreEnabled, + + [Parameter()] + [System.Boolean] + $BookingsPaymentsEnabled, + + [Parameter()] + [System.Object] + $MessageRecallEnabled, + + [Parameter()] + [System.Boolean] + $MessageHighlightsEnabled, + + [Parameter()] + [System.Boolean] + $WebSuggestedRepliesDisabled, + + [Parameter()] + [System.Boolean] + $DisablePlusAddressInRecipients, + + [Parameter()] + [System.Object] + $DistributionGroupNamingPolicy, + + [Parameter()] + [System.Boolean] + $PublicComputersDetectionEnabled, + + [Parameter()] + [System.Boolean] + $BookingsSocialSharingRestricted, + + [Parameter()] + [System.String] + $BookingsNamingPolicySuffix, + + [Parameter()] + [System.Boolean] + $BookingsNamingPolicySuffixEnabled, + + [Parameter()] + [System.Boolean] + $BookingsMembershipApprovalRequired, + + [Parameter()] + [System.Boolean] + $IsGroupMemberAllowedToEditContent, + + [Parameter()] + [System.Object] + $DefaultPublicFolderMovedItemRetention, + + [Parameter()] + [System.Object] + $DistributionGroupDefaultOU, + + [Parameter()] + [System.Boolean] + $OutlookTextPredictionDisabled, + + [Parameter()] + [System.Boolean] + $SharedDomainEmailAddressFlowEnabled, + + [Parameter()] + [System.Boolean] + $ConnectorsActionableMessagesEnabled, + + [Parameter()] + [System.Boolean] + $MailTipsMailboxSourcedTipsEnabled, + + [Parameter()] + [System.Boolean] + $BookingsEnabled, + + [Parameter()] + [System.Boolean] + $EndUserDLUpgradeFlowsDisabled, + + [Parameter()] + [System.Object] + $RecallReadMessagesEnabled, + + [Parameter()] + [System.Boolean] + $BookingsPhoneNumberEntryRestricted, + + [Parameter()] + [System.Boolean] + $AppsForOfficeEnabled, + + [Parameter()] + [System.Boolean] + $EnableForwardingAddressSyncForMailboxes, + + [Parameter()] + [System.Object] + $EwsAllowOutlook, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AutoExpandingArchive, + + [Parameter()] + [System.Boolean] + $LinkPreviewEnabled, + + [Parameter()] + [System.Boolean] + $BookingsSearchEngineIndexDisabled, + + [Parameter()] + [System.Object] + $EwsAllowMacOutlook, + + [Parameter()] + [System.Object] + $EwsAllowList, + + [Parameter()] + [System.Object] + $DefaultPublicFolderMaxItemSize, + + [Parameter()] + [System.Boolean] + $MatchSenderOrganizerProperties, + + [Parameter()] + [System.Int32] + $DefaultMinutesToReduceLongEventsBy, + + [Parameter()] + [System.Object] + $IPListBlocked, + + [Parameter()] + [System.Boolean] + $BookingsNotesEntryRestricted, + + [Parameter()] + [System.Boolean] + $SendFromAliasEnabled, + + [Parameter()] + [System.Boolean] + $AutodiscoverPartialDirSync, + + [Parameter()] + [System.Object] + $ActivityBasedAuthenticationTimeoutInterval, + + [Parameter()] + [System.Boolean] + $OutlookMobileSingleAccountEnabled, + + [Parameter()] + [System.Boolean] + $IsGroupFoldersAndRulesEnabled, + + [Parameter()] + [System.Boolean] + $MaskClientIpInReceivedHeadersEnabled, + + [Parameter()] + [System.Boolean] + $PerTenantSwitchToESTSEnabled, + + [Parameter()] + [System.Boolean] + $ConnectorsEnabled, + + [Parameter()] + [System.Object] + $EwsBlockList, + + [Parameter()] + [System.Boolean] + $CustomerLockboxEnabled, + + [Parameter()] + [System.Boolean] + $OutlookMobileHelpShiftEnabled, + + [Parameter()] + [System.Uri] + $SiteMailboxCreationURL, + + [Parameter()] + [System.Int32] + $ByteEncoderTypeFor7BitCharsets, + + [Parameter()] + [System.Boolean] + $FindTimeAutoScheduleDisabled, + + [Parameter()] + [System.Object] + $DefaultPublicFolderIssueWarningQuota + ) +} +function Set-OrganizationRelationship +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $MailTipsAccessLevel, + + [Parameter()] + [System.Uri] + $TargetAutodiscoverEpr, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $FreeBusyAccessScope, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Boolean] + $DeliveryReportEnabled, + + [Parameter()] + [System.String] + $OAuthApplicationId, + + [Parameter()] + [System.Boolean] + $MailTipsAccessEnabled, + + [Parameter()] + [System.Boolean] + $ArchiveAccessEnabled, + + [Parameter()] + [System.Boolean] + $FreeBusyAccessEnabled, + + [Parameter()] + [System.Object] + $MailTipsAccessScope, + + [Parameter()] + [System.Uri] + $TargetOwaURL, + + [Parameter()] + [System.Uri] + $TargetApplicationUri, + + [Parameter()] + [System.Object] + $OrganizationContact, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $MailboxMovePublishedScopes, + + [Parameter()] + [System.Boolean] + $MailboxMoveEnabled, + + [Parameter()] + [System.Object] + $MailboxMoveCapability, + + [Parameter()] + [System.Uri] + $TargetSharingEpr, + + [Parameter()] + [System.Object] + $FreeBusyAccessLevel, + + [Parameter()] + [System.Object] + $DomainNames, + + [Parameter()] + [System.Boolean] + $PhotosEnabled + ) +} +function Set-OutboundConnector +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $RouteAllMessagesViaOnPremises, + + [Parameter()] + [System.Object] + $RecipientDomains, + + [Parameter()] + [System.Boolean] + $CloudServicesMailEnabled, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Boolean] + $AllAcceptedDomains, + + [Parameter()] + [System.Object] + $TlsDomain, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Boolean] + $IsTransportRuleScoped, + + [Parameter()] + [System.Boolean] + $IsValidated, + + [Parameter()] + [System.Boolean] + $UseMXRecord, + + [Parameter()] + [System.Object] + $LastValidationTimestamp, + + [Parameter()] + [System.Object] + $TlsSettings, + + [Parameter()] + [System.String[]] + $ValidationRecipients, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $ConnectorType, + + [Parameter()] + [System.Object] + $SmartHosts, + + [Parameter()] + [System.Boolean] + $SenderRewritingEnabled, + + [Parameter()] + [System.Boolean] + $TestMode, + + [Parameter()] + [System.Object] + $ConnectorSource + ) +} +function Set-OwaMailboxPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Int32] + $DefaultClientLanguage, + + [Parameter()] + [System.Boolean] + $ContactsEnabled, + + [Parameter()] + [System.Boolean] + $PersonalAccountCalendarsEnabled, + + [Parameter()] + [System.Boolean] + $MessagePreviewsDisabled, + + [Parameter()] + [System.Boolean] + $ExplicitLogonEnabled, + + [Parameter()] + [System.Boolean] + $ShowOnlineArchiveEnabled, + + [Parameter()] + [System.Object] + $BlockedFileTypes, + + [Parameter()] + [System.Boolean] + $NpsSurveysEnabled, + + [Parameter()] + [System.Boolean] + $LinkedInEnabled, + + [Parameter()] + [System.Object] + $ConditionalAccessPolicy, + + [Parameter()] + [System.String[]] + $AllowedOrganizationAccountDomains, + + [Parameter()] + [System.Boolean] + $ChangePasswordEnabled, + + [Parameter()] + [System.String] + $BookingsMailboxDomain, + + [Parameter()] + [System.Boolean] + $AdditionalStorageProvidersAvailable, + + [Parameter()] + [System.Boolean] + $WacViewingOnPublicComputersEnabled, + + [Parameter()] + [System.Boolean] + $OutlookBetaToggleEnabled, + + [Parameter()] + [System.Boolean] + $SMimeSuppressNameChecksEnabled, + + [Parameter()] + [System.Object] + $ActionForUnknownFileAndMIMETypes, + + [Parameter()] + [System.String] + $ExternalSPMySiteHostURL, + + [Parameter()] + [System.Boolean] + $OfflineEnabledWeb, + + [Parameter()] + [System.Object] + $ForceSaveMimeTypes, + + [Parameter()] + [System.Boolean] + $CalendarEnabled, + + [Parameter()] + [System.Boolean] + $SpellCheckerEnabled, + + [Parameter()] + [System.Boolean] + $DisplayPhotosEnabled, + + [Parameter()] + [System.Boolean] + $TasksEnabled, + + [Parameter()] + [System.Boolean] + $GroupCreationEnabled, + + [Parameter()] + [System.Object] + $ForceSaveFileTypes, + + [Parameter()] + [System.Object] + $ChangeSettingsAccountEnabled, + + [Parameter()] + [System.Object] + $AdditionalAccountsEnabled, + + [Parameter()] + [System.Boolean] + $TeamsnapCalendarsEnabled, + + [Parameter()] + [System.Boolean] + $WacViewingOnPrivateComputersEnabled, + + [Parameter()] + [System.Boolean] + $TextMessagingEnabled, + + [Parameter()] + [System.Boolean] + $SearchFoldersEnabled, + + [Parameter()] + [System.Boolean] + $UserVoiceEnabled, + + [Parameter()] + [System.Boolean] + $ForceWacViewingFirstOnPublicComputers, + + [Parameter()] + [System.Boolean] + $GlobalAddressListEnabled, + + [Parameter()] + [System.Boolean] + $IRMEnabled, + + [Parameter()] + [System.Boolean] + $DirectFileAccessOnPublicComputersEnabled, + + [Parameter()] + [System.Boolean] + $WacOMEXEnabled, + + [Parameter()] + [System.Boolean] + $DirectFileAccessOnPrivateComputersEnabled, + + [Parameter()] + [System.Boolean] + $JournalEnabled, + + [Parameter()] + [System.Boolean] + $OfflineEnabledWin, + + [Parameter()] + [System.Object] + $ItemsToOtherAccountsEnabled, + + [Parameter()] + [System.Boolean] + $WSSAccessOnPublicComputersEnabled, + + [Parameter()] + [System.Boolean] + $SignaturesEnabled, + + [Parameter()] + [System.Boolean] + $OnSendAddinsEnabled, + + [Parameter()] + [System.Boolean] + $WacExternalServicesEnabled, + + [Parameter()] + [System.String] + $InternalSPMySiteHostURL, + + [Parameter()] + [System.Boolean] + $RemindersAndNotificationsEnabled, + + [Parameter()] + [System.Boolean] + $SatisfactionEnabled, + + [Parameter()] + [System.Boolean] + $OWALightEnabled, + + [Parameter()] + [System.Object] + $InstantMessagingType, + + [Parameter()] + [System.Boolean] + $ActiveSyncIntegrationEnabled, + + [Parameter()] + [System.Object] + $PersonalAccountsEnabled, + + [Parameter()] + [System.String] + $DefaultTheme, + + [Parameter()] + [System.Boolean] + $SetPhotoEnabled, + + [Parameter()] + [System.Boolean] + $ClassicAttachmentsEnabled, + + [Parameter()] + [System.Boolean] + $ForceWacViewingFirstOnPrivateComputers, + + [Parameter()] + [System.Object] + $AllowedMimeTypes, + + [Parameter()] + [System.Boolean] + $AllowCopyContactsToDeviceAddressBook, + + [Parameter()] + [System.Object] + $OutboundCharset, + + [Parameter()] + [System.Boolean] + $PlacesEnabled, + + [Parameter()] + [System.Boolean] + $ReportJunkEmailEnabled, + + [Parameter()] + [System.Boolean] + $UseISO885915, + + [Parameter()] + [System.Boolean] + $RecoverDeletedItemsEnabled, + + [Parameter()] + [System.Boolean] + $NotesEnabled, + + [Parameter()] + [System.Boolean] + $OrganizationEnabled, + + [Parameter()] + [System.Object] + $WebPartsFrameOptionsType, + + [Parameter()] + [System.String] + $SetPhotoURL, + + [Parameter()] + [System.Boolean] + $WacEditingEnabled, + + [Parameter()] + [System.Boolean] + $PublicFoldersEnabled, + + [Parameter()] + [System.Boolean] + $BookingsMailboxCreationEnabled, + + [Parameter()] + [System.Boolean] + $ForceSaveAttachmentFilteringEnabled, + + [Parameter()] + [System.Int32] + $LogonAndErrorLanguage, + + [Parameter()] + [System.Boolean] + $WSSAccessOnPrivateComputersEnabled, + + [Parameter()] + [System.Boolean] + $AllAddressListsEnabled, + + [Parameter()] + [System.Boolean] + $EmptyStateEnabled, + + [Parameter()] + [System.Boolean] + $ProjectMocaEnabled, + + [Parameter()] + [System.Boolean] + $DelegateAccessEnabled, + + [Parameter()] + [System.Boolean] + $PremiumClientEnabled, + + [Parameter()] + [System.Object] + $BlockedMimeTypes, + + [Parameter()] + [System.Boolean] + $UMIntegrationEnabled, + + [Parameter()] + [System.Boolean] + $FeedbackEnabled, + + [Parameter()] + [System.Boolean] + $SilverlightEnabled, + + [Parameter()] + [System.Boolean] + $WeatherEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsDefault, + + [Parameter()] + [System.Boolean] + $UseGB18030, + + [Parameter()] + [System.Object] + $AllowOfflineOn, + + [Parameter()] + [System.Object] + $AllowedFileTypes, + + [Parameter()] + [System.Boolean] + $ExternalImageProxyEnabled, + + [Parameter()] + [System.Boolean] + $RulesEnabled, + + [Parameter()] + [System.Object] + $OneWinNativeOutlookEnabled, + + [Parameter()] + [System.Boolean] + $FreCardsEnabled, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Boolean] + $ThemeSelectionEnabled, + + [Parameter()] + [System.Boolean] + $InstantMessagingEnabled, + + [Parameter()] + [System.Boolean] + $LocalEventsEnabled, + + [Parameter()] + [System.Boolean] + $InterestingCalendarsEnabled, + + [Parameter()] + [System.Boolean] + $BizBarEnabled, + + [Parameter()] + [System.Boolean] + $OneDriveAttachmentsEnabled, + + [Parameter()] + [System.Boolean] + $PrintWithoutDownloadEnabled, + + [Parameter()] + [System.Boolean] + $SaveAttachmentsToCloudEnabled, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $PhoneticSupportEnabled, + + [Parameter()] + [System.Boolean] + $SkipCreateUnifiedGroupCustomSharepointClassification, + + [Parameter()] + [System.Boolean] + $ReferenceAttachmentsEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableFacebook + ) +} +function Set-PartnerApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ApplicationIdentifier, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $LinkedAccount, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AcceptSecurityIdentifierInformation, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String[]] + $ActAsPermissions, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Object] + $AccountType + ) +} +function Set-PerimeterConfig +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $GatewayIPAddresses + ) +} +function Set-Place +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $PostalCode, + + [Parameter()] + [System.String] + $Phone, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $CountryOrRegion, + + [Parameter()] + [System.String] + $ParentId, + + [Parameter()] + [System.String] + $Street, + + [Parameter()] + [System.Boolean] + $IsWheelChairAccessible, + + [Parameter()] + [System.String] + $AudioDeviceName, + + [Parameter()] + [System.String] + $DisplayDeviceName, + + [Parameter()] + [System.Object[]] + $Desks, + + [Parameter()] + [System.String] + $Building, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.String] + $City, + + [Parameter()] + [System.Object] + $Floor, + + [Parameter()] + [System.Object] + $ParentType, + + [Parameter()] + [System.String] + $VideoDeviceName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String[]] + $Tags, + + [Parameter()] + [System.String] + $FloorLabel, + + [Parameter()] + [System.Object] + $Capacity, + + [Parameter()] + [System.String] + $Label, + + [Parameter()] + [System.Object] + $GeoCoordinates, + + [Parameter()] + [System.Boolean] + $MTREnabled + ) +} +function Set-PolicyTipConfig +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Value, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Set-QuarantinePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $MultiLanguageCustomDisclaimer, + + [Parameter()] + [System.Object] + $AdminNotificationLanguage, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String] + $EndUserSpamNotificationCustomFromAddress, + + [Parameter()] + [System.Int32] + $EndUserSpamNotificationFrequencyInDays, + + [Parameter()] + [System.String] + $CustomDisclaimer, + + [Parameter()] + [System.Int32] + $EndUserQuarantinePermissionsValue, + + [Parameter()] + [System.Boolean] + $ESNEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IgnoreDehydratedFlag, + + [Parameter()] + [System.Object] + $EndUserQuarantinePermissions, + + [Parameter()] + [System.Boolean] + $AdminNotificationsEnabled, + + [Parameter()] + [System.Object] + $EndUserSpamNotificationLanguage, + + [Parameter()] + [System.Object] + $DomainController, + + [Parameter()] + [System.Object] + $MultiLanguageSenderName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $AdminQuarantinePermissionsList, + + [Parameter()] + [System.Object] + $MultiLanguageSetting, + + [Parameter()] + [System.TimeSpan] + $EndUserSpamNotificationFrequency, + + [Parameter()] + [System.Int32] + $QuarantineRetentionDays, + + [Parameter()] + [System.Object] + $EsnCustomSubject, + + [Parameter()] + [System.Boolean] + $OrganizationBrandingEnabled, + + [Parameter()] + [System.Int32] + $AdminNotificationFrequencyInDays + ) +} +function Set-RemoteDomain +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AutoReplyEnabled, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $TNEFEnabled, + + [Parameter()] + [System.Boolean] + $DeliveryReportEnabled, + + [Parameter()] + [System.Object] + $RequiredCharsetCoverage, + + [Parameter()] + [System.Boolean] + $MeetingForwardNotificationEnabled, + + [Parameter()] + [System.Object] + $ContentType, + + [Parameter()] + [System.Object] + $ByteEncoderTypeFor7BitCharsets, + + [Parameter()] + [System.Boolean] + $AutoForwardEnabled, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Boolean] + $TrustedMailInboundEnabled, + + [Parameter()] + [System.Object] + $LineWrapSize, + + [Parameter()] + [System.String] + $CharacterSet, + + [Parameter()] + [System.Object] + $PreferredInternetCodePageForShiftJis, + + [Parameter()] + [System.Boolean] + $SmtpDaneMandatoryModeEnabled, + + [Parameter()] + [System.String] + $NonMimeCharacterSet, + + [Parameter()] + [System.Boolean] + $TargetDeliveryDomain, + + [Parameter()] + [System.Boolean] + $TrustedMailOutboundEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $DisplaySenderName, + + [Parameter()] + [System.Object] + $AllowedOOFType, + + [Parameter()] + [System.Boolean] + $NDREnabled, + + [Parameter()] + [System.Boolean] + $NDRDiagnosticInfoEnabled, + + [Parameter()] + [System.Boolean] + $IsInternal, + + [Parameter()] + [System.Boolean] + $UseSimpleDisplayName + ) +} +function Set-ReportSubmissionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $PostSubmitMessage, + + [Parameter()] + [System.Object] + $ReportJunkAddresses, + + [Parameter()] + [System.Boolean] + $NotificationsForPhishMalwareSubmissionAirInvestigationsEnabled, + + [Parameter()] + [System.String] + $PhishingReviewResultMessage, + + [Parameter()] + [System.String] + $PostSubmitMessageTitle, + + [Parameter()] + [System.String[]] + $MultiLanguagePreSubmitMessageButtonTextForNotJunk, + + [Parameter()] + [System.Boolean] + $EnableCustomizedMsg, + + [Parameter()] + [System.Object] + $NotificationSenderAddress, + + [Parameter()] + [System.String[]] + $MultiLanguagePostSubmitMessageButtonTextForJunk, + + [Parameter()] + [System.Boolean] + $NotificationsForSpamSubmissionAirInvestigationsEnabled, + + [Parameter()] + [System.String] + $PostSubmitMessageForJunk, + + [Parameter()] + [System.String[]] + $MultiLanguagePostSubmitMessageForPhishing, + + [Parameter()] + [System.Boolean] + $EnableThirdPartyAddress, + + [Parameter()] + [System.String] + $PreSubmitMessageTitleForPhishing, + + [Parameter()] + [System.String] + $PreSubmitMessageForJunk, + + [Parameter()] + [System.Int32] + $UserSubmissionOptions, + + [Parameter()] + [System.String[]] + $MultiLanguagePostSubmitMessageButtonTextForPhishing, + + [Parameter()] + [System.String] + $PreSubmitMessageForNotJunk, + + [Parameter()] + [System.String[]] + $MultiLanguagePostSubmitMessageTitleForPhishing, + + [Parameter()] + [System.String[]] + $MultiLanguagePreSubmitMessageTitleForNotJunk, + + [Parameter()] + [System.String[]] + $MultiLanguagePreSubmitMessageButtonTextForJunk, + + [Parameter()] + [System.String[]] + $MultiLanguagePreSubmitMessageForNotJunk, + + [Parameter()] + [System.Boolean] + $ReportJunkToCustomizedAddress, + + [Parameter()] + [System.String[]] + $MultiLanguagePostSubmitMessageButtonLinkForPhishing, + + [Parameter()] + [System.Boolean] + $ReportNotJunkToCustomizedAddress, + + [Parameter()] + [System.String] + $PostSubmitMessageTitleForJunk, + + [Parameter()] + [System.String[]] + $MultiLanguagePreSubmitMessageForPhishing, + + [Parameter()] + [System.String] + $NotificationFooterMessage, + + [Parameter()] + [System.Boolean] + $EnableOrganizationBranding, + + [Parameter()] + [System.String] + $PreSubmitMessageForPhishing, + + [Parameter()] + [System.String[]] + $MultiLanguagePreSubmitMessageButtonLinkForNotJunk, + + [Parameter()] + [System.String[]] + $MultiLanguagePreSubmitMessageButtonLinkForPhishing, + + [Parameter()] + [System.Boolean] + $EnableReportToMicrosoft, + + [Parameter()] + [System.String] + $PreSubmitMessageTitleForJunk, + + [Parameter()] + [System.Boolean] + $ReportChatMessageEnabled, + + [Parameter()] + [System.Object] + $ThirdPartyReportAddresses, + + [Parameter()] + [System.String[]] + $MultiLanguagePreSubmitMessageButtonLinkForJunk, + + [Parameter()] + [System.Boolean] + $NotificationsForCleanSubmissionAirInvestigationsEnabled, + + [Parameter()] + [System.String] + $PostSubmitMessageForNotJunk, + + [Parameter()] + [System.Object] + $MultiLanguageSetting, + + [Parameter()] + [System.String[]] + $MultiLanguagePostSubmitMessageForJunk, + + [Parameter()] + [System.Boolean] + $DisableQuarantineReportingOption, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $ReportNotJunkAddresses, + + [Parameter()] + [System.Boolean] + $EnableUserEmailNotification, + + [Parameter()] + [System.String[]] + $MultiLanguagePreSubmitMessageForJunk, + + [Parameter()] + [System.String] + $PostSubmitMessageTitleForPhishing, + + [Parameter()] + [System.String[]] + $MultiLanguagePreSubmitMessageTitleForJunk, + + [Parameter()] + [System.Boolean] + $DisableUserSubmissionOptions, + + [Parameter()] + [System.Boolean] + $OnlyShowPhishingDisclaimer, + + [Parameter()] + [System.String] + $PostSubmitMessageTitleForNotJunk, + + [Parameter()] + [System.String] + $PreSubmitMessage, + + [Parameter()] + [System.String] + $PreSubmitMessageTitleForNotJunk, + + [Parameter()] + [System.String] + $JunkReviewResultMessage, + + [Parameter()] + [System.Boolean] + $EnableCustomNotificationSender, + + [Parameter()] + [System.Boolean] + $ReportChatMessageToCustomizedAddressEnabled, + + [Parameter()] + [System.Object] + $ReportPhishAddresses, + + [Parameter()] + [System.String[]] + $MultiLanguagePostSubmitMessageTitleForJunk, + + [Parameter()] + [System.String] + $NotJunkReviewResultMessage, + + [Parameter()] + [System.Boolean] + $NotificationsForSubmissionAirInvestigationsEnabled, + + [Parameter()] + [System.Boolean] + $PreSubmitMessageEnabled, + + [Parameter()] + [System.Boolean] + $PostSubmitMessageEnabled, + + [Parameter()] + [System.String] + $PreSubmitMessageTitle, + + [Parameter()] + [System.String[]] + $MultiLanguagePreSubmitMessageTitleForPhishing, + + [Parameter()] + [System.String[]] + $MultiLanguagePreSubmitMessageButtonTextForPhishing, + + [Parameter()] + [System.String] + $UserSubmissionOptionsMessage, + + [Parameter()] + [System.String] + $PostSubmitMessageForPhishing, + + [Parameter()] + [System.String[]] + $MultiLanguagePostSubmitMessageButtonLinkForJunk, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $ReportPhishToCustomizedAddress + ) +} +function Set-ReportSubmissionRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object[]] + $SentTo, + + [Parameter()] + [System.String] + $Comments, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $ReportSubmissionPolicy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Set-ResourceConfig +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $ResourcePropertySchema + ) +} +function Set-RoleAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsDefault, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Set-RoleGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $WellKnownObject, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BypassSecurityGroupManagerCheck, + + [Parameter()] + [System.Object] + $ManagedBy + ) +} +function Set-SafeAttachmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Action, + + [Parameter()] + [System.Boolean] + $Redirect, + + [Parameter()] + [System.String] + $AdminDisplayName, + + [Parameter()] + [System.Boolean] + $Enable, + + [Parameter()] + [System.Object] + $RedirectAddress, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String] + $QuarantineTag + ) +} +function Set-SafeAttachmentRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object[]] + $SentToMemberOf, + + [Parameter()] + [System.Object[]] + $SentTo, + + [Parameter()] + [System.String] + $Comments, + + [Parameter()] + [System.Object[]] + $RecipientDomainIs, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $SafeAttachmentPolicy, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Object[]] + $ExceptIfSentTo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf + ) +} +function Set-SafeLinksPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $EnableOrganizationBranding, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String] + $AdminDisplayName, + + [Parameter()] + [System.Boolean] + $UseTranslatedNotificationText, + + [Parameter()] + [System.Boolean] + $DisableUrlRewrite, + + [Parameter()] + [System.Object] + $DoNotRewriteUrls, + + [Parameter()] + [System.Boolean] + $EnableSafeLinksForTeams, + + [Parameter()] + [System.Boolean] + $EnableSafeLinksForOffice, + + [Parameter()] + [System.Boolean] + $TrackClicks, + + [Parameter()] + [System.Boolean] + $AllowClickThrough, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $CustomNotificationText, + + [Parameter()] + [System.Boolean] + $DeliverMessageAfterScan, + + [Parameter()] + [System.Boolean] + $EnableSafeLinksForEmail, + + [Parameter()] + [System.Boolean] + $ScanUrls, + + [Parameter()] + [System.Boolean] + $EnableForInternalSenders + ) +} +function Set-SafeLinksRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object[]] + $SentToMemberOf, + + [Parameter()] + [System.Object[]] + $SentTo, + + [Parameter()] + [System.String] + $Comments, + + [Parameter()] + [System.Object[]] + $RecipientDomainIs, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Object] + $SafeLinksPolicy, + + [Parameter()] + [System.Object[]] + $ExceptIfSentTo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf + ) +} +function Set-SharingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Domains, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Default, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $Enabled + ) +} +function Set-TransportConfig +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $InternalDelayDsnEnabled, + + [Parameter()] + [System.Boolean] + $InternalDsnSendHtml, + + [Parameter()] + [System.Boolean] + $ExternalDelayDsnEnabled, + + [Parameter()] + [System.Object] + $DSNConversionMode, + + [Parameter()] + [System.Boolean] + $SmtpClientAuthenticationDisabled, + + [Parameter()] + [System.Globalization.CultureInfo] + $InternalDsnDefaultLanguage, + + [Parameter()] + [System.Object] + $MessageExpiration, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Boolean] + $ReplyAllStormProtectionEnabled, + + [Parameter()] + [System.Boolean] + $InternalDsnLanguageDetectionEnabled, + + [Parameter()] + [System.Boolean] + $AddressBookPolicyRoutingEnabled, + + [Parameter()] + [System.Boolean] + $ExternalDsnLanguageDetectionEnabled, + + [Parameter()] + [System.Boolean] + $ExternalDsnSendHtml, + + [Parameter()] + [System.Boolean] + $Rfc2231EncodingEnabled, + + [Parameter()] + [System.Object] + $HeaderPromotionModeSetting, + + [Parameter()] + [System.Boolean] + $VoicemailJournalingEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $JournalingReportNdrTo, + + [Parameter()] + [System.Boolean] + $ConvertDisclaimerWrapperToEml, + + [Parameter()] + [System.Object] + $InternalDsnReportingAuthority, + + [Parameter()] + [System.Int32] + $JournalMessageExpirationDays, + + [Parameter()] + [System.Object] + $MaxRecipientEnvelopeLimit, + + [Parameter()] + [System.Int32] + $ReplyAllStormDetectionMinimumReplies, + + [Parameter()] + [System.Object] + $ExternalDsnReportingAuthority, + + [Parameter()] + [System.Globalization.CultureInfo] + $ExternalDsnDefaultLanguage, + + [Parameter()] + [System.Object] + $AllowLegacyTLSClients, + + [Parameter()] + [System.Boolean] + $ClearCategories, + + [Parameter()] + [System.Int32] + $ReplyAllStormBlockDurationHours, + + [Parameter()] + [System.Object] + $ExternalPostmasterAddress, + + [Parameter()] + [System.Int32] + $ReplyAllStormDetectionMinimumRecipients + ) +} +function Set-TransportRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $ActivationDate, + + [Parameter()] + [System.Object[]] + $AddToRecipients, + + [Parameter()] + [System.Object] + $ApplyHtmlDisclaimerFallbackAction, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientADAttributeContainsWords, + + [Parameter()] + [System.Object] + $AttachmentSizeOver, + + [Parameter()] + [System.Object[]] + $ExceptIfSenderADAttributeContainsWords, + + [Parameter()] + [System.Object] + $SetSCL, + + [Parameter()] + [System.Object[]] + $AnyOfToHeaderMemberOf, + + [Parameter()] + [System.Boolean] + $Disconnect, + + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfCcHeader, + + [Parameter()] + [System.Object[]] + $ExceptIfAttachmentMatchesPatterns, + + [Parameter()] + [System.Object[]] + $RecipientDomainIs, + + [Parameter()] + [System.Object] + $ManagerForEvaluatedUser, + + [Parameter()] + [System.Object[]] + $ExceptIfHeaderMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfFromScope, + + [Parameter()] + [System.Object] + $AdComparisonAttribute, + + [Parameter()] + [System.Object[]] + $ExceptIfHeaderContainsWords, + + [Parameter()] + [System.Object[]] + $HeaderMatchesPatterns, + + [Parameter()] + [System.Object] + $AddManagerAsRecipientType, + + [Parameter()] + [System.Boolean] + $DeleteMessage, + + [Parameter()] + [System.Boolean] + $HasSenderOverride, + + [Parameter()] + [System.Object] + $SmtpRejectMessageRejectStatusCode, + + [Parameter()] + [System.String] + $ExceptIfHasClassification, + + [Parameter()] + [System.Boolean] + $Quarantine, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientInSenderList, + + [Parameter()] + [System.Object] + $RecipientAddressType, + + [Parameter()] + [System.Object[]] + $ExceptIfContentCharacterSetContainsWords, + + [Parameter()] + [System.Object[]] + $BlindCopyTo, + + [Parameter()] + [System.Object] + $ApplyHtmlDisclaimerLocation, + + [Parameter()] + [System.Object] + $ExceptIfMessageTypeMatches, + + [Parameter()] + [System.Object] + $SenderIpRanges, + + [Parameter()] + [System.Collections.Hashtable[]] + $ExceptIfMessageContainsDataClassifications, + + [Parameter()] + [System.Object[]] + $ModerateMessageByUser, + + [Parameter()] + [System.Boolean] + $HasNoClassification, + + [Parameter()] + [System.Object[]] + $ExceptIfSenderInRecipientList, + + [Parameter()] + [System.Object] + $HeaderContainsMessageHeader, + + [Parameter()] + [System.Object] + $RemoveHeader, + + [Parameter()] + [System.String] + $HasClassification, + + [Parameter()] + [System.Collections.Hashtable[]] + $MessageContainsDataClassifications, + + [Parameter()] + [System.Object[]] + $ExceptIfFromMemberOf, + + [Parameter()] + [System.Object] + $RuleSubType, + + [Parameter()] + [System.Object[]] + $AnyOfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $SentToScope, + + [Parameter()] + [System.Object[]] + $AnyOfToCcHeaderMemberOf, + + [Parameter()] + [System.Object[]] + $From, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfRecipientAddressContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfWithImportance, + + [Parameter()] + [System.Object[]] + $ContentCharacterSetContainsWords, + + [Parameter()] + [System.Object[]] + $SubjectContainsWords, + + [Parameter()] + [System.Object] + $RejectMessageEnhancedStatusCode, + + [Parameter()] + [System.Object[]] + $SenderADAttributeMatchesPatterns, + + [Parameter()] + [System.Object[]] + $ExceptIfSenderADAttributeMatchesPatterns, + + [Parameter()] + [System.Object[]] + $IncidentReportContent, + + [Parameter()] + [System.Object[]] + $FromMemberOf, + + [Parameter()] + [System.Object[]] + $AttachmentContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfSCLOver, + + [Parameter()] + [System.Object[]] + $ExceptIfBetweenMemberOf1, + + [Parameter()] + [System.Object] + $GenerateNotification, + + [Parameter()] + [System.Object] + $NotifySender, + + [Parameter()] + [System.Boolean] + $ExceptIfAttachmentIsPasswordProtected, + + [Parameter()] + [System.Object[]] + $ExceptIfAttachmentNameMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfSenderManagementRelationship, + + [Parameter()] + [System.String] + $SetAuditSeverity, + + [Parameter()] + [System.Object[]] + $AttachmentPropertyContainsWords, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfToHeader, + + [Parameter()] + [System.Object] + $ApplyRightsProtectionCustomizationTemplate, + + [Parameter()] + [System.Object] + $SetHeaderName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $RouteMessageOutboundRequireTls, + + [Parameter()] + [System.Object] + $WithImportance, + + [Parameter()] + [System.Object] + $RuleErrorAction, + + [Parameter()] + [System.Object] + $FromScope, + + [Parameter()] + [System.Object[]] + $AttachmentNameMatchesPatterns, + + [Parameter()] + [System.Object[]] + $SentTo, + + [Parameter()] + [System.Object[]] + $ExceptIfFromAddressMatchesPatterns, + + [Parameter()] + [System.Object[]] + $AnyOfCcHeaderMemberOf, + + [Parameter()] + [System.Object] + $ExceptIfAttachmentSizeOver, + + [Parameter()] + [System.Object] + $ExceptIfManagerForEvaluatedUser, + + [Parameter()] + [System.Boolean] + $RemoveOMEv2, + + [Parameter()] + [System.Object[]] + $ExceptIfFromAddressContainsWords, + + [Parameter()] + [System.Boolean] + $AttachmentHasExecutableContent, + + [Parameter()] + [System.Object] + $RouteMessageOutboundConnector, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Object[]] + $ExceptIfSenderDomainIs, + + [Parameter()] + [System.Object] + $SenderManagementRelationship, + + [Parameter()] + [System.Object[]] + $ExceptIfBetweenMemberOf2, + + [Parameter()] + [System.Object[]] + $RedirectMessageTo, + + [Parameter()] + [System.Boolean] + $ApplyOME, + + [Parameter()] + [System.Object[]] + $SenderDomainIs, + + [Parameter()] + [System.Object[]] + $SenderADAttributeContainsWords, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfCcHeaderMemberOf, + + [Parameter()] + [System.Object] + $ApplyHtmlDisclaimerText, + + [Parameter()] + [System.Boolean] + $ExceptIfAttachmentHasExecutableContent, + + [Parameter()] + [System.Boolean] + $ExceptIfAttachmentIsUnsupported, + + [Parameter()] + [System.Boolean] + $RemoveOME, + + [Parameter()] + [System.Object] + $RejectMessageReasonText, + + [Parameter()] + [System.Object[]] + $RecipientAddressContainsWords, + + [Parameter()] + [System.Object] + $GenerateIncidentReport, + + [Parameter()] + [System.Object[]] + $FromAddressContainsWords, + + [Parameter()] + [System.Boolean] + $RemoveRMSAttachmentEncryption, + + [Parameter()] + [System.Object[]] + $RecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object[]] + $ExceptIfSubjectContainsWords, + + [Parameter()] + [System.Object[]] + $ExceptIfFrom, + + [Parameter()] + [System.Object[]] + $AnyOfToCcHeader, + + [Parameter()] + [System.Object] + $ExceptIfSentToScope, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfToCcHeaderMemberOf, + + [Parameter()] + [System.Boolean] + $ModerateMessageByManager, + + [Parameter()] + [System.Object] + $AdComparisonOperator, + + [Parameter()] + [System.Object] + $MessageSizeOver, + + [Parameter()] + [System.Object[]] + $BetweenMemberOf2, + + [Parameter()] + [System.Object[]] + $SubjectMatchesPatterns, + + [Parameter()] + [System.Boolean] + $AttachmentProcessingLimitExceeded, + + [Parameter()] + [System.Object[]] + $ExceptIfSubjectMatchesPatterns, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientAddressContainsWords, + + [Parameter()] + [System.Object] + $HeaderMatchesMessageHeader, + + [Parameter()] + [System.Object[]] + $AnyOfRecipientAddressContainsWords, + + [Parameter()] + [System.Object[]] + $HeaderContainsWords, + + [Parameter()] + [System.String] + $Comments, + + [Parameter()] + [System.Object[]] + $SentToMemberOf, + + [Parameter()] + [System.Object] + $ExceptIfAdComparisonAttribute, + + [Parameter()] + [System.Object[]] + $ExceptIfSentTo, + + [Parameter()] + [System.Object] + $ExceptIfAdComparisonOperator, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfToHeaderMemberOf, + + [Parameter()] + [System.Object] + $Mode, + + [Parameter()] + [System.Object[]] + $RecipientInSenderList, + + [Parameter()] + [System.Object[]] + $SubjectOrBodyMatchesPatterns, + + [Parameter()] + [System.Object[]] + $ExceptIfAttachmentExtensionMatchesWords, + + [Parameter()] + [System.Object[]] + $ExceptIfSubjectOrBodyMatchesPatterns, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Boolean] + $ExceptIfHasNoClassification, + + [Parameter()] + [System.Object] + $ExceptIfSenderIpRanges, + + [Parameter()] + [System.Object[]] + $ExceptIfRecipientADAttributeMatchesPatterns, + + [Parameter()] + [System.Object[]] + $RecipientADAttributeContainsWords, + + [Parameter()] + [System.Boolean] + $AttachmentIsUnsupported, + + [Parameter()] + [System.Object] + $ExpiryDate, + + [Parameter()] + [System.Object[]] + $AttachmentExtensionMatchesWords, + + [Parameter()] + [System.Object[]] + $ExceptIfSubjectOrBodyContainsWords, + + [Parameter()] + [System.Object] + $LogEventText, + + [Parameter()] + [System.Object[]] + $ExceptIfManagerAddresses, + + [Parameter()] + [System.Object[]] + $SenderInRecipientList, + + [Parameter()] + [System.Object[]] + $ExceptIfAnyOfToCcHeader, + + [Parameter()] + [System.Object[]] + $AttachmentMatchesPatterns, + + [Parameter()] + [System.String] + $DlpPolicy, + + [Parameter()] + [System.Object[]] + $ManagerAddresses, + + [Parameter()] + [System.Object] + $SenderAddressLocation, + + [Parameter()] + [System.Object[]] + $CopyTo, + + [Parameter()] + [System.Object[]] + $SubjectOrBodyContainsWords, + + [Parameter()] + [System.String] + $ApplyClassification, + + [Parameter()] + [System.Object[]] + $RecipientADAttributeMatchesPatterns, + + [Parameter()] + [System.Object] + $SetHeaderValue, + + [Parameter()] + [System.Boolean] + $AttachmentIsPasswordProtected, + + [Parameter()] + [System.Object[]] + $BetweenMemberOf1, + + [Parameter()] + [System.Object] + $ExceptIfMessageSizeOver, + + [Parameter()] + [System.Object[]] + $AnyOfCcHeader, + + [Parameter()] + [System.Boolean] + $ExceptIfAttachmentProcessingLimitExceeded, + + [Parameter()] + [System.Object[]] + $FromAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfHeaderMatchesMessageHeader, + + [Parameter()] + [System.Object] + $SmtpRejectMessageRejectText, + + [Parameter()] + [System.Object[]] + $ExceptIfAttachmentContainsWords, + + [Parameter()] + [System.Object[]] + $AnyOfToHeader, + + [Parameter()] + [System.Boolean] + $ExceptIfHasSenderOverride, + + [Parameter()] + [System.Object] + $SCLOver, + + [Parameter()] + [System.Object] + $PrependSubject, + + [Parameter()] + [System.Object] + $ApplyRightsProtectionTemplate, + + [Parameter()] + [System.Object] + $MessageTypeMatches, + + [Parameter()] + [System.Object[]] + $ExceptIfAttachmentPropertyContainsWords, + + [Parameter()] + [System.Boolean] + $StopRuleProcessing, + + [Parameter()] + [System.Object] + $ExceptIfHeaderContainsMessageHeader + ) +} +function Set-UnifiedGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $EmailAddresses, + + [Parameter()] + [System.Object] + $AcceptMessagesOnlyFromSendersOrMembers, + + [Parameter()] + [System.String] + $CustomAttribute12, + + [Parameter()] + [System.String] + $CustomAttribute10, + + [Parameter()] + [System.Globalization.CultureInfo] + $Language, + + [Parameter()] + [System.Object] + $IsMemberAllowedToEditContent, + + [Parameter()] + [System.String] + $CustomAttribute8, + + [Parameter()] + [System.String] + $CustomAttribute5, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UnifiedGroupWelcomeMessageEnabled, + + [Parameter()] + [System.String] + $MailTip, + + [Parameter()] + [System.Object] + $ModeratedBy, + + [Parameter()] + [System.Object] + $PrimarySmtpAddress, + + [Parameter()] + [System.String] + $Classification, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AutoSubscribeNewMembers, + + [Parameter()] + [System.Object] + $AuditLogAgeLimit, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $HiddenFromExchangeClientsEnabled, + + [Parameter()] + [System.Object] + $MaxReceiveSize, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute5, + + [Parameter()] + [System.String] + $CustomAttribute15, + + [Parameter()] + [System.Object] + $RejectMessagesFromSendersOrMembers, + + [Parameter()] + [System.String] + $Alias, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $CustomAttribute1, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SubscriptionEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceUpgrade, + + [Parameter()] + [System.Object] + $AccessType, + + [Parameter()] + [System.String] + $MailboxRegion, + + [Parameter()] + [System.Object] + $GrantSendOnBehalfTo, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute1, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [System.String] + $CustomAttribute14, + + [Parameter()] + [System.Boolean] + $RequireSenderAuthenticationEnabled, + + [Parameter()] + [System.String] + $CustomAttribute9, + + [Parameter()] + [System.String] + $CustomAttribute6, + + [Parameter()] + [System.Object] + $DataEncryptionPolicy, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute4, + + [Parameter()] + [System.Object] + $SensitivityLabelId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AlwaysSubscribeMembersToCalendarEvents, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute2, + + [Parameter()] + [System.String] + $CustomAttribute13, + + [Parameter()] + [System.String] + $CustomAttribute2, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $CalendarMemberReadOnly, + + [Parameter()] + [System.Object] + $InformationBarrierMode, + + [Parameter()] + [System.Object] + $MaxSendSize, + + [Parameter()] + [System.Object] + $MailTipTranslations, + + [Parameter()] + [System.String] + $CustomAttribute7, + + [Parameter()] + [System.String] + $CustomAttribute4, + + [Parameter()] + [System.Object] + $ExtensionCustomAttribute3, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ConnectorsEnabled, + + [Parameter()] + [System.Boolean] + $ModerationEnabled, + + [Parameter()] + [System.String] + $CustomAttribute3, + + [Parameter()] + [System.String] + $CustomAttribute11, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $HiddenFromAddressListsEnabled + ) +} + +function Set-UnifiedAuditLogRetentionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.UInt32] + $Priority, + + [Parameter()] + [System.String] + $RetentionDuration, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String[]] + $Operations, + + [Parameter()] + [System.String[]] + $RecordTypes, + + [Parameter()] + [System.String[]] + $UserIds + ) +} + +function Set-User +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $MailboxRegion, + + [Parameter()] + [System.Boolean] + $IsShadowMailbox, + + [Parameter()] + [System.String] + $Phone, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String] + $Office, + + [Parameter()] + [System.Object] + $CountryOrRegion, + + [Parameter()] + [System.Object] + $AuthenticationPolicy, + + [Parameter()] + [System.Object] + $OtherTelephone, + + [Parameter()] + [System.String] + $Pager, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $PhoneticDisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ClearDataEncryptionPolicy, + + [Parameter()] + [System.String] + $Fax, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Object] + $ManagedOnboardingType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RemoveMailboxProvisioningConstraint, + + [Parameter()] + [System.Boolean] + $ResetPasswordOnNextLogon, + + [Parameter()] + [System.Boolean] + $BlockCloudCache, + + [Parameter()] + [System.Object] + $SeniorityIndex, + + [Parameter()] + [System.String] + $City, + + [Parameter()] + [System.Boolean] + $VIP, + + [Parameter()] + [System.String] + $Title, + + [Parameter()] + [System.String] + $MobilePhone, + + [Parameter()] + [System.String] + $AssistantName, + + [Parameter()] + [System.String] + $Company, + + [Parameter()] + [System.String] + $StateOrProvince, + + [Parameter()] + [System.String] + $Initials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $WebPage, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [System.String] + $LastName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PermanentlyClearPreviousMailboxInfo, + + [Parameter()] + [System.Object] + $Manager, + + [Parameter()] + [System.Object] + $StsRefreshTokensValidFrom, + + [Parameter()] + [System.Object] + $OtherFax, + + [Parameter()] + [System.String] + $SimpleDisplayName, + + [Parameter()] + [System.Object] + $MailboxRegionSuffix, + + [Parameter()] + [System.String] + $HomePhone, + + [Parameter()] + [System.String] + $Department, + + [Parameter()] + [System.String] + $FirstName, + + [Parameter()] + [System.Object] + $PostOfficeBox, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PublicFolder, + + [Parameter()] + [System.Object] + $WindowsEmailAddress, + + [Parameter()] + [System.String] + $StreetAddress, + + [Parameter()] + [System.Boolean] + $RemotePowerShellEnabled, + + [Parameter()] + [System.String] + $PostalCode, + + [Parameter()] + [System.Object] + $GeoCoordinates, + + [Parameter()] + [System.Object] + $OtherHomePhone, + + [Parameter()] + [System.Object] + $DesiredWorkloads, + + [Parameter()] + [System.Boolean] + $CanHaveCloudCache + ) +} +function Update-RoleGroupMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BypassSecurityGroupManagerCheck, + + [Parameter()] + [System.Object] + $Members + ) +} +#endregion + +#region Microsoft.Graph.Applications +function Get-MgApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgApplicationOwner +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgServicePrincipal +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $ServicePrincipalId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgServicePrincipalAppRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AppRoleAssignmentId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $ServicePrincipalId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $OptionalClaims, + + [Parameter()] + [PSObject] + $HomeRealmDiscoveryPolicies, + + [Parameter()] + [PSObject] + $Spa, + + [Parameter()] + [PSObject] + $Synchronization, + + [Parameter()] + [System.String] + $DefaultRedirectUri, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $ApplicationTemplateId, + + [Parameter()] + [System.String] + $SignInAudience, + + [Parameter()] + [PSObject] + $VerifiedPublisher, + + [Parameter()] + [System.String[]] + $IdentifierUris, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsDeviceOnlyAuthSupported, + + [Parameter()] + [System.String] + $TokenEncryptionKeyId, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $TokenIssuancePolicies, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $Api, + + [Parameter()] + [System.String] + $PublisherDomain, + + [Parameter()] + [System.String] + $GroupMembershipClaims, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String[]] + $Tags, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [PSObject] + $FederatedIdentityCredentials, + + [Parameter()] + [PSObject] + $TokenLifetimePolicies, + + [Parameter()] + [PSObject] + $AppManagementPolicies, + + [Parameter()] + [System.String] + $DisabledByMicrosoftStatus, + + [Parameter()] + [PSObject] + $PasswordCredentials, + + [Parameter()] + [PSObject] + $PublicClient, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Oauth2RequirePostResponse, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [PSObject] + $RequiredResourceAccess, + + [Parameter()] + [PSObject] + $ParentalControlSettings, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsFallbackPublicClient, + + [Parameter()] + [PSObject] + $AddIns, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [PSObject] + $RequestSignatureVerification, + + [Parameter()] + [System.String] + $LogoInputFile, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $AppRoles, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ExtensionProperties, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $CreatedOnBehalfOf, + + [Parameter()] + [System.String] + $ServiceManagementReference, + + [Parameter()] + [PSObject] + $KeyCredentials, + + [Parameter()] + [PSObject] + $Certification, + + [Parameter()] + [System.String] + $SamlMetadataUrl, + + [Parameter()] + [PSObject] + $Info, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $AppId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgApplicationOwnerByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgServicePrincipal +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $ServicePrincipalNames, + + [Parameter()] + [System.String[]] + $AlternativeNames, + + [Parameter()] + [System.String] + $AppDescription, + + [Parameter()] + [PSObject] + $HomeRealmDiscoveryPolicies, + + [Parameter()] + [PSObject] + $Oauth2PermissionScopes, + + [Parameter()] + [PSObject] + $Synchronization, + + [Parameter()] + [PSObject] + $AppRoleAssignments, + + [Parameter()] + [System.String] + $ApplicationTemplateId, + + [Parameter()] + [System.String] + $SignInAudience, + + [Parameter()] + [PSObject] + $VerifiedPublisher, + + [Parameter()] + [System.String[]] + $NotificationEmailAddresses, + + [Parameter()] + [PSObject] + $ClaimsMappingPolicies, + + [Parameter()] + [System.String] + $TokenEncryptionKeyId, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $TokenIssuancePolicies, + + [Parameter()] + [System.String] + $PreferredTokenSigningKeyThumbprint, + + [Parameter()] + [System.String] + $AppDisplayName, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $AppRoleAssignedTo, + + [Parameter()] + [System.String] + $Homepage, + + [Parameter()] + [System.String] + $ServicePrincipalType, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $SamlSingleSignOnSettings, + + [Parameter()] + [System.String[]] + $Tags, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [PSObject] + $OwnedObjects, + + [Parameter()] + [PSObject] + $FederatedIdentityCredentials, + + [Parameter()] + [System.String] + $LoginUrl, + + [Parameter()] + [PSObject] + $TokenLifetimePolicies, + + [Parameter()] + [PSObject] + $AppManagementPolicies, + + [Parameter()] + [PSObject] + $CreatedObjects, + + [Parameter()] + [System.String] + $DisabledByMicrosoftStatus, + + [Parameter()] + [PSObject] + $DelegatedPermissionClassifications, + + [Parameter()] + [System.Collections.Hashtable] + $CustomSecurityAttributes, + + [Parameter()] + [PSObject] + $PasswordCredentials, + + [Parameter()] + [PSObject] + $MemberOf, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [PSObject] + $Endpoints, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $AppOwnerOrganizationId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $TransitiveMemberOf, + + [Parameter()] + [PSObject] + $AppRoles, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $ReplyUrls, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AppRoleAssignmentRequired, + + [Parameter()] + [PSObject] + $KeyCredentials, + + [Parameter()] + [PSObject] + $Oauth2PermissionGrants, + + [Parameter()] + [PSObject] + $ResourceSpecificApplicationPermissions, + + [Parameter()] + [PSObject] + $AddIns, + + [Parameter()] + [PSObject] + $Info, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AccountEnabled, + + [Parameter()] + [System.String] + $PreferredSingleSignOnMode, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $AppId, + + [Parameter()] + [System.String] + $LogoutUrl, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgApplicationOwnerDirectoryObjectByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgServicePrincipal +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ServicePrincipalId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $OptionalClaims, + + [Parameter()] + [PSObject] + $HomeRealmDiscoveryPolicies, + + [Parameter()] + [PSObject] + $Spa, + + [Parameter()] + [System.String[]] + $Tags, + + [Parameter()] + [System.String] + $DefaultRedirectUri, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $ApplicationTemplateId, + + [Parameter()] + [System.String] + $SignInAudience, + + [Parameter()] + [PSObject] + $VerifiedPublisher, + + [Parameter()] + [System.String[]] + $IdentifierUris, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsDeviceOnlyAuthSupported, + + [Parameter()] + [System.String] + $TokenEncryptionKeyId, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $TokenIssuancePolicies, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $Api, + + [Parameter()] + [System.String] + $PublisherDomain, + + [Parameter()] + [System.String] + $GroupMembershipClaims, + + [Parameter()] + [System.String] + $SamlMetadataUrl, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [PSObject] + $FederatedIdentityCredentials, + + [Parameter()] + [PSObject] + $TokenLifetimePolicies, + + [Parameter()] + [PSObject] + $AppManagementPolicies, + + [Parameter()] + [System.String] + $DisabledByMicrosoftStatus, + + [Parameter()] + [PSObject] + $PasswordCredentials, + + [Parameter()] + [PSObject] + $PublicClient, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Oauth2RequirePostResponse, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [PSObject] + $RequiredResourceAccess, + + [Parameter()] + [PSObject] + $ParentalControlSettings, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsFallbackPublicClient, + + [Parameter()] + [PSObject] + $Synchronization, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [PSObject] + $RequestSignatureVerification, + + [Parameter()] + [System.String] + $LogoInputFile, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [PSObject] + $AppRoles, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ExtensionProperties, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $CreatedOnBehalfOf, + + [Parameter()] + [System.String] + $ServiceManagementReference, + + [Parameter()] + [PSObject] + $KeyCredentials, + + [Parameter()] + [PSObject] + $Certification, + + [Parameter()] + [PSObject] + $AddIns, + + [Parameter()] + [PSObject] + $Info, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $AppId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgServicePrincipal +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $ServicePrincipalNames, + + [Parameter()] + [System.String[]] + $AlternativeNames, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $AppDescription, + + [Parameter()] + [PSObject] + $HomeRealmDiscoveryPolicies, + + [Parameter()] + [PSObject] + $Oauth2PermissionScopes, + + [Parameter()] + [PSObject] + $Synchronization, + + [Parameter()] + [PSObject] + $AppRoleAssignments, + + [Parameter()] + [System.String] + $ServicePrincipalId, + + [Parameter()] + [System.String] + $ApplicationTemplateId, + + [Parameter()] + [System.String] + $SignInAudience, + + [Parameter()] + [PSObject] + $VerifiedPublisher, + + [Parameter()] + [System.String[]] + $NotificationEmailAddresses, + + [Parameter()] + [PSObject] + $ClaimsMappingPolicies, + + [Parameter()] + [System.String] + $TokenEncryptionKeyId, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $TokenIssuancePolicies, + + [Parameter()] + [System.String] + $PreferredTokenSigningKeyThumbprint, + + [Parameter()] + [System.String] + $AppDisplayName, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $AppRoleAssignedTo, + + [Parameter()] + [System.String] + $Homepage, + + [Parameter()] + [System.String] + $ServicePrincipalType, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $SamlSingleSignOnSettings, + + [Parameter()] + [System.String[]] + $Tags, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $OwnedObjects, + + [Parameter()] + [PSObject] + $FederatedIdentityCredentials, + + [Parameter()] + [System.String] + $LoginUrl, + + [Parameter()] + [PSObject] + $TokenLifetimePolicies, + + [Parameter()] + [PSObject] + $AppManagementPolicies, + + [Parameter()] + [PSObject] + $CreatedObjects, + + [Parameter()] + [System.String] + $DisabledByMicrosoftStatus, + + [Parameter()] + [PSObject] + $DelegatedPermissionClassifications, + + [Parameter()] + [System.Collections.Hashtable] + $CustomSecurityAttributes, + + [Parameter()] + [PSObject] + $PasswordCredentials, + + [Parameter()] + [PSObject] + $MemberOf, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [PSObject] + $Endpoints, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $AppOwnerOrganizationId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $TransitiveMemberOf, + + [Parameter()] + [PSObject] + $AppRoles, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $ReplyUrls, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AppRoleAssignmentRequired, + + [Parameter()] + [PSObject] + $KeyCredentials, + + [Parameter()] + [PSObject] + $Oauth2PermissionGrants, + + [Parameter()] + [PSObject] + $ResourceSpecificApplicationPermissions, + + [Parameter()] + [PSObject] + $AddIns, + + [Parameter()] + [PSObject] + $Info, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AccountEnabled, + + [Parameter()] + [System.String] + $PreferredSingleSignOnMode, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $AppId, + + [Parameter()] + [System.String] + $LogoutUrl, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +#endregion +#region Microsoft.Graph.Authentication +function Connect-MgGraph +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.Security.Cryptography.X509Certificates.X509Certificate2] + $Certificate, + + [Parameter()] + [System.String[]] + $Scopes, + + [Parameter()] + [System.String] + $ClientId, + + [Parameter()] + [System.Security.SecureString] + $AccessToken, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnvironmentVariable, + + [Parameter()] + [System.String] + $CertificateSubjectName, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ClientSecretCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UseDeviceCode, + + [Parameter()] + [System.Double] + $ClientTimeout, + + [Parameter()] + [System.String] + $CertificateThumbprint, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $Environment, + + [Parameter()] + [PSObject] + $ContextScope + ) +} +function Get-MgContext +{ + [CmdletBinding()] + param( + + ) +} +function Invoke-MgGraphRequest +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $InputFilePath, + + [Parameter()] + [System.String] + $StatusCodeVariable, + + [Parameter()] + [PSObject] + $OutputType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SkipHttpErrorCheck, + + [Parameter()] + [System.String] + $UserAgent, + + [Parameter()] + [System.String] + $ContentType, + + [Parameter()] + [System.Uri] + $Uri, + + [Parameter()] + [PSObject] + $GraphRequestSession, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $InferOutputFileName, + + [Parameter()] + [System.String] + $OutputFilePath, + + [Parameter()] + [PSObject] + $Method, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Object] + $Body, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SkipHeaderValidation, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $SessionVariable, + + [Parameter()] + [System.Collections.IDictionary] + $Headers + ) +} + +function New-MgBetaIdentityCustomAuthenticationExtension +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Collections.Hashtable] + $EndpointConfiguration, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AuthenticationConfiguration, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $ClientConfiguration, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaIdentityCustomAuthenticationExtension +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Collections.Hashtable] + $EndpointConfiguration, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AuthenticationConfiguration, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $ClientConfiguration, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CustomAuthenticationExtensionId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaIdentityCustomAuthenticationExtension +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $CustomAuthenticationExtensionId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaIdentityCustomAuthenticationExtension +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $CustomAuthenticationExtensionId, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +#endregion + +#region Microsoft.Graph.Beta.DeviceManagement +function Get-MgBetaDeviceManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} + +function Get-MgBetaDeviceManagementAndroidManagedStoreAccountEnterpriseSetting { + [CmdletBinding()] + param ( + [Parameter()] + [System.String] + $AndroidManagedStoreAccountEnterpriseSettingsId, + + [Parameter()] + [System.String] + $BindStatus, + + [Parameter()] + [System.String] + $OwnerUserPrincipalName, + + [Parameter()] + [System.String] + $OwnerOrganizationName, + + [Parameter()] + [System.String] + $EnrollmentTarget, + + [Parameter()] + [System.Boolean] + $DeviceOwnerManagementEnabled, + + [Parameter()] + [System.Boolean] + $AndroidDeviceOwnerFullyManagedEnrollmentEnabled, + + [Parameter()] + [ValidateSet('Present', 'Absent')] + [System.String] + $Ensure = 'Present' + ) +} + +function Get-MgBetaDeviceManagementAssignmentFilter +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $DeviceAndAppManagementAssignmentFilterId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementConfigurationPolicyAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyId, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyAssignmentId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementConfigurationPolicySetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationSettingId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyId, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementConfigurationPolicyTemplate +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyTemplateId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementConfigurationPolicyTemplateSettingTemplate +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DeviceManagementConfigurationSettingTemplateId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyTemplateId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementDataSharingConsent { + [CmdletBinding()] + param ( + [Parameter()] + [System.String] + $DataSharingConsentId, + + [Parameter()] + [System.Boolean] + $Granted + ) +} +function Get-MgBetaDeviceManagementDeviceCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $DeviceCategoryId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementDeviceCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $DeviceCompliancePolicyId + ) +} +function Get-MgBetaDeviceManagementDeviceCompliancePolicyAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DeviceCompliancePolicyAssignmentId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $DeviceCompliancePolicyId + ) +} +function Get-MgBetaDeviceManagementDeviceConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $DeviceConfigurationId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementDeviceConfigurationAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $DeviceConfigurationId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $DeviceConfigurationAssignmentId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementGroupPolicyConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementGroupPolicyConfigurationAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationAssignmentId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} + +function New-MgBetaDeviceManagementDerivedCredential { + + [CmdletBinding()] + param ( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $HelpUrl, + + [Parameter()] + [ValidateSet('intercede', 'entrustData', 'purebred')] + [System.String] + $Issuer, + + [Parameter()] + [ValidateSet('none', 'email', 'companyPortal')] + [System.String] + $NotificationType = 'none' + ) +} + +function Get-MgBetaDeviceManagementDerivedCredential { + [CmdletBinding()] + param ( + [Parameter()] + [System.String] + $DeviceManagementDerivedCredentialSettingsId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $HelpUrl, + + [Parameter()] + [ValidateSet('intercede', 'entrustData', 'purebred')] + [System.String] + $Issuer, + + [Parameter()] + [ValidateSet('none', 'email', 'companyPortal')] + [System.String] + $NotificationType = 'none' + ) +} + +function Remove-MgBetaDeviceManagementAndroidManagedStoreAccountEnterpriseSetting { + [CmdletBinding()] + param ( + [Parameter(Mandatory = $true)] + [System.String] + $AndroidManagedStoreAccountEnterpriseSettingsId, + + [Parameter()] + [System.Boolean] + $Confirm = $true + ) +} + +function Remove-MgBetaDeviceManagementDerivedCredential +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DeviceManagementDerivedCredentialSettingsId, + + [Parameter()] + [System.Boolean] + $Confirm + ) +} + +function New-MgBetaDeviceAppManagementMobileApp { + [CmdletBinding()] + param ( + [Parameter()] + [System.String] + $DeviceManagementDerivedCredentialSettingsId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Developer, + + [Parameter()] + [System.String] + $InformationUrl, + + [Parameter()] + [System.Boolean] + $IsFeatured, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.String] + $PrivacyInformationUrl, + + [Parameter()] + [System.String] + $Publisher, + + [Parameter()] + [System.String] + [ValidateSet('notPublished', 'processing','published')] + $PublishingState, + + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance[]] + $Categories, + + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance[]] + $Assignments, + + [Parameter()] + [Microsoft.Management.Infrastructure.CimInstance[]] + $ChildApps, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds + ) +} + +function Get-MgBetaDeviceAppManagementMobileApp { + [CmdletBinding()] + param ( + [Parameter()] + [System.String] + $MobileAppId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Developer, + + [Parameter()] + [System.String] + $InformationUrl, + + [Parameter()] + [System.Boolean] + $IsFeatured, + + [Parameter()] + [System.Boolean] + $IgnoreVersionDetection, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.String] + $PrivacyInformationUrl, + + [Parameter()] + [System.String] + $Publisher, + + [Parameter()] + [System.String] + [ValidateSet('notPublished', 'processing','published')] + $PublishingState, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds + ) +} +function Update-MgBetaDeviceAppManagementMobileApp { + [CmdletBinding()] + param ( + [Parameter()] + [System.String] + $MobileAppId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Developer, + + [Parameter()] + [System.String] + $InformationUrl, + + [Parameter()] + [System.Boolean] + $IsFeatured, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.String] + $PrivacyInformationUrl, + + [Parameter()] + [System.String] + $Publisher, + + [Parameter()] + [System.String] + [ValidateSet('notPublished', 'processing','published')] + $PublishingState, + + [Parameter()] + [System.Object[]] + $Categories, + + [Parameter()] + [System.Object[]] + $Assignments, + + [Parameter()] + [System.Object[]] + $ChildApps, + + [Parameter()] + [System.Object[]] + $RoleScopeTagIds + ) +} + +function Remove-MgBetaDeviceAppManagementMobileApp { + [CmdletBinding()] + param ( + [Parameter()] + [System.String] + $MobileAppId, + + [Parameter()] + [System.Boolean] + $Confirm + ) +} + +function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValue +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $GroupPolicyDefinitionValueId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValueDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $GroupPolicyDefinitionValueId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValuePresentationValue +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $GroupPolicyDefinitionValueId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $GroupPolicyPresentationValueId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementIntent +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DeviceManagementIntentId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementIntentAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DeviceManagementIntentAssignmentId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $DeviceManagementIntentId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementIntentSetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DeviceManagementSettingInstanceId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DeviceManagementIntentId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementTemplate +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceManagementTemplateId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementTemplateCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceManagementTemplateSettingCategoryId, + + [Parameter()] + [System.String] + $DeviceManagementTemplateId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementTemplateCategoryRecommendedSetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DeviceManagementSettingInstanceId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DeviceManagementTemplateSettingCategoryId, + + [Parameter()] + [System.String] + $DeviceManagementTemplateId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementAssignmentFilter +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $Payloads, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $RoleScopeTags, + + [Parameter()] + [System.String] + $Rule, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AssignmentFilterManagementType, + + [Parameter()] + [PSObject] + $Platform, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $PriorityMetaData, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $TemplateReference, + + [Parameter()] + [System.Int32] + $SettingCount, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $Platforms, + + [Parameter()] + [PSObject] + $Technologies, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $CreationSource, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementDeviceCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $BodyParameter + ) +} +function New-MgBetaDeviceManagementDeviceCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $UserStatuses, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $DeviceStatusOverview, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $UserStatusOverview, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [PSObject] + $DeviceStatuses, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $ScheduledActionsForRule, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $DeviceSettingStateSummaries, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementDeviceConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $UserStatuses, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $DeviceStatuses, + + [Parameter()] + [PSObject] + $DeviceStatusOverview, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $DeviceManagementApplicabilityRuleOSVersion, + + [Parameter()] + [PSObject] + $UserStatusOverview, + + [Parameter()] + [PSObject] + $GroupAssignments, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $DeviceSettingStateSummaries, + + [Parameter()] + [PSObject] + $DeviceManagementApplicabilityRuleDeviceMode, + + [Parameter()] + [PSObject] + $DeviceManagementApplicabilityRuleOSEdition, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementGroupPolicyConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $DefinitionValues, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $PolicyConfigurationIngestionType, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementIntent +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMigratingToConfigurationPolicy, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [PSObject] + $DeviceSettingStateSummaries, + + [Parameter()] + [PSObject] + $DeviceStates, + + [Parameter()] + [PSObject] + $Categories, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $DeviceStateSummary, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $UserStates, + + [Parameter()] + [PSObject] + $UserStateSummary, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementAssignmentFilter +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceAndAppManagementAssignmentFilterId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyId, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementDeviceCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DeviceCategoryId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaDeviceManagementDeviceCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $DeviceCompliancePolicyId, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementDeviceConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementGroupPolicyConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementIntent +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceManagementIntentId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $TermsAndConditions, + + [Parameter()] + [PSObject] + $AndroidForWorkSettings, + + [Parameter()] + [PSObject] + $MicrosoftTunnelHealthThresholds, + + [Parameter()] + [PSObject] + $RoleScopeTags, + + [Parameter()] + [PSObject] + $ExchangeConnectors, + + [Parameter()] + [PSObject] + $TroubleshootingEvents, + + [Parameter()] + [PSObject] + $PrivilegeManagementElevations, + + [Parameter()] + [PSObject] + $IntuneBrandingProfiles, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [PSObject] + $GroupPolicyObjectFiles, + + [Parameter()] + [PSObject] + $WindowsAutopilotDeploymentProfiles, + + [Parameter()] + [PSObject] + $ResourceOperations, + + [Parameter()] + [PSObject] + $ConfigManagerCollections, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthDevicePerformance, + + [Parameter()] + [PSObject] + $ZebraFotaConnector, + + [Parameter()] + [PSObject] + $VirtualEndpoint, + + [Parameter()] + [PSObject] + $ConfigurationCategories, + + [Parameter()] + [PSObject] + $ManagedDeviceEncryptionStates, + + [Parameter()] + [PSObject] + $MicrosoftTunnelSites, + + [Parameter()] + [PSObject] + $DeviceEnrollmentConfigurations, + + [Parameter()] + [PSObject] + $ExchangeOnPremisesPolicy, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthAppImpact, + + [Parameter()] + [PSObject] + $WindowsInformationProtectionAppLearningSummaries, + + [Parameter()] + [PSObject] + $AndroidDeviceOwnerEnrollmentProfiles, + + [Parameter()] + [PSObject] + $ReusableSettings, + + [Parameter()] + [PSObject] + $GroupPolicyMigrationReports, + + [Parameter()] + [PSObject] + $WindowsInformationProtectionNetworkLearningSummaries, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsMetricHistory, + + [Parameter()] + [PSObject] + $ZebraFotaArtifacts, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsWorkFromAnywhereMetrics, + + [Parameter()] + [PSObject] + $EmbeddedSimActivationCodePools, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsModelScores, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $CompliancePolicies, + + [Parameter()] + [PSObject] + $MobileThreatDefenseConnectors, + + [Parameter()] + [PSObject] + $ImportedWindowsAutopilotDeviceIdentities, + + [Parameter()] + [PSObject] + $DataProcessorServiceForWindowsFeaturesOnboarding, + + [Parameter()] + [PSObject] + $DeviceProtectionOverview, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceStartupHistory, + + [Parameter()] + [PSObject] + $DepOnboardingSettings, + + [Parameter()] + [PSObject] + $GroupPolicyDefinitionFiles, + + [Parameter()] + [PSObject] + $RoleAssignments, + + [Parameter()] + [PSObject] + $WindowsDriverUpdateProfiles, + + [Parameter()] + [PSObject] + $CartToClassAssociations, + + [Parameter()] + [PSObject] + $DeviceManagementScripts, + + [Parameter()] + [PSObject] + $SubscriptionState, + + [Parameter()] + [PSObject] + $WindowsMalwareInformation, + + [Parameter()] + [PSObject] + $GroupPolicyDefinitions, + + [Parameter()] + [PSObject] + $DetectedApps, + + [Parameter()] + [PSObject] + $AdvancedThreatProtectionOnboardingStateSummary, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceScopes, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBaselines, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsScoreHistory, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthApplicationPerformance, + + [Parameter()] + [System.DateTime] + $AccountMoveCompletionDateTime, + + [Parameter()] + [PSObject] + $Reports, + + [Parameter()] + [PSObject] + $ConfigurationPolicies, + + [Parameter()] + [PSObject] + $AndroidManagedStoreAccountEnterpriseSettings, + + [Parameter()] + [PSObject] + $DeviceConfigurations, + + [Parameter()] + [PSObject] + $RemoteAssistanceSettings, + + [Parameter()] + [PSObject] + $CertificateConnectorDetails, + + [Parameter()] + [PSObject] + $AuditEvents, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAnomaly, + + [Parameter()] + [PSObject] + $GroupPolicyConfigurations, + + [Parameter()] + [PSObject] + $ConnectorStatus, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthOverview, + + [Parameter()] + [PSObject] + $WindowsAutopilotSettings, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthDeviceAppImpact, + + [Parameter()] + [PSObject] + $ConfigurationPolicyTemplates, + + [Parameter()] + [PSObject] + $DeviceShellScripts, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceMetricHistory, + + [Parameter()] + [PSObject] + $RemoteAssistancePartners, + + [Parameter()] + [PSObject] + $ComplianceManagementPartners, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDevicesWithoutCloudIdentity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthCapacityDetails, + + [Parameter()] + [PSObject] + $ManagedDeviceOverview, + + [Parameter()] + [PSObject] + $TemplateInsights, + + [Parameter()] + [PSObject] + $GroupPolicyUploadedDefinitionFiles, + + [Parameter()] + [PSObject] + $DeviceManagementPartners, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAnomalyDevice, + + [Parameter()] + [PSObject] + $AndroidManagedStoreAppConfigurationSchemas, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsResourcePerformance, + + [Parameter()] + [PSObject] + $MacOSSoftwareUpdateAccountSummaries, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsWorkFromAnywhereModelPerformance, + + [Parameter()] + [PSObject] + $ComplianceCategories, + + [Parameter()] + [PSObject] + $DeviceConfigurationConflictSummary, + + [Parameter()] + [PSObject] + $TelecomExpenseManagementPartners, + + [Parameter()] + [PSObject] + $Templates, + + [Parameter()] + [PSObject] + $MicrosoftTunnelConfigurations, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $WindowsMalwareOverview, + + [Parameter()] + [PSObject] + $ResourceAccessProfiles, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory, + + [Parameter()] + [PSObject] + $Intents, + + [Parameter()] + [PSObject] + $WindowsFeatureUpdateProfiles, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthRuntimeDetails, + + [Parameter()] + [PSObject] + $ComplianceSettings, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceScores, + + [Parameter()] + [System.String] + $IntuneAccountId, + + [Parameter()] + [PSObject] + $ConditionalAccessSettings, + + [Parameter()] + [PSObject] + $IosUpdateStatuses, + + [Parameter()] + [PSObject] + $ZebraFotaDeployments, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAnomalyCorrelationGroupOverview, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsImpactingProcess, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAnomalySeverityOverview, + + [Parameter()] + [PSObject] + $DerivedCredentials, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthModelPerformance, + + [Parameter()] + [PSObject] + $DeviceCompliancePolicies, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $AndroidForWorkAppConfigurationSchemas, + + [Parameter()] + [PSObject] + $AdminConsent, + + [Parameter()] + [PSObject] + $SettingDefinitions, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsSettings, + + [Parameter()] + [PSObject] + $ManagedDevices, + + [Parameter()] + [PSObject] + $AppleUserInitiatedEnrollmentProfiles, + + [Parameter()] + [PSObject] + $DeviceConfigurationDeviceStateSummaries, + + [Parameter()] + [PSObject] + $ServiceNowConnections, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric, + + [Parameter()] + [PSObject] + $ReusablePolicySettings, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsRemoteConnection, + + [Parameter()] + [PSObject] + $ConfigurationSettings, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceScope, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsCategories, + + [Parameter()] + [PSObject] + $DeviceConfigurationRestrictedAppsViolations, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceStartupProcesses, + + [Parameter()] + [PSObject] + $ExchangeOnPremisesPolicies, + + [Parameter()] + [PSObject] + $MobileAppTroubleshootingEvents, + + [Parameter()] + [PSObject] + $RoleDefinitions, + + [Parameter()] + [PSObject] + $CloudPcConnectivityIssues, + + [Parameter()] + [PSObject] + $ApplePushNotificationCertificate, + + [Parameter()] + [PSObject] + $DeviceCategories, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion, + + [Parameter()] + [PSObject] + $DeviceCompliancePolicySettingStateSummaries, + + [Parameter()] + [System.Collections.Hashtable] + $TenantAttachRbac, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $AndroidForWorkEnrollmentProfiles, + + [Parameter()] + [PSObject] + $ComanagementEligibleDevices, + + [Parameter()] + [PSObject] + $NotificationMessageTemplates, + + [Parameter()] + [PSObject] + $IntuneBrand, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsOverview, + + [Parameter()] + [PSObject] + $TemplateSettings, + + [Parameter()] + [PSObject] + $RemoteActionAudits, + + [Parameter()] + [PSObject] + $WindowsUpdateCatalogItems, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthDevicePerformanceDetails, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsNotAutopilotReadyDevice, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthOSVersionPerformance, + + [Parameter()] + [PSObject] + $Monitoring, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $DeviceHealthScripts, + + [Parameter()] + [PSObject] + $AutopilotEvents, + + [Parameter()] + [PSObject] + $GroupPolicyCategories, + + [Parameter()] + [PSObject] + $DeviceConfigurationUserStateSummaries, + + [Parameter()] + [PSObject] + $DeviceConfigurationsAllManagedDeviceCertificateStates, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthDevicePerformance, + + [Parameter()] + [PSObject] + $DeviceCustomAttributeShellScripts, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthDeviceModelPerformance, + + [Parameter()] + [PSObject] + $ImportedDeviceIdentities, + + [Parameter()] + [System.Int32] + $MaximumDepTokens, + + [Parameter()] + [PSObject] + $SoftwareUpdateStatusSummary, + + [Parameter()] + [PSObject] + $WindowsQualityUpdateProfiles, + + [Parameter()] + [PSObject] + $AssignmentFilters, + + [Parameter()] + [PSObject] + $NdesConnectors, + + [Parameter()] + [PSObject] + $MicrosoftTunnelServerLogCollectionResponses, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthOSPerformance, + + [Parameter()] + [PSObject] + $UserPfxCertificates, + + [Parameter()] + [PSObject] + $WindowsAutopilotDeviceIdentities, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceStartupProcessPerformance, + + [Parameter()] + [PSObject] + $ChromeOSOnboardingSettings, + + [Parameter()] + [PSObject] + $DomainJoinConnectors, + + [Parameter()] + [PSObject] + $Categories, + + [Parameter()] + [PSObject] + $ComanagedDevices, + + [Parameter()] + [PSObject] + $DeviceCompliancePolicyDeviceStateSummary, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDevicePerformance, + + [Parameter()] + [PSObject] + $DeviceComplianceScripts, + + [Parameter()] + [PSObject] + $Subscriptions, + + [Parameter()] + [PSObject] + $ManagedDeviceCleanupSettings, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceTimelineEvent, + + [Parameter()] + [PSObject] + $DataSharingConsents + ) +} +function Update-MgBetaDeviceManagementAssignmentFilter +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $Payloads, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $RoleScopeTags, + + [Parameter()] + [System.String] + $Rule, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AssignmentFilterManagementType, + + [Parameter()] + [PSObject] + $Platform, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $DeviceAndAppManagementAssignmentFilterId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $TemplateReference, + + [Parameter()] + [System.Int32] + $SettingCount, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $Technologies, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [PSObject] + $Platforms, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $PriorityMetaData, + + [Parameter()] + [System.String] + $CreationSource, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementDeviceCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $DeviceCategoryId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementDeviceCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $UserStatuses, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $DeviceCompliancePolicyId, + + [Parameter()] + [PSObject] + $DeviceStatusOverview, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $UserStatusOverview, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [PSObject] + $DeviceStatuses, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $ScheduledActionsForRule, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $DeviceSettingStateSummaries, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementDeviceConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $UserStatuses, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $DeviceStatuses, + + [Parameter()] + [PSObject] + $DeviceStatusOverview, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $DeviceManagementApplicabilityRuleOSVersion, + + [Parameter()] + [PSObject] + $UserStatusOverview, + + [Parameter()] + [PSObject] + $GroupAssignments, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [PSObject] + $DeviceSettingStateSummaries, + + [Parameter()] + [System.String] + $DeviceConfigurationId, + + [Parameter()] + [PSObject] + $DeviceManagementApplicabilityRuleOSEdition, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $DeviceManagementApplicabilityRuleDeviceMode, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementGroupPolicyConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $DefinitionValues, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $PolicyConfigurationIngestionType, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementIntent +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMigratingToConfigurationPolicy, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [PSObject] + $DeviceSettingStateSummaries, + + [Parameter()] + [PSObject] + $DeviceStates, + + [Parameter()] + [PSObject] + $Categories, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $DeviceManagementIntentId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $UserStates, + + [Parameter()] + [PSObject] + $UserStateSummary, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $DeviceStateSummary, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementIntentSetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DeviceManagementSettingInstanceId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $ValueJson, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DeviceManagementIntentId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $DefinitionId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Beta.Devices.CorporateManagement +function Get-MgBetaDeviceAppManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaDeviceAppManagementAndroidManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $AndroidManagedAppProtectionId, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceAppManagementiOSManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $IosManagedAppProtectionId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceAppManagementiOSManagedAppProtectionApp +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $IosManagedAppProtectionId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ManagedMobileAppId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $MdmWindowsInformationProtectionPolicyId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceAppManagementTargetedManagedAppConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $TargetedManagedAppConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceAppManagementTargetedManagedAppConfigurationAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $TargetedManagedAppPolicyAssignmentId, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $TargetedManagedAppConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Invoke-MgBetaTargetDeviceAppManagementTargetedManagedAppConfigurationApp +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $TargetedManagedAppConfigurationId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaDeviceAppManagementAndroidManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AppActionIfDevicePasscodeComplexityLessThanHigh, + + [Parameter()] + [PSObject] + $MaximumAllowedDeviceThreatLevel, + + [Parameter()] + [System.String] + $CustomBrowserDisplayName, + + [Parameter()] + [System.String] + $MinimumRequiredPatchVersion, + + [Parameter()] + [PSObject] + $AppActionIfAndroidDeviceModelNotAllowed, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableAppEncryptionIfDeviceEncryptionIsEnabled, + + [Parameter()] + [PSObject] + $MobileThreatDefensePartnerPriority, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String[]] + $AllowedAndroidDeviceModels, + + [Parameter()] + [PSObject] + $ManagedBrowser, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.TimeSpan] + $PeriodOnlineBeforeAccessCheck, + + [Parameter()] + [System.Int32] + $PreviousPinBlockCount, + + [Parameter()] + [System.String] + $MaximumWarningOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ContactSyncBlocked, + + [Parameter()] + [System.String] + $MinimumWarningCompanyPortalVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RequireClass3Biometrics, + + [Parameter()] + [System.String] + $MinimumWarningPatchVersion, + + [Parameter()] + [PSObject] + $AppActionIfDeviceComplianceRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SaveAsBlocked, + + [Parameter()] + [System.String] + $CustomDialerAppDisplayName, + + [Parameter()] + [PSObject] + $AllowedDataIngestionLocations, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Int32] + $DeployedAppCount, + + [Parameter()] + [PSObject] + $NotificationRestriction, + + [Parameter()] + [System.String] + $CustomBrowserPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BiometricAuthenticationBlocked, + + [Parameter()] + [PSObject] + $AppActionIfDevicePasscodeComplexityLessThanMedium, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $MobileThreatDefenseRemediationAction, + + [Parameter()] + [PSObject] + $ApprovedKeyboards, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DeviceComplianceRequired, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeAccessCheck, + + [Parameter()] + [PSObject] + $AppActionIfUnableToAuthenticateUser, + + [Parameter()] + [System.String] + $MinimumRequiredOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RequirePinAfterBiometricChange, + + [Parameter()] + [System.String] + $MaximumRequiredOSVersion, + + [Parameter()] + [System.String] + $MinimumWipePatchVersion, + + [Parameter()] + [System.String] + $MinimumWarningAppVersion, + + [Parameter()] + [PSObject] + $AllowedOutboundClipboardSharingLevel, + + [Parameter()] + [System.Int32] + $MaximumPinRetries, + + [Parameter()] + [PSObject] + $RequiredAndroidSafetyNetAppsVerificationType, + + [Parameter()] + [PSObject] + $AppActionIfMaximumPinRetriesExceeded, + + [Parameter()] + [System.String] + $MinimumWipeCompanyPortalVersion, + + [Parameter()] + [PSObject] + $AllowedOutboundDataTransferDestinations, + + [Parameter()] + [PSObject] + $AppActionIfAndroidDeviceManufacturerNotAllowed, + + [Parameter()] + [System.String] + $MinimumWipeAppVersion, + + [Parameter()] + [System.String] + $AllowedAndroidDeviceManufacturers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OrganizationalCredentialsRequired, + + [Parameter()] + [System.String] + $CustomDialerAppPackageId, + + [Parameter()] + [PSObject] + $AllowedDataStorageLocations, + + [Parameter()] + [System.Int32] + $BlockAfterCompanyPortalUpdateDeferralInDays, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $DialerRestrictionLevel, + + [Parameter()] + [System.Int32] + $AllowedOutboundClipboardSharingExceptionLength, + + [Parameter()] + [PSObject] + $AppActionIfAndroidSafetyNetDeviceAttestationFailed, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [PSObject] + $AppActionIfAndroidSafetyNetAppsVerificationFailed, + + [Parameter()] + [System.String] + $MinimumWipeOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DataBackupBlocked, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeWipeIsEnforced, + + [Parameter()] + [System.TimeSpan] + $PinRequiredInsteadOfBiometricTimeout, + + [Parameter()] + [System.String] + $MinimumRequiredAppVersion, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $KeyboardsRestricted, + + [Parameter()] + [PSObject] + $DeploymentSummary, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ScreenCaptureBlocked, + + [Parameter()] + [PSObject] + $PinCharacterSet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ManagedBrowserToOpenLinksRequired, + + [Parameter()] + [System.String] + $MaximumWipeOSVersion, + + [Parameter()] + [System.Int32] + $MinimumPinLength, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SimplePinBlocked, + + [Parameter()] + [System.String] + $MinimumWarningOSVersion, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EncryptAppData, + + [Parameter()] + [System.TimeSpan] + $GracePeriodToBlockAppsDuringOffClockHours, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ConnectToVpnOnLaunch, + + [Parameter()] + [System.Int32] + $WipeAfterCompanyPortalUpdateDeferralInDays, + + [Parameter()] + [PSObject] + $RequiredAndroidSafetyNetEvaluationType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PinRequired, + + [Parameter()] + [PSObject] + $AppActionIfAccountIsClockedOut, + + [Parameter()] + [System.Int32] + $WarnAfterCompanyPortalUpdateDeferralInDays, + + [Parameter()] + [PSObject] + $AppActionIfDevicePasscodeComplexityLessThanLow, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FingerprintBlocked, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $MinimumRequiredCompanyPortalVersion, + + [Parameter()] + [System.TimeSpan] + $PeriodBeforePinReset, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BlockDataIngestionIntoOrganizationDocuments, + + [Parameter()] + [PSObject] + $AppActionIfDeviceLockNotSet, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $AllowedInboundDataTransferSources, + + [Parameter()] + [PSObject] + $RequiredAndroidSafetyNetDeviceAttestationType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FingerprintAndBiometricEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableAppPinIfDevicePinIsSet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PrintBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DeviceLockRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $ExemptedAppPackages, + + [Parameter()] + [PSObject] + $TargetedAppManagementLevels + ) +} +function New-MgBetaDeviceAppManagementiOSManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String[]] + $ExemptedUniversalLinks, + + [Parameter()] + [PSObject] + $MaximumAllowedDeviceThreatLevel, + + [Parameter()] + [System.String] + $MinimumWipeSdkVersion, + + [Parameter()] + [PSObject] + $AppDataEncryptionType, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $MobileThreatDefensePartnerPriority, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $TargetedAppManagementLevels, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ThirdPartyKeyboardsBlocked, + + [Parameter()] + [PSObject] + $ManagedBrowser, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.TimeSpan] + $PeriodOnlineBeforeAccessCheck, + + [Parameter()] + [System.Int32] + $PreviousPinBlockCount, + + [Parameter()] + [System.String] + $MaximumWarningOSVersion, + + [Parameter()] + [System.TimeSpan] + $PeriodBeforePinReset, + + [Parameter()] + [PSObject] + $AppActionIfDeviceComplianceRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PrintBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PinRequired, + + [Parameter()] + [PSObject] + $AllowedDataIngestionLocations, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Int32] + $DeployedAppCount, + + [Parameter()] + [PSObject] + $NotificationRestriction, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $AllowedOutboundClipboardSharingLevel, + + [Parameter()] + [System.String] + $MinimumWarningSdkVersion, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DeviceComplianceRequired, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeAccessCheck, + + [Parameter()] + [PSObject] + $AppActionIfUnableToAuthenticateUser, + + [Parameter()] + [System.String] + $MinimumRequiredOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ManagedBrowserToOpenLinksRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FilterOpenInToOnlyManagedApps, + + [Parameter()] + [System.String] + $MaximumRequiredOSVersion, + + [Parameter()] + [System.String] + $AllowedIosDeviceModels, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ContactSyncBlocked, + + [Parameter()] + [System.Int32] + $MaximumPinRetries, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeWipeIsEnforced, + + [Parameter()] + [PSObject] + $AllowedOutboundDataTransferDestinations, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DataBackupBlocked, + + [Parameter()] + [System.String] + $MinimumWipeAppVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OrganizationalCredentialsRequired, + + [Parameter()] + [PSObject] + $AllowedDataStorageLocations, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FaceIdBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SaveAsBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProtectInboundDataFromUnknownSources, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $DialerRestrictionLevel, + + [Parameter()] + [System.String] + $MinimumWarningAppVersion, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.String] + $MinimumWipeOSVersion, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [System.TimeSpan] + $PinRequiredInsteadOfBiometricTimeout, + + [Parameter()] + [System.String] + $MinimumRequiredAppVersion, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $MobileThreatDefenseRemediationAction, + + [Parameter()] + [System.Int32] + $AllowedOutboundClipboardSharingExceptionLength, + + [Parameter()] + [PSObject] + $DeploymentSummary, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SimplePinBlocked, + + [Parameter()] + [PSObject] + $PinCharacterSet, + + [Parameter()] + [System.String] + $MaximumWipeOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableProtectionOfManagedOutboundOpenInData, + + [Parameter()] + [System.Int32] + $MinimumPinLength, + + [Parameter()] + [System.String] + $MinimumWarningOSVersion, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.TimeSpan] + $GracePeriodToBlockAppsDuringOffClockHours, + + [Parameter()] + [PSObject] + $ExemptedAppProtocols, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [PSObject] + $AppActionIfMaximumPinRetriesExceeded, + + [Parameter()] + [PSObject] + $AppActionIfIosDeviceModelNotAllowed, + + [Parameter()] + [System.String] + $CustomDialerAppProtocol, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FingerprintBlocked, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BlockDataIngestionIntoOrganizationDocuments, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String] + $CustomBrowserProtocol, + + [Parameter()] + [PSObject] + $AllowedInboundDataTransferSources, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableAppPinIfDevicePinIsSet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $MinimumRequiredSdkVersion, + + [Parameter()] + [System.String[]] + $ManagedUniversalLinks + ) +} +function New-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $EnterpriseProxiedDomains, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnterpriseProxyServersAreAuthoritative, + + [Parameter()] + [PSObject] + $SmbAutoEncryptedFileExtensions, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProtectionUnderLockConfigRequired, + + [Parameter()] + [PSObject] + $EnforcementLevel, + + [Parameter()] + [System.String] + $EnterpriseDomain, + + [Parameter()] + [PSObject] + $EnterpriseInternalProxyServers, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $EnterpriseNetworkDomainNames, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [PSObject] + $EnterpriseProxyServers, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $RightsManagementServicesTemplateId, + + [Parameter()] + [PSObject] + $ExemptAppLockerFiles, + + [Parameter()] + [PSObject] + $DataRecoveryCertificate, + + [Parameter()] + [PSObject] + $ExemptApps, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $EnterpriseProtectedDomainNames, + + [Parameter()] + [PSObject] + $NeutralDomainResources, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AzureRightsManagementServicesAllowed, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnterpriseIPRangesAreAuthoritative, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IconsVisible, + + [Parameter()] + [PSObject] + $ProtectedAppLockerFiles, + + [Parameter()] + [PSObject] + $ProtectedApps, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RevokeOnUnenrollDisabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $EnterpriseIPRanges, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IndexingEncryptedStoresOrItemsBlocked + ) +} +function New-MgBetaDeviceAppManagementTargetedManagedAppConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $DeployedAppCount, + + [Parameter()] + [PSObject] + $TargetedAppManagementLevels, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [PSObject] + $DeploymentSummary, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $CustomSettings, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceAppManagementAndroidManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $AndroidManagedAppProtectionId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceAppManagementiOSManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $IosManagedAppProtectionId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $MdmWindowsInformationProtectionPolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceAppManagementTargetedManagedAppConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TargetedManagedAppConfigurationId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Set-MgBetaDeviceAppManagementTargetedManagedAppConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $TargetedManagedAppConfigurationId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaDeviceAppManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [System.DateTime] + $MicrosoftStoreForBusinessLastSuccessfulSyncDateTime, + + [Parameter()] + [PSObject] + $TargetedManagedAppConfigurations, + + [Parameter()] + [PSObject] + $PolicySets, + + [Parameter()] + [PSObject] + $ManagedEBooks, + + [Parameter()] + [PSObject] + $MobileApps, + + [Parameter()] + [PSObject] + $EnterpriseCodeSigningCertificates, + + [Parameter()] + [PSObject] + $ManagedAppPolicies, + + [Parameter()] + [PSObject] + $DeviceAppManagementTasks, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ManagedAppStatuses, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $WindowsManagementApp, + + [Parameter()] + [PSObject] + $ManagedAppRegistrations, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $WindowsManagedAppProtections, + + [Parameter()] + [PSObject] + $DefaultManagedAppProtections, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabledForMicrosoftStoreForBusiness, + + [Parameter()] + [PSObject] + $WindowsInformationProtectionWipeActions, + + [Parameter()] + [System.String] + $MicrosoftStoreForBusinessLanguage, + + [Parameter()] + [PSObject] + $ManagedEBookCategories, + + [Parameter()] + [System.DateTime] + $MicrosoftStoreForBusinessLastCompletedApplicationSyncTime, + + [Parameter()] + [PSObject] + $SymantecCodeSigningCertificate, + + [Parameter()] + [PSObject] + $IosManagedAppProtections, + + [Parameter()] + [PSObject] + $IosLobAppProvisioningConfigurations, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $MobileAppCategories, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $WindowsInformationProtectionDeviceRegistrations, + + [Parameter()] + [PSObject] + $VppTokens, + + [Parameter()] + [PSObject] + $WindowsInformationProtectionPolicies, + + [Parameter()] + [PSObject] + $MicrosoftStoreForBusinessPortalSelection, + + [Parameter()] + [PSObject] + $AndroidManagedAppProtections, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $MdmWindowsInformationProtectionPolicies, + + [Parameter()] + [PSObject] + $MobileAppConfigurations, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $WdacSupplementalPolicies + ) +} +function Update-MgBetaDeviceAppManagementAndroidManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AppActionIfDevicePasscodeComplexityLessThanHigh, + + [Parameter()] + [System.String] + $AndroidManagedAppProtectionId, + + [Parameter()] + [PSObject] + $MaximumAllowedDeviceThreatLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $KeyboardsRestricted, + + [Parameter()] + [System.String] + $CustomBrowserDisplayName, + + [Parameter()] + [System.String] + $MinimumRequiredPatchVersion, + + [Parameter()] + [PSObject] + $AppActionIfAndroidDeviceModelNotAllowed, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableAppEncryptionIfDeviceEncryptionIsEnabled, + + [Parameter()] + [PSObject] + $MobileThreatDefensePartnerPriority, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String[]] + $AllowedAndroidDeviceModels, + + [Parameter()] + [PSObject] + $ManagedBrowser, + + [Parameter()] + [System.TimeSpan] + $PeriodOnlineBeforeAccessCheck, + + [Parameter()] + [System.Int32] + $PreviousPinBlockCount, + + [Parameter()] + [System.String] + $MaximumWarningOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ContactSyncBlocked, + + [Parameter()] + [System.String] + $MinimumWarningCompanyPortalVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RequireClass3Biometrics, + + [Parameter()] + [System.String] + $MinimumWarningPatchVersion, + + [Parameter()] + [PSObject] + $AppActionIfDeviceComplianceRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SaveAsBlocked, + + [Parameter()] + [System.String] + $CustomDialerAppDisplayName, + + [Parameter()] + [PSObject] + $AllowedDataIngestionLocations, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Int32] + $DeployedAppCount, + + [Parameter()] + [PSObject] + $NotificationRestriction, + + [Parameter()] + [System.String] + $CustomBrowserPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BiometricAuthenticationBlocked, + + [Parameter()] + [PSObject] + $AppActionIfDevicePasscodeComplexityLessThanMedium, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $MobileThreatDefenseRemediationAction, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DeviceComplianceRequired, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeAccessCheck, + + [Parameter()] + [PSObject] + $AppActionIfUnableToAuthenticateUser, + + [Parameter()] + [System.String] + $MinimumRequiredOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RequirePinAfterBiometricChange, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DataBackupBlocked, + + [Parameter()] + [System.String] + $MaximumRequiredOSVersion, + + [Parameter()] + [System.String] + $MinimumWipePatchVersion, + + [Parameter()] + [PSObject] + $AllowedOutboundClipboardSharingLevel, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $RequiredAndroidSafetyNetAppsVerificationType, + + [Parameter()] + [PSObject] + $AppActionIfMaximumPinRetriesExceeded, + + [Parameter()] + [System.String] + $MinimumWipeCompanyPortalVersion, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [PSObject] + $AllowedOutboundDataTransferDestinations, + + [Parameter()] + [PSObject] + $AppActionIfAndroidDeviceManufacturerNotAllowed, + + [Parameter()] + [System.String] + $MinimumWipeAppVersion, + + [Parameter()] + [System.String] + $AllowedAndroidDeviceManufacturers, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OrganizationalCredentialsRequired, + + [Parameter()] + [System.String] + $CustomDialerAppPackageId, + + [Parameter()] + [PSObject] + $AllowedDataStorageLocations, + + [Parameter()] + [System.Int32] + $BlockAfterCompanyPortalUpdateDeferralInDays, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $DialerRestrictionLevel, + + [Parameter()] + [System.String] + $MinimumWarningAppVersion, + + [Parameter()] + [PSObject] + $AppActionIfAndroidSafetyNetDeviceAttestationFailed, + + [Parameter()] + [System.Int32] + $MaximumPinRetries, + + [Parameter()] + [PSObject] + $AppActionIfAndroidSafetyNetAppsVerificationFailed, + + [Parameter()] + [System.String] + $MinimumWipeOSVersion, + + [Parameter()] + [PSObject] + $ApprovedKeyboards, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeWipeIsEnforced, + + [Parameter()] + [System.TimeSpan] + $PinRequiredInsteadOfBiometricTimeout, + + [Parameter()] + [System.String] + $MinimumRequiredAppVersion, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.Int32] + $AllowedOutboundClipboardSharingExceptionLength, + + [Parameter()] + [PSObject] + $DeploymentSummary, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ScreenCaptureBlocked, + + [Parameter()] + [PSObject] + $PinCharacterSet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ManagedBrowserToOpenLinksRequired, + + [Parameter()] + [System.String] + $MaximumWipeOSVersion, + + [Parameter()] + [System.Int32] + $MinimumPinLength, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SimplePinBlocked, + + [Parameter()] + [System.String] + $MinimumWarningOSVersion, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EncryptAppData, + + [Parameter()] + [System.TimeSpan] + $GracePeriodToBlockAppsDuringOffClockHours, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ConnectToVpnOnLaunch, + + [Parameter()] + [System.Int32] + $WipeAfterCompanyPortalUpdateDeferralInDays, + + [Parameter()] + [PSObject] + $RequiredAndroidSafetyNetEvaluationType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PinRequired, + + [Parameter()] + [PSObject] + $AppActionIfAccountIsClockedOut, + + [Parameter()] + [System.Int32] + $WarnAfterCompanyPortalUpdateDeferralInDays, + + [Parameter()] + [PSObject] + $AppActionIfDevicePasscodeComplexityLessThanLow, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FingerprintBlocked, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $MinimumRequiredCompanyPortalVersion, + + [Parameter()] + [System.TimeSpan] + $PeriodBeforePinReset, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BlockDataIngestionIntoOrganizationDocuments, + + [Parameter()] + [PSObject] + $AppActionIfDeviceLockNotSet, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $AllowedInboundDataTransferSources, + + [Parameter()] + [PSObject] + $RequiredAndroidSafetyNetDeviceAttestationType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FingerprintAndBiometricEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableAppPinIfDevicePinIsSet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PrintBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DeviceLockRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $ExemptedAppPackages, + + [Parameter()] + [PSObject] + $TargetedAppManagementLevels + ) +} +function Update-MgBetaDeviceAppManagementiOSManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String[]] + $ExemptedUniversalLinks, + + [Parameter()] + [PSObject] + $MaximumAllowedDeviceThreatLevel, + + [Parameter()] + [System.String] + $MinimumWipeSdkVersion, + + [Parameter()] + [PSObject] + $AppDataEncryptionType, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $MobileThreatDefensePartnerPriority, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $TargetedAppManagementLevels, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ThirdPartyKeyboardsBlocked, + + [Parameter()] + [PSObject] + $ManagedBrowser, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.TimeSpan] + $PeriodOnlineBeforeAccessCheck, + + [Parameter()] + [System.Int32] + $PreviousPinBlockCount, + + [Parameter()] + [PSObject] + $AllowedOutboundClipboardSharingLevel, + + [Parameter()] + [System.Int32] + $MinimumPinLength, + + [Parameter()] + [PSObject] + $AppActionIfDeviceComplianceRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SaveAsBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PinRequired, + + [Parameter()] + [PSObject] + $AllowedDataIngestionLocations, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Int32] + $DeployedAppCount, + + [Parameter()] + [PSObject] + $NotificationRestriction, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $IosManagedAppProtectionId, + + [Parameter()] + [System.String] + $MinimumWarningSdkVersion, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DeviceComplianceRequired, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeAccessCheck, + + [Parameter()] + [PSObject] + $AppActionIfUnableToAuthenticateUser, + + [Parameter()] + [System.String] + $MinimumRequiredOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ManagedBrowserToOpenLinksRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FilterOpenInToOnlyManagedApps, + + [Parameter()] + [System.String] + $MaximumRequiredOSVersion, + + [Parameter()] + [System.String] + $AllowedIosDeviceModels, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ContactSyncBlocked, + + [Parameter()] + [System.Int32] + $MaximumPinRetries, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PrintBlocked, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeWipeIsEnforced, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $AllowedOutboundDataTransferDestinations, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DataBackupBlocked, + + [Parameter()] + [System.String] + $MinimumWipeAppVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OrganizationalCredentialsRequired, + + [Parameter()] + [PSObject] + $AllowedDataStorageLocations, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FaceIdBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProtectInboundDataFromUnknownSources, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $DialerRestrictionLevel, + + [Parameter()] + [System.String] + $MinimumWarningAppVersion, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.String] + $MinimumWipeOSVersion, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [System.String] + $MinimumRequiredSdkVersion, + + [Parameter()] + [System.TimeSpan] + $PinRequiredInsteadOfBiometricTimeout, + + [Parameter()] + [System.String] + $MinimumRequiredAppVersion, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $MobileThreatDefenseRemediationAction, + + [Parameter()] + [System.Int32] + $AllowedOutboundClipboardSharingExceptionLength, + + [Parameter()] + [PSObject] + $DeploymentSummary, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SimplePinBlocked, + + [Parameter()] + [System.String] + $MaximumWipeOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableProtectionOfManagedOutboundOpenInData, + + [Parameter()] + [System.TimeSpan] + $GracePeriodToBlockAppsDuringOffClockHours, + + [Parameter()] + [System.String] + $MinimumWarningOSVersion, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $ExemptedAppProtocols, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [PSObject] + $AppActionIfMaximumPinRetriesExceeded, + + [Parameter()] + [PSObject] + $AppActionIfIosDeviceModelNotAllowed, + + [Parameter()] + [System.String] + $CustomDialerAppProtocol, + + [Parameter()] + [System.String] + $MaximumWarningOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FingerprintBlocked, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.TimeSpan] + $PeriodBeforePinReset, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BlockDataIngestionIntoOrganizationDocuments, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String] + $CustomBrowserProtocol, + + [Parameter()] + [PSObject] + $AllowedInboundDataTransferSources, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableAppPinIfDevicePinIsSet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $PinCharacterSet, + + [Parameter()] + [System.String[]] + $ManagedUniversalLinks + ) +} +function Update-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $EnterpriseProxiedDomains, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $SmbAutoEncryptedFileExtensions, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnterpriseProxyServersAreAuthoritative, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProtectionUnderLockConfigRequired, + + [Parameter()] + [PSObject] + $EnforcementLevel, + + [Parameter()] + [System.String] + $EnterpriseDomain, + + [Parameter()] + [PSObject] + $EnterpriseInternalProxyServers, + + [Parameter()] + [PSObject] + $EnterpriseNetworkDomainNames, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [PSObject] + $EnterpriseProxyServers, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $RightsManagementServicesTemplateId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $ExemptAppLockerFiles, + + [Parameter()] + [PSObject] + $DataRecoveryCertificate, + + [Parameter()] + [System.String] + $MdmWindowsInformationProtectionPolicyId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $EnterpriseProtectedDomainNames, + + [Parameter()] + [PSObject] + $NeutralDomainResources, + + [Parameter()] + [PSObject] + $ExemptApps, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AzureRightsManagementServicesAllowed, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnterpriseIPRangesAreAuthoritative, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IconsVisible, + + [Parameter()] + [PSObject] + $ProtectedAppLockerFiles, + + [Parameter()] + [PSObject] + $ProtectedApps, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RevokeOnUnenrollDisabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $EnterpriseIPRanges, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IndexingEncryptedStoresOrItemsBlocked + ) +} +function Update-MgBetaDeviceAppManagementTargetedManagedAppConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $DeploymentSummary, + + [Parameter()] + [PSObject] + $TargetedAppManagementLevels, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.Int32] + $DeployedAppCount, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $CustomSettings, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [System.String] + $TargetedManagedAppConfigurationId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Beta.DeviceManagement.Administration +function Get-MgBetaDeviceManagementRoleScopeTag +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $RoleScopeTagId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Beta.DeviceManagement.Enrollment +function Get-MgBetaDeviceManagementDeviceEnrollmentConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DeviceEnrollmentConfigurationId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementDeviceEnrollmentConfigurationAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DeviceEnrollmentConfigurationId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $EnrollmentConfigurationAssignmentId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $WindowsAutopilotDeploymentProfileId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementWindowsAutopilotDeploymentProfileAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $WindowsAutopilotDeploymentProfileAssignmentId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $WindowsAutopilotDeploymentProfileId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementWindowsFeatureUpdateProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $WindowsFeatureUpdateProfileId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementWindowsFeatureUpdateProfileAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $WindowsFeatureUpdateProfileId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $WindowsFeatureUpdateProfileAssignmentId, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaRoleManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaDeviceManagementDeviceEnrollmentConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $DeviceEnrollmentConfigurationType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ExtractHardwareHash, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ManagementServiceAppId, + + [Parameter()] + [PSObject] + $EnrollmentStatusScreenSettings, + + [Parameter()] + [System.String] + $DeviceNameTemplate, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnableWhiteGlove, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $DeviceType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AssignedDevices, + + [Parameter()] + [PSObject] + $OutOfBoxExperienceSettings, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Language, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementWindowsFeatureUpdateProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $RolloutSettings, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $DeployableContentDisplayName, + + [Parameter()] + [System.DateTime] + $EndOfSupportDate, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $FeatureUpdateVersion, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementDeviceEnrollmentConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceEnrollmentConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $WindowsAutopilotDeploymentProfileId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementWindowsFeatureUpdateProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $WindowsFeatureUpdateProfileId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementDeviceEnrollmentConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $DeviceEnrollmentConfigurationId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $DeviceEnrollmentConfigurationType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ExtractHardwareHash, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ManagementServiceAppId, + + [Parameter()] + [PSObject] + $EnrollmentStatusScreenSettings, + + [Parameter()] + [System.String] + $DeviceNameTemplate, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnableWhiteGlove, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $DeviceType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AssignedDevices, + + [Parameter()] + [PSObject] + $OutOfBoxExperienceSettings, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Language, + + [Parameter()] + [System.String] + $WindowsAutopilotDeploymentProfileId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementWindowsFeatureUpdateProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $WindowsFeatureUpdateProfileId, + + [Parameter()] + [PSObject] + $RolloutSettings, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $DeployableContentDisplayName, + + [Parameter()] + [System.DateTime] + $EndOfSupportDate, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $FeatureUpdateVersion, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaRoleManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $CloudPc, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $EnterpriseApps, + + [Parameter()] + [PSObject] + $EntitlementManagement, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Exchange, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $Directory, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $DeviceManagement + ) +} + +function Get-MgBetaDeviceManagementMobileThreatDefenseConnector +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $MobileThreatDefenseConnectorId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Boolean] + $AllowPartnerToCollectIosApplicationMetadata, + + [Parameter()] + [System.Boolean] + $AllowPartnerToCollectIosPersonalApplicationMetadata, + + [Parameter()] + [System.Boolean] + $AndroidDeviceBlockedOnMissingPartnerData, + + [Parameter()] + [System.Boolean] + $AndroidEnabled, + + [Parameter()] + [System.Boolean] + $AndroidMobileApplicationManagementEnabled, + + [Parameter()] + [System.Boolean] + $IosDeviceBlockedOnMissingPartnerData, + + [Parameter()] + [System.Boolean] + $IosEnabled, + + [Parameter()] + [System.Boolean] + $IosMobileApplicationManagementEnabled, + + [Parameter()] + [System.DateTime] + $LastHeartbeatDateTime, + + [Parameter()] + [System.Boolean] + $MicrosoftDefenderForEndpointAttachEnabled, + + [Parameter()] + [System.String] + $PartnerState, + + [Parameter()] + [System.Int32] + $PartnerUnresponsivenessThresholdInDays, + + [Parameter()] + [System.Boolean] + $PartnerUnsupportedOSVersionBlocked, + + [Parameter()] + [System.Boolean] + $WindowsDeviceBlockedOnMissingPartnerData, + + [Parameter()] + [System.Boolean] + $WindowsEnabled + ) +} + +function New-MgBetaDeviceManagementMobileThreatDefenseConnector +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $MobileThreatDefenseConnectorId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Boolean] + $AllowPartnerToCollectIosApplicationMetadata, + + [Parameter()] + [System.Boolean] + $AllowPartnerToCollectIosPersonalApplicationMetadata, + + [Parameter()] + [System.Boolean] + $AndroidDeviceBlockedOnMissingPartnerData, + + [Parameter()] + [System.Boolean] + $AndroidEnabled, + + [Parameter()] + [System.Boolean] + $AndroidMobileApplicationManagementEnabled, + + [Parameter()] + [System.Boolean] + $IosDeviceBlockedOnMissingPartnerData, + + [Parameter()] + [System.Boolean] + $IosEnabled, + + [Parameter()] + [System.Boolean] + $IosMobileApplicationManagementEnabled, + + [Parameter()] + [System.DateTime] + $LastHeartbeatDateTime, + + [Parameter()] + [System.Boolean] + $MicrosoftDefenderForEndpointAttachEnabled, + + [Parameter()] + [System.String] + $PartnerState, + + [Parameter()] + [System.Int32] + $PartnerUnresponsivenessThresholdInDays, + + [Parameter()] + [System.Boolean] + $PartnerUnsupportedOSVersionBlocked, + + [Parameter()] + [System.Boolean] + $WindowsDeviceBlockedOnMissingPartnerData, + + [Parameter()] + [System.Boolean] + $WindowsEnabled + ) +} + +function Update-MgBetaDeviceManagementMobileThreatDefenseConnector +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $MobileThreatDefenseConnectorId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Boolean] + $AllowPartnerToCollectIosApplicationMetadata, + + [Parameter()] + [System.Boolean] + $AllowPartnerToCollectIosPersonalApplicationMetadata, + + [Parameter()] + [System.Boolean] + $AndroidDeviceBlockedOnMissingPartnerData, + + [Parameter()] + [System.Boolean] + $AndroidEnabled, + + [Parameter()] + [System.Boolean] + $AndroidMobileApplicationManagementEnabled, + + [Parameter()] + [System.Boolean] + $IosDeviceBlockedOnMissingPartnerData, + + [Parameter()] + [System.Boolean] + $IosEnabled, + + [Parameter()] + [System.Boolean] + $IosMobileApplicationManagementEnabled, + + [Parameter()] + [System.DateTime] + $LastHeartbeatDateTime, + + [Parameter()] + [System.Boolean] + $MicrosoftDefenderForEndpointAttachEnabled, + + [Parameter()] + [System.String] + $PartnerState, + + [Parameter()] + [System.Int32] + $PartnerUnresponsivenessThresholdInDays, + + [Parameter()] + [System.Boolean] + $PartnerUnsupportedOSVersionBlocked, + + [Parameter()] + [System.Boolean] + $WindowsDeviceBlockedOnMissingPartnerData, + + [Parameter()] + [System.Boolean] + $WindowsEnabled + ) +} + +function Remove-MgBetaDeviceManagementMobileThreatDefenseConnector +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $MobileThreatDefenseConnectorId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +#endregion + +#region Microsoft.Graph.Beta.Identity.DirectoryManagement +function Get-MgBetaDevice +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectory +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaDirectoryAdministrativeUnit +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectoryAdministrativeUnitMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectoryAdministrativeUnitScopedRoleMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $ScopedRoleMembershipId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectoryRole +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DirectoryRoleId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectoryRoleTemplate +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $DirectoryRoleTemplateId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectorySetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DirectorySettingId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaOrganizationSetting +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaOrganizationSettingItemInsight +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaOrganizationSettingPersonInsight +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaSubscribedSku +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $SubscribedSkuId, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $Search + ) +} +function New-MgBetaDevice +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.DateTime] + $RegistrationDateTime, + + [Parameter()] + [System.String] + $Status, + + [Parameter()] + [PSObject] + $UsageRights, + + [Parameter()] + [System.String] + $DeviceMetadata, + + [Parameter()] + [System.String] + $TrustType, + + [Parameter()] + [System.Int32] + $DeviceVersion, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [PSObject] + $AlternativeSecurityIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $Commands, + + [Parameter()] + [System.String] + $OnPremisesSecurityIdentifier, + + [Parameter()] + [System.String] + $OperatingSystemVersion, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.DateTime] + $OnPremisesLastSyncDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $DeviceId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsCompliant, + + [Parameter()] + [System.String] + $EnrollmentType, + + [Parameter()] + [System.String] + $ProfileType, + + [Parameter()] + [PSObject] + $ExtensionAttributes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OnPremisesSyncEnabled, + + [Parameter()] + [PSObject] + $MemberOf, + + [Parameter()] + [System.String[]] + $Hostnames, + + [Parameter()] + [System.String[]] + $PhysicalIds, + + [Parameter()] + [System.DateTime] + $ComplianceExpirationDateTime, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $DeviceCategory, + + [Parameter()] + [System.String] + $DomainName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsManagementRestricted, + + [Parameter()] + [PSObject] + $TransitiveMemberOf, + + [Parameter()] + [System.String] + $Model, + + [Parameter()] + [System.String[]] + $SystemLabels, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $RegisteredOwners, + + [Parameter()] + [PSObject] + $RegisteredUsers, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $OperatingSystem, + + [Parameter()] + [System.String] + $Manufacturer, + + [Parameter()] + [System.String] + $DeviceOwnership, + + [Parameter()] + [System.DateTime] + $ApproximateLastSignInDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsManaged, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $Platform, + + [Parameter()] + [System.String] + $EnrollmentProfileName, + + [Parameter()] + [System.String] + $MdmAppId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsRooted, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AccountEnabled, + + [Parameter()] + [System.String] + $ManagementType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $Kind + ) +} +function New-MgBetaDirectoryAdministrativeUnit +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMemberManagementRestricted, + + [Parameter()] + [PSObject] + $ScopedRoleMembers, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Visibility, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDirectoryAdministrativeUnitMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaDirectoryAdministrativeUnitMemberByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaDirectoryAdministrativeUnitScopedRoleMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $AdministrativeUnitId1, + + [Parameter()] + [System.String] + $RoleId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $RoleMemberInfo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDirectoryRole +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $RoleTemplateId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $ScopedMembers, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDirectoryRoleMemberByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DirectoryRoleId, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaDirectorySetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Values, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaDevice +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDirectoryAdministrativeUnit +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaDirectoryAdministrativeUnitMemberDirectoryObjectByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaDirectoryAdministrativeUnitScopedRoleMember +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ScopedRoleMembershipId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaDirectoryRole +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $DirectoryRoleId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaDirectoryRoleMemberByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DirectoryRoleId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaDirectorySetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DirectorySettingId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Restore-MgBetaDirectoryDeletedItem +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaDevice +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.DateTime] + $RegistrationDateTime, + + [Parameter()] + [System.String] + $Status, + + [Parameter()] + [PSObject] + $UsageRights, + + [Parameter()] + [System.String] + $DeviceMetadata, + + [Parameter()] + [System.String] + $TrustType, + + [Parameter()] + [System.Int32] + $DeviceVersion, + + [Parameter()] + [System.String] + $OperatingSystem, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [PSObject] + $AlternativeSecurityIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $Commands, + + [Parameter()] + [System.String] + $OnPremisesSecurityIdentifier, + + [Parameter()] + [System.String] + $OperatingSystemVersion, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.DateTime] + $OnPremisesLastSyncDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $DeviceId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsCompliant, + + [Parameter()] + [System.String] + $EnrollmentType, + + [Parameter()] + [System.String] + $ProfileType, + + [Parameter()] + [PSObject] + $ExtensionAttributes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OnPremisesSyncEnabled, + + [Parameter()] + [PSObject] + $MemberOf, + + [Parameter()] + [System.String[]] + $Hostnames, + + [Parameter()] + [System.String[]] + $PhysicalIds, + + [Parameter()] + [System.DateTime] + $ComplianceExpirationDateTime, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $DeviceCategory, + + [Parameter()] + [System.String] + $DomainName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsManagementRestricted, + + [Parameter()] + [PSObject] + $TransitiveMemberOf, + + [Parameter()] + [System.String] + $Model, + + [Parameter()] + [System.String[]] + $SystemLabels, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $RegisteredOwners, + + [Parameter()] + [PSObject] + $RegisteredUsers, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $DeviceId1, + + [Parameter()] + [System.String] + $Manufacturer, + + [Parameter()] + [System.String] + $DeviceOwnership, + + [Parameter()] + [System.DateTime] + $ApproximateLastSignInDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsManaged, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $Platform, + + [Parameter()] + [System.String] + $EnrollmentProfileName, + + [Parameter()] + [System.String] + $MdmAppId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsRooted, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AccountEnabled, + + [Parameter()] + [System.String] + $ManagementType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $Kind + ) +} +function Update-MgBetaDirectory +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InboundSharedUserProfiles, + + [Parameter()] + [PSObject] + $SharedEmailDomains, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $OutboundSharedUserProfiles, + + [Parameter()] + [PSObject] + $FederationConfigurations, + + [Parameter()] + [PSObject] + $OnPremisesSynchronization, + + [Parameter()] + [PSObject] + $AdministrativeUnits, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Recommendations, + + [Parameter()] + [PSObject] + $AttributeSets, + + [Parameter()] + [PSObject] + $Subscriptions, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [PSObject] + $DeletedItems, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ImpactedResources, + + [Parameter()] + [PSObject] + $CertificateAuthorities, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $CustomSecurityAttributeDefinitions, + + [Parameter()] + [PSObject] + $FeatureRolloutPolicies, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDirectoryAdministrativeUnit +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMemberManagementRestricted, + + [Parameter()] + [PSObject] + $ScopedRoleMembers, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Visibility, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDirectorySetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Values, + + [Parameter()] + [System.String] + $DirectorySettingId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $PostalCode, + + [Parameter()] + [PSObject] + $VerifiedDomains, + + [Parameter()] + [System.String] + $DefaultUsageLocation, + + [Parameter()] + [PSObject] + $CertificateConnectorSetting, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.String] + $Street, + + [Parameter()] + [PSObject] + $PartnerInformation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $PreferredLanguage, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.String] + $City, + + [Parameter()] + [System.String[]] + $MarketingNotificationEmails, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $AssignedPlans, + + [Parameter()] + [PSObject] + $MobileDeviceManagementAuthority, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMultipleDataLocationsForServicesEnabled, + + [Parameter()] + [System.String] + $Country, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String[]] + $SecurityComplianceNotificationMails, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $CertificateBasedAuthConfiguration, + + [Parameter()] + [System.String[]] + $TechnicalNotificationMails, + + [Parameter()] + [PSObject] + $PrivacyProfile, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.DateTime] + $OnPremisesLastSyncDateTime, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [PSObject] + $ProvisionedPlans, + + [Parameter()] + [PSObject] + $DirectorySizeQuota, + + [Parameter()] + [System.DateTime] + $OnPremisesLastPasswordSyncDateTime, + + [Parameter()] + [PSObject] + $Branding, + + [Parameter()] + [System.String] + $CountryLetterCode, + + [Parameter()] + [System.String[]] + $BusinessPhones, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OnPremisesSyncEnabled, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [System.String[]] + $SecurityComplianceNotificationPhones, + + [Parameter()] + [System.String] + $PartnerTenantType + ) +} +function Update-MgBetaOrganizationSetting +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $PeopleInsights, + + [Parameter()] + [PSObject] + $ItemInsights, + + [Parameter()] + [PSObject] + $MicrosoftApplicationDataAccess, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $ContactInsights, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaOrganizationSettingItemInsight +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabledInOrganization, + + [Parameter()] + [System.String] + $DisabledForGroup, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaOrganizationSettingPersonInsight +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabledInOrganization, + + [Parameter()] + [System.String] + $DisabledForGroup, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaDirectoryDeletedApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Beta.Identity.Governance +function Get-MgBetaProgram +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ProgramId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter + ) +} + +function Remove-MgBetaProgram +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ProgramId + ) +} + +function Update-MgBetaProgram +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ProgramId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $BodyParameter + ) +} + +function New-MgBetaProgram +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $BodyParameter + ) +} + +function Get-MgBetaAgreement +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.String] + $AgreementId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaEntitlementManagementAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $CatalogId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DisplayNameContains, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DisplayNameEq, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $AccessPackageAssignmentId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $AccessPackageAssignmentPolicyId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DisplayNameContains, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DisplayNameEq, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageCatalog +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DisplayNameContains, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DisplayNameEq, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageCatalogAccessPackageResource +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageCatalogAccessPackageResourceRole +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageIncompatibleGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageIncompatibleWith +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $AccessPackageId1, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementConnectedOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DisplayNameContains, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DisplayNameEq, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementConnectedOrganizationExternalSponsor +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementConnectedOrganizationInternalSponsor +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} + +function Get-MgBetaIdentityGovernanceLifecycleWorkflow +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $WorkflowId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaIdentityGovernanceLifecycleWorkflowTask +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $WorkflowId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $TaskId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaIdentityGovernanceLifecycleWorkflow +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $TaskReports, + + [Parameter()] + [System.DateTime] + $NextScheduleRunDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.Hashtable] + $ExecutionConditions, + + [Parameter()] + [PSObject] + $Runs, + + [Parameter()] + [PSObject] + $Versions, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $UserProcessingResults, + + [Parameter()] + [PSObject] + $CreatedBy, + + [Parameter()] + [PSObject] + $ExecutionScope, + + [Parameter()] + [System.String] + $Category, + + [Parameter()] + [PSObject] + $LastModifiedBy, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $Tasks, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsSchedulingEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabled, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaIdentityGovernanceLifecycleWorkflowNewVersion +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $WorkflowId, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $Workflow, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaIdentityGovernanceLifecycleWorkflow +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $WorkflowId, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} + +function Update-MgBetaIdentityGovernanceLifecycleWorkflow +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String] + $WorkflowId, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $TaskReports, + + [Parameter()] + [System.DateTime] + $NextScheduleRunDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.Hashtable] + $ExecutionConditions, + + [Parameter()] + [PSObject] + $Runs, + + [Parameter()] + [PSObject] + $Versions, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $UserProcessingResults, + + [Parameter()] + [PSObject] + $CreatedBy, + + [Parameter()] + [PSObject] + $ExecutionScope, + + [Parameter()] + [System.String] + $Category, + + [Parameter()] + [PSObject] + $LastModifiedBy, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $Tasks, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsSchedulingEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabled, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaRoleManagementDirectory +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaRoleManagementDirectoryRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $UnifiedRoleAssignmentId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaRoleManagementDirectoryRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.String] + $UnifiedRoleDefinitionId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaRoleManagementDirectoryRoleEligibilitySchedule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $UnifiedRoleEligibilityScheduleId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $UnifiedRoleEligibilityScheduleRequestId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $AccessPackagesIncompatibleWith, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $IncompatibleGroups, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $AccessPackageCatalog, + + [Parameter()] + [System.String] + $CatalogId, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AccessPackageAssignmentPolicies, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsRoleScopesVisible, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $IncompatibleAccessPackages, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AccessPackageResourceRoleScopes, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsHidden + ) +} +function New-MgBetaEntitlementManagementAccessPackageAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Justification, + + [Parameter()] + [System.String[]] + $RequiredUserId, + + [Parameter()] + [PSObject] + $Answers, + + [Parameter()] + [PSObject] + $ExistingAssignment, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.PSObject[]] + $RequiredGroupMember, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $StartDate, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $AssignmentPolicyId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $CustomExtensionStageSettings, + + [Parameter()] + [PSObject] + $AccessPackageCatalog, + + [Parameter()] + [PSObject] + $Questions, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AccessReviewSettings, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [PSObject] + $RequestorSettings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $CanExtend, + + [Parameter()] + [PSObject] + $VerifiableCredentialSettings, + + [Parameter()] + [PSObject] + $CustomExtensionHandlers, + + [Parameter()] + [System.Int32] + $DurationInDays, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.DateTime] + $ExpirationDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $RequestApprovalSettings, + + [Parameter()] + [PSObject] + $AccessPackage, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageCatalog +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsExternallyVisible, + + [Parameter()] + [PSObject] + $AccessPackageCustomWorkflowExtensions, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $AccessPackages, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [PSObject] + $AccessPackageResourceScopes, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AccessPackageResources, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [PSObject] + $CustomAccessPackageWorkflowExtensions, + + [Parameter()] + [System.String] + $CatalogStatus, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $AccessPackageResourceRoles, + + [Parameter()] + [System.String] + $CatalogType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackageByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaEntitlementManagementAccessPackageIncompatibleGroupByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaEntitlementManagementAccessPackageResourceRequest +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Justification, + + [Parameter()] + [PSObject] + $AccessPackageResource, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ExecuteImmediately, + + [Parameter()] + [System.String] + $CatalogId, + + [Parameter()] + [System.String] + $RequestType, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Requestor, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsValidationOnly, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.DateTime] + $ExpirationDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $RequestState, + + [Parameter()] + [System.String] + $RequestStatus, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageResourceRoleScope +{ + [CmdletBinding()] + param( + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [PSObject] + $AccessPackageResourceScope, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $AccessPackageResourceRole, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementConnectedOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $ExternalSponsors, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $IdentitySources, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $InternalSponsors, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.String] + $DomainName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaRoleManagementDirectoryRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Principal, + + [Parameter()] + [System.String] + $ResourceScope, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $DirectoryScope, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $PrincipalId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $Condition, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [PSObject] + $RoleDefinition, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AppScope, + + [Parameter()] + [System.String] + $DirectoryScopeId, + + [Parameter()] + [System.String] + $PrincipalOrganizationId, + + [Parameter()] + [System.String] + $AppScopeId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaRoleManagementDirectoryRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $ResourceScopes, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsPrivileged, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltIn, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $InheritsPermissionsFrom, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $AllowedPrincipalTypes, + + [Parameter()] + [PSObject] + $RolePermissions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabled, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaRoleManagementDirectoryRoleEligibilitySchedule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $MemberType, + + [Parameter()] + [PSObject] + $Principal, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $CreatedUsing, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $ScheduleInfo, + + [Parameter()] + [PSObject] + $DirectoryScope, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $PrincipalId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Status, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [PSObject] + $RoleDefinition, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AppScope, + + [Parameter()] + [System.String] + $DirectoryScopeId, + + [Parameter()] + [System.String] + $AppScopeId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Justification, + + [Parameter()] + [PSObject] + $Principal, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $Action, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $ScheduleInfo, + + [Parameter()] + [PSObject] + $DirectoryScope, + + [Parameter()] + [PSObject] + $TargetSchedule, + + [Parameter()] + [System.String] + $ApprovalId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CustomData, + + [Parameter()] + [PSObject] + $CreatedBy, + + [Parameter()] + [System.String] + $PrincipalId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsValidationOnly, + + [Parameter()] + [System.DateTime] + $CompletedDateTime, + + [Parameter()] + [PSObject] + $TicketInfo, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Status, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $TargetScheduleId, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [PSObject] + $RoleDefinition, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AppScope, + + [Parameter()] + [System.String] + $DirectoryScopeId, + + [Parameter()] + [System.String] + $AppScopeId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaEntitlementManagementAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $AccessPackageAssignmentId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageAssignmentPolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageCatalog +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackageByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageId1, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageIncompatibleGroupByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageResourceRoleScope +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageResourceRoleScopeId, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaEntitlementManagementConnectedOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorDirectoryObjectByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorDirectoryObjectByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaRoleManagementDirectory +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaRoleManagementDirectoryRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $UnifiedRoleAssignmentId, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaRoleManagementDirectoryRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $UnifiedRoleDefinitionId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Set-MgBetaEntitlementManagementAccessPackageAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $CustomExtensionHandlers, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $CustomExtensionStageSettings, + + [Parameter()] + [PSObject] + $AccessPackageCatalog, + + [Parameter()] + [PSObject] + $Questions, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AccessReviewSettings, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.String] + $AccessPackageAssignmentPolicyId, + + [Parameter()] + [PSObject] + $RequestorSettings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $CanExtend, + + [Parameter()] + [PSObject] + $VerifiableCredentialSettings, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Int32] + $DurationInDays, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.DateTime] + $ExpirationDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $RequestApprovalSettings, + + [Parameter()] + [PSObject] + $AccessPackage, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaEntitlementManagementAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $AccessPackagesIncompatibleWith, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $IncompatibleGroups, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $AccessPackageCatalog, + + [Parameter()] + [System.String] + $CatalogId, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AccessPackageAssignmentPolicies, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsRoleScopesVisible, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $IncompatibleAccessPackages, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AccessPackageResourceRoleScopes, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsHidden + ) +} +function Update-MgBetaEntitlementManagementAccessPackageCatalog +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsExternallyVisible, + + [Parameter()] + [PSObject] + $AccessPackageCustomWorkflowExtensions, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $AccessPackages, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $AccessPackageResourceScopes, + + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AccessPackageResources, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [PSObject] + $CustomAccessPackageWorkflowExtensions, + + [Parameter()] + [System.String] + $CatalogStatus, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $AccessPackageResourceRoles, + + [Parameter()] + [System.String] + $CatalogType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaEntitlementManagementConnectedOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $ExternalSponsors, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $IdentitySources, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [PSObject] + $InternalSponsors, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaRoleManagementDirectory +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $RoleAssignmentScheduleRequests, + + [Parameter()] + [PSObject] + $TransitiveRoleAssignments, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $RoleEligibilitySchedules, + + [Parameter()] + [PSObject] + $ResourceNamespaces, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $RoleDefinitions, + + [Parameter()] + [PSObject] + $RoleEligibilityScheduleRequests, + + [Parameter()] + [PSObject] + $RoleAssignmentSchedules, + + [Parameter()] + [PSObject] + $RoleAssignments, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $RoleEligibilityScheduleInstances, + + [Parameter()] + [PSObject] + $RoleAssignmentScheduleInstances, + + [Parameter()] + [PSObject] + $RoleAssignmentApprovals, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaRoleManagementDirectoryRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $ResourceScopes, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsPrivileged, + + [Parameter()] + [System.String] + $UnifiedRoleDefinitionId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltIn, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $InheritsPermissionsFrom, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $AllowedPrincipalTypes, + + [Parameter()] + [PSObject] + $RolePermissions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabled, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Beta.Identity.SignIns + +#region Microsoft.Graph.Authentication +function Get-MgBetaIdentityUserFlowAttribute +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $IdentityUserFlowAttributeId, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Sort + ) +} +function New-MgBetaIdentityUserFlowAttribute +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DataType, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName + ) +} +function Update-MgBetaIdentityUserFlowAttribute +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DataType, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $IdentityUserFlowAttributeId, + + [Parameter()] + [System.String] + $Id + ) +} +function Remove-MgBetaIdentityUserFlowAttribute +{ + [CmdletBinding()] + param( + + [Parameter()] + [System.String] + $IdentityUserFlowAttributeId + ) +} +#endregion + + +function Get-MgBetaIdentityConditionalAccess +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaIdentityConditionalAccessAuthenticationContextClassReference +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $AuthenticationContextClassReferenceId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaIdentityConditionalAccessNamedLocation +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $NamedLocationId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaIdentityConditionalAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $ConditionalAccessPolicyId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyAccessReviewPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaIdentityProvider +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $IdentityProviderBaseId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaOauth2PermissionGrant +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $OAuth2PermissionGrantId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyAuthenticationMethodPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $AuthenticationMethodConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyAuthenticationStrengthPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $AuthenticationStrengthPolicyId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyAuthorizationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $AuthorizationPolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyCrossTenantAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaPolicyCrossTenantAccessPolicyDefault +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaPolicyCrossTenantAccessPolicyPartner +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $CrossTenantAccessPolicyConfigurationPartnerTenantId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyExternalIdentityPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaPolicyIdentitySecurityDefaultEnforcementPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaPolicyRoleManagementPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyRoleManagementPolicyAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyAssignmentId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyRoleManagementPolicyRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyRuleId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyTokenLifetimePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $TokenLifetimePolicyId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaIdentityConditionalAccessAuthenticationContextClassReference +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAvailable, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaIdentityConditionalAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $SessionControls, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [PSObject] + $Conditions, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $GrantControls, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaIdentityProvider +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $ExcludeTargets + ) +} +function New-MgBetaPolicyAuthenticationStrengthPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $PolicyType, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $RequirementsSatisfied, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String[]] + $AllowedCombinations, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $CombinationConfigurations, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaPolicyCrossTenantAccessPolicyPartner +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [PSObject] + $TenantRestrictions, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $InboundTrust, + + [Parameter()] + [PSObject] + $AutomaticUserConsentSettings, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $B2BDirectConnectOutbound, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsInMultiTenantOrganization, + + [Parameter()] + [PSObject] + $B2BDirectConnectInbound, + + [Parameter()] + [PSObject] + $B2BCollaborationOutbound, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $IdentitySynchronization, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $B2BCollaborationInbound, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsServiceProvider, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaPolicyTokenLifetimePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Definition, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [PSObject] + $AppliesTo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaIdentityConditionalAccess +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaIdentityConditionalAccessAuthenticationContextClassReference +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AuthenticationContextClassReferenceId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaIdentityConditionalAccessNamedLocation +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $NamedLocationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaIdentityConditionalAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ConditionalAccessPolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaIdentityProvider +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $IdentityProviderBaseId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaPolicyAuthenticationMethodPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AuthenticationMethodConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaPolicyAuthenticationStrengthPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AuthenticationStrengthPolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaPolicyCrossTenantAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaPolicyCrossTenantAccessPolicyPartner +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $CrossTenantAccessPolicyConfigurationPartnerTenantId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaPolicyTokenLifetimePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $TokenLifetimePolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaIdentityConditionalAccess +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Templates, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $AuthenticationStrengths, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $NamedLocations, + + [Parameter()] + [PSObject] + $AuthenticationContextClassReferences, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $AuthenticationStrength, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Policies, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaIdentityConditionalAccessAuthenticationContextClassReference +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAvailable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $AuthenticationContextClassReferenceId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaIdentityConditionalAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $SessionControls, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [PSObject] + $Conditions, + + [Parameter()] + [System.String] + $ConditionalAccessPolicyId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $GrantControls, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaIdentityProvider +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $IdentityProviderBaseId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaPolicyAuthenticationMethodPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Int32] + $ReconfirmationInDays, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String] + $PolicyMigrationState, + + [Parameter()] + [PSObject] + $SystemCredentialPreferences, + + [Parameter()] + [System.String] + $PolicyVersion, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $RegistrationEnforcement, + + [Parameter()] + [PSObject] + $AuthenticationMethodConfigurations, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ReportSuspiciousActivitySettings, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AuthenticationMethodConfigurationId, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $ExcludeTargets + ) +} +function Update-MgBetaPolicyAuthenticationStrengthPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $PolicyType, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $AuthenticationStrengthPolicyId, + + [Parameter()] + [System.String] + $RequirementsSatisfied, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String[]] + $AllowedCombinations, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $CombinationConfigurations, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaPolicyAuthenticationStrengthPolicyAllowedCombination +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String[]] + $AllowedCombinations, + + [Parameter()] + [System.String] + $AuthenticationStrengthPolicyId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaPolicyAccessReviewPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsGroupOwnerManagementEnabled, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaPolicyAuthorizationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BlockMsolPowerShell, + + [Parameter()] + [System.String] + $AuthorizationPolicyId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowedToUseSspr, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowUserConsentForRiskyApps, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $GuestUserRoleId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowedToSignUpEmailBasedSubscriptions, + + [Parameter()] + [PSObject] + $DefaultUserRoleOverrides, + + [Parameter()] + [System.String] + $AllowInvitesFrom, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowEmailVerifiedUsersToJoinOrganization, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String[]] + $PermissionGrantPolicyIdsAssignedToDefaultUserRole, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $DefaultUserRolePermissions, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String[]] + $EnabledPreviewFeatures + ) +} +function Update-MgBetaPolicyCrossTenantAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Definition, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $Templates, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Partners, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String[]] + $AllowedCloudEndpoints, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Default + ) +} +function Update-MgBetaPolicyCrossTenantAccessPolicyDefault +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsServiceDefault, + + [Parameter()] + [System.Collections.Hashtable] + $InvitationRedemptionIdentityProviderConfiguration, + + [Parameter()] + [PSObject] + $TenantRestrictions, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $InboundTrust, + + [Parameter()] + [PSObject] + $AutomaticUserConsentSettings, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $B2BDirectConnectOutbound, + + [Parameter()] + [PSObject] + $B2BDirectConnectInbound, + + [Parameter()] + [PSObject] + $B2BCollaborationOutbound, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $B2BCollaborationInbound, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaPolicyCrossTenantAccessPolicyPartner +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [PSObject] + $TenantRestrictions, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $InboundTrust, + + [Parameter()] + [PSObject] + $AutomaticUserConsentSettings, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $B2BDirectConnectOutbound, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsInMultiTenantOrganization, + + [Parameter()] + [System.String] + $CrossTenantAccessPolicyConfigurationPartnerTenantId, + + [Parameter()] + [PSObject] + $B2BDirectConnectInbound, + + [Parameter()] + [PSObject] + $B2BCollaborationOutbound, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $IdentitySynchronization, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $B2BCollaborationInbound, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsServiceProvider, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaPolicyExternalIdentityPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowExternalIdentitiesToLeave, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowDeletedIdentitiesDataRemoval, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaPolicyIdentitySecurityDefaultEnforcementPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabled, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaPolicyRoleManagementPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $EffectiveRules, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $ScopeType, + + [Parameter()] + [System.String] + $ScopeId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, + + [Parameter()] + [PSObject] + $LastModifiedBy, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $Rules, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaPolicyRoleManagementPolicyRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyRuleId, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $Target, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaPolicyTokenLifetimePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Definition, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $TokenLifetimePolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [PSObject] + $AppliesTo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetwork +function Get-MgBetaNetworkAccessConnectivityRemoteNetwork +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $RemoteNetworkId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaNetworkAccessConnectivityRemoteNetwork +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $RemoteNetworkId + ) +} +function Remove-MgBetaNetworkAccessConnectivityRemoteNetworkDeviceLink +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $DeviceLinkId, + + [Parameter()] + [System.String] + $RemoteNetworkId + ) +} +function New-MgBetaNetworkAccessConnectivityRemoteNetwork +{ + [CmdletBinding()] + param( + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $ConnectivityConfiguration, + + [Parameter()] + [PSObject] + $DeviceLinks, + + [Parameter()] + [PSObject] + $ForwardingProfiles, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $Region, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaNetworkAccessConnectivityRemoteNetworkDeviceLink +{ + [CmdletBinding()] + param( + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $RedundancyConfiguration, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BgpConfiguration, + + [Parameter()] + [System.String] + $RemoteNetworkId, + + [Parameter()] + [System.String] + $IPAddress, + + [Parameter()] + [PSObject] + $TunnelConfiguration, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $BandwidthCapacityInMbps, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $DeviceVendor, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Beta.Teams +function Get-MgBetaTeam +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaTeamChannel +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaTeamChannelTab +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $TeamsTabId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaTeam +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Specialization, + + [Parameter()] + [PSObject] + $PrimaryChannel, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMembershipLimitedToOwners, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Classification, + + [Parameter()] + [PSObject] + $AllChannels, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsArchived, + + [Parameter()] + [System.String] + $InternalId, + + [Parameter()] + [PSObject] + $Channels, + + [Parameter()] + [PSObject] + $Group, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $IncomingChannels, + + [Parameter()] + [PSObject] + $Tags, + + [Parameter()] + [PSObject] + $Photo, + + [Parameter()] + [System.String] + $Visibility, + + [Parameter()] + [PSObject] + $MessagingSettings, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [PSObject] + $PermissionGrants, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $InstalledApps, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [PSObject] + $FunSettings, + + [Parameter()] + [PSObject] + $Schedule, + + [Parameter()] + [PSObject] + $Operations, + + [Parameter()] + [PSObject] + $GuestSettings, + + [Parameter()] + [System.String] + $WebUrl, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Collections.Hashtable] + $Template, + + [Parameter()] + [PSObject] + $Summary, + + [Parameter()] + [PSObject] + $DiscoverySettings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $TemplateDefinition, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $MemberSettings + ) +} +function New-MgBetaTeamChannel +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $FilesFolder, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [PSObject] + $Tabs, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $SharedWithTeams, + + [Parameter()] + [PSObject] + $Messages, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsFavoriteByDefault, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.String] + $Email, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ModerationSettings, + + [Parameter()] + [System.String] + $MembershipType, + + [Parameter()] + [System.String] + $WebUrl, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $Summary, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaTeamChannelTab +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TeamsAppId, + + [Parameter()] + [System.String] + $MessageId, + + [Parameter()] + [System.String] + $SortOrderIndex, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [PSObject] + $TeamsApp, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Configuration, + + [Parameter()] + [System.String] + $WebUrl, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaTeam +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaTeamChannel +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaTeamChannelTab +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [System.String] + $TeamsTabId, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaTeam +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $PrimaryChannel, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $Tags, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMembershipLimitedToOwners, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $AllChannels, + + [Parameter()] + [System.String] + $Classification, + + [Parameter()] + [System.String] + $InternalId, + + [Parameter()] + [PSObject] + $MemberSettings, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Group, + + [Parameter()] + [System.String] + $Specialization, + + [Parameter()] + [PSObject] + $IncomingChannels, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsArchived, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [PSObject] + $Photo, + + [Parameter()] + [System.String] + $Visibility, + + [Parameter()] + [PSObject] + $MessagingSettings, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [PSObject] + $PermissionGrants, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $InstalledApps, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [PSObject] + $FunSettings, + + [Parameter()] + [PSObject] + $Schedule, + + [Parameter()] + [PSObject] + $Operations, + + [Parameter()] + [PSObject] + $GuestSettings, + + [Parameter()] + [System.String] + $WebUrl, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Collections.Hashtable] + $Template, + + [Parameter()] + [PSObject] + $Summary, + + [Parameter()] + [PSObject] + $DiscoverySettings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $TemplateDefinition, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Channels + ) +} +function Update-MgBetaTeamChannel +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $FilesFolder, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [PSObject] + $Tabs, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $SharedWithTeams, + + [Parameter()] + [PSObject] + $Messages, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsFavoriteByDefault, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.String] + $Email, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ModerationSettings, + + [Parameter()] + [System.String] + $MembershipType, + + [Parameter()] + [System.String] + $WebUrl, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $Summary, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaTeamChannelTab +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TeamsAppId, + + [Parameter()] + [System.String] + $MessageId, + + [Parameter()] + [System.String] + $SortOrderIndex, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [PSObject] + $TeamsApp, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Configuration, + + [Parameter()] + [System.String] + $WebUrl, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $TeamsTabId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion + +#region Microsoft.Graph.deviceManagement + +function New-MgBetaDeviceAppManagementMobileAppCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $DisplayName + ) +} + +function Get-MgBetaDeviceAppManagementMobileAppCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $MobileAppCategoryId, + + [Parameter()] + [System.String] + $DisplayName + ) +} + +function Update-MgBetaDeviceAppManagementMobileAppCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $MobileAppCategoryId, + + [Parameter()] + [System.String] + $DisplayName + ) +} + +function Remove-MgBetaDeviceAppManagementMobileAppCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $MobileAppCategoryId, + + [Parameter()] + [System.Boolean] + $Confirm + ) +} + +#region Microsoft.Graph.DeviceManagement.Administration +function Get-MgDeviceManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $DeviceAndAppManagementRoleAssignmentId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgDeviceManagementRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgDeviceManagementRoleDefinitionRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $RoleAssignmentId, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgDeviceManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $ResourceScopes, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String[]] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $RoleDefinition, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgDeviceManagementRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $RoleAssignments, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltIn, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $RolePermissions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgDeviceManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceAndAppManagementRoleAssignmentId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgDeviceManagementRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgDeviceManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $ResourceScopes, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceAndAppManagementRoleAssignmentId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $RoleDefinition, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgDeviceManagementRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $RoleAssignments, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltIn, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [PSObject] + $RolePermissions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion + +#endregion Microsoft.Graph.DeviceManagement + +#region Microsoft.Graph.DirectoryObjects +function Get-MgDirectoryObject +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Beta.Identity.Governance +function Get-MgBetaAgreement +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AgreementId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $CatalogId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DisplayNameContains, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $DisplayNameEq, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $AccessPackageAssignmentId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $AccessPackageAssignmentPolicyId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DisplayNameContains, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $DisplayNameEq, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageCatalog +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DisplayNameContains, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $DisplayNameEq, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageCatalogAccessPackageResource +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageCatalogAccessPackageResourceRole +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageIncompatibleGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageIncompatibleWith +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $AccessPackageId1, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementConnectedOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DisplayNameContains, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $DisplayNameEq, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementConnectedOrganizationExternalSponsor +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementConnectedOrganizationInternalSponsor +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementSetting +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaRoleManagementDirectory +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaRoleManagementDirectoryRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $UnifiedRoleAssignmentId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaRoleManagementDirectoryRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.String] + $UnifiedRoleDefinitionId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaRoleManagementDirectoryRoleEligibilitySchedule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $UnifiedRoleEligibilityScheduleId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $UnifiedRoleEligibilityScheduleRequestId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaRoleManagementEntitlementManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaRoleManagementEntitlementManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $UnifiedRoleAssignmentId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaRoleManagementEntitlementManagementRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.String] + $UnifiedRoleDefinitionId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $UniqueName, + + [Parameter()] + [PSObject] + $AccessPackagesIncompatibleWith, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $IncompatibleGroups, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AccessPackageCatalog, + + [Parameter()] + [System.String] + $CatalogId, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AccessPackageAssignmentPolicies, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsRoleScopesVisible, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $IncompatibleAccessPackages, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $AccessPackageResourceRoleScopes, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsHidden + ) +} +function New-MgBetaEntitlementManagementAccessPackageAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Justification, + + [Parameter()] + [System.String[]] + $RequiredUserId, + + [Parameter()] + [PSObject] + $Answers, + + [Parameter()] + [PSObject] + $ExistingAssignment, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.PSObject[]] + $RequiredGroupMember, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $StartDate, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $AssignmentPolicyId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $CustomExtensionStageSettings, + + [Parameter()] + [PSObject] + $AccessPackageCatalog, + + [Parameter()] + [PSObject] + $Questions, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [PSObject] + $VerifiableCredentialSettings, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AccessReviewSettings, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [PSObject] + $RequestorSettings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $CanExtend, + + [Parameter()] + [PSObject] + $CustomExtensionHandlers, + + [Parameter()] + [System.Int32] + $DurationInDays, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.DateTime] + $ExpirationDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $RequestApprovalSettings, + + [Parameter()] + [PSObject] + $AccessPackage, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $AccessPackageNotificationSettings, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageCatalog +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsExternallyVisible, + + [Parameter()] + [System.String] + $UniqueName, + + [Parameter()] + [PSObject] + $AccessPackageCustomWorkflowExtensions, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $AccessPackages, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [PSObject] + $AccessPackageResourceScopes, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AccessPackageResources, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [PSObject] + $CustomAccessPackageWorkflowExtensions, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $CatalogStatus, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $AccessPackageResourceRoles, + + [Parameter()] + [System.String] + $CatalogType, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackageByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageIncompatibleGroupByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageResourceRequest +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Justification, + + [Parameter()] + [PSObject] + $AccessPackageResource, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ExecuteImmediately, + + [Parameter()] + [System.String] + $CatalogId, + + [Parameter()] + [System.String] + $RequestType, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Requestor, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsValidationOnly, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.DateTime] + $ExpirationDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $RequestState, + + [Parameter()] + [System.String] + $RequestStatus, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageResourceRoleScope +{ + [CmdletBinding()] + param( + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [PSObject] + $AccessPackageResourceScope, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $AccessPackageResourceRole, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementConnectedOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $ExternalSponsors, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $IdentitySources, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $InternalSponsors, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $DomainName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaRoleManagementDirectoryRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Principal, + + [Parameter()] + [System.String] + $ResourceScope, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $DirectoryScope, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $PrincipalId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $Condition, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [PSObject] + $RoleDefinition, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AppScope, + + [Parameter()] + [System.String] + $DirectoryScopeId, + + [Parameter()] + [System.String] + $PrincipalOrganizationId, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $AppScopeId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaRoleManagementDirectoryRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $ResourceScopes, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsPrivileged, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltIn, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $InheritsPermissionsFrom, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $AllowedPrincipalTypes, + + [Parameter()] + [PSObject] + $RolePermissions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabled, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaRoleManagementDirectoryRoleEligibilitySchedule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $MemberType, + + [Parameter()] + [PSObject] + $Principal, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $CreatedUsing, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $ScheduleInfo, + + [Parameter()] + [PSObject] + $DirectoryScope, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $PrincipalId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Status, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [PSObject] + $RoleDefinition, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AppScope, + + [Parameter()] + [System.String] + $DirectoryScopeId, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $AppScopeId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Justification, + + [Parameter()] + [PSObject] + $Principal, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $Action, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $ScheduleInfo, + + [Parameter()] + [PSObject] + $DirectoryScope, + + [Parameter()] + [PSObject] + $TargetSchedule, + + [Parameter()] + [System.String] + $ApprovalId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CustomData, + + [Parameter()] + [PSObject] + $CreatedBy, + + [Parameter()] + [System.String] + $PrincipalId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsValidationOnly, + + [Parameter()] + [System.DateTime] + $CompletedDateTime, + + [Parameter()] + [PSObject] + $TicketInfo, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Status, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $TargetScheduleId, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [PSObject] + $RoleDefinition, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AppScope, + + [Parameter()] + [System.String] + $DirectoryScopeId, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $AppScopeId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaRoleManagementEntitlementManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Principal, + + [Parameter()] + [System.String] + $ResourceScope, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $DirectoryScope, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $PrincipalId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $Condition, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [PSObject] + $RoleDefinition, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AppScope, + + [Parameter()] + [System.String] + $DirectoryScopeId, + + [Parameter()] + [System.String] + $PrincipalOrganizationId, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $AppScopeId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaEntitlementManagementAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $AccessPackageAssignmentId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageAssignmentPolicyId, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageCatalog +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackageByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageIncompatibleGroupByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageResourceRoleScope +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $AccessPackageResourceRoleScopeId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementConnectedOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorDirectoryObjectByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorDirectoryObjectByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaRoleManagementDirectory +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaRoleManagementDirectoryRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $UnifiedRoleAssignmentId, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaRoleManagementDirectoryRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $UnifiedRoleDefinitionId, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaRoleManagementEntitlementManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaRoleManagementEntitlementManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $UnifiedRoleAssignmentId, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Set-MgBetaEntitlementManagementAccessPackageAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $CustomExtensionStageSettings, + + [Parameter()] + [PSObject] + $AccessPackageCatalog, + + [Parameter()] + [PSObject] + $Questions, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AccessReviewSettings, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.String] + $AccessPackageAssignmentPolicyId, + + [Parameter()] + [PSObject] + $RequestorSettings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $CanExtend, + + [Parameter()] + [PSObject] + $VerifiableCredentialSettings, + + [Parameter()] + [PSObject] + $CustomExtensionHandlers, + + [Parameter()] + [System.Int32] + $DurationInDays, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.DateTime] + $ExpirationDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $RequestApprovalSettings, + + [Parameter()] + [PSObject] + $AccessPackage, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $AccessPackageNotificationSettings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaEntitlementManagementAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $AccessPackagesIncompatibleWith, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $IncompatibleGroups, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $AccessPackageCatalog, + + [Parameter()] + [System.String] + $CatalogId, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AccessPackageAssignmentPolicies, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsRoleScopesVisible, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $IncompatibleAccessPackages, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AccessPackageResourceRoleScopes, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $UniqueName, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsHidden + ) +} +function Update-MgBetaEntitlementManagementAccessPackageCatalog +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsExternallyVisible, + + [Parameter()] + [System.String] + $UniqueName, + + [Parameter()] + [PSObject] + $AccessPackageCustomWorkflowExtensions, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $AccessPackages, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AccessPackageResources, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [PSObject] + $CustomAccessPackageWorkflowExtensions, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $CatalogStatus, + + [Parameter()] + [PSObject] + $AccessPackageResourceScopes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $AccessPackageResourceRoles, + + [Parameter()] + [System.String] + $CatalogType, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaEntitlementManagementConnectedOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $ExternalSponsors, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $IdentitySources, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [PSObject] + $InternalSponsors, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaEntitlementManagementSetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Int32] + $DaysUntilExternalUserDeletedAfterBlocked, + + [Parameter()] + [System.String] + $ExternalUserLifecycleAction + ) +} +function Update-MgBetaRoleManagementDirectory +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $RoleAssignmentScheduleRequests, + + [Parameter()] + [PSObject] + $TransitiveRoleAssignments, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $RoleEligibilitySchedules, + + [Parameter()] + [PSObject] + $ResourceNamespaces, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $RoleDefinitions, + + [Parameter()] + [PSObject] + $RoleEligibilityScheduleRequests, + + [Parameter()] + [PSObject] + $RoleAssignmentSchedules, + + [Parameter()] + [PSObject] + $RoleAssignments, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $RoleEligibilityScheduleInstances, + + [Parameter()] + [PSObject] + $RoleAssignmentScheduleInstances, + + [Parameter()] + [PSObject] + $RoleAssignmentApprovals, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaRoleManagementDirectoryRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $ResourceScopes, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsPrivileged, + + [Parameter()] + [System.String] + $UnifiedRoleDefinitionId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltIn, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $InheritsPermissionsFrom, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $AllowedPrincipalTypes, + + [Parameter()] + [PSObject] + $RolePermissions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion + +#region Microsoft.Graph.Groups +function Get-MgGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgGroupLifecyclePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupLifecyclePolicyId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaGroupMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgGroupMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgGroupMemberOf +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaGroupMemberOf +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgGroupOwner +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaGroupOwner +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Mail, + + [Parameter()] + [System.String] + $Visibility, + + [Parameter()] + [PSObject] + $PermissionGrants, + + [Parameter()] + [PSObject] + $Sites, + + [Parameter()] + [PSObject] + $AppRoleAssignments, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SecurityEnabled, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $Calendar, + + [Parameter()] + [System.String] + $SecurityIdentifier, + + [Parameter()] + [PSObject] + $AssignedLicenses, + + [Parameter()] + [System.DateTime] + $RenewedDateTime, + + [Parameter()] + [PSObject] + $RejectedSenders, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [System.Int32] + $UnseenCount, + + [Parameter()] + [System.String] + $Classification, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AutoSubscribeNewMembers, + + [Parameter()] + [System.String[]] + $ProxyAddresses, + + [Parameter()] + [System.String] + $OnPremisesNetBiosName, + + [Parameter()] + [System.DateTime] + $ExpirationDateTime, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $OnPremisesProvisioningErrors, + + [Parameter()] + [System.String] + $OnPremisesSecurityIdentifier, + + [Parameter()] + [System.String] + $PreferredLanguage, + + [Parameter()] + [PSObject] + $TransitiveMembers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $HideFromAddressLists, + + [Parameter()] + [PSObject] + $Planner, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.DateTime] + $OnPremisesLastSyncDateTime, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [PSObject] + $GroupLifecyclePolicies, + + [Parameter()] + [PSObject] + $LicenseProcessingState, + + [Parameter()] + [System.String] + $OnPremisesDomainName, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [PSObject] + $AssignedLabels, + + [Parameter()] + [PSObject] + $AcceptedSenders, + + [Parameter()] + [PSObject] + $Onenote, + + [Parameter()] + [System.String] + $MembershipRuleProcessingState, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $MemberOf, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $MailEnabled, + + [Parameter()] + [PSObject] + $Drives, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowExternalSenders, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $Photo, + + [Parameter()] + [System.String] + $Theme, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $HasMembersWithLicenseErrors, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $TransitiveMemberOf, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OnPremisesSyncEnabled, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsArchived, + + [Parameter()] + [PSObject] + $Drive, + + [Parameter()] + [System.String] + $MailNickname, + + [Parameter()] + [PSObject] + $CalendarView, + + [Parameter()] + [PSObject] + $Photos, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssignableToRole, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $CreatedOnBehalfOf, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $HideFromOutlookClients, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsSubscribedByMail, + + [Parameter()] + [PSObject] + $Events, + + [Parameter()] + [PSObject] + $Threads, + + [Parameter()] + [PSObject] + $Team, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [System.String[]] + $GroupTypes, + + [Parameter()] + [System.String] + $MembershipRule, + + [Parameter()] + [System.String] + $PreferredDataLocation, + + [Parameter()] + [System.String] + $OnPremisesSamAccountName, + + [Parameter()] + [PSObject] + $Conversations, + + [Parameter()] + [PSObject] + $MembersWithLicenseErrors, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgGroupLifecyclePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $GroupLifetimeInDays, + + [Parameter()] + [System.String] + $AlternateNotificationEmails, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $ManagedGroupTypes, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgGroupMember +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaGroupMember +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgGroupMemberByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} + +function New-MgBetaGroupMemberByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgGroupOwner +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaGroupOwnerByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgGroupOwnerByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgGroupLifecyclePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $GroupLifecyclePolicyId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgGroupMemberDirectoryObjectByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgGroupOwnerDirectoryObjectByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Set-MgGroupLicense +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $RemoveLicenses, + + [Parameter()] + [PSObject] + $AddLicenses, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Mail, + + [Parameter()] + [System.String] + $Visibility, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $PermissionGrants, + + [Parameter()] + [PSObject] + $Sites, + + [Parameter()] + [PSObject] + $AppRoleAssignments, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SecurityEnabled, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $Calendar, + + [Parameter()] + [System.String] + $SecurityIdentifier, + + [Parameter()] + [PSObject] + $AssignedLicenses, + + [Parameter()] + [System.DateTime] + $RenewedDateTime, + + [Parameter()] + [PSObject] + $RejectedSenders, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [System.Int32] + $UnseenCount, + + [Parameter()] + [System.String] + $Classification, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AutoSubscribeNewMembers, + + [Parameter()] + [System.String] + $MailNickname, + + [Parameter()] + [System.String[]] + $ProxyAddresses, + + [Parameter()] + [System.DateTime] + $ExpirationDateTime, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $OnPremisesProvisioningErrors, + + [Parameter()] + [System.String] + $OnPremisesSecurityIdentifier, + + [Parameter()] + [System.String] + $PreferredLanguage, + + [Parameter()] + [PSObject] + $TransitiveMembers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $HideFromAddressLists, + + [Parameter()] + [PSObject] + $Planner, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.DateTime] + $OnPremisesLastSyncDateTime, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [PSObject] + $GroupLifecyclePolicies, + + [Parameter()] + [PSObject] + $LicenseProcessingState, + + [Parameter()] + [System.String] + $OnPremisesDomainName, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [PSObject] + $AssignedLabels, + + [Parameter()] + [PSObject] + $AcceptedSenders, + + [Parameter()] + [PSObject] + $Onenote, + + [Parameter()] + [System.String] + $MembershipRuleProcessingState, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $MemberOf, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $MailEnabled, + + [Parameter()] + [PSObject] + $Drives, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowExternalSenders, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $Photo, + + [Parameter()] + [System.String] + $Theme, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $HasMembersWithLicenseErrors, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $TransitiveMemberOf, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OnPremisesSyncEnabled, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsArchived, + + [Parameter()] + [PSObject] + $Drive, + + [Parameter()] + [System.String] + $OnPremisesNetBiosName, + + [Parameter()] + [PSObject] + $CalendarView, + + [Parameter()] + [PSObject] + $Photos, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssignableToRole, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $CreatedOnBehalfOf, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $HideFromOutlookClients, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsSubscribedByMail, + + [Parameter()] + [PSObject] + $Events, + + [Parameter()] + [PSObject] + $Threads, + + [Parameter()] + [PSObject] + $Team, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [System.String[]] + $GroupTypes, + + [Parameter()] + [System.String] + $MembershipRule, + + [Parameter()] + [System.String] + $PreferredDataLocation, + + [Parameter()] + [System.String] + $OnPremisesSamAccountName, + + [Parameter()] + [PSObject] + $Conversations, + + [Parameter()] + [PSObject] + $MembersWithLicenseErrors, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgGroupLifecyclePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Int32] + $GroupLifetimeInDays, + + [Parameter()] + [System.String] + $AlternateNotificationEmails, + + [Parameter()] + [System.String] + $GroupLifecyclePolicyId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $ManagedGroupTypes, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Planner +function Get-MgGroupPlanner +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgGroupPlannerPlan +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $PlannerPlanId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgGroupPlannerPlanTask +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $PlannerPlanId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgPlanner +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgPlannerPlan +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $PlannerPlanId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgPlannerPlanBucket +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $PlannerPlanId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgPlannerTask +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $PlannerTaskId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgPlannerTaskDetail +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $PlannerTaskId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgPlannerBucket +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $OrderHint, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $PlanId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $Tasks, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgPlannerPlan +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Buckets, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Tasks, + + [Parameter()] + [PSObject] + $Container, + + [Parameter()] + [PSObject] + $CreatedBy, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Title, + + [Parameter()] + [PSObject] + $Details, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgPlannerTask +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $ReferenceCount, + + [Parameter()] + [System.String] + $PlanId, + + [Parameter()] + [System.Collections.Hashtable] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $ProgressTaskBoardFormat, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Collections.Hashtable] + $AppliedCategories, + + [Parameter()] + [System.String] + $BucketId, + + [Parameter()] + [PSObject] + $CreatedBy, + + [Parameter()] + [System.Int32] + $PercentComplete, + + [Parameter()] + [System.String] + $Title, + + [Parameter()] + [System.String] + $PreviewType, + + [Parameter()] + [PSObject] + $AssignedToTaskBoardFormat, + + [Parameter()] + [System.DateTime] + $CompletedDateTime, + + [Parameter()] + [System.Int32] + $ChecklistItemCount, + + [Parameter()] + [System.String] + $AssigneePriority, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.DateTime] + $StartDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $CompletedBy, + + [Parameter()] + [PSObject] + $Details, + + [Parameter()] + [PSObject] + $BucketTaskBoardFormat, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $OrderHint, + + [Parameter()] + [System.DateTime] + $DueDateTime, + + [Parameter()] + [System.Int32] + $ActiveChecklistItemCount, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $HasDescription, + + [Parameter()] + [System.String] + $ConversationThreadId + ) +} +function Remove-MgPlannerTask +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $PlannerTaskId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgPlanner +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $Buckets, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $Tasks, + + [Parameter()] + [PSObject] + $Plans, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgPlannerPlan +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $PlannerPlanId, + + [Parameter()] + [PSObject] + $Buckets, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Tasks, + + [Parameter()] + [PSObject] + $Container, + + [Parameter()] + [PSObject] + $CreatedBy, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Title, + + [Parameter()] + [PSObject] + $Details, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Users +function Get-MgUser +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $UserId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgUserLicenseDetail +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $UserId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $LicenseDetailsId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgUser +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Todo, + + [Parameter()] + [PSObject] + $Insights, + + [Parameter()] + [PSObject] + $OnlineMeetings, + + [Parameter()] + [PSObject] + $AssignedPlans, + + [Parameter()] + [System.String] + $ExternalUserState, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.DateTime] + $EmployeeHireDate, + + [Parameter()] + [System.String] + $OnPremisesImmutableId, + + [Parameter()] + [PSObject] + $RegisteredDevices, + + [Parameter()] + [PSObject] + $AppRoleAssignments, + + [Parameter()] + [System.String] + $PreferredName, + + [Parameter()] + [System.DateTime] + $ExternalUserStateChangeDateTime, + + [Parameter()] + [System.String[]] + $ImAddresses, + + [Parameter()] + [System.String] + $OnPremisesDomainName, + + [Parameter()] + [System.String] + $AboutMe, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.DateTime] + $SignInSessionsValidFromDateTime, + + [Parameter()] + [System.DateTime] + $Birthday, + + [Parameter()] + [System.DateTime] + $HireDate, + + [Parameter()] + [PSObject] + $Chats, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $EmployeeOrgData, + + [Parameter()] + [System.DateTime] + $LastPasswordChangeDateTime, + + [Parameter()] + [PSObject] + $Manager, + + [Parameter()] + [PSObject] + $InferenceClassification, + + [Parameter()] + [PSObject] + $CalendarGroups, + + [Parameter()] + [PSObject] + $MailFolders, + + [Parameter()] + [PSObject] + $ScopedRoleMemberOf, + + [Parameter()] + [System.String] + $ConsentProvidedForMinor, + + [Parameter()] + [PSObject] + $AgreementAcceptances, + + [Parameter()] + [System.String] + $EmployeeType, + + [Parameter()] + [PSObject] + $OwnedObjects, + + [Parameter()] + [PSObject] + $AuthorizationInfo, + + [Parameter()] + [PSObject] + $Photos, + + [Parameter()] + [PSObject] + $Oauth2PermissionGrants, + + [Parameter()] + [System.String] + $PreferredDataLocation, + + [Parameter()] + [PSObject] + $MailboxSettings, + + [Parameter()] + [System.String] + $Country, + + [Parameter()] + [System.String] + $OnPremisesDistinguishedName, + + [Parameter()] + [System.String[]] + $Skills, + + [Parameter()] + [System.String] + $MobilePhone, + + [Parameter()] + [System.String] + $FaxNumber, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.Int32] + $DeviceEnrollmentLimit, + + [Parameter()] + [System.String] + $Mail, + + [Parameter()] + [System.String] + $GivenName, + + [Parameter()] + [PSObject] + $ContactFolders, + + [Parameter()] + [PSObject] + $People, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsResourceAccount, + + [Parameter()] + [System.String[]] + $OtherMails, + + [Parameter()] + [System.String] + $PasswordPolicies, + + [Parameter()] + [System.String] + $CreationType, + + [Parameter()] + [System.String] + $OnPremisesUserPrincipalName, + + [Parameter()] + [System.String] + $PreferredLanguage, + + [Parameter()] + [System.DateTime] + $OnPremisesLastSyncDateTime, + + [Parameter()] + [System.String] + $AgeGroup, + + [Parameter()] + [PSObject] + $Planner, + + [Parameter()] + [PSObject] + $Contacts, + + [Parameter()] + [PSObject] + $Calendars, + + [Parameter()] + [PSObject] + $Drive, + + [Parameter()] + [System.String] + $UsageLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ShowInAddressList, + + [Parameter()] + [System.String] + $JobTitle, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AccountEnabled, + + [Parameter()] + [System.String[]] + $Schools, + + [Parameter()] + [PSObject] + $SignInActivity, + + [Parameter()] + [System.String] + $City, + + [Parameter()] + [PSObject] + $Teamwork, + + [Parameter()] + [PSObject] + $ManagedAppRegistrations, + + [Parameter()] + [PSObject] + $Messages, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [PSObject] + $Identities, + + [Parameter()] + [PSObject] + $JoinedTeams, + + [Parameter()] + [System.String] + $MySite, + + [Parameter()] + [System.String[]] + $BusinessPhones, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String[]] + $ProxyAddresses, + + [Parameter()] + [System.String] + $OfficeLocation, + + [Parameter()] + [PSObject] + $Presence, + + [Parameter()] + [PSObject] + $PasswordProfile, + + [Parameter()] + [System.String] + $UserType, + + [Parameter()] + [PSObject] + $TransitiveMemberOf, + + [Parameter()] + [PSObject] + $ManagedDevices, + + [Parameter()] + [PSObject] + $CreatedObjects, + + [Parameter()] + [PSObject] + $Photo, + + [Parameter()] + [PSObject] + $LicenseDetails, + + [Parameter()] + [System.String] + $StreetAddress, + + [Parameter()] + [PSObject] + $CalendarView, + + [Parameter()] + [PSObject] + $Onenote, + + [Parameter()] + [System.String] + $SecurityIdentifier, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $OwnedDevices, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $FollowedSites, + + [Parameter()] + [PSObject] + $Drives, + + [Parameter()] + [System.String[]] + $Interests, + + [Parameter()] + [System.String] + $LegalAgeGroupClassification, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $OnPremisesSecurityIdentifier, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Calendar, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OnPremisesSyncEnabled, + + [Parameter()] + [System.String] + $Department, + + [Parameter()] + [System.String] + $CompanyName, + + [Parameter()] + [PSObject] + $MemberOf, + + [Parameter()] + [System.String] + $EmployeeId, + + [Parameter()] + [PSObject] + $AssignedLicenses, + + [Parameter()] + [PSObject] + $Events, + + [Parameter()] + [System.String] + $UserPrincipalName, + + [Parameter()] + [System.String[]] + $Responsibilities, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $ProvisionedPlans, + + [Parameter()] + [PSObject] + $OnPremisesProvisioningErrors, + + [Parameter()] + [System.String] + $MailNickname, + + [Parameter()] + [PSObject] + $OnPremisesExtensionAttributes, + + [Parameter()] + [System.String[]] + $PastProjects, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $DirectReports, + + [Parameter()] + [PSObject] + $Authentication, + + [Parameter()] + [PSObject] + $LicenseAssignmentStates, + + [Parameter()] + [PSObject] + $Activities, + + [Parameter()] + [PSObject] + $Outlook, + + [Parameter()] + [PSObject] + $DeviceManagementTroubleshootingEvents, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $OnPremisesSamAccountName, + + [Parameter()] + [System.DateTime] + $EmployeeLeaveDateTime, + + [Parameter()] + [System.String] + $PostalCode, + + [Parameter()] + [System.String] + $Surname + ) +} +function Remove-MgUser +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $UserId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgUser +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Todo, + + [Parameter()] + [PSObject] + $Insights, + + [Parameter()] + [PSObject] + $OnlineMeetings, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $AssignedPlans, + + [Parameter()] + [System.String] + $ExternalUserState, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.DateTime] + $EmployeeHireDate, + + [Parameter()] + [System.String] + $OnPremisesImmutableId, + + [Parameter()] + [PSObject] + $RegisteredDevices, + + [Parameter()] + [PSObject] + $AppRoleAssignments, + + [Parameter()] + [System.DateTime] + $ExternalUserStateChangeDateTime, + + [Parameter()] + [System.String[]] + $ImAddresses, + + [Parameter()] + [System.String] + $OnPremisesDomainName, + + [Parameter()] + [System.String] + $AboutMe, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.DateTime] + $SignInSessionsValidFromDateTime, + + [Parameter()] + [System.DateTime] + $EmployeeLeaveDateTime, + + [Parameter()] + [System.DateTime] + $Birthday, + + [Parameter()] + [System.DateTime] + $HireDate, + + [Parameter()] + [PSObject] + $Chats, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $EmployeeOrgData, + + [Parameter()] + [System.DateTime] + $LastPasswordChangeDateTime, + + [Parameter()] + [PSObject] + $Manager, + + [Parameter()] + [PSObject] + $InferenceClassification, + + [Parameter()] + [PSObject] + $CalendarGroups, + + [Parameter()] + [PSObject] + $MailFolders, + + [Parameter()] + [PSObject] + $ScopedRoleMemberOf, + + [Parameter()] + [System.String] + $ConsentProvidedForMinor, + + [Parameter()] + [PSObject] + $AgreementAcceptances, + + [Parameter()] + [System.String] + $EmployeeType, + + [Parameter()] + [PSObject] + $OwnedObjects, + + [Parameter()] + [PSObject] + $AuthorizationInfo, + + [Parameter()] + [PSObject] + $Photos, + + [Parameter()] + [PSObject] + $Oauth2PermissionGrants, + + [Parameter()] + [System.String] + $PreferredDataLocation, + + [Parameter()] + [PSObject] + $MailboxSettings, + + [Parameter()] + [System.String] + $Country, + + [Parameter()] + [System.String] + $OnPremisesDistinguishedName, + + [Parameter()] + [System.String[]] + $Skills, + + [Parameter()] + [System.String] + $MobilePhone, + + [Parameter()] + [System.String] + $FaxNumber, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.Int32] + $DeviceEnrollmentLimit, + + [Parameter()] + [System.String] + $Mail, + + [Parameter()] + [System.String] + $GivenName, + + [Parameter()] + [PSObject] + $ContactFolders, + + [Parameter()] + [PSObject] + $People, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsResourceAccount, + + [Parameter()] + [System.String[]] + $OtherMails, + + [Parameter()] + [System.String] + $PasswordPolicies, + + [Parameter()] + [System.String] + $CreationType, + + [Parameter()] + [System.String] + $OnPremisesUserPrincipalName, + + [Parameter()] + [System.String] + $PreferredLanguage, + + [Parameter()] + [System.DateTime] + $OnPremisesLastSyncDateTime, + + [Parameter()] + [System.String] + $AgeGroup, + + [Parameter()] + [PSObject] + $Planner, + + [Parameter()] + [PSObject] + $Contacts, + + [Parameter()] + [PSObject] + $Calendars, + + [Parameter()] + [PSObject] + $Drive, + + [Parameter()] + [System.String] + $UsageLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ShowInAddressList, + + [Parameter()] + [System.String] + $JobTitle, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AccountEnabled, + + [Parameter()] + [System.String[]] + $Schools, + + [Parameter()] + [PSObject] + $SignInActivity, + + [Parameter()] + [System.String] + $City, + + [Parameter()] + [PSObject] + $Teamwork, + + [Parameter()] + [PSObject] + $ManagedAppRegistrations, + + [Parameter()] + [PSObject] + $Messages, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [PSObject] + $Identities, + + [Parameter()] + [PSObject] + $JoinedTeams, + + [Parameter()] + [System.String] + $MySite, + + [Parameter()] + [System.String[]] + $BusinessPhones, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String[]] + $ProxyAddresses, + + [Parameter()] + [System.String] + $OfficeLocation, + + [Parameter()] + [PSObject] + $Presence, + + [Parameter()] + [PSObject] + $PasswordProfile, + + [Parameter()] + [System.String] + $UserType, + + [Parameter()] + [PSObject] + $TransitiveMemberOf, + + [Parameter()] + [PSObject] + $ManagedDevices, + + [Parameter()] + [PSObject] + $CreatedObjects, + + [Parameter()] + [PSObject] + $Photo, + + [Parameter()] + [PSObject] + $LicenseDetails, + + [Parameter()] + [System.String] + $StreetAddress, + + [Parameter()] + [PSObject] + $CalendarView, + + [Parameter()] + [PSObject] + $Onenote, + + [Parameter()] + [System.String] + $SecurityIdentifier, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $OwnedDevices, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $FollowedSites, + + [Parameter()] + [PSObject] + $Drives, + + [Parameter()] + [System.String[]] + $Interests, + + [Parameter()] + [System.String] + $LegalAgeGroupClassification, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $OnPremisesSecurityIdentifier, + + [Parameter()] + [System.String] + $UserId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Calendar, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OnPremisesSyncEnabled, + + [Parameter()] + [System.String] + $Department, + + [Parameter()] + [System.String] + $CompanyName, + + [Parameter()] + [PSObject] + $MemberOf, + + [Parameter()] + [System.String] + $EmployeeId, + + [Parameter()] + [PSObject] + $AssignedLicenses, + + [Parameter()] + [PSObject] + $Events, + + [Parameter()] + [System.String] + $UserPrincipalName, + + [Parameter()] + [System.String[]] + $Responsibilities, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $ProvisionedPlans, + + [Parameter()] + [PSObject] + $OnPremisesProvisioningErrors, + + [Parameter()] + [System.String] + $MailNickname, + + [Parameter()] + [PSObject] + $OnPremisesExtensionAttributes, + + [Parameter()] + [System.String[]] + $PastProjects, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $DirectReports, + + [Parameter()] + [PSObject] + $Authentication, + + [Parameter()] + [PSObject] + $LicenseAssignmentStates, + + [Parameter()] + [PSObject] + $Activities, + + [Parameter()] + [PSObject] + $Outlook, + + [Parameter()] + [PSObject] + $DeviceManagementTroubleshootingEvents, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $OnPremisesSamAccountName, + + [Parameter()] + [System.String] + $PreferredName, + + [Parameter()] + [System.String] + $PostalCode, + + [Parameter()] + [System.String] + $Surname + ) +} +#endregion +#region Microsoft.Graph.Users.Actions +function Set-MgUserLicense +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $RemoveLicenses, + + [Parameter()] + [PSObject] + $AddLicenses, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $UserId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +#endregion +#region Microsoft.Graph.Applications +function Get-MgApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgApplicationOwner +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgServicePrincipal +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $ServicePrincipalId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgServicePrincipalAppRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AppRoleAssignmentId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $ServicePrincipalId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $OptionalClaims, + + [Parameter()] + [PSObject] + $HomeRealmDiscoveryPolicies, + + [Parameter()] + [PSObject] + $Spa, + + [Parameter()] + [PSObject] + $Synchronization, + + [Parameter()] + [System.String] + $DefaultRedirectUri, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $ApplicationTemplateId, + + [Parameter()] + [System.String] + $SignInAudience, + + [Parameter()] + [PSObject] + $VerifiedPublisher, + + [Parameter()] + [System.String[]] + $IdentifierUris, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsDeviceOnlyAuthSupported, + + [Parameter()] + [System.String] + $TokenEncryptionKeyId, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $TokenIssuancePolicies, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $Api, + + [Parameter()] + [System.String] + $PublisherDomain, + + [Parameter()] + [System.String] + $GroupMembershipClaims, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String[]] + $Tags, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [PSObject] + $FederatedIdentityCredentials, + + [Parameter()] + [PSObject] + $TokenLifetimePolicies, + + [Parameter()] + [PSObject] + $AppManagementPolicies, + + [Parameter()] + [System.String] + $DisabledByMicrosoftStatus, + + [Parameter()] + [PSObject] + $PasswordCredentials, + + [Parameter()] + [PSObject] + $PublicClient, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Oauth2RequirePostResponse, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [PSObject] + $RequiredResourceAccess, + + [Parameter()] + [PSObject] + $ParentalControlSettings, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsFallbackPublicClient, + + [Parameter()] + [PSObject] + $AddIns, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [PSObject] + $RequestSignatureVerification, + + [Parameter()] + [System.String] + $LogoInputFile, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $AppRoles, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ExtensionProperties, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $CreatedOnBehalfOf, + + [Parameter()] + [System.String] + $ServiceManagementReference, + + [Parameter()] + [PSObject] + $KeyCredentials, + + [Parameter()] + [PSObject] + $Certification, + + [Parameter()] + [System.String] + $SamlMetadataUrl, + + [Parameter()] + [PSObject] + $Info, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $AppId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgApplicationOwnerByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgServicePrincipal +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $ServicePrincipalNames, + + [Parameter()] + [System.String[]] + $AlternativeNames, + + [Parameter()] + [System.String] + $AppDescription, + + [Parameter()] + [PSObject] + $HomeRealmDiscoveryPolicies, + + [Parameter()] + [PSObject] + $Oauth2PermissionScopes, + + [Parameter()] + [PSObject] + $Synchronization, + + [Parameter()] + [PSObject] + $AppRoleAssignments, + + [Parameter()] + [System.String] + $ApplicationTemplateId, + + [Parameter()] + [System.String] + $SignInAudience, + + [Parameter()] + [PSObject] + $VerifiedPublisher, + + [Parameter()] + [System.String[]] + $NotificationEmailAddresses, + + [Parameter()] + [PSObject] + $ClaimsMappingPolicies, + + [Parameter()] + [System.String] + $TokenEncryptionKeyId, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $TokenIssuancePolicies, + + [Parameter()] + [System.String] + $PreferredTokenSigningKeyThumbprint, + + [Parameter()] + [System.String] + $AppDisplayName, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $AppRoleAssignedTo, + + [Parameter()] + [System.String] + $Homepage, + + [Parameter()] + [System.String] + $ServicePrincipalType, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $SamlSingleSignOnSettings, + + [Parameter()] + [System.String[]] + $Tags, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [PSObject] + $OwnedObjects, + + [Parameter()] + [PSObject] + $FederatedIdentityCredentials, + + [Parameter()] + [System.String] + $LoginUrl, + + [Parameter()] + [PSObject] + $TokenLifetimePolicies, + + [Parameter()] + [PSObject] + $AppManagementPolicies, + + [Parameter()] + [PSObject] + $CreatedObjects, + + [Parameter()] + [System.String] + $DisabledByMicrosoftStatus, + + [Parameter()] + [PSObject] + $DelegatedPermissionClassifications, + + [Parameter()] + [System.Collections.Hashtable] + $CustomSecurityAttributes, + + [Parameter()] + [PSObject] + $PasswordCredentials, + + [Parameter()] + [PSObject] + $MemberOf, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [PSObject] + $Endpoints, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $AppOwnerOrganizationId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $TransitiveMemberOf, + + [Parameter()] + [PSObject] + $AppRoles, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $ReplyUrls, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AppRoleAssignmentRequired, + + [Parameter()] + [PSObject] + $KeyCredentials, + + [Parameter()] + [PSObject] + $Oauth2PermissionGrants, + + [Parameter()] + [PSObject] + $ResourceSpecificApplicationPermissions, + + [Parameter()] + [PSObject] + $AddIns, + + [Parameter()] + [PSObject] + $Info, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AccountEnabled, + + [Parameter()] + [System.String] + $PreferredSingleSignOnMode, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $AppId, + + [Parameter()] + [System.String] + $LogoutUrl, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgApplicationOwnerDirectoryObjectByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgServicePrincipal +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ServicePrincipalId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $OptionalClaims, + + [Parameter()] + [PSObject] + $HomeRealmDiscoveryPolicies, + + [Parameter()] + [PSObject] + $Spa, + + [Parameter()] + [System.String[]] + $Tags, + + [Parameter()] + [System.String] + $DefaultRedirectUri, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $ApplicationTemplateId, + + [Parameter()] + [System.String] + $SignInAudience, + + [Parameter()] + [PSObject] + $VerifiedPublisher, + + [Parameter()] + [System.String[]] + $IdentifierUris, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsDeviceOnlyAuthSupported, + + [Parameter()] + [System.String] + $TokenEncryptionKeyId, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $TokenIssuancePolicies, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $Api, + + [Parameter()] + [System.String] + $PublisherDomain, + + [Parameter()] + [System.String] + $GroupMembershipClaims, + + [Parameter()] + [System.String] + $SamlMetadataUrl, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [PSObject] + $FederatedIdentityCredentials, + + [Parameter()] + [PSObject] + $TokenLifetimePolicies, + + [Parameter()] + [PSObject] + $AppManagementPolicies, + + [Parameter()] + [System.String] + $DisabledByMicrosoftStatus, + + [Parameter()] + [PSObject] + $PasswordCredentials, + + [Parameter()] + [PSObject] + $PublicClient, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Oauth2RequirePostResponse, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [PSObject] + $RequiredResourceAccess, + + [Parameter()] + [PSObject] + $ParentalControlSettings, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsFallbackPublicClient, + + [Parameter()] + [PSObject] + $Synchronization, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [PSObject] + $RequestSignatureVerification, + + [Parameter()] + [System.String] + $LogoInputFile, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [PSObject] + $AppRoles, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ExtensionProperties, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $CreatedOnBehalfOf, + + [Parameter()] + [System.String] + $ServiceManagementReference, + + [Parameter()] + [PSObject] + $KeyCredentials, + + [Parameter()] + [PSObject] + $Certification, + + [Parameter()] + [PSObject] + $AddIns, + + [Parameter()] + [PSObject] + $Info, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $AppId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgServicePrincipal +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $ServicePrincipalNames, + + [Parameter()] + [System.String[]] + $AlternativeNames, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $AppDescription, + + [Parameter()] + [PSObject] + $HomeRealmDiscoveryPolicies, + + [Parameter()] + [PSObject] + $Oauth2PermissionScopes, + + [Parameter()] + [PSObject] + $Synchronization, + + [Parameter()] + [PSObject] + $AppRoleAssignments, + + [Parameter()] + [System.String] + $ServicePrincipalId, + + [Parameter()] + [System.String] + $ApplicationTemplateId, + + [Parameter()] + [System.String] + $SignInAudience, + + [Parameter()] + [PSObject] + $VerifiedPublisher, + + [Parameter()] + [System.String[]] + $NotificationEmailAddresses, + + [Parameter()] + [PSObject] + $ClaimsMappingPolicies, + + [Parameter()] + [System.String] + $TokenEncryptionKeyId, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $TokenIssuancePolicies, + + [Parameter()] + [System.String] + $PreferredTokenSigningKeyThumbprint, + + [Parameter()] + [System.String] + $AppDisplayName, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $AppRoleAssignedTo, + + [Parameter()] + [System.String] + $Homepage, + + [Parameter()] + [System.String] + $ServicePrincipalType, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $SamlSingleSignOnSettings, + + [Parameter()] + [System.String[]] + $Tags, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $OwnedObjects, + + [Parameter()] + [PSObject] + $FederatedIdentityCredentials, + + [Parameter()] + [System.String] + $LoginUrl, + + [Parameter()] + [PSObject] + $TokenLifetimePolicies, + + [Parameter()] + [PSObject] + $AppManagementPolicies, + + [Parameter()] + [PSObject] + $CreatedObjects, + + [Parameter()] + [System.String] + $DisabledByMicrosoftStatus, + + [Parameter()] + [PSObject] + $DelegatedPermissionClassifications, + + [Parameter()] + [System.Collections.Hashtable] + $CustomSecurityAttributes, + + [Parameter()] + [PSObject] + $PasswordCredentials, + + [Parameter()] + [PSObject] + $MemberOf, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [PSObject] + $Endpoints, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $AppOwnerOrganizationId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $TransitiveMemberOf, + + [Parameter()] + [PSObject] + $AppRoles, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $ReplyUrls, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AppRoleAssignmentRequired, + + [Parameter()] + [PSObject] + $KeyCredentials, + + [Parameter()] + [PSObject] + $Oauth2PermissionGrants, + + [Parameter()] + [PSObject] + $ResourceSpecificApplicationPermissions, + + [Parameter()] + [PSObject] + $AddIns, + + [Parameter()] + [PSObject] + $Info, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AccountEnabled, + + [Parameter()] + [System.String] + $PreferredSingleSignOnMode, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $AppId, + + [Parameter()] + [System.String] + $LogoutUrl, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +#endregion +#region Microsoft.Graph.Authentication +function Connect-MgGraph +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.Security.Cryptography.X509Certificates.X509Certificate2] + $Certificate, + + [Parameter()] + [System.String[]] + $Scopes, + + [Parameter()] + [System.String] + $ClientId, + + [Parameter()] + [System.Security.SecureString] + $AccessToken, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnvironmentVariable, + + [Parameter()] + [System.String] + $CertificateSubjectName, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ClientSecretCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UseDeviceCode, + + [Parameter()] + [System.Double] + $ClientTimeout, + + [Parameter()] + [System.String] + $CertificateThumbprint, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $Environment, + + [Parameter()] + [PSObject] + $ContextScope + ) +} +function Get-MgContext +{ + [CmdletBinding()] + param( + + ) +} +function Invoke-MgGraphRequest +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $InputFilePath, + + [Parameter()] + [System.String] + $StatusCodeVariable, + + [Parameter()] + [PSObject] + $OutputType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SkipHttpErrorCheck, + + [Parameter()] + [System.String] + $UserAgent, + + [Parameter()] + [System.String] + $ContentType, + + [Parameter()] + [System.Uri] + $Uri, + + [Parameter()] + [PSObject] + $GraphRequestSession, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $InferOutputFileName, + + [Parameter()] + [System.String] + $OutputFilePath, + + [Parameter()] + [PSObject] + $Method, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Object] + $Body, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SkipHeaderValidation, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $SessionVariable, + + [Parameter()] + [System.Collections.IDictionary] + $Headers + ) +} +#endregion +#region Microsoft.Graph.Beta.DeviceManagement +function Get-MgBetaDeviceManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaDeviceManagementAssignmentFilter +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $DeviceAndAppManagementAssignmentFilterId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementConfigurationPolicyAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyId, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyAssignmentId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementConfigurationPolicySetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationSettingId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyId, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementConfigurationPolicyTemplate +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyTemplateId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementConfigurationPolicyTemplateSettingTemplate +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DeviceManagementConfigurationSettingTemplateId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyTemplateId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementDeviceCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $DeviceCategoryId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementDeviceConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $DeviceConfigurationId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementDeviceConfigurationAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $DeviceConfigurationId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $DeviceConfigurationAssignmentId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementGroupPolicyConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementGroupPolicyConfigurationAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationAssignmentId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValue +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $GroupPolicyDefinitionValueId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValueDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $GroupPolicyDefinitionValueId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValuePresentationValue +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $GroupPolicyDefinitionValueId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $GroupPolicyPresentationValueId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementIntent +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DeviceManagementIntentId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementIntentAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DeviceManagementIntentAssignmentId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $DeviceManagementIntentId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementIntentSetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DeviceManagementSettingInstanceId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DeviceManagementIntentId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementTemplate +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceManagementTemplateId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementTemplateCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceManagementTemplateSettingCategoryId, + + [Parameter()] + [System.String] + $DeviceManagementTemplateId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementTemplateCategoryRecommendedSetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DeviceManagementSettingInstanceId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DeviceManagementTemplateSettingCategoryId, + + [Parameter()] + [System.String] + $DeviceManagementTemplateId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementAssignmentFilter +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $Payloads, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $RoleScopeTags, + + [Parameter()] + [System.String] + $Rule, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AssignmentFilterManagementType, + + [Parameter()] + [PSObject] + $Platform, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $PriorityMetaData, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $TemplateReference, + + [Parameter()] + [System.Int32] + $SettingCount, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $Platforms, + + [Parameter()] + [PSObject] + $Technologies, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $CreationSource, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementDeviceCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $BodyParameter + ) +} +function New-MgBetaDeviceManagementDeviceCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $UserStatuses, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $DeviceStatusOverview, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $UserStatusOverview, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [PSObject] + $DeviceStatuses, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $ScheduledActionsForRule, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $DeviceSettingStateSummaries, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementDeviceConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $UserStatuses, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $DeviceStatuses, + + [Parameter()] + [PSObject] + $DeviceStatusOverview, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $DeviceManagementApplicabilityRuleOSVersion, + + [Parameter()] + [PSObject] + $UserStatusOverview, + + [Parameter()] + [PSObject] + $GroupAssignments, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $DeviceSettingStateSummaries, + + [Parameter()] + [PSObject] + $DeviceManagementApplicabilityRuleDeviceMode, + + [Parameter()] + [PSObject] + $DeviceManagementApplicabilityRuleOSEdition, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementGroupPolicyConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $DefinitionValues, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $PolicyConfigurationIngestionType, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementIntent +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMigratingToConfigurationPolicy, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [PSObject] + $DeviceSettingStateSummaries, + + [Parameter()] + [PSObject] + $DeviceStates, + + [Parameter()] + [PSObject] + $Categories, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $DeviceStateSummary, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $UserStates, + + [Parameter()] + [PSObject] + $UserStateSummary, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementAssignmentFilter +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceAndAppManagementAssignmentFilterId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyId, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementDeviceCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DeviceCategoryId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaDeviceManagementDeviceCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $DeviceCompliancePolicyId, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementDeviceConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementGroupPolicyConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementIntent +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceManagementIntentId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $TermsAndConditions, + + [Parameter()] + [PSObject] + $AndroidForWorkSettings, + + [Parameter()] + [PSObject] + $MicrosoftTunnelHealthThresholds, + + [Parameter()] + [PSObject] + $RoleScopeTags, + + [Parameter()] + [PSObject] + $ExchangeConnectors, + + [Parameter()] + [PSObject] + $TroubleshootingEvents, + + [Parameter()] + [PSObject] + $PrivilegeManagementElevations, + + [Parameter()] + [PSObject] + $IntuneBrandingProfiles, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [PSObject] + $GroupPolicyObjectFiles, + + [Parameter()] + [PSObject] + $WindowsAutopilotDeploymentProfiles, + + [Parameter()] + [PSObject] + $ResourceOperations, + + [Parameter()] + [PSObject] + $ConfigManagerCollections, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthDevicePerformance, + + [Parameter()] + [PSObject] + $ZebraFotaConnector, + + [Parameter()] + [PSObject] + $VirtualEndpoint, + + [Parameter()] + [PSObject] + $ConfigurationCategories, + + [Parameter()] + [PSObject] + $ManagedDeviceEncryptionStates, + + [Parameter()] + [PSObject] + $MicrosoftTunnelSites, + + [Parameter()] + [PSObject] + $DeviceEnrollmentConfigurations, + + [Parameter()] + [PSObject] + $ExchangeOnPremisesPolicy, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthAppImpact, + + [Parameter()] + [PSObject] + $WindowsInformationProtectionAppLearningSummaries, + + [Parameter()] + [PSObject] + $AndroidDeviceOwnerEnrollmentProfiles, + + [Parameter()] + [PSObject] + $ReusableSettings, + + [Parameter()] + [PSObject] + $GroupPolicyMigrationReports, + + [Parameter()] + [PSObject] + $WindowsInformationProtectionNetworkLearningSummaries, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsMetricHistory, + + [Parameter()] + [PSObject] + $ZebraFotaArtifacts, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsWorkFromAnywhereMetrics, + + [Parameter()] + [PSObject] + $EmbeddedSimActivationCodePools, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsModelScores, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $CompliancePolicies, + + [Parameter()] + [PSObject] + $MobileThreatDefenseConnectors, + + [Parameter()] + [PSObject] + $ImportedWindowsAutopilotDeviceIdentities, + + [Parameter()] + [PSObject] + $DataProcessorServiceForWindowsFeaturesOnboarding, + + [Parameter()] + [PSObject] + $DeviceProtectionOverview, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceStartupHistory, + + [Parameter()] + [PSObject] + $DepOnboardingSettings, + + [Parameter()] + [PSObject] + $GroupPolicyDefinitionFiles, + + [Parameter()] + [PSObject] + $RoleAssignments, + + [Parameter()] + [PSObject] + $WindowsDriverUpdateProfiles, + + [Parameter()] + [PSObject] + $CartToClassAssociations, + + [Parameter()] + [PSObject] + $DeviceManagementScripts, + + [Parameter()] + [PSObject] + $SubscriptionState, + + [Parameter()] + [PSObject] + $WindowsMalwareInformation, + + [Parameter()] + [PSObject] + $GroupPolicyDefinitions, + + [Parameter()] + [PSObject] + $DetectedApps, + + [Parameter()] + [PSObject] + $AdvancedThreatProtectionOnboardingStateSummary, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceScopes, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBaselines, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsScoreHistory, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthApplicationPerformance, + + [Parameter()] + [System.DateTime] + $AccountMoveCompletionDateTime, + + [Parameter()] + [PSObject] + $Reports, + + [Parameter()] + [PSObject] + $ConfigurationPolicies, + + [Parameter()] + [PSObject] + $AndroidManagedStoreAccountEnterpriseSettings, + + [Parameter()] + [PSObject] + $DeviceConfigurations, + + [Parameter()] + [PSObject] + $RemoteAssistanceSettings, + + [Parameter()] + [PSObject] + $CertificateConnectorDetails, + + [Parameter()] + [PSObject] + $AuditEvents, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAnomaly, + + [Parameter()] + [PSObject] + $GroupPolicyConfigurations, + + [Parameter()] + [PSObject] + $ConnectorStatus, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthOverview, + + [Parameter()] + [PSObject] + $WindowsAutopilotSettings, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthDeviceAppImpact, + + [Parameter()] + [PSObject] + $ConfigurationPolicyTemplates, + + [Parameter()] + [PSObject] + $DeviceShellScripts, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceMetricHistory, + + [Parameter()] + [PSObject] + $RemoteAssistancePartners, + + [Parameter()] + [PSObject] + $ComplianceManagementPartners, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDevicesWithoutCloudIdentity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthCapacityDetails, + + [Parameter()] + [PSObject] + $ManagedDeviceOverview, + + [Parameter()] + [PSObject] + $TemplateInsights, + + [Parameter()] + [PSObject] + $GroupPolicyUploadedDefinitionFiles, + + [Parameter()] + [PSObject] + $DeviceManagementPartners, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAnomalyDevice, + + [Parameter()] + [PSObject] + $AndroidManagedStoreAppConfigurationSchemas, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsResourcePerformance, + + [Parameter()] + [PSObject] + $MacOSSoftwareUpdateAccountSummaries, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsWorkFromAnywhereModelPerformance, + + [Parameter()] + [PSObject] + $ComplianceCategories, + + [Parameter()] + [PSObject] + $DeviceConfigurationConflictSummary, + + [Parameter()] + [PSObject] + $TelecomExpenseManagementPartners, + + [Parameter()] + [PSObject] + $Templates, + + [Parameter()] + [PSObject] + $MicrosoftTunnelConfigurations, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $WindowsMalwareOverview, + + [Parameter()] + [PSObject] + $ResourceAccessProfiles, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory, + + [Parameter()] + [PSObject] + $Intents, + + [Parameter()] + [PSObject] + $WindowsFeatureUpdateProfiles, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthRuntimeDetails, + + [Parameter()] + [PSObject] + $ComplianceSettings, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceScores, + + [Parameter()] + [System.String] + $IntuneAccountId, + + [Parameter()] + [PSObject] + $ConditionalAccessSettings, + + [Parameter()] + [PSObject] + $IosUpdateStatuses, + + [Parameter()] + [PSObject] + $ZebraFotaDeployments, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAnomalyCorrelationGroupOverview, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsImpactingProcess, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAnomalySeverityOverview, + + [Parameter()] + [PSObject] + $DerivedCredentials, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthModelPerformance, + + [Parameter()] + [PSObject] + $DeviceCompliancePolicies, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $AndroidForWorkAppConfigurationSchemas, + + [Parameter()] + [PSObject] + $AdminConsent, + + [Parameter()] + [PSObject] + $SettingDefinitions, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsSettings, + + [Parameter()] + [PSObject] + $ManagedDevices, + + [Parameter()] + [PSObject] + $AppleUserInitiatedEnrollmentProfiles, + + [Parameter()] + [PSObject] + $DeviceConfigurationDeviceStateSummaries, + + [Parameter()] + [PSObject] + $ServiceNowConnections, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric, + + [Parameter()] + [PSObject] + $ReusablePolicySettings, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsRemoteConnection, + + [Parameter()] + [PSObject] + $ConfigurationSettings, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceScope, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsCategories, + + [Parameter()] + [PSObject] + $DeviceConfigurationRestrictedAppsViolations, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceStartupProcesses, + + [Parameter()] + [PSObject] + $ExchangeOnPremisesPolicies, + + [Parameter()] + [PSObject] + $MobileAppTroubleshootingEvents, + + [Parameter()] + [PSObject] + $RoleDefinitions, + + [Parameter()] + [PSObject] + $CloudPcConnectivityIssues, + + [Parameter()] + [PSObject] + $ApplePushNotificationCertificate, + + [Parameter()] + [PSObject] + $DeviceCategories, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion, + + [Parameter()] + [PSObject] + $DeviceCompliancePolicySettingStateSummaries, + + [Parameter()] + [System.Collections.Hashtable] + $TenantAttachRbac, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $AndroidForWorkEnrollmentProfiles, + + [Parameter()] + [PSObject] + $ComanagementEligibleDevices, + + [Parameter()] + [PSObject] + $NotificationMessageTemplates, + + [Parameter()] + [PSObject] + $IntuneBrand, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsOverview, + + [Parameter()] + [PSObject] + $TemplateSettings, + + [Parameter()] + [PSObject] + $RemoteActionAudits, + + [Parameter()] + [PSObject] + $WindowsUpdateCatalogItems, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthDevicePerformanceDetails, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsNotAutopilotReadyDevice, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthOSVersionPerformance, + + [Parameter()] + [PSObject] + $Monitoring, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $DeviceHealthScripts, + + [Parameter()] + [PSObject] + $AutopilotEvents, + + [Parameter()] + [PSObject] + $GroupPolicyCategories, + + [Parameter()] + [PSObject] + $DeviceConfigurationUserStateSummaries, + + [Parameter()] + [PSObject] + $DeviceConfigurationsAllManagedDeviceCertificateStates, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthDevicePerformance, + + [Parameter()] + [PSObject] + $DeviceCustomAttributeShellScripts, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsAppHealthDeviceModelPerformance, + + [Parameter()] + [PSObject] + $ImportedDeviceIdentities, + + [Parameter()] + [System.Int32] + $MaximumDepTokens, + + [Parameter()] + [PSObject] + $SoftwareUpdateStatusSummary, + + [Parameter()] + [PSObject] + $WindowsQualityUpdateProfiles, + + [Parameter()] + [PSObject] + $AssignmentFilters, + + [Parameter()] + [PSObject] + $NdesConnectors, + + [Parameter()] + [PSObject] + $MicrosoftTunnelServerLogCollectionResponses, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsBatteryHealthOSPerformance, + + [Parameter()] + [PSObject] + $UserPfxCertificates, + + [Parameter()] + [PSObject] + $WindowsAutopilotDeviceIdentities, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceStartupProcessPerformance, + + [Parameter()] + [PSObject] + $ChromeOSOnboardingSettings, + + [Parameter()] + [PSObject] + $DomainJoinConnectors, + + [Parameter()] + [PSObject] + $Categories, + + [Parameter()] + [PSObject] + $ComanagedDevices, + + [Parameter()] + [PSObject] + $DeviceCompliancePolicyDeviceStateSummary, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDevicePerformance, + + [Parameter()] + [PSObject] + $DeviceComplianceScripts, + + [Parameter()] + [PSObject] + $Subscriptions, + + [Parameter()] + [PSObject] + $ManagedDeviceCleanupSettings, + + [Parameter()] + [PSObject] + $UserExperienceAnalyticsDeviceTimelineEvent, + + [Parameter()] + [PSObject] + $DataSharingConsents + ) +} +function Update-MgBetaDeviceManagementAssignmentFilter +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $Payloads, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $RoleScopeTags, + + [Parameter()] + [System.String] + $Rule, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AssignmentFilterManagementType, + + [Parameter()] + [PSObject] + $Platform, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $DeviceAndAppManagementAssignmentFilterId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $TemplateReference, + + [Parameter()] + [System.Int32] + $SettingCount, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $Technologies, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [PSObject] + $Platforms, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $PriorityMetaData, + + [Parameter()] + [System.String] + $CreationSource, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $DeviceManagementConfigurationPolicyId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementDeviceCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $DeviceCategoryId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementDeviceCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $UserStatuses, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $DeviceCompliancePolicyId, + + [Parameter()] + [PSObject] + $DeviceStatusOverview, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $UserStatusOverview, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [PSObject] + $DeviceStatuses, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $ScheduledActionsForRule, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $DeviceSettingStateSummaries, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementDeviceConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $UserStatuses, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $DeviceStatuses, + + [Parameter()] + [PSObject] + $DeviceStatusOverview, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $DeviceManagementApplicabilityRuleOSVersion, + + [Parameter()] + [PSObject] + $UserStatusOverview, + + [Parameter()] + [PSObject] + $GroupAssignments, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [PSObject] + $DeviceSettingStateSummaries, + + [Parameter()] + [System.String] + $DeviceConfigurationId, + + [Parameter()] + [PSObject] + $DeviceManagementApplicabilityRuleOSEdition, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $DeviceManagementApplicabilityRuleDeviceMode, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementGroupPolicyConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $DefinitionValues, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $PolicyConfigurationIngestionType, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementIntent +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMigratingToConfigurationPolicy, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [PSObject] + $DeviceSettingStateSummaries, + + [Parameter()] + [PSObject] + $DeviceStates, + + [Parameter()] + [PSObject] + $Categories, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $DeviceManagementIntentId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $UserStates, + + [Parameter()] + [PSObject] + $UserStateSummary, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $DeviceStateSummary, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementIntentSetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DeviceManagementSettingInstanceId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $ValueJson, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DeviceManagementIntentId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $DefinitionId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Beta.Devices.CorporateManagement +function Get-MgBetaDeviceAppManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaDeviceAppManagementAndroidManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $AndroidManagedAppProtectionId, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceAppManagementiOSManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $IosManagedAppProtectionId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceAppManagementiOSManagedAppProtectionApp +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $IosManagedAppProtectionId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $ManagedMobileAppId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $MdmWindowsInformationProtectionPolicyId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceAppManagementTargetedManagedAppConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $TargetedManagedAppConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceAppManagementTargetedManagedAppConfigurationAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $TargetedManagedAppPolicyAssignmentId, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $TargetedManagedAppConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Invoke-MgBetaTargetDeviceAppManagementTargetedManagedAppConfigurationApp +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $TargetedManagedAppConfigurationId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaDeviceAppManagementAndroidManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AppActionIfDevicePasscodeComplexityLessThanHigh, + + [Parameter()] + [PSObject] + $MaximumAllowedDeviceThreatLevel, + + [Parameter()] + [System.String] + $CustomBrowserDisplayName, + + [Parameter()] + [System.String] + $MinimumRequiredPatchVersion, + + [Parameter()] + [PSObject] + $AppActionIfAndroidDeviceModelNotAllowed, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableAppEncryptionIfDeviceEncryptionIsEnabled, + + [Parameter()] + [PSObject] + $MobileThreatDefensePartnerPriority, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String[]] + $AllowedAndroidDeviceModels, + + [Parameter()] + [PSObject] + $ManagedBrowser, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.TimeSpan] + $PeriodOnlineBeforeAccessCheck, + + [Parameter()] + [System.Int32] + $PreviousPinBlockCount, + + [Parameter()] + [System.String] + $MaximumWarningOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ContactSyncBlocked, + + [Parameter()] + [System.String] + $MinimumWarningCompanyPortalVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RequireClass3Biometrics, + + [Parameter()] + [System.String] + $MinimumWarningPatchVersion, + + [Parameter()] + [PSObject] + $AppActionIfDeviceComplianceRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SaveAsBlocked, + + [Parameter()] + [System.String] + $CustomDialerAppDisplayName, + + [Parameter()] + [PSObject] + $AllowedDataIngestionLocations, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Int32] + $DeployedAppCount, + + [Parameter()] + [PSObject] + $NotificationRestriction, + + [Parameter()] + [System.String] + $CustomBrowserPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BiometricAuthenticationBlocked, + + [Parameter()] + [PSObject] + $AppActionIfDevicePasscodeComplexityLessThanMedium, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $MobileThreatDefenseRemediationAction, + + [Parameter()] + [PSObject] + $ApprovedKeyboards, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DeviceComplianceRequired, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeAccessCheck, + + [Parameter()] + [PSObject] + $AppActionIfUnableToAuthenticateUser, + + [Parameter()] + [System.String] + $MinimumRequiredOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RequirePinAfterBiometricChange, + + [Parameter()] + [System.String] + $MaximumRequiredOSVersion, + + [Parameter()] + [System.String] + $MinimumWipePatchVersion, + + [Parameter()] + [System.String] + $MinimumWarningAppVersion, + + [Parameter()] + [PSObject] + $AllowedOutboundClipboardSharingLevel, + + [Parameter()] + [System.Int32] + $MaximumPinRetries, + + [Parameter()] + [PSObject] + $RequiredAndroidSafetyNetAppsVerificationType, + + [Parameter()] + [PSObject] + $AppActionIfMaximumPinRetriesExceeded, + + [Parameter()] + [System.String] + $MinimumWipeCompanyPortalVersion, + + [Parameter()] + [PSObject] + $AllowedOutboundDataTransferDestinations, + + [Parameter()] + [PSObject] + $AppActionIfAndroidDeviceManufacturerNotAllowed, + + [Parameter()] + [System.String] + $MinimumWipeAppVersion, + + [Parameter()] + [System.String] + $AllowedAndroidDeviceManufacturers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OrganizationalCredentialsRequired, + + [Parameter()] + [System.String] + $CustomDialerAppPackageId, + + [Parameter()] + [PSObject] + $AllowedDataStorageLocations, + + [Parameter()] + [System.Int32] + $BlockAfterCompanyPortalUpdateDeferralInDays, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $DialerRestrictionLevel, + + [Parameter()] + [System.Int32] + $AllowedOutboundClipboardSharingExceptionLength, + + [Parameter()] + [PSObject] + $AppActionIfAndroidSafetyNetDeviceAttestationFailed, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [PSObject] + $AppActionIfAndroidSafetyNetAppsVerificationFailed, + + [Parameter()] + [System.String] + $MinimumWipeOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DataBackupBlocked, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeWipeIsEnforced, + + [Parameter()] + [System.TimeSpan] + $PinRequiredInsteadOfBiometricTimeout, + + [Parameter()] + [System.String] + $MinimumRequiredAppVersion, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $KeyboardsRestricted, + + [Parameter()] + [PSObject] + $DeploymentSummary, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ScreenCaptureBlocked, + + [Parameter()] + [PSObject] + $PinCharacterSet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ManagedBrowserToOpenLinksRequired, + + [Parameter()] + [System.String] + $MaximumWipeOSVersion, + + [Parameter()] + [System.Int32] + $MinimumPinLength, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SimplePinBlocked, + + [Parameter()] + [System.String] + $MinimumWarningOSVersion, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EncryptAppData, + + [Parameter()] + [System.TimeSpan] + $GracePeriodToBlockAppsDuringOffClockHours, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ConnectToVpnOnLaunch, + + [Parameter()] + [System.Int32] + $WipeAfterCompanyPortalUpdateDeferralInDays, + + [Parameter()] + [PSObject] + $RequiredAndroidSafetyNetEvaluationType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PinRequired, + + [Parameter()] + [PSObject] + $AppActionIfAccountIsClockedOut, + + [Parameter()] + [System.Int32] + $WarnAfterCompanyPortalUpdateDeferralInDays, + + [Parameter()] + [PSObject] + $AppActionIfDevicePasscodeComplexityLessThanLow, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FingerprintBlocked, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $MinimumRequiredCompanyPortalVersion, + + [Parameter()] + [System.TimeSpan] + $PeriodBeforePinReset, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BlockDataIngestionIntoOrganizationDocuments, + + [Parameter()] + [PSObject] + $AppActionIfDeviceLockNotSet, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $AllowedInboundDataTransferSources, + + [Parameter()] + [PSObject] + $RequiredAndroidSafetyNetDeviceAttestationType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FingerprintAndBiometricEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableAppPinIfDevicePinIsSet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PrintBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DeviceLockRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $ExemptedAppPackages, + + [Parameter()] + [PSObject] + $TargetedAppManagementLevels + ) +} +function New-MgBetaDeviceAppManagementiOSManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String[]] + $ExemptedUniversalLinks, + + [Parameter()] + [PSObject] + $MaximumAllowedDeviceThreatLevel, + + [Parameter()] + [System.String] + $MinimumWipeSdkVersion, + + [Parameter()] + [PSObject] + $AppDataEncryptionType, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $MobileThreatDefensePartnerPriority, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $TargetedAppManagementLevels, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ThirdPartyKeyboardsBlocked, + + [Parameter()] + [PSObject] + $ManagedBrowser, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.TimeSpan] + $PeriodOnlineBeforeAccessCheck, + + [Parameter()] + [System.Int32] + $PreviousPinBlockCount, + + [Parameter()] + [System.String] + $MaximumWarningOSVersion, + + [Parameter()] + [System.TimeSpan] + $PeriodBeforePinReset, + + [Parameter()] + [PSObject] + $AppActionIfDeviceComplianceRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PrintBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PinRequired, + + [Parameter()] + [PSObject] + $AllowedDataIngestionLocations, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Int32] + $DeployedAppCount, + + [Parameter()] + [PSObject] + $NotificationRestriction, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $AllowedOutboundClipboardSharingLevel, + + [Parameter()] + [System.String] + $MinimumWarningSdkVersion, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DeviceComplianceRequired, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeAccessCheck, + + [Parameter()] + [PSObject] + $AppActionIfUnableToAuthenticateUser, + + [Parameter()] + [System.String] + $MinimumRequiredOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ManagedBrowserToOpenLinksRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FilterOpenInToOnlyManagedApps, + + [Parameter()] + [System.String] + $MaximumRequiredOSVersion, + + [Parameter()] + [System.String] + $AllowedIosDeviceModels, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ContactSyncBlocked, + + [Parameter()] + [System.Int32] + $MaximumPinRetries, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeWipeIsEnforced, + + [Parameter()] + [PSObject] + $AllowedOutboundDataTransferDestinations, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DataBackupBlocked, + + [Parameter()] + [System.String] + $MinimumWipeAppVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OrganizationalCredentialsRequired, + + [Parameter()] + [PSObject] + $AllowedDataStorageLocations, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FaceIdBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SaveAsBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProtectInboundDataFromUnknownSources, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $DialerRestrictionLevel, + + [Parameter()] + [System.String] + $MinimumWarningAppVersion, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.String] + $MinimumWipeOSVersion, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [System.TimeSpan] + $PinRequiredInsteadOfBiometricTimeout, + + [Parameter()] + [System.String] + $MinimumRequiredAppVersion, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $MobileThreatDefenseRemediationAction, + + [Parameter()] + [System.Int32] + $AllowedOutboundClipboardSharingExceptionLength, + + [Parameter()] + [PSObject] + $DeploymentSummary, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SimplePinBlocked, + + [Parameter()] + [PSObject] + $PinCharacterSet, + + [Parameter()] + [System.String] + $MaximumWipeOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableProtectionOfManagedOutboundOpenInData, + + [Parameter()] + [System.Int32] + $MinimumPinLength, + + [Parameter()] + [System.String] + $MinimumWarningOSVersion, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.TimeSpan] + $GracePeriodToBlockAppsDuringOffClockHours, + + [Parameter()] + [PSObject] + $ExemptedAppProtocols, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [PSObject] + $AppActionIfMaximumPinRetriesExceeded, + + [Parameter()] + [PSObject] + $AppActionIfIosDeviceModelNotAllowed, + + [Parameter()] + [System.String] + $CustomDialerAppProtocol, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FingerprintBlocked, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BlockDataIngestionIntoOrganizationDocuments, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String] + $CustomBrowserProtocol, + + [Parameter()] + [PSObject] + $AllowedInboundDataTransferSources, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableAppPinIfDevicePinIsSet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $MinimumRequiredSdkVersion, + + [Parameter()] + [System.String[]] + $ManagedUniversalLinks + ) +} +function New-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $EnterpriseProxiedDomains, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnterpriseProxyServersAreAuthoritative, + + [Parameter()] + [PSObject] + $SmbAutoEncryptedFileExtensions, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProtectionUnderLockConfigRequired, + + [Parameter()] + [PSObject] + $EnforcementLevel, + + [Parameter()] + [System.String] + $EnterpriseDomain, + + [Parameter()] + [PSObject] + $EnterpriseInternalProxyServers, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $EnterpriseNetworkDomainNames, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [PSObject] + $EnterpriseProxyServers, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $RightsManagementServicesTemplateId, + + [Parameter()] + [PSObject] + $ExemptAppLockerFiles, + + [Parameter()] + [PSObject] + $DataRecoveryCertificate, + + [Parameter()] + [PSObject] + $ExemptApps, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $EnterpriseProtectedDomainNames, + + [Parameter()] + [PSObject] + $NeutralDomainResources, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AzureRightsManagementServicesAllowed, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnterpriseIPRangesAreAuthoritative, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IconsVisible, + + [Parameter()] + [PSObject] + $ProtectedAppLockerFiles, + + [Parameter()] + [PSObject] + $ProtectedApps, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RevokeOnUnenrollDisabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $EnterpriseIPRanges, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IndexingEncryptedStoresOrItemsBlocked + ) +} +function New-MgBetaDeviceAppManagementTargetedManagedAppConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $DeployedAppCount, + + [Parameter()] + [PSObject] + $TargetedAppManagementLevels, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [PSObject] + $DeploymentSummary, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $CustomSettings, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceAppManagementAndroidManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $AndroidManagedAppProtectionId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceAppManagementiOSManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $IosManagedAppProtectionId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $MdmWindowsInformationProtectionPolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceAppManagementTargetedManagedAppConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TargetedManagedAppConfigurationId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Set-MgBetaDeviceAppManagementTargetedManagedAppConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $TargetedManagedAppConfigurationId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaDeviceAppManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [System.DateTime] + $MicrosoftStoreForBusinessLastSuccessfulSyncDateTime, + + [Parameter()] + [PSObject] + $TargetedManagedAppConfigurations, + + [Parameter()] + [PSObject] + $PolicySets, + + [Parameter()] + [PSObject] + $ManagedEBooks, + + [Parameter()] + [PSObject] + $MobileApps, + + [Parameter()] + [PSObject] + $EnterpriseCodeSigningCertificates, + + [Parameter()] + [PSObject] + $ManagedAppPolicies, + + [Parameter()] + [PSObject] + $DeviceAppManagementTasks, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ManagedAppStatuses, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $WindowsManagementApp, + + [Parameter()] + [PSObject] + $ManagedAppRegistrations, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $WindowsManagedAppProtections, + + [Parameter()] + [PSObject] + $DefaultManagedAppProtections, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabledForMicrosoftStoreForBusiness, + + [Parameter()] + [PSObject] + $WindowsInformationProtectionWipeActions, + + [Parameter()] + [System.String] + $MicrosoftStoreForBusinessLanguage, + + [Parameter()] + [PSObject] + $ManagedEBookCategories, + + [Parameter()] + [System.DateTime] + $MicrosoftStoreForBusinessLastCompletedApplicationSyncTime, + + [Parameter()] + [PSObject] + $SymantecCodeSigningCertificate, + + [Parameter()] + [PSObject] + $IosManagedAppProtections, + + [Parameter()] + [PSObject] + $IosLobAppProvisioningConfigurations, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $MobileAppCategories, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $WindowsInformationProtectionDeviceRegistrations, + + [Parameter()] + [PSObject] + $VppTokens, + + [Parameter()] + [PSObject] + $WindowsInformationProtectionPolicies, + + [Parameter()] + [PSObject] + $MicrosoftStoreForBusinessPortalSelection, + + [Parameter()] + [PSObject] + $AndroidManagedAppProtections, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $MdmWindowsInformationProtectionPolicies, + + [Parameter()] + [PSObject] + $MobileAppConfigurations, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $WdacSupplementalPolicies + ) +} +function Update-MgBetaDeviceAppManagementAndroidManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AppActionIfDevicePasscodeComplexityLessThanHigh, + + [Parameter()] + [System.String] + $AndroidManagedAppProtectionId, + + [Parameter()] + [PSObject] + $MaximumAllowedDeviceThreatLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $KeyboardsRestricted, + + [Parameter()] + [System.String] + $CustomBrowserDisplayName, + + [Parameter()] + [System.String] + $MinimumRequiredPatchVersion, + + [Parameter()] + [PSObject] + $AppActionIfAndroidDeviceModelNotAllowed, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableAppEncryptionIfDeviceEncryptionIsEnabled, + + [Parameter()] + [PSObject] + $MobileThreatDefensePartnerPriority, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String[]] + $AllowedAndroidDeviceModels, + + [Parameter()] + [PSObject] + $ManagedBrowser, + + [Parameter()] + [System.TimeSpan] + $PeriodOnlineBeforeAccessCheck, + + [Parameter()] + [System.Int32] + $PreviousPinBlockCount, + + [Parameter()] + [System.String] + $MaximumWarningOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ContactSyncBlocked, + + [Parameter()] + [System.String] + $MinimumWarningCompanyPortalVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RequireClass3Biometrics, + + [Parameter()] + [System.String] + $MinimumWarningPatchVersion, + + [Parameter()] + [PSObject] + $AppActionIfDeviceComplianceRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SaveAsBlocked, + + [Parameter()] + [System.String] + $CustomDialerAppDisplayName, + + [Parameter()] + [PSObject] + $AllowedDataIngestionLocations, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Int32] + $DeployedAppCount, + + [Parameter()] + [PSObject] + $NotificationRestriction, + + [Parameter()] + [System.String] + $CustomBrowserPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BiometricAuthenticationBlocked, + + [Parameter()] + [PSObject] + $AppActionIfDevicePasscodeComplexityLessThanMedium, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $MobileThreatDefenseRemediationAction, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DeviceComplianceRequired, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeAccessCheck, + + [Parameter()] + [PSObject] + $AppActionIfUnableToAuthenticateUser, + + [Parameter()] + [System.String] + $MinimumRequiredOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RequirePinAfterBiometricChange, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DataBackupBlocked, + + [Parameter()] + [System.String] + $MaximumRequiredOSVersion, + + [Parameter()] + [System.String] + $MinimumWipePatchVersion, + + [Parameter()] + [PSObject] + $AllowedOutboundClipboardSharingLevel, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $RequiredAndroidSafetyNetAppsVerificationType, + + [Parameter()] + [PSObject] + $AppActionIfMaximumPinRetriesExceeded, + + [Parameter()] + [System.String] + $MinimumWipeCompanyPortalVersion, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [PSObject] + $AllowedOutboundDataTransferDestinations, + + [Parameter()] + [PSObject] + $AppActionIfAndroidDeviceManufacturerNotAllowed, + + [Parameter()] + [System.String] + $MinimumWipeAppVersion, + + [Parameter()] + [System.String] + $AllowedAndroidDeviceManufacturers, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OrganizationalCredentialsRequired, + + [Parameter()] + [System.String] + $CustomDialerAppPackageId, + + [Parameter()] + [PSObject] + $AllowedDataStorageLocations, + + [Parameter()] + [System.Int32] + $BlockAfterCompanyPortalUpdateDeferralInDays, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $DialerRestrictionLevel, + + [Parameter()] + [System.String] + $MinimumWarningAppVersion, + + [Parameter()] + [PSObject] + $AppActionIfAndroidSafetyNetDeviceAttestationFailed, + + [Parameter()] + [System.Int32] + $MaximumPinRetries, + + [Parameter()] + [PSObject] + $AppActionIfAndroidSafetyNetAppsVerificationFailed, + + [Parameter()] + [System.String] + $MinimumWipeOSVersion, + + [Parameter()] + [PSObject] + $ApprovedKeyboards, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeWipeIsEnforced, + + [Parameter()] + [System.TimeSpan] + $PinRequiredInsteadOfBiometricTimeout, + + [Parameter()] + [System.String] + $MinimumRequiredAppVersion, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.Int32] + $AllowedOutboundClipboardSharingExceptionLength, + + [Parameter()] + [PSObject] + $DeploymentSummary, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ScreenCaptureBlocked, + + [Parameter()] + [PSObject] + $PinCharacterSet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ManagedBrowserToOpenLinksRequired, + + [Parameter()] + [System.String] + $MaximumWipeOSVersion, + + [Parameter()] + [System.Int32] + $MinimumPinLength, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SimplePinBlocked, + + [Parameter()] + [System.String] + $MinimumWarningOSVersion, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EncryptAppData, + + [Parameter()] + [System.TimeSpan] + $GracePeriodToBlockAppsDuringOffClockHours, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ConnectToVpnOnLaunch, + + [Parameter()] + [System.Int32] + $WipeAfterCompanyPortalUpdateDeferralInDays, + + [Parameter()] + [PSObject] + $RequiredAndroidSafetyNetEvaluationType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PinRequired, + + [Parameter()] + [PSObject] + $AppActionIfAccountIsClockedOut, + + [Parameter()] + [System.Int32] + $WarnAfterCompanyPortalUpdateDeferralInDays, + + [Parameter()] + [PSObject] + $AppActionIfDevicePasscodeComplexityLessThanLow, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FingerprintBlocked, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $MinimumRequiredCompanyPortalVersion, + + [Parameter()] + [System.TimeSpan] + $PeriodBeforePinReset, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BlockDataIngestionIntoOrganizationDocuments, + + [Parameter()] + [PSObject] + $AppActionIfDeviceLockNotSet, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $AllowedInboundDataTransferSources, + + [Parameter()] + [PSObject] + $RequiredAndroidSafetyNetDeviceAttestationType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FingerprintAndBiometricEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableAppPinIfDevicePinIsSet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PrintBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DeviceLockRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $ExemptedAppPackages, + + [Parameter()] + [PSObject] + $TargetedAppManagementLevels + ) +} +function Update-MgBetaDeviceAppManagementiOSManagedAppProtection +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String[]] + $ExemptedUniversalLinks, + + [Parameter()] + [PSObject] + $MaximumAllowedDeviceThreatLevel, + + [Parameter()] + [System.String] + $MinimumWipeSdkVersion, + + [Parameter()] + [PSObject] + $AppDataEncryptionType, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $MobileThreatDefensePartnerPriority, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $TargetedAppManagementLevels, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ThirdPartyKeyboardsBlocked, + + [Parameter()] + [PSObject] + $ManagedBrowser, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.TimeSpan] + $PeriodOnlineBeforeAccessCheck, + + [Parameter()] + [System.Int32] + $PreviousPinBlockCount, + + [Parameter()] + [PSObject] + $AllowedOutboundClipboardSharingLevel, + + [Parameter()] + [System.Int32] + $MinimumPinLength, + + [Parameter()] + [PSObject] + $AppActionIfDeviceComplianceRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SaveAsBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PinRequired, + + [Parameter()] + [PSObject] + $AllowedDataIngestionLocations, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Int32] + $DeployedAppCount, + + [Parameter()] + [PSObject] + $NotificationRestriction, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $IosManagedAppProtectionId, + + [Parameter()] + [System.String] + $MinimumWarningSdkVersion, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DeviceComplianceRequired, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeAccessCheck, + + [Parameter()] + [PSObject] + $AppActionIfUnableToAuthenticateUser, + + [Parameter()] + [System.String] + $MinimumRequiredOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ManagedBrowserToOpenLinksRequired, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FilterOpenInToOnlyManagedApps, + + [Parameter()] + [System.String] + $MaximumRequiredOSVersion, + + [Parameter()] + [System.String] + $AllowedIosDeviceModels, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ContactSyncBlocked, + + [Parameter()] + [System.Int32] + $MaximumPinRetries, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PrintBlocked, + + [Parameter()] + [System.TimeSpan] + $PeriodOfflineBeforeWipeIsEnforced, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $AllowedOutboundDataTransferDestinations, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DataBackupBlocked, + + [Parameter()] + [System.String] + $MinimumWipeAppVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OrganizationalCredentialsRequired, + + [Parameter()] + [PSObject] + $AllowedDataStorageLocations, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FaceIdBlocked, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProtectInboundDataFromUnknownSources, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $DialerRestrictionLevel, + + [Parameter()] + [System.String] + $MinimumWarningAppVersion, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.String] + $MinimumWipeOSVersion, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [System.String] + $MinimumRequiredSdkVersion, + + [Parameter()] + [System.TimeSpan] + $PinRequiredInsteadOfBiometricTimeout, + + [Parameter()] + [System.String] + $MinimumRequiredAppVersion, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $MobileThreatDefenseRemediationAction, + + [Parameter()] + [System.Int32] + $AllowedOutboundClipboardSharingExceptionLength, + + [Parameter()] + [PSObject] + $DeploymentSummary, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SimplePinBlocked, + + [Parameter()] + [System.String] + $MaximumWipeOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableProtectionOfManagedOutboundOpenInData, + + [Parameter()] + [System.TimeSpan] + $GracePeriodToBlockAppsDuringOffClockHours, + + [Parameter()] + [System.String] + $MinimumWarningOSVersion, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $ExemptedAppProtocols, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [PSObject] + $AppActionIfMaximumPinRetriesExceeded, + + [Parameter()] + [PSObject] + $AppActionIfIosDeviceModelNotAllowed, + + [Parameter()] + [System.String] + $CustomDialerAppProtocol, + + [Parameter()] + [System.String] + $MaximumWarningOSVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FingerprintBlocked, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.TimeSpan] + $PeriodBeforePinReset, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BlockDataIngestionIntoOrganizationDocuments, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String] + $CustomBrowserProtocol, + + [Parameter()] + [PSObject] + $AllowedInboundDataTransferSources, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableAppPinIfDevicePinIsSet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $PinCharacterSet, + + [Parameter()] + [System.String[]] + $ManagedUniversalLinks + ) +} +function Update-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $EnterpriseProxiedDomains, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $SmbAutoEncryptedFileExtensions, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnterpriseProxyServersAreAuthoritative, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProtectionUnderLockConfigRequired, + + [Parameter()] + [PSObject] + $EnforcementLevel, + + [Parameter()] + [System.String] + $EnterpriseDomain, + + [Parameter()] + [PSObject] + $EnterpriseInternalProxyServers, + + [Parameter()] + [PSObject] + $EnterpriseNetworkDomainNames, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [PSObject] + $EnterpriseProxyServers, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $RightsManagementServicesTemplateId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $ExemptAppLockerFiles, + + [Parameter()] + [PSObject] + $DataRecoveryCertificate, + + [Parameter()] + [System.String] + $MdmWindowsInformationProtectionPolicyId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $EnterpriseProtectedDomainNames, + + [Parameter()] + [PSObject] + $NeutralDomainResources, + + [Parameter()] + [PSObject] + $ExemptApps, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AzureRightsManagementServicesAllowed, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnterpriseIPRangesAreAuthoritative, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IconsVisible, + + [Parameter()] + [PSObject] + $ProtectedAppLockerFiles, + + [Parameter()] + [PSObject] + $ProtectedApps, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RevokeOnUnenrollDisabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $EnterpriseIPRanges, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IndexingEncryptedStoresOrItemsBlocked + ) +} +function Update-MgBetaDeviceAppManagementTargetedManagedAppConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $DeploymentSummary, + + [Parameter()] + [PSObject] + $TargetedAppManagementLevels, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.Int32] + $DeployedAppCount, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $AppGroupType, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $CustomSettings, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $Apps, + + [Parameter()] + [System.String] + $TargetedManagedAppConfigurationId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Beta.DeviceManagement.Enrollment +function Get-MgBetaDeviceManagementDeviceEnrollmentConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DeviceEnrollmentConfigurationId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementDeviceEnrollmentConfigurationAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DeviceEnrollmentConfigurationId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $EnrollmentConfigurationAssignmentId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $WindowsAutopilotDeploymentProfileId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementWindowsAutopilotDeploymentProfileAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $WindowsAutopilotDeploymentProfileAssignmentId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $WindowsAutopilotDeploymentProfileId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementWindowsFeatureUpdateProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $WindowsFeatureUpdateProfileId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementWindowsFeatureUpdateProfileAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $WindowsFeatureUpdateProfileId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $WindowsFeatureUpdateProfileAssignmentId, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaRoleManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaDeviceManagementDeviceEnrollmentConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $DeviceEnrollmentConfigurationType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ExtractHardwareHash, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ManagementServiceAppId, + + [Parameter()] + [PSObject] + $EnrollmentStatusScreenSettings, + + [Parameter()] + [System.String] + $DeviceNameTemplate, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnableWhiteGlove, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $DeviceType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AssignedDevices, + + [Parameter()] + [PSObject] + $OutOfBoxExperienceSettings, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Language, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementWindowsFeatureUpdateProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $RolloutSettings, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $DeployableContentDisplayName, + + [Parameter()] + [System.DateTime] + $EndOfSupportDate, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $FeatureUpdateVersion, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementDeviceEnrollmentConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceEnrollmentConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $WindowsAutopilotDeploymentProfileId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementWindowsFeatureUpdateProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $WindowsFeatureUpdateProfileId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementDeviceEnrollmentConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $DeviceEnrollmentConfigurationId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $DeviceEnrollmentConfigurationType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementWindowsAutopilotDeploymentProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ExtractHardwareHash, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ManagementServiceAppId, + + [Parameter()] + [PSObject] + $EnrollmentStatusScreenSettings, + + [Parameter()] + [System.String] + $DeviceNameTemplate, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnableWhiteGlove, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $DeviceType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AssignedDevices, + + [Parameter()] + [PSObject] + $OutOfBoxExperienceSettings, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Language, + + [Parameter()] + [System.String] + $WindowsAutopilotDeploymentProfileId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementWindowsFeatureUpdateProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Assignments, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.String] + $WindowsFeatureUpdateProfileId, + + [Parameter()] + [PSObject] + $RolloutSettings, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $DeployableContentDisplayName, + + [Parameter()] + [System.DateTime] + $EndOfSupportDate, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $FeatureUpdateVersion, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaRoleManagement +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $CloudPc, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $EnterpriseApps, + + [Parameter()] + [PSObject] + $EntitlementManagement, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Exchange, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $Directory, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $DeviceManagement + ) +} +#endregion +#region Microsoft.Graph.Beta.Identity.DirectoryManagement +function Get-MgBetaDevice +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectory +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaDirectoryAdministrativeUnit +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectoryAdministrativeUnitMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectoryAdministrativeUnitScopedRoleMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $ScopedRoleMembershipId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectoryAttributeSet +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $AttributeSetId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectoryDeletedItem +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaDirectoryDeletedItemAsApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectoryRole +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DirectoryRoleId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectoryRoleTemplate +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $DirectoryRoleTemplateId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectorySetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DirectorySettingId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaOrganizationSetting +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaOrganizationSettingItemInsight +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaOrganizationSettingPersonInsight +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaSubscribedSku +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $SubscribedSkuId, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $Search + ) +} +function New-MgBetaDevice +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.DateTime] + $RegistrationDateTime, + + [Parameter()] + [System.String] + $Status, + + [Parameter()] + [PSObject] + $UsageRights, + + [Parameter()] + [System.String] + $DeviceMetadata, + + [Parameter()] + [System.String] + $TrustType, + + [Parameter()] + [System.Int32] + $DeviceVersion, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [PSObject] + $AlternativeSecurityIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $Commands, + + [Parameter()] + [System.String] + $OnPremisesSecurityIdentifier, + + [Parameter()] + [System.String] + $OperatingSystemVersion, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.DateTime] + $OnPremisesLastSyncDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $DeviceId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsCompliant, + + [Parameter()] + [System.String] + $EnrollmentType, + + [Parameter()] + [System.String] + $ProfileType, + + [Parameter()] + [PSObject] + $ExtensionAttributes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OnPremisesSyncEnabled, + + [Parameter()] + [PSObject] + $MemberOf, + + [Parameter()] + [System.String[]] + $Hostnames, + + [Parameter()] + [System.String[]] + $PhysicalIds, + + [Parameter()] + [System.DateTime] + $ComplianceExpirationDateTime, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $DeviceCategory, + + [Parameter()] + [System.String] + $DomainName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsManagementRestricted, + + [Parameter()] + [PSObject] + $TransitiveMemberOf, + + [Parameter()] + [System.String] + $Model, + + [Parameter()] + [System.String[]] + $SystemLabels, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $RegisteredOwners, + + [Parameter()] + [PSObject] + $RegisteredUsers, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $OperatingSystem, + + [Parameter()] + [System.String] + $Manufacturer, + + [Parameter()] + [System.String] + $DeviceOwnership, + + [Parameter()] + [System.DateTime] + $ApproximateLastSignInDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsManaged, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $Platform, + + [Parameter()] + [System.String] + $EnrollmentProfileName, + + [Parameter()] + [System.String] + $MdmAppId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsRooted, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AccountEnabled, + + [Parameter()] + [System.String] + $ManagementType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $Kind + ) +} +function New-MgBetaDirectoryAdministrativeUnit +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMemberManagementRestricted, + + [Parameter()] + [PSObject] + $ScopedRoleMembers, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Visibility, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDirectoryAdministrativeUnitMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaDirectoryAdministrativeUnitMemberByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaDirectoryAdministrativeUnitScopedRoleMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $AdministrativeUnitId1, + + [Parameter()] + [System.String] + $RoleId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $RoleMemberInfo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDirectoryAttributeSet +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Int32] + $MaxAttributesPerSet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaDirectoryRole +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $RoleTemplateId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $ScopedMembers, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDirectoryRoleMemberByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DirectoryRoleId, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaDirectorySetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Values, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaDevice +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDirectoryAdministrativeUnit +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaDirectoryAdministrativeUnitMemberDirectoryObjectByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Restore-MgBetaDirectoryDeletedItem +{ + [CmdletBinding()] + param( + [Parameter()] + [String] + $DirectoryObjectId + ) +} + +function Get-MgBetaDirectoryDeletedItemAsGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [String] + $Filter + ) +} + +function Remove-MgBetaDirectoryAdministrativeUnitScopedRoleMember +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ScopedRoleMembershipId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaDirectoryAttributeSet +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AttributeSetId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDirectoryRole +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.String] + $DirectoryRoleId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaDirectoryRoleMemberByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $DirectoryRoleId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaDirectorySetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DirectorySettingId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Restore-MgBetaDirectoryDeletedItem +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaDevice +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.DateTime] + $RegistrationDateTime, + + [Parameter()] + [System.String] + $Status, + + [Parameter()] + [PSObject] + $UsageRights, + + [Parameter()] + [System.String] + $DeviceMetadata, + + [Parameter()] + [System.String] + $TrustType, + + [Parameter()] + [System.Int32] + $DeviceVersion, + + [Parameter()] + [System.String] + $OperatingSystem, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [PSObject] + $AlternativeSecurityIds, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $Commands, + + [Parameter()] + [System.String] + $OnPremisesSecurityIdentifier, + + [Parameter()] + [System.String] + $OperatingSystemVersion, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.DateTime] + $OnPremisesLastSyncDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $DeviceId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsCompliant, + + [Parameter()] + [System.String] + $EnrollmentType, + + [Parameter()] + [System.String] + $ProfileType, + + [Parameter()] + [PSObject] + $ExtensionAttributes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OnPremisesSyncEnabled, + + [Parameter()] + [PSObject] + $MemberOf, + + [Parameter()] + [System.String[]] + $Hostnames, + + [Parameter()] + [System.String[]] + $PhysicalIds, + + [Parameter()] + [System.DateTime] + $ComplianceExpirationDateTime, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $DeviceCategory, + + [Parameter()] + [System.String] + $DomainName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsManagementRestricted, + + [Parameter()] + [PSObject] + $TransitiveMemberOf, + + [Parameter()] + [System.String] + $Model, + + [Parameter()] + [System.String[]] + $SystemLabels, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $RegisteredOwners, + + [Parameter()] + [PSObject] + $RegisteredUsers, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $DeviceId1, + + [Parameter()] + [System.String] + $Manufacturer, + + [Parameter()] + [System.String] + $DeviceOwnership, + + [Parameter()] + [System.DateTime] + $ApproximateLastSignInDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsManaged, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $Platform, + + [Parameter()] + [System.String] + $EnrollmentProfileName, + + [Parameter()] + [System.String] + $MdmAppId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsRooted, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AccountEnabled, + + [Parameter()] + [System.String] + $ManagementType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $Kind + ) +} +function Update-MgBetaDirectory +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $InboundSharedUserProfiles, + + [Parameter()] + [PSObject] + $SharedEmailDomains, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $OutboundSharedUserProfiles, + + [Parameter()] + [PSObject] + $FederationConfigurations, + + [Parameter()] + [PSObject] + $OnPremisesSynchronization, + + [Parameter()] + [PSObject] + $AdministrativeUnits, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Recommendations, + + [Parameter()] + [PSObject] + $AttributeSets, + + [Parameter()] + [PSObject] + $Subscriptions, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [PSObject] + $DeletedItems, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ImpactedResources, + + [Parameter()] + [PSObject] + $CertificateAuthorities, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $CustomSecurityAttributeDefinitions, + + [Parameter()] + [PSObject] + $FeatureRolloutPolicies, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDirectoryAdministrativeUnit +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $AdministrativeUnitId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMemberManagementRestricted, + + [Parameter()] + [PSObject] + $ScopedRoleMembers, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Visibility, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDirectoryAttributeSet +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AttributeSetId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Int32] + $MaxAttributesPerSet, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaDirectorySetting +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Values, + + [Parameter()] + [System.String] + $DirectorySettingId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $PostalCode, + + [Parameter()] + [PSObject] + $VerifiedDomains, + + [Parameter()] + [System.String] + $DefaultUsageLocation, + + [Parameter()] + [PSObject] + $CertificateConnectorSetting, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Settings, + + [Parameter()] + [System.String] + $Street, + + [Parameter()] + [PSObject] + $PartnerInformation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $PreferredLanguage, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.String] + $City, + + [Parameter()] + [System.String[]] + $MarketingNotificationEmails, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $AssignedPlans, + + [Parameter()] + [PSObject] + $MobileDeviceManagementAuthority, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMultipleDataLocationsForServicesEnabled, + + [Parameter()] + [System.String] + $Country, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String[]] + $SecurityComplianceNotificationMails, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $CertificateBasedAuthConfiguration, + + [Parameter()] + [System.String[]] + $TechnicalNotificationMails, + + [Parameter()] + [PSObject] + $PrivacyProfile, + + [Parameter()] + [PSObject] + $Extensions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.DateTime] + $OnPremisesLastSyncDateTime, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [PSObject] + $ProvisionedPlans, + + [Parameter()] + [PSObject] + $DirectorySizeQuota, + + [Parameter()] + [System.DateTime] + $OnPremisesLastPasswordSyncDateTime, + + [Parameter()] + [PSObject] + $Branding, + + [Parameter()] + [System.String] + $CountryLetterCode, + + [Parameter()] + [System.String[]] + $BusinessPhones, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OnPremisesSyncEnabled, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [System.String[]] + $SecurityComplianceNotificationPhones, + + [Parameter()] + [System.String] + $PartnerTenantType + ) +} +function Update-MgBetaOrganizationSetting +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $PeopleInsights, + + [Parameter()] + [PSObject] + $ItemInsights, + + [Parameter()] + [PSObject] + $MicrosoftApplicationDataAccess, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $ContactInsights, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaOrganizationSettingItemInsight +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabledInOrganization, + + [Parameter()] + [System.String] + $DisabledForGroup, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaOrganizationSettingPersonInsight +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $OrganizationId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabledInOrganization, + + [Parameter()] + [System.String] + $DisabledForGroup, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +#endregion + +#region Microsoft.Graph.Beta.Identity.Governance +function Get-MgBetaAgreement +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.String] + $AgreementId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaEntitlementManagementAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $CatalogId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DisplayNameContains, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DisplayNameEq, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $AccessPackageAssignmentId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $AccessPackageAssignmentPolicyId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DisplayNameContains, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DisplayNameEq, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageCatalog +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DisplayNameContains, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DisplayNameEq, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageCatalogAccessPackageResource +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageCatalogAccessPackageResourceRole +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageIncompatibleGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementAccessPackageIncompatibleWith +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $AccessPackageId1, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementConnectedOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.String] + $DisplayNameContains, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DisplayNameEq, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementConnectedOrganizationExternalSponsor +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaEntitlementManagementConnectedOrganizationInternalSponsor +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaRoleManagementDirectory +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaRoleManagementDirectoryRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $UnifiedRoleAssignmentId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaRoleManagementDirectoryRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.String] + $UnifiedRoleDefinitionId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $AccessPackagesIncompatibleWith, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $IncompatibleGroups, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $AccessPackageCatalog, + + [Parameter()] + [System.String] + $CatalogId, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AccessPackageAssignmentPolicies, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsRoleScopesVisible, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $IncompatibleAccessPackages, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AccessPackageResourceRoleScopes, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsHidden + ) +} +function New-MgBetaEntitlementManagementAccessPackageAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Justification, + + [Parameter()] + [System.String[]] + $RequiredUserId, + + [Parameter()] + [PSObject] + $Answers, + + [Parameter()] + [PSObject] + $ExistingAssignment, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.PSObject[]] + $RequiredGroupMember, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $StartDate, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $AssignmentPolicyId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $CustomExtensionStageSettings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AccessPackageCatalog, + + [Parameter()] + [PSObject] + $Questions, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AccessReviewSettings, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [PSObject] + $RequestorSettings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $CanExtend, + + [Parameter()] + [PSObject] + $VerifiableCredentialSettings, + + [Parameter()] + [PSObject] + $CustomExtensionHandlers, + + [Parameter()] + [System.Int32] + $DurationInDays, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.DateTime] + $ExpirationDateTime, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [PSObject] + $RequestApprovalSettings, + + [Parameter()] + [PSObject] + $AccessPackage, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageCatalog +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsExternallyVisible, + + [Parameter()] + [PSObject] + $AccessPackageCustomWorkflowExtensions, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $AccessPackages, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [PSObject] + $AccessPackageResourceScopes, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AccessPackageResources, + + [Parameter()] + [PSObject] + $CustomAccessPackageWorkflowExtensions, + + [Parameter()] + [System.String] + $CatalogStatus, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $AccessPackageResourceRoles, + + [Parameter()] + [System.String] + $CatalogType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackageByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaEntitlementManagementAccessPackageIncompatibleGroupByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaEntitlementManagementAccessPackageResourceRequest +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Justification, + + [Parameter()] + [PSObject] + $AccessPackageResource, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ExecuteImmediately, + + [Parameter()] + [System.String] + $CatalogId, + + [Parameter()] + [System.String] + $RequestType, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Requestor, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsValidationOnly, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.DateTime] + $ExpirationDateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $RequestState, + + [Parameter()] + [System.String] + $RequestStatus, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementAccessPackageResourceRoleScope +{ + [CmdletBinding()] + param( + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [PSObject] + $AccessPackageResourceScope, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $AccessPackageResourceRole, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementConnectedOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $ExternalSponsors, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $IdentitySources, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $InternalSponsors, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.String] + $DomainName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaRoleManagementDirectoryRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Principal, + + [Parameter()] + [System.String] + $ResourceScope, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $DirectoryScope, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $PrincipalId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $Condition, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [PSObject] + $RoleDefinition, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AppScope, + + [Parameter()] + [System.String] + $DirectoryScopeId, + + [Parameter()] + [System.String] + $PrincipalOrganizationId, + + [Parameter()] + [System.String] + $AppScopeId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaRoleManagementDirectoryRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $ResourceScopes, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltIn, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $InheritsPermissionsFrom, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $AllowedPrincipalTypes, + + [Parameter()] + [PSObject] + $RolePermissions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabled, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaEntitlementManagementAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $AccessPackageAssignmentId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageAssignmentPolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageCatalog +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageIncompatibleAccessPackageByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $AccessPackageId1, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageIncompatibleGroupByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementAccessPackageResourceRoleScope +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $AccessPackageResourceRoleScopeId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaEntitlementManagementConnectedOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementConnectedOrganizationExternalSponsorDirectoryObjectByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaEntitlementManagementConnectedOrganizationInternalSponsorDirectoryObjectByRef +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaRoleManagementDirectory +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaRoleManagementDirectoryRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $UnifiedRoleAssignmentId, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaRoleManagementDirectoryRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $UnifiedRoleDefinitionId, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Set-MgBetaEntitlementManagementAccessPackageAssignmentPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $CustomExtensionStageSettings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AccessPackageCatalog, + + [Parameter()] + [PSObject] + $Questions, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AccessReviewSettings, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.String] + $AccessPackageAssignmentPolicyId, + + [Parameter()] + [PSObject] + $RequestorSettings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $CanExtend, + + [Parameter()] + [PSObject] + $VerifiableCredentialSettings, + + [Parameter()] + [PSObject] + $CustomExtensionHandlers, + + [Parameter()] + [System.Int32] + $DurationInDays, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.DateTime] + $ExpirationDateTime, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [PSObject] + $RequestApprovalSettings, + + [Parameter()] + [PSObject] + $AccessPackage, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaEntitlementManagementAccessPackage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $AccessPackagesIncompatibleWith, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $IncompatibleGroups, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $AccessPackageCatalog, + + [Parameter()] + [System.String] + $CatalogId, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $AccessPackageAssignmentPolicies, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsRoleScopesVisible, + + [Parameter()] + [System.String] + $AccessPackageId, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $IncompatibleAccessPackages, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $AccessPackageResourceRoleScopes, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsHidden + ) +} +function Update-MgBetaEntitlementManagementAccessPackageCatalog +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsExternallyVisible, + + [Parameter()] + [PSObject] + $AccessPackageCustomWorkflowExtensions, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $AccessPackages, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $AccessPackageResourceScopes, + + [Parameter()] + [System.String] + $AccessPackageCatalogId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $AccessPackageResources, + + [Parameter()] + [PSObject] + $CustomAccessPackageWorkflowExtensions, + + [Parameter()] + [System.String] + $CatalogStatus, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $AccessPackageResourceRoles, + + [Parameter()] + [System.String] + $CatalogType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaEntitlementManagementConnectedOrganization +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $ExternalSponsors, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $IdentitySources, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.String] + $CreatedBy, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $ConnectedOrganizationId, + + [Parameter()] + [PSObject] + $InternalSponsors, + + [Parameter()] + [System.String] + $ModifiedBy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaRoleManagementDirectory +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $RoleAssignmentScheduleRequests, + + [Parameter()] + [PSObject] + $TransitiveRoleAssignments, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $RoleEligibilitySchedules, + + [Parameter()] + [PSObject] + $ResourceNamespaces, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $RoleDefinitions, + + [Parameter()] + [PSObject] + $RoleEligibilityScheduleRequests, + + [Parameter()] + [PSObject] + $RoleAssignmentSchedules, + + [Parameter()] + [PSObject] + $RoleAssignments, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $RoleEligibilityScheduleInstances, + + [Parameter()] + [PSObject] + $RoleAssignmentScheduleInstances, + + [Parameter()] + [PSObject] + $RoleAssignmentApprovals, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaRoleManagementDirectoryRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $ResourceScopes, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $UnifiedRoleDefinitionId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltIn, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $InheritsPermissionsFrom, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $AllowedPrincipalTypes, + + [Parameter()] + [PSObject] + $RolePermissions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $TemplateId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Beta.Identity.SignIns +function Get-MgBetaIdentityConditionalAccess +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaIdentityConditionalAccessAuthenticationContextClassReference +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $AuthenticationContextClassReferenceId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaIdentityConditionalAccessNamedLocation +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $NamedLocationId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaIdentityConditionalAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $ConditionalAccessPolicyId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaIdentityProvider +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $IdentityProviderBaseId, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaOauth2PermissionGrant +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $OAuth2PermissionGrantId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyAuthenticationMethodPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $AuthenticationMethodConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyAuthenticationStrengthPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $AuthenticationStrengthPolicyId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyAuthorizationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $AuthorizationPolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyCrossTenantAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaPolicyCrossTenantAccessPolicyDefault +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaPolicyCrossTenantAccessPolicyPartner +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $CrossTenantAccessPolicyConfigurationPartnerTenantId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyIdentitySecurityDefaultEnforcementPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaPolicyRoleManagementPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyRoleManagementPolicyAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyAssignmentId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyRoleManagementPolicyRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyRuleId, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaPolicyTokenLifetimePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $TokenLifetimePolicyId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaIdentityConditionalAccessAuthenticationContextClassReference +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAvailable, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-MgBetaIdentityConditionalAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $SessionControls, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [PSObject] + $Conditions, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $GrantControls, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaIdentityProvider +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $ExcludeTargets + ) +} +function New-MgBetaPolicyAuthenticationStrengthPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $PolicyType, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $RequirementsSatisfied, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String[]] + $AllowedCombinations, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $CombinationConfigurations, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaPolicyCrossTenantAccessPolicyPartner +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [PSObject] + $TenantRestrictions, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $InboundTrust, + + [Parameter()] + [PSObject] + $AutomaticUserConsentSettings, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $B2BDirectConnectOutbound, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsInMultiTenantOrganization, + + [Parameter()] + [PSObject] + $B2BDirectConnectInbound, + + [Parameter()] + [PSObject] + $B2BCollaborationOutbound, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $IdentitySynchronization, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $B2BCollaborationInbound, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsServiceProvider, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaPolicyTokenLifetimePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Definition, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [PSObject] + $AppliesTo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaIdentityConditionalAccess +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaIdentityConditionalAccessAuthenticationContextClassReference +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AuthenticationContextClassReferenceId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaIdentityConditionalAccessNamedLocation +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $NamedLocationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaIdentityConditionalAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ConditionalAccessPolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaIdentityProvider +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $IdentityProviderBaseId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaPolicyAuthenticationMethodPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AuthenticationMethodConfigurationId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaPolicyAuthenticationStrengthPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AuthenticationStrengthPolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-MgBetaPolicyCrossTenantAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaPolicyCrossTenantAccessPolicyPartner +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $CrossTenantAccessPolicyConfigurationPartnerTenantId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaPolicyTokenLifetimePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $TokenLifetimePolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaIdentityConditionalAccess +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Templates, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $AuthenticationStrengths, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $NamedLocations, + + [Parameter()] + [PSObject] + $AuthenticationContextClassReferences, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $AuthenticationStrength, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Policies, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaIdentityConditionalAccessAuthenticationContextClassReference +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAvailable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $AuthenticationContextClassReferenceId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaIdentityConditionalAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $SessionControls, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [PSObject] + $Conditions, + + [Parameter()] + [System.String] + $ConditionalAccessPolicyId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $GrantControls, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaIdentityProvider +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $IdentityProviderBaseId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaPolicyAuthenticationMethodPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Int32] + $ReconfirmationInDays, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String] + $PolicyMigrationState, + + [Parameter()] + [PSObject] + $SystemCredentialPreferences, + + [Parameter()] + [System.String] + $PolicyVersion, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $RegistrationEnforcement, + + [Parameter()] + [PSObject] + $AuthenticationMethodConfigurations, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ReportSuspiciousActivitySettings, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $AuthenticationMethodConfigurationId, + + [Parameter()] + [System.String] + $State, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $ExcludeTargets + ) +} +function Update-MgBetaPolicyAuthenticationStrengthPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $PolicyType, + + [Parameter()] + [System.DateTime] + $ModifiedDateTime, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $AuthenticationStrengthPolicyId, + + [Parameter()] + [System.String] + $RequirementsSatisfied, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String[]] + $AllowedCombinations, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $CombinationConfigurations, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaPolicyAuthenticationStrengthPolicyAllowedCombination +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String[]] + $AllowedCombinations, + + [Parameter()] + [System.String] + $AuthenticationStrengthPolicyId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaPolicyAuthorizationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BlockMsolPowerShell, + + [Parameter()] + [System.String] + $AuthorizationPolicyId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowedToUseSspr, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowUserConsentForRiskyApps, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $GuestUserRoleId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowedToSignUpEmailBasedSubscriptions, + + [Parameter()] + [PSObject] + $DefaultUserRoleOverrides, + + [Parameter()] + [System.String] + $AllowInvitesFrom, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowEmailVerifiedUsersToJoinOrganization, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String[]] + $PermissionGrantPolicyIdsAssignedToDefaultUserRole, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $DefaultUserRolePermissions, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String[]] + $EnabledPreviewFeatures + ) +} +function Update-MgBetaPolicyCrossTenantAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Definition, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $Templates, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Partners, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String[]] + $AllowedCloudEndpoints, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Default + ) +} +function Update-MgBetaPolicyCrossTenantAccessPolicyDefault +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsServiceDefault, + + [Parameter()] + [System.Collections.Hashtable] + $InvitationRedemptionIdentityProviderConfiguration, + + [Parameter()] + [PSObject] + $TenantRestrictions, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $InboundTrust, + + [Parameter()] + [PSObject] + $AutomaticUserConsentSettings, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $B2BDirectConnectOutbound, + + [Parameter()] + [PSObject] + $B2BDirectConnectInbound, + + [Parameter()] + [PSObject] + $B2BCollaborationOutbound, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $B2BCollaborationInbound, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaPolicyCrossTenantAccessPolicyPartner +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [PSObject] + $TenantRestrictions, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $InboundTrust, + + [Parameter()] + [PSObject] + $AutomaticUserConsentSettings, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $B2BDirectConnectOutbound, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsInMultiTenantOrganization, + + [Parameter()] + [System.String] + $CrossTenantAccessPolicyConfigurationPartnerTenantId, + + [Parameter()] + [PSObject] + $B2BDirectConnectInbound, + + [Parameter()] + [PSObject] + $B2BCollaborationOutbound, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $IdentitySynchronization, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $B2BCollaborationInbound, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsServiceProvider, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaPolicyIdentitySecurityDefaultEnforcementPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsEnabled, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaPolicyRoleManagementPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $EffectiveRules, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $ScopeType, + + [Parameter()] + [System.String] + $ScopeId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, + + [Parameter()] + [PSObject] + $LastModifiedBy, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $Rules, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaPolicyRoleManagementPolicyRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyRuleId, + + [Parameter()] + [System.String] + $UnifiedRoleManagementPolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $Target, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaPolicyTokenLifetimePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Definition, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $TokenLifetimePolicyId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [PSObject] + $AppliesTo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion + +#region Microsoft.Graph.Beta.Teams +function Get-MgBetaTeam +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaTeamChannel +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaTeamChannelTab +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $TeamsTabId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaTeam +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Specialization, + + [Parameter()] + [PSObject] + $PrimaryChannel, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMembershipLimitedToOwners, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Classification, + + [Parameter()] + [PSObject] + $AllChannels, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsArchived, + + [Parameter()] + [System.String] + $InternalId, + + [Parameter()] + [PSObject] + $Channels, + + [Parameter()] + [PSObject] + $Group, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $IncomingChannels, + + [Parameter()] + [PSObject] + $Tags, + + [Parameter()] + [PSObject] + $Photo, + + [Parameter()] + [System.String] + $Visibility, + + [Parameter()] + [PSObject] + $MessagingSettings, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [PSObject] + $PermissionGrants, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $InstalledApps, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [PSObject] + $FunSettings, + + [Parameter()] + [PSObject] + $Schedule, + + [Parameter()] + [PSObject] + $Operations, + + [Parameter()] + [PSObject] + $GuestSettings, + + [Parameter()] + [System.String] + $WebUrl, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Collections.Hashtable] + $Template, + + [Parameter()] + [PSObject] + $Summary, + + [Parameter()] + [PSObject] + $DiscoverySettings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $TemplateDefinition, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $MemberSettings + ) +} +function New-MgBetaTeamChannel +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $FilesFolder, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [PSObject] + $Tabs, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $SharedWithTeams, + + [Parameter()] + [PSObject] + $Messages, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsFavoriteByDefault, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.String] + $Email, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ModerationSettings, + + [Parameter()] + [System.String] + $MembershipType, + + [Parameter()] + [System.String] + $WebUrl, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $Summary, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaTeamChannelTab +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TeamsAppId, + + [Parameter()] + [System.String] + $MessageId, + + [Parameter()] + [System.String] + $SortOrderIndex, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [PSObject] + $TeamsApp, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Configuration, + + [Parameter()] + [System.String] + $WebUrl, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaTeam +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaTeamChannel +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaTeamChannelTab +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [System.String] + $TeamsTabId, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaTeam +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $PrimaryChannel, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $Tags, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsMembershipLimitedToOwners, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $AllChannels, + + [Parameter()] + [System.String] + $Classification, + + [Parameter()] + [System.String] + $InternalId, + + [Parameter()] + [PSObject] + $MemberSettings, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Group, + + [Parameter()] + [System.String] + $Specialization, + + [Parameter()] + [PSObject] + $IncomingChannels, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsArchived, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [PSObject] + $Photo, + + [Parameter()] + [System.String] + $Visibility, + + [Parameter()] + [PSObject] + $MessagingSettings, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [PSObject] + $PermissionGrants, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $InstalledApps, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject] + $Owners, + + [Parameter()] + [PSObject] + $FunSettings, + + [Parameter()] + [PSObject] + $Schedule, + + [Parameter()] + [PSObject] + $Operations, + + [Parameter()] + [PSObject] + $GuestSettings, + + [Parameter()] + [System.String] + $WebUrl, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Collections.Hashtable] + $Template, + + [Parameter()] + [PSObject] + $Summary, + + [Parameter()] + [PSObject] + $DiscoverySettings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $TemplateDefinition, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [PSObject] + $Channels + ) +} +function Update-MgBetaTeamChannel +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [PSObject] + $FilesFolder, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [PSObject] + $Tabs, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject] + $SharedWithTeams, + + [Parameter()] + [PSObject] + $Messages, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsFavoriteByDefault, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.String] + $Email, + + [Parameter()] + [PSObject] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $ModerationSettings, + + [Parameter()] + [System.String] + $MembershipType, + + [Parameter()] + [System.String] + $WebUrl, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $Summary, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaTeamChannelTab +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TeamsAppId, + + [Parameter()] + [System.String] + $MessageId, + + [Parameter()] + [System.String] + $SortOrderIndex, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [PSObject] + $TeamsApp, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $TeamId, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $Configuration, + + [Parameter()] + [System.String] + $WebUrl, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $TeamsTabId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.DeviceManagement.Administration +function Get-MgDeviceManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $DeviceAndAppManagementRoleAssignmentId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgDeviceManagementRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgDeviceManagementRoleDefinitionRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $RoleAssignmentId, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgDeviceManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $ResourceScopes, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String[]] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $RoleDefinition, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgDeviceManagementRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $RoleAssignments, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltIn, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $RolePermissions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgDeviceManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceAndAppManagementRoleAssignmentId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgDeviceManagementRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaDeviceManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $DeviceAndAppManagementRoleAssignmentId, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $ResourceScopes, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $RoleScopeTags, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $ScopeType, + + [Parameter()] + [System.String[]] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $ScopeMembers, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $RoleDefinition, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceAndAppManagementRoleAssignmentId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDeviceManagementRoleAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String[]] + $ResourceScopes, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $DeviceAndAppManagementRoleAssignmentId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $ScopeType, + + [Parameter()] + [System.String[]] + $Members, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $ScopeMembers, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $RoleDefinition, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $RoleScopeTags, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgDeviceManagementRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $RoleAssignments, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltIn, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [PSObject] + $RolePermissions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Beta.DirectoryObjects +function Get-MgBetaDirectoryObject +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ConsistencyLevel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.String] + $DirectoryObjectId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region SecurityComplianceCenter +function Get-InsiderRiskPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $MetaDataOnly, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DistributionDetail + ) +} +function New-InsiderRiskPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $IsCustom, + + [Parameter()] + [System.Object] + $ExchangeLocationException, + + [Parameter()] + [System.Object] + $Indicators, + + [Parameter()] + [System.Object] + $ExtensibleIndicators, + + [Parameter()] + [System.Object] + $ModernGroupLocationException, + + [Parameter()] + [System.String] + $CCPolicySdsId, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Object] + $ExtensibleTriggerInsightGroups, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $UserMailList, + + [Parameter()] + [System.Object] + $PolicyRBACScopes, + + [Parameter()] + [System.Object] + $ExchangeLocation, + + [Parameter()] + [System.Object] + $FileExtensions, + + [Parameter()] + [System.Boolean] + $OptInDrpForDlp, + + [Parameter()] + [System.Int32] + $UseDefaultTemplate, + + [Parameter()] + [System.Boolean] + $IsPriorityContentOnlyScoring, + + [Parameter()] + [System.Object] + $Triggers, + + [Parameter()] + [System.Object] + $SharepointSites, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $TeamsSites, + + [Parameter()] + [System.Int32] + $HistoricTimeSpan, + + [Parameter()] + [System.Int32] + $PastTerminationWindow, + + [Parameter()] + [System.Object] + $MLClassifierTypes, + + [Parameter()] + [System.Object] + $ModernGroupLocation, + + [Parameter()] + [System.Object] + $InsiderRiskScenario, + + [Parameter()] + [System.String] + $SessionRecordingSettings, + + [Parameter()] + [System.Object] + $DlpPolicy, + + [Parameter()] + [System.Int32] + $FutureTerminationWindow, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $PostTerminationActivity, + + [Parameter()] + [System.Object] + $IrmAdaptiveScopeLocation, + + [Parameter()] + [System.Object] + $CustomTags, + + [Parameter()] + [System.String] + $CCPolicyName, + + [Parameter()] + [System.Object] + $TriggerInsightGroups, + + [Parameter()] + [System.String] + $TenantSetting, + + [Parameter()] + [System.Object] + $SensitivityLabels, + + [Parameter()] + [System.Object] + $DlpSensitiveTypes, + + [Parameter()] + [System.Int32] + $InScopeTimeSpan, + + [Parameter()] + [System.Int32] + $SchemaVersion + ) +} +function Remove-InsiderRiskPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Set-InsiderRiskPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $IsCustom, + + [Parameter()] + [System.Object] + $Indicators, + + [Parameter()] + [System.String] + $TurnOnAnalytics, + + [Parameter()] + [System.Object] + $AddExchangeLocationException, + + [Parameter()] + [System.String] + $SessionRecordingSettings, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String] + $CCPolicyName, + + [Parameter()] + [System.Object] + $RemoveExchangeLocationException, + + [Parameter()] + [System.String] + $CCPolicySdsId, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Object] + $ExtensibleTriggerInsightGroups, + + [Parameter()] + [System.Object] + $AddExchangeLocation, + + [Parameter()] + [System.Object] + $PolicyRBACScopes, + + [Parameter()] + [System.Object] + $FileExtensions, + + [Parameter()] + [System.Boolean] + $OptInDrpForDlp, + + [Parameter()] + [System.Object] + $RemoveIrmAdaptiveScopeLocation, + + [Parameter()] + [System.Object] + $RemoveModernGroupLocationException, + + [Parameter()] + [System.Object] + $AddModernGroupLocationException, + + [Parameter()] + [System.Object] + $DlpPolicy, + + [Parameter()] + [System.Boolean] + $IsPriorityContentOnlyScoring, + + [Parameter()] + [System.Object] + $Triggers, + + [Parameter()] + [System.Object] + $AddModernGroupLocation, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $TeamsSites, + + [Parameter()] + [System.Int32] + $HistoricTimeSpan, + + [Parameter()] + [System.String] + $TurnOnDLPUserRiskSync, + + [Parameter()] + [System.Object] + $RemoveModernGroupLocation, + + [Parameter()] + [System.Object] + $MLClassifierTypes, + + [Parameter()] + [System.Object] + $ExtensibleIndicators, + + [Parameter()] + [System.Object] + $AddIrmAdaptiveScopeLocation, + + [Parameter()] + [System.Int32] + $FutureTerminationWindow, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $PostTerminationActivity, + + [Parameter()] + [System.Object] + $RemoveExchangeLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RetryDistribution, + + [Parameter()] + [System.Object] + $SharepointSites, + + [Parameter()] + [System.Object] + $CustomTags, + + [Parameter()] + [System.Object] + $AddUserMailList, + + [Parameter()] + [System.Object] + $TriggerInsightGroups, + + [Parameter()] + [System.String] + $TenantSetting, + + [Parameter()] + [System.Object] + $SensitivityLabels, + + [Parameter()] + [System.Object] + $DlpSensitiveTypes, + + [Parameter()] + [System.Int32] + $InScopeTimeSpan, + + [Parameter()] + [System.Int32] + $SchemaVersion, + + [Parameter()] + [System.Int32] + $PastTerminationWindow + ) +} + +function Get-RecordReviewNotificationTemplateConfig +{ + [CmdletBinding()] + param( + + ) +} + +function Set-RecordReviewNotificationTemplateConfig +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $IsCustomizedReminderTemplate, + + [Parameter()] + [System.String] + $CustomizedNotificationDataString, + + [Parameter()] + [System.String] + $CustomizedReminderDataString, + + [Parameter()] + [System.Boolean] + $IsCustomizedNotificationTemplate + ) +} + + +function Get-AdminAuditLogConfig +{ + [CmdletBinding()] + param( + + ) +} +function Get-AuditConfig +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $DomainController + ) +} +function Get-AuditConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $DomainController + ) +} +function Get-AutoSensitivityLabelPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceValidate, + + [Parameter()] + [System.Boolean] + $IncludeTestModeResults, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeProgressFeedback, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DistributionDetail + ) +} +function Get-AutoSensitivityLabelRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceValidate, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $IncludeExecutionRuleInformation, + + [Parameter()] + [System.Object] + $Policy, + + [Parameter()] + [System.Boolean] + $IncludeExecutionRuleGuids + ) +} +function Get-CaseHoldPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeBindingsOnly, + + [Parameter()] + [System.String] + $Case, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeBindings, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DistributionDetail + ) +} +function Get-CaseHoldRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $Policy + ) +} +function Get-ComplianceCase +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $CaseType, + + [Parameter()] + [System.String] + $RoleGroup, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RecentOnly, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $DomainController + ) +} +function Get-ComplianceRetentionEvent +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $BeginDateTime, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PreviewOnly, + + [Parameter()] + [System.Object] + $EndDateTime, + + [Parameter()] + [System.Object] + $DomainController + ) +} +function Get-ComplianceRetentionEventType +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $LoadTag + ) +} +function Get-ComplianceSearch +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Case, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $ResultSize + ) +} +function Get-ComplianceSearchAction +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Case, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Purge, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Details, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Export, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Preview, + + [Parameter()] + [System.Object] + $ResultSize + ) +} +function Get-ComplianceTag +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludingLabelState, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-ComplianceSecurityFilter +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $FilterName, + + [Parameter()] + [System.Boolean] + $Confirm, + + [Parameter()] + [ValidateSet('Export', 'Preview', 'Purge', 'Search', 'All')] + [System.String] + $Action = 'All', + + [Parameter()] + [System.String[]] + $Users + ) +} +function Get-DeviceConditionalAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-DeviceConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-DeviceConfigurationRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $CompareToWorkload, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $DomainController + ) +} +function New-DeviceConfigurationRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $CameraEnabled, + + [Parameter()] + [System.Object] + $EnableRemovableStorage, + + [Parameter()] + [System.Object] + $AntiVirusSignatureStatus, + + [Parameter()] + [System.Object] + $FirewallStatus, + + [Parameter()] + [System.Object] + $AllowAppStore, + + [Parameter()] + [System.Object] + $AllowAssistantWhileLocked, + + [Parameter()] + [System.Object] + $AllowiCloudBackup, + + [Parameter()] + [System.Object] + $AppsRating, + + [Parameter()] + [System.Object] + $PasswordHistoryCount, + + [Parameter()] + [System.Object] + $PasswordQuality, + + [Parameter()] + [System.Object] + $PasswordMinComplexChars, + + [Parameter()] + [System.Object] + $PhoneMemoryEncrypted, + + [Parameter()] + [System.String] + $EmailAddress, + + [Parameter()] + [System.Object] + $BluetoothEnabled, + + [Parameter()] + [System.Object] + $AllowConvenienceLogon, + + [Parameter()] + [System.Object] + $MaxPasswordGracePeriod, + + [Parameter()] + [System.Object] + $AllowiCloudDocSync, + + [Parameter()] + [System.Object] + $ForceAppStorePassword, + + [Parameter()] + [System.Object] + $Policy, + + [Parameter()] + [System.Object] + $TVShowsRating, + + [Parameter()] + [System.String] + $ExchangeActiveSyncHost, + + [Parameter()] + [System.Object] + $RequireEmailProfile, + + [Parameter()] + [System.Object] + $AllowDiagnosticSubmission, + + [Parameter()] + [System.Object] + $AutoUpdateStatus, + + [Parameter()] + [System.String] + $AccountUserName, + + [Parameter()] + [System.Object] + $WLANEnabled, + + [Parameter()] + [System.Object] + $AllowVoiceDialing, + + [Parameter()] + [System.String] + $AccountName, + + [Parameter()] + [System.Object] + $PasswordExpirationDays, + + [Parameter()] + [System.Object] + $PasswordTimeout, + + [Parameter()] + [System.Object] + $AllowiCloudPhotoSync, + + [Parameter()] + [System.Object] + $AllowSimplePassword, + + [Parameter()] + [System.Object] + $AllowPassbookWhileLocked, + + [Parameter()] + [System.Object] + $PasswordMinimumLength, + + [Parameter()] + [System.Object] + $AllowVideoConferencing, + + [Parameter()] + [System.Object] + $PasswordRequired, + + [Parameter()] + [System.Object] + $MaxPasswordAttemptsBeforeWipe, + + [Parameter()] + [System.Object] + $MoviesRating, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $DomainController, + + [Parameter()] + [System.Object] + $AntiVirusStatus, + + [Parameter()] + [System.String] + $WorkFoldersSyncUrl, + + [Parameter()] + [System.Object] + $UserAccountControlStatus, + + [Parameter()] + [System.Object] + $ForceEncryptedBackup, + + [Parameter()] + [System.Object] + $AllowScreenshot, + + [Parameter()] + [System.Object] + $PasswordComplexity, + + [Parameter()] + [System.Object] + $TargetGroups, + + [Parameter()] + [System.Object] + $AllowVoiceAssistant, + + [Parameter()] + [System.Object] + $SystemSecurityTLS, + + [Parameter()] + [System.Object] + $RegionRatings, + + [Parameter()] + [System.Object] + $SmartScreenEnabled + ) +} +function Remove-DeviceConfigurationRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Set-DeviceConfigurationRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $CameraEnabled, + + [Parameter()] + [System.Object] + $EnableRemovableStorage, + + [Parameter()] + [System.Object] + $AntiVirusSignatureStatus, + + [Parameter()] + [System.Object] + $FirewallStatus, + + [Parameter()] + [System.Object] + $AllowAppStore, + + [Parameter()] + [System.Object] + $AllowAssistantWhileLocked, + + [Parameter()] + [System.Object] + $AllowiCloudBackup, + + [Parameter()] + [System.Object] + $AppsRating, + + [Parameter()] + [System.Object] + $PasswordHistoryCount, + + [Parameter()] + [System.Object] + $PasswordQuality, + + [Parameter()] + [System.Object] + $PasswordMinComplexChars, + + [Parameter()] + [System.Object] + $PhoneMemoryEncrypted, + + [Parameter()] + [System.String] + $EmailAddress, + + [Parameter()] + [System.Object] + $BluetoothEnabled, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $AllowConvenienceLogon, + + [Parameter()] + [System.Object] + $MaxPasswordGracePeriod, + + [Parameter()] + [System.Object] + $AllowiCloudDocSync, + + [Parameter()] + [System.Object] + $ForceAppStorePassword, + + [Parameter()] + [System.Object] + $TVShowsRating, + + [Parameter()] + [System.String] + $ExchangeActiveSyncHost, + + [Parameter()] + [System.Object] + $RequireEmailProfile, + + [Parameter()] + [System.Object] + $AllowDiagnosticSubmission, + + [Parameter()] + [System.Object] + $AutoUpdateStatus, + + [Parameter()] + [System.String] + $AccountUserName, + + [Parameter()] + [System.Object] + $WLANEnabled, + + [Parameter()] + [System.Object] + $AllowVoiceDialing, + + [Parameter()] + [System.String] + $AccountName, + + [Parameter()] + [System.Object] + $PasswordExpirationDays, + + [Parameter()] + [System.Object] + $PasswordTimeout, + + [Parameter()] + [System.Object] + $AllowiCloudPhotoSync, + + [Parameter()] + [System.Object] + $AllowSimplePassword, + + [Parameter()] + [System.Object] + $AllowPassbookWhileLocked, + + [Parameter()] + [System.Object] + $PasswordMinimumLength, + + [Parameter()] + [System.Object] + $AllowVideoConferencing, + + [Parameter()] + [System.Object] + $PasswordRequired, + + [Parameter()] + [System.Object] + $MaxPasswordAttemptsBeforeWipe, + + [Parameter()] + [System.Object] + $MoviesRating, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $DomainController, + + [Parameter()] + [System.Object] + $AntiVirusStatus, + + [Parameter()] + [System.String] + $WorkFoldersSyncUrl, + + [Parameter()] + [System.Object] + $UserAccountControlStatus, + + [Parameter()] + [System.Object] + $ForceEncryptedBackup, + + [Parameter()] + [System.Object] + $AllowScreenshot, + + [Parameter()] + [System.Object] + $PasswordComplexity, + + [Parameter()] + [System.Object] + $TargetGroups, + + [Parameter()] + [System.Object] + $AllowVoiceAssistant, + + [Parameter()] + [System.Object] + $SystemSecurityTLS, + + [Parameter()] + [System.Object] + $RegionRatings, + + [Parameter()] + [System.Object] + $SmartScreenEnabled + ) +} + +function Get-DlpCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Summary, + + [Parameter()] + [System.Boolean] + $IncludeRulesMetadata, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceValidate, + + [Parameter()] + [System.Boolean] + $IncludeExtendedProperties, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IRMUserRiskConfiguredAnyRule, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DistributionDetail + ) +} +function Get-DlpComplianceRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $Policy, + + [Parameter()] + [System.Boolean] + $IncludeExecutionRuleGuids + ) +} +function Get-DlpSensitiveInformationType +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $IncludeElements, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeDetails, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $Organization, + + [Parameter()] + [System.Object] + $Capability + ) +} +function Get-FilePlanPropertyAuthority +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-FilePlanPropertyCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-FilePlanPropertyCitation +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-FilePlanPropertyDepartment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-FilePlanPropertyReferenceId +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-FilePlanPropertySubCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-Label +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeDetailedLabelActions, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SkipValidations, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ValidateContentTypeRemoval, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-LabelPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceValidate, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-ManagementRole +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $RoleType, + + [Parameter()] + [System.String[]] + $CmdletParameters, + + [Parameter()] + [System.String[]] + $ScriptParameters, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String] + $Cmdlet, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Recurse, + + [Parameter()] + [System.String] + $Script, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $GetChildren + ) +} +function Get-ProtectionAlert +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-RetentionCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeTestModeResults, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ExcludeTeamsPolicy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RetentionRuleTypes, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ErrorPolicyOnly, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DistributionDetail, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $TeamsPolicyOnly + ) +} +function Get-RetentionComplianceRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $Policy + ) +} +function Get-RoleGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $SortBy, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $Organization, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ShowPartnerLinked, + + [Parameter()] + [System.Object] + $ResultSize + ) +} +function Get-RoleGroupMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $ResultSize + ) +} +function Get-ServicePrincipal +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $Organization + ) +} +function Get-SupervisoryReviewPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $ResultSize + ) +} +function Get-SupervisoryReviewPolicyV2 +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-SupervisoryReviewRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $Policy + ) +} +function Get-User +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $SortBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PublicFolder, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object[]] + $RecipientTypeDetails, + + [Parameter()] + [System.Object] + $ResultSize, + + [Parameter()] + [System.String] + $Filter + ) +} +function New-AuditConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Workload, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $DomainController + ) +} +function New-AutoSensitivityLabelPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object[]] + $OneDriveSharedBy, + + [Parameter()] + [System.Object] + $SharePointAdaptiveScopes, + + [Parameter()] + [System.Object] + $ExternalMailRightsManagementOwner, + + [Parameter()] + [System.Object] + $OneDriveAdaptiveScopesException, + + [Parameter()] + [System.Object] + $PolicyTemplateInfo, + + [Parameter()] + [System.Object] + $PolicyRBACScopes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Object] + $SharePointLocation, + + [Parameter()] + [System.Object] + $Priority, + + [Parameter()] + [System.Object[]] + $ExchangeSenderException, + + [Parameter()] + [System.Object[]] + $ExceptIfOneDriveSharedBy, + + [Parameter()] + [System.Object] + $ExchangeLocation, + + [Parameter()] + [System.Object] + $OneDriveLocationException, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $OneDriveAdaptiveScopes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $UnifiedAuditLogEnabled, + + [Parameter()] + [System.Object] + $ExchangeAdaptiveScopesException, + + [Parameter()] + [System.Object[]] + $ExceptIfOneDriveSharedByMemberOf, + + [Parameter()] + [System.String] + $ApplySensitivityLabel, + + [Parameter()] + [System.Object[]] + $OneDriveSharedByMemberOf, + + [Parameter()] + [System.Object[]] + $ExchangeSender, + + [Parameter()] + [System.Object] + $OneDriveLocation, + + [Parameter()] + [System.Object[]] + $ExchangeSenderMemberOf, + + [Parameter()] + [System.Object] + $SharePointAdaptiveScopesException, + + [Parameter()] + [System.Object[]] + $ExchangeSenderMemberOfException, + + [Parameter()] + [System.Object] + $ExchangeAdaptiveScopes, + + [Parameter()] + [System.Object] + $SharePointLocationException, + + [Parameter()] + [System.Object] + $Mode, + + [Parameter()] + [System.Boolean] + $OverwriteLabel + ) +} +function New-AutoSensitivityLabelRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object[]] + $SentToMemberOf, + + [Parameter()] + [System.Object] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Object[]] + $ExceptIfContentContainsSensitiveInformation, + + [Parameter()] + [System.Object] + $ExceptIfFromAddressContainsWords, + + [Parameter()] + [System.Boolean] + $ExceptIfProcessingLimitExceeded, + + [Parameter()] + [System.Object] + $AnyOfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $DocumentNameMatchesWords, + + [Parameter()] + [System.Object] + $ReportSeverityLevel, + + [Parameter()] + [System.Object] + $ExceptIfSenderDomainIs, + + [Parameter()] + [System.Boolean] + $ProcessingLimitExceeded, + + [Parameter()] + [System.Object] + $ExceptIfAnyOfRecipientAddressContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfSenderIPRanges, + + [Parameter()] + [System.Object] + $FromAddressMatchesPatterns, + + [Parameter()] + [System.Object[]] + $ExceptIfFrom, + + [Parameter()] + [System.Boolean] + $DocumentIsPasswordProtected, + + [Parameter()] + [System.Object] + $ExceptIfSubjectMatchesPatterns, + + [Parameter()] + [System.Object] + $ContentExtensionMatchesWords, + + [Parameter()] + [System.Object] + $ImmutableId, + + [Parameter()] + [System.Object] + $AnyOfRecipientAddressContainsWords, + + [Parameter()] + [System.Object[]] + $ExceptIfFromMemberOf, + + [Parameter()] + [System.Object] + $ExceptIfFromAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfAccessScope, + + [Parameter()] + [System.Object] + $ExceptIfHeaderMatchesPatterns, + + [Parameter()] + [System.Object] + $RecipientDomainIs, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object[]] + $From, + + [Parameter()] + [System.Object] + $AccessScope, + + [Parameter()] + [System.Object] + $ActivationDate, + + [Parameter()] + [System.Object] + $ExceptIfContentPropertyContainsWords, + + [Parameter()] + [System.Boolean] + $ExceptIfDocumentIsPasswordProtected, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf, + + [Parameter()] + [System.Object] + $DocumentCreatedBy, + + [Parameter()] + [System.Object] + $ExceptIfDocumentSizeOver, + + [Parameter()] + [System.Object] + $ExceptIfDocumentNameMatchesWords, + + [Parameter()] + [System.Object] + $Priority, + + [Parameter()] + [System.Object] + $Policy, + + [Parameter()] + [System.Object] + $SenderIPRanges, + + [Parameter()] + [System.Object] + $SenderDomainIs, + + [Parameter()] + [System.Object[]] + $ContentContainsSensitiveInformation, + + [Parameter()] + [System.Object[]] + $FromMemberOf, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $Disabled, + + [Parameter()] + [System.Boolean] + $ExceptIfDocumentIsUnsupported, + + [Parameter()] + [System.Object] + $RuleErrorAction, + + [Parameter()] + [System.Object] + $ContentPropertyContainsWords, + + [Parameter()] + [System.Object] + $SentTo, + + [Parameter()] + [System.Boolean] + $DocumentIsUnsupported, + + [Parameter()] + [System.Object] + $SubjectMatchesPatterns, + + [Parameter()] + [System.Object] + $HeaderMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfSentTo, + + [Parameter()] + [System.Object] + $ExpiryDate, + + [Parameter()] + [System.Object] + $ExceptIfContentExtensionMatchesWords, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $FromAddressContainsWords, + + [Parameter()] + [System.Object] + $DocumentSizeOver, + + [Parameter()] + [System.Object] + $ExceptIfDocumentCreatedBy, + + [Parameter()] + [System.Object] + $ExceptIfAnyOfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $Workload + ) +} +function New-CaseHoldPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $PublicFolderLocation, + + [Parameter()] + [System.String] + $Case, + + [Parameter()] + [System.Object] + $ExchangeLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $SharePointLocation, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function New-CaseHoldRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Boolean] + $Disabled, + + [Parameter()] + [System.Object] + $Policy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.String] + $ContentMatchQuery + ) +} +function New-ComplianceCase +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $CaseType, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $SourceCaseType, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $ExternalId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $DomainController, + + [Parameter()] + [System.String] + $SecondaryCaseType + ) +} +function New-ComplianceRetentionEvent +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $EventType, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $EventDateTime, + + [Parameter()] + [System.String] + $AssetId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $DomainController, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PreviewOnly, + + [Parameter()] + [System.Object] + $EventTags, + + [Parameter()] + [System.String] + $SharePointAssetIdQuery, + + [Parameter()] + [System.String] + $ExchangeAssetIdQuery + ) +} +function New-ComplianceRetentionEventType +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment + ) +} +function New-ComplianceSearch +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $RefinerNames, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Boolean] + $IncludeUserAppContent, + + [Parameter()] + [System.String[]] + $SharePointLocationExclusion, + + [Parameter()] + [System.Boolean] + $AllowNotFoundExchangeLocationsEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String[]] + $SharePointLocation, + + [Parameter()] + [System.String[]] + $ExchangeLocation, + + [Parameter()] + [System.String] + $Case, + + [Parameter()] + [System.String[]] + $PublicFolderLocation, + + [Parameter()] + [System.Boolean] + $IncludeOrgContent, + + [Parameter()] + [System.String[]] + $HoldNames, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Globalization.CultureInfo] + $Language, + + [Parameter()] + [System.String[]] + $ExchangeLocationExclusion, + + [Parameter()] + [System.String] + $ContentMatchQuery + ) +} +function New-ComplianceSearchAction +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $SearchName, + + [Parameter()] + [System.Object] + $ArchiveFormat, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeCredential, + + [Parameter()] + [System.Boolean] + $IncludeSharePointDocumentVersions, + + [Parameter()] + [System.String] + $ReferenceActionName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Preview, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String[]] + $FileTypeExclusionsForUnindexedItems, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RetryOnError, + + [Parameter()] + [System.String] + $Version, + + [Parameter()] + [System.String] + $NotifyEmailCC, + + [Parameter()] + [System.Object] + $Format, + + [Parameter()] + [System.Int32] + $JobOptions, + + [Parameter()] + [System.Boolean] + $EnableDedupe, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RetentionReport, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Purge, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Export, + + [Parameter()] + [System.Object] + $PurgeType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Report, + + [Parameter()] + [System.String] + $Region, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $ExchangeArchiveFormat, + + [Parameter()] + [System.Object] + $Scenario, + + [Parameter()] + [System.Object] + $Scope, + + [Parameter()] + [System.String[]] + $SearchNames, + + [Parameter()] + [System.String] + $NotifyEmail, + + [Parameter()] + [System.Object] + $SharePointArchiveFormat, + + [Parameter()] + [System.String] + $ActionName + ) +} +function New-ComplianceTag +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $AutoApprovalPeriod, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.String] + $RetentionType, + + [Parameter()] + [System.Boolean] + $Regulatory, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $FilePlanProperty, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $RetentionAction, + + [Parameter()] + [System.Object] + $FlowId, + + [Parameter()] + [System.Boolean] + $IsRecordUnlockedAsDefault, + + [Parameter()] + [System.String] + $ComplianceTagForNextStage, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [System.Object] + $EventType, + + [Parameter()] + [System.Object] + $IsRecordLabel, + + [Parameter()] + [System.Object[]] + $ReviewerEmail, + + [Parameter()] + [System.Object] + $RetentionDuration, + + [Parameter()] + [System.String] + $MultiStageReviewProperty + ) +} +function New-ComplianceSecurityFilter +{ + [CmdletBinding()] + param( + [Parameter(Mandatory = $true)] + [System.String] + $FilterName, + + [Parameter(Mandatory = $true)] + [ValidateSet('Export', 'Preview', 'Purge', 'Search', 'All')] + [System.String] + $Action = 'All', + + [Parameter(Mandatory = $true)] + [System.String[]] + $Users, + + [Parameter()] + [System.Boolean] + $Confirm, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String[]] + $Filters, + + [Parameter()] + [ValidateSet( + 'APC', # Asia-Pacific + 'AUS', #Australia + 'CAN', # Canada + 'EUR', #Europe, Middle East, Africa + 'FRA', #France + 'GBR', # United Kingdom + 'IND', # India + 'JPN', # Japan + 'LAM', # Latin America + 'NAM' # North America + )] + [System.String] + $Region + ) +} +function New-DeviceConditionalAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Boolean] + $Enabled + ) +} +function New-DeviceConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Boolean] + $Enabled + ) +} +function New-DlpCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object[]] + $OneDriveSharedBy, + + [Parameter()] + [System.Object] + $SharePointAdaptiveScopes, + + [Parameter()] + [System.Object] + $TeamsAdaptiveScopes, + + [Parameter()] + [System.Object] + $PolicyTemplateInfo, + + [Parameter()] + [System.Object] + $OneDriveAdaptiveScopesException, + + [Parameter()] + [System.Object] + $Priority, + + [Parameter()] + [System.Object] + $TeamsAdaptiveScopesException, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $EndpointDlpLocationException, + + [Parameter()] + [System.Object] + $EndpointDlpAdaptiveScopes, + + [Parameter()] + [System.Object] + $PolicyRBACScopes, + + [Parameter()] + [System.Object] + $SharePointAdaptiveScopesException, + + [Parameter()] + [System.Object] + $SharePointLocation, + + [Parameter()] + [System.Object[]] + $ExceptIfOneDriveSharedBy, + + [Parameter()] + [System.Object] + $SharePointLocationException, + + [Parameter()] + [System.Object] + $ThirdPartyAppDlpLocationException, + + [Parameter()] + [System.Object] + $ExchangeAdaptiveScopes, + + [Parameter()] + [System.Object] + $OneDriveLocationException, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $OneDriveAdaptiveScopes, + + [Parameter()] + [System.Object] + $TeamsLocation, + + [Parameter()] + [System.Object] + $ExchangeLocation, + + [Parameter()] + [System.Object] + $TeamsLocationException, + + [Parameter()] + [System.Object] + $OnPremisesScannerDlpLocation, + + [Parameter()] + [System.Object] + $EndpointDlpLocation, + + [Parameter()] + [System.Object] + $ExchangeAdaptiveScopesException, + + [Parameter()] + [System.Object[]] + $ExceptIfOneDriveSharedByMemberOf, + + [Parameter()] + [System.Object] + $PowerBIDlpLocation, + + [Parameter()] + [System.Object[]] + $OneDriveSharedByMemberOf, + + [Parameter()] + [System.Object] + $PowerBIDlpLocationException, + + [Parameter()] + [System.Object] + $ThirdPartyAppDlpLocation, + + [Parameter()] + [System.Object] + $OneDriveLocation, + + [Parameter()] + [System.Object] + $OnPremisesScannerDlpLocationException, + + [Parameter()] + [System.Object[]] + $ExchangeSenderMemberOf, + + [Parameter()] + [System.Object[]] + $ExchangeSenderMemberOfException, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Object] + $Mode, + + [Parameter()] + [System.Object] + $EndpointDlpAdaptiveScopesException + ) +} +function New-DlpComplianceRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $ExceptIfDocumentIsUnsupported, + + [Parameter()] + [System.Boolean] + $ProcessingLimitExceeded, + + [Parameter()] + [System.Object] + $ImmutableId, + + [Parameter()] + [System.Object] + $ActivationDate, + + [Parameter()] + [System.Object] + $NotifyUser, + + [Parameter()] + [System.Boolean] + $ExceptIfDocumentIsPasswordProtected, + + [Parameter()] + [System.Object] + $ExceptIfRecipientADAttributeContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfDocumentNameMatchesPatterns, + + [Parameter()] + [System.Object] + $NotifyEndpointUser, + + [Parameter()] + [System.Object] + $ExceptIfSenderADAttributeContainsWords, + + [Parameter()] + [System.String] + $NotifyEmailCustomSubject, + + [Parameter()] + [System.Object[]] + $FromMemberOf, + + [Parameter()] + [System.Boolean] + $EnforcePortalAccess, + + [Parameter()] + [System.Boolean] + $ContentIsShared, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf, + + [Parameter()] + [System.Object] + $AddRecipients, + + [Parameter()] + [System.Object] + $ExceptIfUnscannableDocumentExtensionIs, + + [Parameter()] + [System.Object] + $RecipientDomainIs, + + [Parameter()] + [System.Object] + $SenderADAttributeContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfHeaderMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfFromScope, + + [Parameter()] + [System.Object] + $ExceptIfHeaderContainsWords, + + [Parameter()] + [System.Object] + $HeaderMatchesPatterns, + + [Parameter()] + [System.Object] + $ContentPropertyContainsWords, + + [Parameter()] + [System.Boolean] + $HasSenderOverride, + + [Parameter()] + [System.Object] + $SetHeader, + + [Parameter()] + [System.Object] + $ExceptIfSubjectOrBodyMatchesPatterns, + + [Parameter()] + [System.Boolean] + $ExceptIfHasSenderOverride, + + [Parameter()] + [System.Boolean] + $Quarantine, + + [Parameter()] + [System.Object] + $ExceptIfAnyOfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfContentCharacterSetContainsWords, + + [Parameter()] + [System.Object] + $EncryptRMSTemplate, + + [Parameter()] + [System.Boolean] + $NotifyEmailExchangeIncludeAttachment, + + [Parameter()] + [System.Object] + $ExceptIfAccessScope, + + [Parameter()] + [System.Object] + $ExceptIfMessageTypeMatches, + + [Parameter()] + [System.Object] + $SenderIPRanges, + + [Parameter()] + [System.Object] + $ExceptIfDocumentNameMatchesWords, + + [Parameter()] + [System.Object] + $ExceptIfContentFileTypeMatches, + + [Parameter()] + [System.Object] + $ExceptIfContentExtensionMatchesWords, + + [Parameter()] + [System.Object] + $RemoveHeader, + + [Parameter()] + [System.Object] + $ApplyHtmlDisclaimer, + + [Parameter()] + [System.Object[]] + $ExceptIfFromMemberOf, + + [Parameter()] + [System.Object] + $Moderate, + + [Parameter()] + [System.String] + $NotifyEmailCustomSenderDisplayName, + + [Parameter()] + [System.Object] + $GenerateAlert, + + [Parameter()] + [System.String] + $PrependSubject, + + [Parameter()] + [System.Object[]] + $From, + + [Parameter()] + [System.Object] + $ExceptIfWithImportance, + + [Parameter()] + [System.Object] + $ContentCharacterSetContainsWords, + + [Parameter()] + [System.Object[]] + $ContentContainsSensitiveInformation, + + [Parameter()] + [System.Object] + $SubjectContainsWords, + + [Parameter()] + [System.Object[]] + $EndpointDlpRestrictions, + + [Parameter()] + [System.Object] + $SenderADAttributeMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfSenderADAttributeMatchesPatterns, + + [Parameter()] + [System.Object[]] + $IncidentReportContent, + + [Parameter()] + [System.Object] + $DocumentContainsWords, + + [Parameter()] + [System.Object[]] + $ExceptIfFrom, + + [Parameter()] + [System.Boolean] + $RestrictBrowserAccess, + + [Parameter()] + [System.Object] + $ExceptIfDocumentCreatedBy, + + [Parameter()] + [System.String] + $NotifyPolicyTipUrl, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $RuleErrorAction, + + [Parameter()] + [System.Object] + $FromScope, + + [Parameter()] + [System.Object] + $SentTo, + + [Parameter()] + [System.Object] + $ExceptIfFromAddressMatchesPatterns, + + [Parameter()] + [System.String] + $NotifyPolicyTipCustomText, + + [Parameter()] + [System.Object] + $ExceptIfFromAddressContainsWords, + + [Parameter()] + [System.Boolean] + $ExceptIfProcessingLimitExceeded, + + [Parameter()] + [System.Object] + $DocumentNameMatchesPatterns, + + [Parameter()] + [System.Object] + $Priority, + + [Parameter()] + [System.Object[]] + $OnPremisesScannerDlpRestrictions, + + [Parameter()] + [System.Object] + $ExceptIfSenderDomainIs, + + [Parameter()] + [System.Object[]] + $RedirectMessageTo, + + [Parameter()] + [System.Boolean] + $RemoveRMSTemplate, + + [Parameter()] + [System.Object] + $UnscannableDocumentExtensionIs, + + [Parameter()] + [System.Object] + $DocumentCreatedBy, + + [Parameter()] + [System.Object] + $ReportSeverityLevel, + + [Parameter()] + [System.Object] + $SenderDomainIs, + + [Parameter()] + [System.String] + $ApplyBrandingTemplate, + + [Parameter()] + [System.Object] + $ExceptIfDocumentMatchesPatterns, + + [Parameter()] + [System.Object] + $RecipientADAttributeMatchesPatterns, + + [Parameter()] + [System.Object] + $DocumentNameMatchesWords, + + [Parameter()] + [System.Object] + $ExceptIfContentPropertyContainsWords, + + [Parameter()] + [System.Object] + $GenerateIncidentReport, + + [Parameter()] + [System.Object] + $FromAddressContainsWords, + + [Parameter()] + [System.Object] + $AnyOfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfSubjectContainsWords, + + [Parameter()] + [System.Object] + $SubjectOrBodyMatchesPatterns, + + [Parameter()] + [System.String] + $AdvancedRule, + + [Parameter()] + [System.Object] + $DocumentMatchesPatterns, + + [Parameter()] + [System.Object] + $SharedByIRMUserRisk, + + [Parameter()] + [System.Object[]] + $EndpointDlpBrowserRestrictions, + + [Parameter()] + [System.Object] + $SubjectMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfSubjectMatchesPatterns, + + [Parameter()] + [System.Boolean] + $ExceptIfContentIsShared, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $ExceptIfAnyOfRecipientAddressContainsWords, + + [Parameter()] + [System.Object] + $AnyOfRecipientAddressContainsWords, + + [Parameter()] + [System.Object] + $HeaderContainsWords, + + [Parameter()] + [System.Object] + $AlertProperties, + + [Parameter()] + [System.Object] + $ContentExtensionMatchesWords, + + [Parameter()] + [System.Object] + $WithImportance, + + [Parameter()] + [System.Object] + $MessageSizeOver, + + [Parameter()] + [System.Object] + $ExceptIfSentTo, + + [Parameter()] + [System.Boolean] + $DocumentIsUnsupported, + + [Parameter()] + [System.Object[]] + $DocumentCreatedByMemberOf, + + [Parameter()] + [System.Boolean] + $ContentIsNotLabeled, + + [Parameter()] + [System.Object] + $AccessScope, + + [Parameter()] + [System.Object] + $ExceptIfDocumentSizeOver, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object[]] + $NotifyAllowOverride, + + [Parameter()] + [System.Object] + $NotifyOverrideRequirements, + + [Parameter()] + [System.Object] + $ExceptIfSenderIPRanges, + + [Parameter()] + [System.Object] + $ExceptIfRecipientADAttributeMatchesPatterns, + + [Parameter()] + [System.Object] + $RecipientADAttributeContainsWords, + + [Parameter()] + [System.Object[]] + $ThirdPartyAppDlpRestrictions, + + [Parameter()] + [System.Object] + $ExpiryDate, + + [Parameter()] + [System.Boolean] + $StopPolicyProcessing, + + [Parameter()] + [System.Object[]] + $ExceptIfContentContainsSensitiveInformation, + + [Parameter()] + [System.Object[]] + $SentToMemberOf, + + [Parameter()] + [System.Object] + $DocumentSizeOver, + + [Parameter()] + [System.Object] + $MessageTypeMatches, + + [Parameter()] + [System.Object] + $ModifySubject, + + [Parameter()] + [System.Boolean] + $Disabled, + + [Parameter()] + [System.Object] + $ContentFileTypeMatches, + + [Parameter()] + [System.String] + $NotifyEmailCustomText, + + [Parameter()] + [System.Boolean] + $BlockAccess, + + [Parameter()] + [System.Object] + $SenderAddressLocation, + + [Parameter()] + [System.Object] + $SubjectOrBodyContainsWords, + + [Parameter()] + [System.Object] + $NotifyPolicyTipCustomTextTranslations, + + [Parameter()] + [System.Object] + $Policy, + + [Parameter()] + [System.Object] + $NotifyPolicyTipDisplayOption, + + [Parameter()] + [System.Object] + $NonBifurcatingAccessScope, + + [Parameter()] + [System.Boolean] + $DocumentIsPasswordProtected, + + [Parameter()] + [System.Object] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Object] + $ExceptIfDocumentContainsWords, + + [Parameter()] + [System.Object] + $FromAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $BlockAccessScope, + + [Parameter()] + [System.Object[]] + $ExceptIfDocumentCreatedByMemberOf, + + [Parameter()] + [System.Object] + $ExceptIfSubjectOrBodyContainsWords, + + [Parameter()] + [System.Object] + $NotifyUserType, + + [Parameter()] + [System.Object] + $ExceptIfMessageSizeOver + ) +} +function New-FilePlanPropertyAuthority +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function New-FilePlanPropertyCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function New-FilePlanPropertyCitation +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $CitationUrl, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $CitationJurisdiction + ) +} +function New-FilePlanPropertyDepartment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function New-FilePlanPropertyReferenceId +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function New-FilePlanPropertySubCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $ParentId, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function New-Label +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $EncryptionEncryptOnly, + + [Parameter()] + [System.String] + $EncryptionDoubleKeyEncryptionUrl, + + [Parameter()] + [System.String] + $ApplyContentMarkingHeaderText, + + [Parameter()] + [System.Object] + $Setting, + + [Parameter()] + [System.Object] + $ApplyContentMarkingFooterEnabled, + + [Parameter()] + [System.Object] + $EncryptionEnabled, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionEnabled, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionAllowFullAccess, + + [Parameter()] + [System.String] + $EncryptionAipTemplateScopes, + + [Parameter()] + [System.Object] + $TeamsEndToEndEncryptionEnabled, + + [Parameter()] + [System.Object] + $ApplyContentMarkingFooterFontSize, + + [Parameter()] + [System.String] + $ColumnAssetCondition, + + [Parameter()] + [System.Object] + $ApplyWaterMarkingFontSize, + + [Parameter()] + [System.String] + $ApplyContentMarkingHeaderFontColor, + + [Parameter()] + [System.String] + $EncryptionContentExpiredOnDateInDaysOrNever, + + [Parameter()] + [System.String] + $ApplyWaterMarkingText, + + [Parameter()] + [System.Object] + $ApplyWaterMarkingLayout, + + [Parameter()] + [System.String] + $DefaultContentLabel, + + [Parameter()] + [System.String] + $ApplyWaterMarkingFontName, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionLevel, + + [Parameter()] + [System.String] + $ApplyContentMarkingFooterText, + + [Parameter()] + [System.Object] + $TeamsLobbyRestrictionEnforced, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionAllowEmailFromGuestUsers, + + [Parameter()] + [System.Object] + $TeamsLobbyBypassScope, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionAllowLimitedAccess, + + [Parameter()] + [System.Object] + $EncryptionDoNotForward, + + [Parameter()] + [System.Object] + $TeamsProtectionEnabled, + + [Parameter()] + [System.Object] + $ParentId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $SchematizedDataCondition, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $ApplyContentMarkingFooterMargin, + + [Parameter()] + [System.Object] + $Settings, + + [Parameter()] + [System.String] + $MigrationId, + + [Parameter()] + [System.Object] + $TeamsWhoCanRecord, + + [Parameter()] + [System.String] + $ApplyContentMarkingFooterFontColor, + + [Parameter()] + [System.String] + $ApplyContentMarkingFooterFontName, + + [Parameter()] + [System.Object] + $TeamsVideoWatermark, + + [Parameter()] + [System.Object] + $ApplyContentMarkingHeaderMargin, + + [Parameter()] + [System.String] + $EncryptionLinkedTemplateId, + + [Parameter()] + [System.Object] + $EncryptionRightsDefinitions, + + [Parameter()] + [System.Object] + $TeamsCopyRestrictionEnforced, + + [Parameter()] + [System.Object] + $ApplyContentMarkingHeaderAlignment, + + [Parameter()] + [System.Object] + $LabelActions, + + [Parameter()] + [System.Object] + $TeamsBypassLobbyForDialInUsers, + + [Parameter()] + [System.Object] + $ApplyContentMarkingHeaderFontSize, + + [Parameter()] + [System.Object] + $LocaleSettings, + + [Parameter()] + [System.Object] + $TeamsAllowedPresenters, + + [Parameter()] + [System.Object] + $AdvancedSettings, + + [Parameter()] + [System.Object] + $EncryptionProtectionType, + + [Parameter()] + [System.String] + $ApplyContentMarkingHeaderFontName, + + [Parameter()] + [System.Object] + $ApplyContentMarkingFooterAlignment, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $SiteExternalSharingControlType, + + [Parameter()] + [System.Object] + $TeamsPresentersRestrictionEnforced, + + [Parameter()] + [System.Object] + $TeamsAllowMeetingChat, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionAllowAccessToGuestUsers, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionPrivacy, + + [Parameter()] + [System.Object] + $EncryptionPromptUser, + + [Parameter()] + [System.String] + $Tooltip, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionBlockAccess, + + [Parameter()] + [System.Object] + $EncryptionOfflineAccessDays, + + [Parameter()] + [System.Object] + $ApplyContentMarkingHeaderEnabled, + + [Parameter()] + [System.String] + $EncryptionTemplateId, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $ContentType, + + [Parameter()] + [System.String] + $ApplyWaterMarkingFontColor, + + [Parameter()] + [System.String] + $EncryptionRightsUrl, + + [Parameter()] + [System.Object] + $Conditions, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $ApplyWaterMarkingEnabled, + + [Parameter()] + [System.Object] + $TeamsRecordAutomatically + ) +} +function New-LabelPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Labels, + + [Parameter()] + [System.Object] + $ModernGroupLocationException, + + [Parameter()] + [System.Object] + $Settings, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $AdvancedSettings, + + [Parameter()] + [System.Object] + $PolicyRBACScopes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Object] + $SharePointLocation, + + [Parameter()] + [System.Object] + $Setting, + + [Parameter()] + [System.Object] + $ExchangeLocation, + + [Parameter()] + [System.Object] + $OneDriveLocationException, + + [Parameter()] + [System.Object] + $PublicFolderLocation, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.String] + $MigrationId, + + [Parameter()] + [System.Object] + $ModernGroupLocation, + + [Parameter()] + [System.Object] + $ExchangeLocationException, + + [Parameter()] + [System.Object] + $ExchangeAdaptiveScopesException, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $OneDriveLocation, + + [Parameter()] + [System.Object] + $SkypeLocation, + + [Parameter()] + [System.Object] + $SkypeLocationException, + + [Parameter()] + [System.Object] + $ExchangeAdaptiveScopes, + + [Parameter()] + [System.Object] + $SharePointLocationException + ) +} +function New-ProtectionAlert +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $NotificationEnabled, + + [Parameter()] + [System.Object] + $NotifyUserThrottleWindow, + + [Parameter()] + [System.Object] + $Threshold, + + [Parameter()] + [System.Boolean] + $Disabled, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Object] + $Operation, + + [Parameter()] + [System.Object] + $NotifyUser, + + [Parameter()] + [System.Object] + $AlertBy, + + [Parameter()] + [System.Object] + $NotifyUserThrottleThreshold, + + [Parameter()] + [System.Object] + $PrivacyManagementScopedSensitiveInformationTypesForCounting, + + [Parameter()] + [System.Object] + $AggregationType, + + [Parameter()] + [System.Object] + $UseCreatedDateTime, + + [Parameter()] + [System.Object] + $NotifyUserSuppressionExpiryDate, + + [Parameter()] + [System.Object] + $VolumeThreshold, + + [Parameter()] + [System.Object] + $TimeWindow, + + [Parameter()] + [System.Object] + $PrivacyManagementScopedSensitiveInformationTypes, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $Category, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $AlertFor, + + [Parameter()] + [System.Object] + $CorrelationPolicyId, + + [Parameter()] + [System.String] + $LogicalOperationName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Severity, + + [Parameter()] + [System.Object] + $CustomProperties, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Boolean] + $NotifyUserOnFilterMatch, + + [Parameter()] + [System.Object] + $ThreatType, + + [Parameter()] + [System.Globalization.CultureInfo] + $NotificationCulture, + + [Parameter()] + [System.Object] + $PrivacyManagementScopedSensitiveInformationTypesThreshold + ) +} +function New-RetentionCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $TeamsChannelLocation, + + [Parameter()] + [System.Object] + $ModernGroupLocationException, + + [Parameter()] + [System.Object] + $Applications, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Object] + $PolicyTemplateInfo, + + [Parameter()] + [System.Object] + $PolicyRBACScopes, + + [Parameter()] + [System.Object] + $ExchangeLocation, + + [Parameter()] + [System.Object] + $SharePointLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsSimulation, + + [Parameter()] + [System.Object] + $OneDriveLocationException, + + [Parameter()] + [System.Object] + $PublicFolderLocation, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Boolean] + $RetainCloudAttachment, + + [Parameter()] + [System.Object] + $ModernGroupLocation, + + [Parameter()] + [System.Object] + $ExchangeLocationException, + + [Parameter()] + [System.Object] + $TeamsChatLocationException, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $TeamsChatLocation, + + [Parameter()] + [System.Object] + $OneDriveLocation, + + [Parameter()] + [System.Object] + $SkypeLocation, + + [Parameter()] + [System.Object] + $TeamsChannelLocationException, + + [Parameter()] + [System.Object] + $SkypeLocationException, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Object] + $SharePointLocationException, + + [Parameter()] + [System.Object] + $AdaptiveScopeLocation, + + [Parameter()] + [System.Boolean] + $RestrictiveRetention + ) +} +function New-RetentionComplianceRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $RetentionDuration, + + [Parameter()] + [System.Object] + $ExcludedItemClasses, + + [Parameter()] + [System.String] + $PublishComplianceTag, + + [Parameter()] + [System.String] + $RetentionComplianceAction, + + [Parameter()] + [System.String] + $ContentMatchQuery, + + [Parameter()] + [System.String] + $ApplyComplianceTag, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $ExpirationDateOption, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $MachineLearningModelIDs, + + [Parameter()] + [System.Object] + $Policy, + + [Parameter()] + [System.Object] + $RetentionDurationDisplayHint, + + [Parameter()] + [System.Object[]] + $ContentContainsSensitiveInformation + ) +} +function New-RoleGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Object[]] + $Roles, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Object] + $Members, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Guid] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function New-SupervisoryReviewPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Double] + $SamplingRate, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $Condition, + + [Parameter()] + [System.Object] + $PolicyType, + + [Parameter()] + [System.String[]] + $Reviewers + ) +} +function New-SupervisoryReviewPolicyV2 +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.String[]] + $UserReportingWorkloads, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.String[]] + $Reviewers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function New-SupervisoryReviewRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $ExceptIfFrom, + + [Parameter()] + [System.Boolean] + $DayXInsights, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String[]] + $ContentSources, + + [Parameter()] + [System.Object] + $ExceptIfRevieweeIs, + + [Parameter()] + [System.String] + $CcsiDataModelOperator, + + [Parameter()] + [System.Object[]] + $ContentContainsSensitiveInformation, + + [Parameter()] + [System.String] + $InPurviewFilter, + + [Parameter()] + [System.Object] + $Policy, + + [Parameter()] + [System.Object] + $ExceptIfSentTo, + + [Parameter()] + [System.Object] + $ExceptIfSubjectOrBodyContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.String] + $AdvancedRule, + + [Parameter()] + [System.Object] + $From, + + [Parameter()] + [System.String] + $ContentMatchesDataModel, + + [Parameter()] + [System.Object] + $SentTo, + + [Parameter()] + [System.String] + $Condition, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $ExceptIfSenderDomainIs, + + [Parameter()] + [System.Boolean] + $Ocr, + + [Parameter()] + [System.Int32] + $SamplingRate, + + [Parameter()] + [System.String[]] + $IncludeAdaptiveScopes + ) +} +function Remove-AuditConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $DomainController + ) +} +function Remove-AutoSensitivityLabelPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-AutoSensitivityLabelRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-CaseHoldPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-CaseHoldRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-ComplianceCase +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $DomainController + ) +} +function Remove-ComplianceRetentionEvent +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PreviewOnly, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-ComplianceRetentionEventType +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-ComplianceSearch +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-ComplianceSearchAction +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-ComplianceTag +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-ComplianceSecurityFilter +{ + [CmdletBinding()] + param( + [Parameter(Mandatory = $true)] + [System.String] + $FilterName, + + [Parameter()] + [System.Boolean] + $Confirm + ) +} +function Remove-DeviceConditionalAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-DeviceConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-DlpCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-DlpComplianceRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-FilePlanPropertyAuthority +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-FilePlanPropertyCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-FilePlanPropertyCitation +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-FilePlanPropertyDepartment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-FilePlanPropertyReferenceId +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-FilePlanPropertySubCategory +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-Label +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-LabelPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-ProtectionAlert +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-RetentionCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-RetentionComplianceRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Remove-RoleGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-SupervisoryReviewPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity + ) +} +function Remove-SupervisoryReviewPolicyV2 +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} +function Set-AutoSensitivityLabelPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object[]] + $OneDriveSharedBy, + + [Parameter()] + [System.Object] + $SharePointAdaptiveScopes, + + [Parameter()] + [System.Boolean] + $SpoAipIntegrationEnabled, + + [Parameter()] + [System.Object] + $ExternalMailRightsManagementOwner, + + [Parameter()] + [System.Object] + $PolicyTemplateInfo, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $OneDriveAdaptiveScopesException, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $RemoveOneDriveLocationException, + + [Parameter()] + [System.Object] + $AddSharePointLocation, + + [Parameter()] + [System.Object] + $AddExchangeLocation, + + [Parameter()] + [System.Object] + $PolicyRBACScopes, + + [Parameter()] + [System.Object] + $SharePointAdaptiveScopesException, + + [Parameter()] + [System.Object] + $ExchangeAdaptiveScopes, + + [Parameter()] + [System.Object] + $Priority, + + [Parameter()] + [System.Object] + $RemoveSharePointLocation, + + [Parameter()] + [System.Object[]] + $ExceptIfOneDriveSharedBy, + + [Parameter()] + [System.Object] + $AddOneDriveLocationException, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RetryDistribution, + + [Parameter()] + [System.Object[]] + $ExchangeSenderException, + + [Parameter()] + [System.Object] + $OneDriveAdaptiveScopes, + + [Parameter()] + [System.Object] + $AddSharePointLocationException, + + [Parameter()] + [System.Boolean] + $OverwriteLabel, + + [Parameter()] + [System.Object[]] + $ExceptIfOneDriveSharedByMemberOf, + + [Parameter()] + [System.String] + $ApplySensitivityLabel, + + [Parameter()] + [System.Object[]] + $OneDriveSharedByMemberOf, + + [Parameter()] + [System.Object[]] + $ExchangeSender, + + [Parameter()] + [System.Object] + $RemoveSharePointLocationException, + + [Parameter()] + [System.Object] + $RemoveExchangeLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SystemOperation, + + [Parameter()] + [System.Object[]] + $ExchangeSenderMemberOf, + + [Parameter()] + [System.Object[]] + $ExchangeSenderMemberOfException, + + [Parameter()] + [System.Object] + $RemoveOneDriveLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Object] + $AddOneDriveLocation, + + [Parameter()] + [System.Object] + $AutoEnableAfter, + + [Parameter()] + [System.Object] + $Mode, + + [Parameter()] + [System.Object] + $ExchangeAdaptiveScopesException, + + [Parameter()] + [System.Boolean] + $StartSimulation + ) +} +function Set-AutoSensitivityLabelRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object[]] + $SentToMemberOf, + + [Parameter()] + [System.Object] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Object[]] + $ExceptIfContentContainsSensitiveInformation, + + [Parameter()] + [System.Object] + $ExceptIfFromAddressContainsWords, + + [Parameter()] + [System.Boolean] + $ExceptIfProcessingLimitExceeded, + + [Parameter()] + [System.Object] + $AnyOfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $DocumentNameMatchesWords, + + [Parameter()] + [System.Object] + $ReportSeverityLevel, + + [Parameter()] + [System.Object] + $ExceptIfSenderDomainIs, + + [Parameter()] + [System.Object] + $DocumentCreatedBy, + + [Parameter()] + [System.Object] + $ExceptIfAnyOfRecipientAddressContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfSenderIPRanges, + + [Parameter()] + [System.Object] + $FromAddressMatchesPatterns, + + [Parameter()] + [System.Object[]] + $ExceptIfFrom, + + [Parameter()] + [System.Boolean] + $DocumentIsPasswordProtected, + + [Parameter()] + [System.Object] + $ExceptIfSubjectMatchesPatterns, + + [Parameter()] + [System.Object] + $ContentExtensionMatchesWords, + + [Parameter()] + [System.Object] + $AnyOfRecipientAddressContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfFromAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfAccessScope, + + [Parameter()] + [System.Object] + $ExceptIfHeaderMatchesPatterns, + + [Parameter()] + [System.Object] + $RecipientDomainIs, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object[]] + $ExceptIfFromMemberOf, + + [Parameter()] + [System.Object[]] + $From, + + [Parameter()] + [System.Object] + $AccessScope, + + [Parameter()] + [System.Object] + $ActivationDate, + + [Parameter()] + [System.Object] + $ExceptIfContentPropertyContainsWords, + + [Parameter()] + [System.Boolean] + $ExceptIfDocumentIsPasswordProtected, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf, + + [Parameter()] + [System.Object] + $ExceptIfDocumentSizeOver, + + [Parameter()] + [System.Object] + $ExceptIfDocumentNameMatchesWords, + + [Parameter()] + [System.Object] + $Priority, + + [Parameter()] + [System.Object] + $SenderIPRanges, + + [Parameter()] + [System.Object] + $SenderDomainIs, + + [Parameter()] + [System.Object[]] + $ContentContainsSensitiveInformation, + + [Parameter()] + [System.Object[]] + $FromMemberOf, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $Disabled, + + [Parameter()] + [System.Boolean] + $ExceptIfDocumentIsUnsupported, + + [Parameter()] + [System.Object] + $RuleErrorAction, + + [Parameter()] + [System.Object] + $ContentPropertyContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfAnyOfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Boolean] + $DocumentIsUnsupported, + + [Parameter()] + [System.Object] + $SubjectMatchesPatterns, + + [Parameter()] + [System.Object] + $HeaderMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfSentTo, + + [Parameter()] + [System.Object] + $ExpiryDate, + + [Parameter()] + [System.Object] + $ExceptIfContentExtensionMatchesWords, + + [Parameter()] + [System.Object] + $SentTo, + + [Parameter()] + [System.Object] + $FromAddressContainsWords, + + [Parameter()] + [System.Object] + $DocumentSizeOver, + + [Parameter()] + [System.Object] + $ExceptIfDocumentCreatedBy, + + [Parameter()] + [System.Boolean] + $ProcessingLimitExceeded, + + [Parameter()] + [System.Object] + $Workload + ) +} +function Set-CaseHoldPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $RemoveExchangeLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Object] + $RemoveSharePointLocation, + + [Parameter()] + [System.Object] + $AddExchangeLocation, + + [Parameter()] + [System.Object] + $AddSharePointLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RetryDistribution, + + [Parameter()] + [System.Object] + $RemovePublicFolderLocation, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $AddPublicFolderLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.String] + $Comment + ) +} +function Set-CaseHoldRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $Disabled, + + [Parameter()] + [System.String] + $ContentMatchQuery, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Set-ComplianceCase +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $CaseType, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $ExternalId, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Reopen, + + [Parameter()] + [System.Object] + $DomainController, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Close + ) +} +function Set-ComplianceRetentionEvent +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Action, + + [Parameter()] + [System.String] + $AssetId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.String] + $SharePointAssetIdQuery, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $EventType, + + [Parameter()] + [System.Object] + $EventTags, + + [Parameter()] + [System.Object] + $DomainController, + + [Parameter()] + [System.String] + $ExchangeAssetIdQuery + ) +} +function Set-ComplianceRetentionEventType +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Set-ComplianceSearch +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $RefinerNames, + + [Parameter()] + [System.String] + $ContentMatchQuery, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String[]] + $AddSharePointLocation, + + [Parameter()] + [System.String[]] + $AddExchangeLocationExclusion, + + [Parameter()] + [System.Boolean] + $IncludeUserAppContent, + + [Parameter()] + [System.String[]] + $SharePointLocationExclusion, + + [Parameter()] + [System.Boolean] + $AllowNotFoundExchangeLocationsEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String[]] + $SharePointLocation, + + [Parameter()] + [System.String[]] + $AddSharePointLocationExclusion, + + [Parameter()] + [System.String[]] + $RemovePublicFolderLocation, + + [Parameter()] + [System.String[]] + $RemoveSharePointLocation, + + [Parameter()] + [System.String[]] + $ExchangeLocation, + + [Parameter()] + [System.String[]] + $PublicFolderLocation, + + [Parameter()] + [System.String[]] + $RemoveSharePointLocationExclusion, + + [Parameter()] + [System.Boolean] + $IncludeOrgContent, + + [Parameter()] + [System.String[]] + $RemoveExchangeLocationExclusion, + + [Parameter()] + [System.String[]] + $HoldNames, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String[]] + $RemoveExchangeLocation, + + [Parameter()] + [System.String[]] + $AddExchangeLocation, + + [Parameter()] + [System.Globalization.CultureInfo] + $Language, + + [Parameter()] + [System.String[]] + $ExchangeLocationExclusion + ) +} +function Set-ComplianceTag +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $RetentionDuration, + + [Parameter()] + [System.String] + $FilePlanProperty, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $AutoApprovalPeriod, + + [Parameter()] + [System.String] + $MultiStageReviewProperty, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $EventType, + + [Parameter()] + [System.Object[]] + $ReviewerEmail, + + [Parameter()] + [System.Object] + $FlowId, + + [Parameter()] + [System.String] + $ComplianceTagForNextStage, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Set-ComplianceSecurityFilter +{ + [CmdletBinding()] + param( + [Parameter(Mandatory = $true)] + [System.String] + $FilterName, + + [Parameter()] + [ValidateSet('Export', 'Preview', 'Purge', 'Search', 'All')] + [System.String] + $Action = 'All', + + [Parameter()] + [System.String[]] + $Users, + + [Parameter()] + [System.Boolean] + $Confirm, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String[]] + $Filters, + + [Parameter()] + [ValidateSet( + 'APC', # Asia-Pacific + 'AUS', #Australia + 'CAN', # Canada + 'EUR', #Europe, Middle East, Africa + 'FRA', #France + 'GBR', # United Kingdom + 'IND', # India + 'JPN', # Japan + 'LAM', # Latin America + 'NAM' # North America + )] + [System.String] + $Region + ) +} +function Set-DeviceConditionalAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RetryDistribution, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Set-DeviceConfigurationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RetryDistribution, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Set-DlpCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $RemoveExchangeLocation, + + [Parameter()] + [System.Object] + $RemoveOnPremisesScannerDlpLocationException, + + [Parameter()] + [System.Object] + $AddSharePointLocation, + + [Parameter()] + [System.Object] + $RemoveThirdPartyAppDlpLocation, + + [Parameter()] + [System.Object[]] + $ExceptIfOneDriveSharedByMemberOf, + + [Parameter()] + [System.Object[]] + $OneDriveSharedByMemberOf, + + [Parameter()] + [System.Object] + $RemoveTeamsLocationException, + + [Parameter()] + [System.Object] + $RemoveSharePointLocation, + + [Parameter()] + [System.Object] + $Mode, + + [Parameter()] + [System.Object] + $EndpointDlpAdaptiveScopesException, + + [Parameter()] + [System.Object] + $AddThirdPartyAppDlpLocation, + + [Parameter()] + [System.Object] + $TeamsAdaptiveScopes, + + [Parameter()] + [System.Object] + $ExchangeAdaptiveScopes, + + [Parameter()] + [System.Object] + $OneDriveAdaptiveScopes, + + [Parameter()] + [System.Object] + $PolicyRBACScopes, + + [Parameter()] + [System.Object] + $AddOneDriveLocation, + + [Parameter()] + [System.Object] + $AddTeamsLocationException, + + [Parameter()] + [System.Object] + $RemoveSharePointLocationException, + + [Parameter()] + [System.Object] + $RemoveThirdPartyAppDlpLocationException, + + [Parameter()] + [System.Object[]] + $OneDriveSharedBy, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $AddEndpointDlpLocation, + + [Parameter()] + [System.Object] + $RemoveOnPremisesScannerDlpLocation, + + [Parameter()] + [System.Object[]] + $ExchangeSenderMemberOfException, + + [Parameter()] + [System.Object] + $AddTeamsLocation, + + [Parameter()] + [System.Object] + $OneDriveAdaptiveScopesException, + + [Parameter()] + [System.Object] + $AddExchangeLocation, + + [Parameter()] + [System.Object] + $SharePointAdaptiveScopes, + + [Parameter()] + [System.Object] + $AddOnPremisesScannerDlpLocationException, + + [Parameter()] + [System.Object] + $Priority, + + [Parameter()] + [System.Object] + $RemoveOneDriveLocationException, + + [Parameter()] + [System.Object] + $ExchangeAdaptiveScopesException, + + [Parameter()] + [System.Object] + $RemoveEndpointDlpLocation, + + [Parameter()] + [System.Object] + $RemovePowerBIDlpLocationException, + + [Parameter()] + [System.Object] + $RemoveEndpointDlpLocationException, + + [Parameter()] + [System.Object] + $PolicyTemplateInfo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RetryDistribution, + + [Parameter()] + [System.Object] + $TeamsAdaptiveScopesException, + + [Parameter()] + [System.Object[]] + $ExceptIfOneDriveSharedBy, + + [Parameter()] + [System.Object] + $AddOnPremisesScannerDlpLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $AddEndpointDlpLocationException, + + [Parameter()] + [System.Object] + $RemovePowerBIDlpLocation, + + [Parameter()] + [System.Object] + $AddOneDriveLocationException, + + [Parameter()] + [System.Object] + $RemoveTeamsLocation, + + [Parameter()] + [System.Object] + $EndpointDlpAdaptiveScopes, + + [Parameter()] + [System.Object] + $AddPowerBIDlpLocation, + + [Parameter()] + [System.Object[]] + $ExchangeSenderMemberOf, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Object] + $AddSharePointLocationException, + + [Parameter()] + [System.Object] + $AddThirdPartyAppDlpLocationException, + + [Parameter()] + [System.Object] + $AddPowerBIDlpLocationException, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $RemoveOneDriveLocation, + + [Parameter()] + [System.Object] + $SharePointAdaptiveScopesException + ) +} +function Set-DlpComplianceRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $ExceptIfDocumentIsUnsupported, + + [Parameter()] + [System.Boolean] + $ProcessingLimitExceeded, + + [Parameter()] + [System.Object] + $ActivationDate, + + [Parameter()] + [System.Object] + $NotifyUser, + + [Parameter()] + [System.Boolean] + $ExceptIfDocumentIsPasswordProtected, + + [Parameter()] + [System.Object] + $ExceptIfRecipientADAttributeContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfDocumentNameMatchesPatterns, + + [Parameter()] + [System.Object] + $NotifyEndpointUser, + + [Parameter()] + [System.Object] + $ExceptIfSenderADAttributeContainsWords, + + [Parameter()] + [System.String] + $NotifyEmailCustomSubject, + + [Parameter()] + [System.Object[]] + $FromMemberOf, + + [Parameter()] + [System.Boolean] + $EnforcePortalAccess, + + [Parameter()] + [System.Boolean] + $ContentIsShared, + + [Parameter()] + [System.Object[]] + $ExceptIfSentToMemberOf, + + [Parameter()] + [System.Object] + $AddRecipients, + + [Parameter()] + [System.Object] + $ExceptIfUnscannableDocumentExtensionIs, + + [Parameter()] + [System.Object] + $RecipientDomainIs, + + [Parameter()] + [System.Object] + $SenderADAttributeContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfHeaderMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfFromScope, + + [Parameter()] + [System.Object] + $ExceptIfHeaderContainsWords, + + [Parameter()] + [System.Object] + $HeaderMatchesPatterns, + + [Parameter()] + [System.Object] + $ContentPropertyContainsWords, + + [Parameter()] + [System.Boolean] + $HasSenderOverride, + + [Parameter()] + [System.Object] + $SetHeader, + + [Parameter()] + [System.Object] + $ExceptIfSubjectOrBodyMatchesPatterns, + + [Parameter()] + [System.Boolean] + $ExceptIfHasSenderOverride, + + [Parameter()] + [System.Boolean] + $Quarantine, + + [Parameter()] + [System.Object] + $ExceptIfAnyOfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfContentCharacterSetContainsWords, + + [Parameter()] + [System.Object] + $EncryptRMSTemplate, + + [Parameter()] + [System.Boolean] + $NotifyEmailExchangeIncludeAttachment, + + [Parameter()] + [System.Object] + $ExceptIfAccessScope, + + [Parameter()] + [System.Object] + $ExceptIfMessageTypeMatches, + + [Parameter()] + [System.Object] + $SenderIPRanges, + + [Parameter()] + [System.Object] + $ExceptIfDocumentNameMatchesWords, + + [Parameter()] + [System.Object] + $ExceptIfContentFileTypeMatches, + + [Parameter()] + [System.Object] + $ExceptIfContentExtensionMatchesWords, + + [Parameter()] + [System.Object] + $RemoveHeader, + + [Parameter()] + [System.Object] + $ApplyHtmlDisclaimer, + + [Parameter()] + [System.Object[]] + $ExceptIfFromMemberOf, + + [Parameter()] + [System.Object] + $Moderate, + + [Parameter()] + [System.Boolean] + $Disabled, + + [Parameter()] + [System.String] + $NotifyEmailCustomSenderDisplayName, + + [Parameter()] + [System.Object] + $GenerateAlert, + + [Parameter()] + [System.String] + $PrependSubject, + + [Parameter()] + [System.Object[]] + $From, + + [Parameter()] + [System.Object] + $ExceptIfWithImportance, + + [Parameter()] + [System.Object] + $ContentCharacterSetContainsWords, + + [Parameter()] + [System.Object[]] + $ContentContainsSensitiveInformation, + + [Parameter()] + [System.Object] + $SubjectContainsWords, + + [Parameter()] + [System.Object[]] + $EndpointDlpRestrictions, + + [Parameter()] + [System.Object] + $SenderADAttributeMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfSenderADAttributeMatchesPatterns, + + [Parameter()] + [System.Object[]] + $IncidentReportContent, + + [Parameter()] + [System.Object] + $DocumentContainsWords, + + [Parameter()] + [System.Object[]] + $ExceptIfFrom, + + [Parameter()] + [System.Boolean] + $RestrictBrowserAccess, + + [Parameter()] + [System.Object] + $ExceptIfDocumentCreatedBy, + + [Parameter()] + [System.String] + $NotifyPolicyTipUrl, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $RuleErrorAction, + + [Parameter()] + [System.Object] + $FromScope, + + [Parameter()] + [System.Object] + $ExceptIfFromAddressMatchesPatterns, + + [Parameter()] + [System.String] + $NotifyPolicyTipCustomText, + + [Parameter()] + [System.Object] + $ExceptIfFromAddressContainsWords, + + [Parameter()] + [System.Boolean] + $ExceptIfProcessingLimitExceeded, + + [Parameter()] + [System.Object] + $DocumentNameMatchesPatterns, + + [Parameter()] + [System.Object] + $Priority, + + [Parameter()] + [System.Object[]] + $OnPremisesScannerDlpRestrictions, + + [Parameter()] + [System.Object] + $ExceptIfSenderDomainIs, + + [Parameter()] + [System.Object[]] + $RedirectMessageTo, + + [Parameter()] + [System.Boolean] + $RemoveRMSTemplate, + + [Parameter()] + [System.Object] + $UnscannableDocumentExtensionIs, + + [Parameter()] + [System.Object] + $DocumentCreatedBy, + + [Parameter()] + [System.Object] + $ReportSeverityLevel, + + [Parameter()] + [System.Object] + $SenderDomainIs, + + [Parameter()] + [System.String] + $ApplyBrandingTemplate, + + [Parameter()] + [System.Object] + $ExceptIfDocumentMatchesPatterns, + + [Parameter()] + [System.Object] + $RecipientADAttributeMatchesPatterns, + + [Parameter()] + [System.Object] + $DocumentNameMatchesWords, + + [Parameter()] + [System.Object] + $ExceptIfContentPropertyContainsWords, + + [Parameter()] + [System.Object] + $GenerateIncidentReport, + + [Parameter()] + [System.Object] + $FromAddressContainsWords, + + [Parameter()] + [System.Object] + $AnyOfRecipientAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfSubjectContainsWords, + + [Parameter()] + [System.Object] + $SubjectOrBodyMatchesPatterns, + + [Parameter()] + [System.String] + $AdvancedRule, + + [Parameter()] + [System.Object] + $DocumentMatchesPatterns, + + [Parameter()] + [System.Object] + $SharedByIRMUserRisk, + + [Parameter()] + [System.Object[]] + $EndpointDlpBrowserRestrictions, + + [Parameter()] + [System.Object] + $SubjectMatchesPatterns, + + [Parameter()] + [System.Object] + $ExceptIfSubjectMatchesPatterns, + + [Parameter()] + [System.Boolean] + $ExceptIfContentIsShared, + + [Parameter()] + [System.Object] + $ExceptIfAnyOfRecipientAddressContainsWords, + + [Parameter()] + [System.Object] + $AnyOfRecipientAddressContainsWords, + + [Parameter()] + [System.Object] + $HeaderContainsWords, + + [Parameter()] + [System.Object] + $AlertProperties, + + [Parameter()] + [System.Object] + $ContentExtensionMatchesWords, + + [Parameter()] + [System.Object] + $WithImportance, + + [Parameter()] + [System.Object] + $MessageSizeOver, + + [Parameter()] + [System.Object] + $SentTo, + + [Parameter()] + [System.Boolean] + $DocumentIsUnsupported, + + [Parameter()] + [System.Object[]] + $DocumentCreatedByMemberOf, + + [Parameter()] + [System.Boolean] + $ContentIsNotLabeled, + + [Parameter()] + [System.Object] + $AccessScope, + + [Parameter()] + [System.Object] + $ExceptIfDocumentSizeOver, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object[]] + $NotifyAllowOverride, + + [Parameter()] + [System.Object] + $NotifyOverrideRequirements, + + [Parameter()] + [System.Object] + $ExceptIfSenderIPRanges, + + [Parameter()] + [System.Object] + $ExceptIfRecipientADAttributeMatchesPatterns, + + [Parameter()] + [System.Object] + $RecipientADAttributeContainsWords, + + [Parameter()] + [System.Object[]] + $ThirdPartyAppDlpRestrictions, + + [Parameter()] + [System.Object] + $ExpiryDate, + + [Parameter()] + [System.Boolean] + $StopPolicyProcessing, + + [Parameter()] + [System.Object[]] + $ExceptIfContentContainsSensitiveInformation, + + [Parameter()] + [System.Object[]] + $SentToMemberOf, + + [Parameter()] + [System.Object] + $DocumentSizeOver, + + [Parameter()] + [System.Object] + $MessageTypeMatches, + + [Parameter()] + [System.Object] + $ModifySubject, + + [Parameter()] + [System.Object] + $ExceptIfSentTo, + + [Parameter()] + [System.Object] + $ContentFileTypeMatches, + + [Parameter()] + [System.String] + $NotifyEmailCustomText, + + [Parameter()] + [System.Boolean] + $BlockAccess, + + [Parameter()] + [System.Object] + $SenderAddressLocation, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $SubjectOrBodyContainsWords, + + [Parameter()] + [System.Object] + $NotifyPolicyTipCustomTextTranslations, + + [Parameter()] + [System.Object] + $NotifyPolicyTipDisplayOption, + + [Parameter()] + [System.Object] + $NonBifurcatingAccessScope, + + [Parameter()] + [System.Boolean] + $DocumentIsPasswordProtected, + + [Parameter()] + [System.Object] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Object] + $ExceptIfDocumentContainsWords, + + [Parameter()] + [System.Object] + $FromAddressMatchesPatterns, + + [Parameter()] + [System.Object] + $BlockAccessScope, + + [Parameter()] + [System.Object[]] + $ExceptIfDocumentCreatedByMemberOf, + + [Parameter()] + [System.Object] + $ExceptIfSubjectOrBodyContainsWords, + + [Parameter()] + [System.Object] + $NotifyUserType, + + [Parameter()] + [System.Object] + $ExceptIfMessageSizeOver + ) +} +function Set-FilePlanPropertyCitation +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $CitationUrl, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String] + $CitationJurisdiction + ) +} +function Set-Label +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $EncryptionEncryptOnly, + + [Parameter()] + [System.String] + $EncryptionDoubleKeyEncryptionUrl, + + [Parameter()] + [System.String] + $ApplyContentMarkingHeaderText, + + [Parameter()] + [System.Object] + $Setting, + + [Parameter()] + [System.Object] + $ApplyContentMarkingFooterEnabled, + + [Parameter()] + [System.Object] + $EncryptionEnabled, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionEnabled, + + [Parameter()] + [System.Object] + $TeamsEndToEndEncryptionEnabled, + + [Parameter()] + [System.Object] + $ApplyContentMarkingFooterFontSize, + + [Parameter()] + [System.String] + $ColumnAssetCondition, + + [Parameter()] + [System.Object] + $ContentType, + + [Parameter()] + [System.Object] + $ApplyWaterMarkingFontSize, + + [Parameter()] + [System.String] + $ApplyContentMarkingHeaderFontColor, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionPrivacy, + + [Parameter()] + [System.String] + $EncryptionContentExpiredOnDateInDaysOrNever, + + [Parameter()] + [System.String] + $ApplyWaterMarkingText, + + [Parameter()] + [System.Object] + $ApplyWaterMarkingLayout, + + [Parameter()] + [System.String] + $DefaultContentLabel, + + [Parameter()] + [System.String] + $ApplyWaterMarkingFontName, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionLevel, + + [Parameter()] + [System.String] + $ApplyContentMarkingFooterText, + + [Parameter()] + [System.Object] + $TeamsLobbyRestrictionEnforced, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionAllowEmailFromGuestUsers, + + [Parameter()] + [System.Object] + $TeamsLobbyBypassScope, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionAllowLimitedAccess, + + [Parameter()] + [System.Object] + $EncryptionProtectionType, + + [Parameter()] + [System.Object] + $TeamsProtectionEnabled, + + [Parameter()] + [System.Object] + $ParentId, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $SchematizedDataCondition, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $Conditions, + + [Parameter()] + [System.Object] + $Settings, + + [Parameter()] + [System.String] + $MigrationId, + + [Parameter()] + [System.Object] + $TeamsWhoCanRecord, + + [Parameter()] + [System.Object] + $EncryptionRightsDefinitions, + + [Parameter()] + [System.String] + $ApplyContentMarkingFooterFontColor, + + [Parameter()] + [System.Object] + $PreviousLabel, + + [Parameter()] + [System.String] + $ApplyContentMarkingFooterFontName, + + [Parameter()] + [System.Object] + $TeamsVideoWatermark, + + [Parameter()] + [System.Object] + $ApplyContentMarkingHeaderMargin, + + [Parameter()] + [System.Object] + $TeamsPresentersRestrictionEnforced, + + [Parameter()] + [System.Object] + $TeamsCopyRestrictionEnforced, + + [Parameter()] + [System.Object] + $ApplyContentMarkingHeaderAlignment, + + [Parameter()] + [System.Object] + $LabelActions, + + [Parameter()] + [System.Object] + $TeamsBypassLobbyForDialInUsers, + + [Parameter()] + [System.Object] + $ApplyContentMarkingHeaderFontSize, + + [Parameter()] + [System.Object] + $LocaleSettings, + + [Parameter()] + [System.Object] + $TeamsAllowedPresenters, + + [Parameter()] + [System.Object] + $AdvancedSettings, + + [Parameter()] + [System.String] + $ApplyContentMarkingHeaderFontName, + + [Parameter()] + [System.Object] + $ApplyContentMarkingFooterAlignment, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $SiteExternalSharingControlType, + + [Parameter()] + [System.Object] + $Priority, + + [Parameter()] + [System.Object] + $TeamsAllowMeetingChat, + + [Parameter()] + [System.Object] + $EncryptionDoNotForward, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionAllowAccessToGuestUsers, + + [Parameter()] + [System.Object] + $EncryptionPromptUser, + + [Parameter()] + [System.String] + $Tooltip, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionBlockAccess, + + [Parameter()] + [System.Object] + $EncryptionOfflineAccessDays, + + [Parameter()] + [System.Object] + $ApplyContentMarkingHeaderEnabled, + + [Parameter()] + [System.Object] + $ApplyContentMarkingFooterMargin, + + [Parameter()] + [System.Object] + $SiteAndGroupProtectionAllowFullAccess, + + [Parameter()] + [System.String] + $ApplyWaterMarkingFontColor, + + [Parameter()] + [System.String] + $EncryptionRightsUrl, + + [Parameter()] + [System.Object] + $NextLabel, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $ApplyWaterMarkingEnabled, + + [Parameter()] + [System.Object] + $TeamsRecordAutomatically + ) +} +function Set-LabelPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $RemoveModernGroupLocation, + + [Parameter()] + [System.Object] + $AddExchangeLocation, + + [Parameter()] + [System.Object] + $PreviousLabelPolicy, + + [Parameter()] + [System.Object] + $AddExchangeLocationException, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $RemoveExchangeLocationException, + + [Parameter()] + [System.Object] + $Setting, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Settings, + + [Parameter()] + [System.Object] + $RemoveLabels, + + [Parameter()] + [System.Object] + $AddSkypeLocation, + + [Parameter()] + [System.Object] + $PolicyRBACScopes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Object] + $AddLabels, + + [Parameter()] + [System.Object] + $RemovePublicFolderLocation, + + [Parameter()] + [System.Object] + $RemoveModernGroupLocationException, + + [Parameter()] + [System.Object] + $AddModernGroupLocationException, + + [Parameter()] + [System.Object] + $RemoveOneDriveLocationException, + + [Parameter()] + [System.Object] + $RemoveSharePointLocation, + + [Parameter()] + [System.Object] + $AddOneDriveLocationException, + + [Parameter()] + [System.Object] + $AddModernGroupLocation, + + [Parameter()] + [System.Object] + $AddPublicFolderLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RetryDistribution, + + [Parameter()] + [System.String] + $MigrationId, + + [Parameter()] + [System.Object] + $AddSharePointLocation, + + [Parameter()] + [System.Object] + $AddSharePointLocationException, + + [Parameter()] + [System.Object] + $ExchangeAdaptiveScopesException, + + [Parameter()] + [System.Object] + $RemoveSkypeLocationException, + + [Parameter()] + [System.Object] + $RemoveSharePointLocationException, + + [Parameter()] + [System.Object] + $AdvancedSettings, + + [Parameter()] + [System.Object] + $NextLabelPolicy, + + [Parameter()] + [System.Object] + $RemoveExchangeLocation, + + [Parameter()] + [System.Object] + $RemoveSkypeLocation, + + [Parameter()] + [System.Object] + $RemoveOneDriveLocation, + + [Parameter()] + [System.Object] + $ExchangeAdaptiveScopes, + + [Parameter()] + [System.Object] + $AddOneDriveLocation, + + [Parameter()] + [System.Object] + $AddSkypeLocationException + ) +} +function Set-ProtectionAlert +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $NotificationEnabled, + + [Parameter()] + [System.Object] + $NotifyUserThrottleWindow, + + [Parameter()] + [System.Object] + $Threshold, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Object] + $Operation, + + [Parameter()] + [System.Object] + $NotifyUser, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $AlertBy, + + [Parameter()] + [System.Object] + $PrivacyManagementScopedSensitiveInformationTypesForCounting, + + [Parameter()] + [System.Object] + $AggregationType, + + [Parameter()] + [System.Object] + $Severity, + + [Parameter()] + [System.Object] + $VolumeThreshold, + + [Parameter()] + [System.Object] + $TimeWindow, + + [Parameter()] + [System.Object] + $PrivacyManagementScopedSensitiveInformationTypes, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $Category, + + [Parameter()] + [System.Object] + $AlertFor, + + [Parameter()] + [System.Boolean] + $Disabled, + + [Parameter()] + [System.Object] + $NotifyUserSuppressionExpiryDate, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Boolean] + $NotifyUserOnFilterMatch, + + [Parameter()] + [System.Object] + $NotifyUserThrottleThreshold, + + [Parameter()] + [System.Globalization.CultureInfo] + $NotificationCulture, + + [Parameter()] + [System.Object] + $PrivacyManagementScopedSensitiveInformationTypesThreshold + ) +} +function Set-RetentionCompliancePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $RemoveModernGroupLocation, + + [Parameter()] + [System.Object] + $AddExchangeLocation, + + [Parameter()] + [System.Object] + $AddExchangeLocationException, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $RemoveTeamsChatLocation, + + [Parameter()] + [System.Object] + $RemoveExchangeLocationException, + + [Parameter()] + [System.Object] + $Applications, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $RemoveOneDriveLocationException, + + [Parameter()] + [System.Object] + $PolicyTemplateInfo, + + [Parameter()] + [System.Object] + $AddTeamsChatLocationException, + + [Parameter()] + [System.Object] + $AddSkypeLocation, + + [Parameter()] + [System.Object] + $PolicyRBACScopes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Object] + $RemovePublicFolderLocation, + + [Parameter()] + [System.Object] + $RemoveModernGroupLocationException, + + [Parameter()] + [System.Object] + $AddModernGroupLocationException, + + [Parameter()] + [System.Object] + $AddTeamsChatLocation, + + [Parameter()] + [System.Object] + $RemoveSharePointLocation, + + [Parameter()] + [System.Object] + $AddOneDriveLocationException, + + [Parameter()] + [System.Object] + $AddModernGroupLocation, + + [Parameter()] + [System.Object] + $AddTeamsChannelLocationException, + + [Parameter()] + [System.Object] + $AddPublicFolderLocation, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RetryDistribution, + + [Parameter()] + [System.Boolean] + $RestrictiveRetention, + + [Parameter()] + [System.Object] + $AddSharePointLocation, + + [Parameter()] + [System.Object] + $RemoveTeamsChannelLocation, + + [Parameter()] + [System.Object] + $AddAdaptiveScopeLocation, + + [Parameter()] + [System.Object] + $RemoveTeamsChatLocationException, + + [Parameter()] + [System.Object] + $RemoveTeamsChannelLocationException, + + [Parameter()] + [System.Boolean] + $EnforceSimulationPolicy, + + [Parameter()] + [System.Object] + $AddTeamsChannelLocation, + + [Parameter()] + [System.Object] + $RemoveSkypeLocationException, + + [Parameter()] + [System.Object] + $RemoveSharePointLocationException, + + [Parameter()] + [System.Object] + $RemoveExchangeLocation, + + [Parameter()] + [System.Object] + $RemoveAdaptiveScopeLocation, + + [Parameter()] + [System.Object] + $RemoveSkypeLocation, + + [Parameter()] + [System.Object] + $RemoveOneDriveLocation, + + [Parameter()] + [System.Object] + $AddSharePointLocationException, + + [Parameter()] + [System.Object] + $AddOneDriveLocation, + + [Parameter()] + [System.Object] + $AddSkypeLocationException, + + [Parameter()] + [System.Boolean] + $StartSimulation + ) +} +function Set-RetentionComplianceRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $RetentionDuration, + + [Parameter()] + [System.Object] + $ExcludedItemClasses, + + [Parameter()] + [System.Object] + $ContentDateFrom, + + [Parameter()] + [System.Object[]] + $ContentContainsSensitiveInformation, + + [Parameter()] + [System.String] + $RetentionComplianceAction, + + [Parameter()] + [System.String] + $ContentMatchQuery, + + [Parameter()] + [System.String] + $ApplyComplianceTag, + + [Parameter()] + [System.Object] + $ContentDateTo, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.String] + $ExpirationDateOption, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $RetentionDurationDisplayHint + ) +} +function Set-RoleGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Set-SupervisoryReviewPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String[]] + $AddReviewers, + + [Parameter()] + [System.String] + $Condition, + + [Parameter()] + [System.Object] + $PolicyType, + + [Parameter()] + [System.String[]] + $RemoveReviewers, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.String[]] + $Reviewers, + + [Parameter()] + [System.Object] + $SamplingRate + ) +} +function Set-InsiderRiskEntityList +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Object[]] + $Entities, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Object[]] + $AddEntities, + + [Parameter()] + [System.Object[]] + $RemoveEntities + ) +} + +function New-InsiderRiskEntityList +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Object[]] + $Entities, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Type + ) +} + +function Remove-InsiderRiskEntityList +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ForceDeletion + ) +} + +function Get-InsiderRiskEntityList +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $Type + ) +} + +function Set-SupervisoryReviewPolicyV2 +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $AddReviewers, + + [Parameter()] + [System.Int32] + $RetentionPeriodInDays, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [System.String[]] + $UserReportingWorkloads, + + [Parameter()] + [System.String[]] + $RemoveReviewers, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.String[]] + $Reviewers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Set-SupervisoryReviewRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $ExceptIfFrom, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Boolean] + $DayXInsights, + + [Parameter()] + [System.String[]] + $ContentSources, + + [Parameter()] + [System.Object] + $ExceptIfRevieweeIs, + + [Parameter()] + [System.String] + $CcsiDataModelOperator, + + [Parameter()] + [System.Object[]] + $ContentContainsSensitiveInformation, + + [Parameter()] + [System.String] + $InPurviewFilter, + + [Parameter()] + [System.Object] + $ExceptIfSentTo, + + [Parameter()] + [System.Object] + $ExceptIfSubjectOrBodyContainsWords, + + [Parameter()] + [System.Object] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.String] + $AdvancedRule, + + [Parameter()] + [System.Object] + $From, + + [Parameter()] + [System.String] + $ContentMatchesDataModel, + + [Parameter()] + [System.Object] + $SentTo, + + [Parameter()] + [System.String] + $Condition, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $ExceptIfSenderDomainIs, + + [Parameter()] + [System.Boolean] + $Ocr, + + [Parameter()] + [System.Int32] + $SamplingRate, + + [Parameter()] + [System.String[]] + $IncludeAdaptiveScopes + ) +} +function Start-ComplianceSearch +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RetryOnError, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Update-RoleGroupMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $Members + ) +} +function Add-RoleGroupMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $Member + ) +} + +function Remove-RoleGroupMember +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $Member + ) +} +#endregion + +#region PnP.PowerShell +function Add-PnPApp +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Publish, + + [Parameter()] + [System.Int32] + $Timeout, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SkipFeatureDeployment, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Overwrite, + + [Parameter()] + [PSObject] + $Scope, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $Path + ) +} +function Add-PnPHubSiteAssociation +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HubSite, + + [Parameter()] + [PSObject] + $Site, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Add-PnPOrgAssetsLibrary +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ThumbnailUrl, + + [Parameter()] + [PSObject] + $OrgAssetType, + + [Parameter()] + [System.String] + $LibraryUrl, + + [Parameter()] + [PSObject] + $CdnType, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Add-PnPSiteDesign +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ThumbnailUrl, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $WebTemplate, + + [Parameter()] + [System.Guid[]] + $SiteScriptIds, + + [Parameter()] + [System.String] + $Title, + + [Parameter()] + [System.String] + $PreviewImageUrl, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $PreviewImageAltText, + + [Parameter()] + [System.Guid] + $DesignPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsDefault + ) +} +function Add-PnPSiteScript +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Title, + + [Parameter()] + [System.String] + $Content, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Add-PnPTenantTheme +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Overwrite, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [System.Boolean] + $IsInverted, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [PSObject] + $Palette + ) +} +function Get-PnPApp +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Scope, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPAuditing +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPAvailableLanguage +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPBrowserIdleSignout +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPContext +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPFile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AsFileObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AsListItem, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AsFile, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AsMemoryStream, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ThrowExceptionIfFileNotFound, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $Url, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AsString, + + [Parameter()] + [System.String] + $Path, + + [Parameter()] + [System.String] + $Filename, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Get-PnPGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AssociatedOwnerGroup, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AssociatedMemberGroup, + + [Parameter()] + [System.String[]] + $Includes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AssociatedVisitorGroup, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPGroupPermissions +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPHomeSite +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPHubSite +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPOrgAssetsLibrary +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPProperty +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $ClientObject, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String[]] + $Property + ) +} +function Get-PnPPropertyBag +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Folder, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [System.String] + $Key, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPSearchConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $BookmarkStatus, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [PSObject] + $Scope, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Boolean] + $ExcludeVisualPromotedResults, + + [Parameter()] + [PSObject] + $OutputFormat, + + [Parameter()] + [System.String] + $Path, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PromotedResultsToBookmarkCSV + ) +} +function Get-PnPSite +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String[]] + $Includes + ) +} +function Get-PnPSiteDesign +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPSiteDesignRights +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPSiteScript +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $SiteDesign, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPStorageEntity +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Scope, + + [Parameter()] + [System.String] + $Key, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPTenant +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPTenantAppCatalogUrl +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPTenantCdnEnabled +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $CdnType, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPTenantCdnPolicies +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $CdnType, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPTenantSite +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Detailed, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeOneDriveSites, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableSharingForNonOwnersStatus, + + [Parameter()] + [System.String] + $Template, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Boolean] + $GroupIdDefined + ) +} +function Get-PnPTenantSyncClientRestriction +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPTenantTheme +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AsJson + ) +} +function Get-PnPUser +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $WithRightsAssigned, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $WithRightsAssignedDetailed, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String[]] + $Includes + ) +} +function Get-PnPUserProfileProperty +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Account, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Get-PnPWeb +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String[]] + $Includes + ) +} +function Grant-PnPHubSiteRights +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Principals, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Grant-PnPSiteDesignRights +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Principals, + + [Parameter()] + [PSObject] + $Rights, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection + ) +} +function New-PnPGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $SetAssociatedGroup, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AutoAcceptRequestToJoinLeave, + + [Parameter()] + [System.String] + $Title, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OnlyAllowMembersViewMembership, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisallowMembersViewMembership, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowMembersEditMembership, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $RequestToJoinEmail, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowRequestToJoinLeave + ) +} +function New-PnPTenantSite +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Template, + + [Parameter()] + [PSObject] + $SharingCapability, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Int64] + $StorageQuota, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RemoveDeletedSite, + + [Parameter()] + [System.String] + $Title, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.Int32] + $TimeZone, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $Url, + + [Parameter()] + [System.Double] + $ResourceQuota, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Wait, + + [Parameter()] + [System.UInt32] + $Lcid, + + [Parameter()] + [System.Double] + $ResourceQuotaWarningLevel, + + [Parameter()] + [System.Int64] + $StorageQuotaWarningLevel + ) +} +function Register-PnPHubSite +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Principals, + + [Parameter()] + [PSObject] + $Site, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Remove-PnPApp +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Scope, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Remove-PnPGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Remove-PnPHomeSite +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Remove-PnPHubSiteAssociation +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Site, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Remove-PnPOrgAssetsLibrary +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $CdnType, + + [Parameter()] + [System.String] + $LibraryUrl, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Boolean] + $ShouldRemoveFromCdn + ) +} +function Remove-PnPPropertyBagValue +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Folder, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [System.String] + $Key, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Remove-PnPSearchConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Configuration, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [PSObject] + $Scope, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $Path + ) +} +function Remove-PnPSiteDesign +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Remove-PnPStorageEntity +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Scope, + + [Parameter()] + [System.String] + $Key, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Remove-PnPTenantSite +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $FromRecycleBin, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SkipRecycleBin, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $Url, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Remove-PnPTenantTheme +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Revoke-PnPSiteDesignRights +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Principals, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Set-PnPAuditing +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $CheckOutCheckInItems, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $TrimAuditLog, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableAll, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SearchContent, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EditItems, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EditContentTypesColumns, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DeleteRestoreItems, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EditUsersPermissions, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnableAll, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $MoveCopyItems, + + [Parameter()] + [System.Int32] + $RetentionTime + ) +} +function Set-PnPBrowserIdleSignout +{ + [CmdletBinding()] + param( + [Parameter()] + [System.TimeSpan] + $WarnAfter, + + [Parameter()] + [System.TimeSpan] + $SignoutAfter, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Boolean] + $Enabled + ) +} +function Set-PnPGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [System.String] + $AddRole, + + [Parameter()] + [System.String] + $Title, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.Boolean] + $OnlyAllowMembersViewMembership, + + [Parameter()] + [System.String] + $RemoveRole, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [System.Boolean] + $AllowMembersEditMembership, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Boolean] + $AutoAcceptRequestToJoinLeave, + + [Parameter()] + [System.String] + $RequestToJoinEmail, + + [Parameter()] + [PSObject] + $SetAssociatedGroup, + + [Parameter()] + [System.Boolean] + $AllowRequestToJoinLeave + ) +} +function Set-PnPGroupPermissions +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $AddRole, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [System.String[]] + $RemoveRole, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [PSObject] + $List + ) +} +function Set-PnPHomeSite +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $HomeSiteUrl, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Set-PnPHubSite +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RequiresJoinApproval, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $HideNameInNavigation, + + [Parameter()] + [System.String] + $LogoUrl, + + [Parameter()] + [System.Guid] + $SiteDesignId, + + [Parameter()] + [System.String] + $Title, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Guid] + $ParentHubSiteId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnablePermissionsSync + ) +} +function Set-PnPPropertyBagValue +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Folder, + + [Parameter()] + [System.String] + $Value, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Indexed, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $Key + ) +} +function Set-PnPSearchConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Configuration, + + [Parameter()] + [PSObject] + $Web, + + [Parameter()] + [PSObject] + $Scope, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $Path + ) +} +function Set-PnPSite +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $RestrictedAccessControl, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [PSObject] + $SharingCapability, + + [Parameter()] + [System.Nullable`1[System.Management.Automation.SwitchParameter]] + $DisableFlows, + + [Parameter()] + [PSObject] + $MediaTranscription, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableSharingForNonOwners, + + [Parameter()] + [System.Nullable`1[System.Management.Automation.SwitchParameter]] + $NoScriptSite, + + [Parameter()] + [System.String] + $LogoFilePath, + + [Parameter()] + [System.String] + $Classification, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DefaultLinkToExistingAccessReset, + + [Parameter()] + [System.Nullable`1[System.Guid]] + $SensitivityLabel, + + [Parameter()] + [PSObject] + $DefaultLinkPermission, + + [Parameter()] + [System.Boolean] + $RequestFilesLinkEnabled, + + [Parameter()] + [System.Boolean] + $DefaultLinkToExistingAccess, + + [Parameter()] + [System.Nullable`1[System.Int64]] + $StorageWarningLevel, + + [Parameter()] + [System.Nullable`1[System.Management.Automation.SwitchParameter]] + $CommentsOnSitePagesDisabled, + + [Parameter()] + [PSObject] + $RestrictedToGeo, + + [Parameter()] + [PSObject] + $LockState, + + [Parameter()] + [PSObject] + $DisableAppViews, + + [Parameter()] + [System.Nullable`1[System.Management.Automation.SwitchParameter]] + $SocialBarOnSitePagesDisabled, + + [Parameter()] + [System.String[]] + $Owners, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Wait, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $AnonymousLinkExpirationInDays, + + [Parameter()] + [PSObject] + $DisableCompanyWideSharingLinks, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OverrideTenantAnonymousLinkExpirationPolicy, + + [Parameter()] + [System.Nullable`1[System.Management.Automation.SwitchParameter]] + $AllowSelfServiceUpgrade, + + [Parameter()] + [System.Nullable`1[System.Int64]] + $StorageMaximumLevel, + + [Parameter()] + [System.Nullable`1[System.UInt32]] + $LocaleId, + + [Parameter()] + [PSObject] + $DefaultSharingLinkType, + + [Parameter()] + [System.String] + $ScriptSafeDomainName + ) +} +function Set-PnPSiteDesign +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ThumbnailUrl, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $WebTemplate, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [System.String] + $Title, + + [Parameter()] + [System.Guid[]] + $SiteScriptIds, + + [Parameter()] + [System.String] + $PreviewImageUrl, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $PreviewImageAltText, + + [Parameter()] + [System.Nullable`1[System.Guid]] + $DesignPackageId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsDefault + ) +} +function Set-PnPSiteScript +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Int32] + $Version, + + [Parameter()] + [System.String] + $Content, + + [Parameter()] + [System.String] + $Title, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [PSObject] + $Connection + ) +} +function Set-PnPStorageEntity +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Value, + + [Parameter()] + [System.String] + $Comment, + + [Parameter()] + [PSObject] + $Scope, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $Key + ) +} +function Set-PnPTenant +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $ExternalServicesEnabled, + + [Parameter()] + [System.Boolean] + $UsePersistentCookiesForExplorerView, + + [Parameter()] + [System.Int32] + $MinCompatibilityLevel, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $RequireAnonymousLinksExpireInDays, + + [Parameter()] + [PSObject] + $FolderAnonymousLinkType, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $OrphanedPersonalSitesRetentionPeriod, + + [Parameter()] + [System.Boolean] + $CommentsOnListItemsDisabled, + + [Parameter()] + [System.Boolean] + $OwnerAnonymousNotification, + + [Parameter()] + [PSObject] + $ConditionalAccessPolicy, + + [Parameter()] + [System.Boolean] + $NotificationsInSharePointEnabled, + + [Parameter()] + [System.Boolean] + $AllowFilesWithKeepLabelToBeDeletedODB, + + [Parameter()] + [System.Boolean] + $ShowAllUsersClaim, + + [Parameter()] + [System.Boolean] + $ViewInFileExplorerEnabled, + + [Parameter()] + [System.Boolean] + $RequireAcceptingAccountMatchInvitedAccount, + + [Parameter()] + [System.Boolean] + $EnableRestrictedAccessControl, + + [Parameter()] + [PSObject] + $DefaultLinkPermission, + + [Parameter()] + [System.Boolean] + $StopNew2013Workflows, + + [Parameter()] + [System.Boolean] + $DisableCustomAppAuthentication, + + [Parameter()] + [System.Guid[]] + $DisabledWebPartIds, + + [Parameter()] + [System.Boolean] + $NotificationsInOneDriveForBusinessEnabled, + + [Parameter()] + [System.Boolean] + $EnableAutoNewsDigest, + + [Parameter()] + [System.Boolean] + $NotifyOwnersWhenItemsReshared, + + [Parameter()] + [System.Boolean] + $SearchResolveExactEmailOrUPN, + + [Parameter()] + [System.Boolean] + $AllowFilesWithKeepLabelToBeDeletedSPO, + + [Parameter()] + [System.Boolean] + $EnableAIPIntegration, + + [Parameter()] + [System.Boolean] + $IsLoopEnabled, + + [Parameter()] + [System.Boolean] + $FilePickerExternalImageSearchEnabled, + + [Parameter()] + [System.Boolean] + $ExternalUserExpirationRequired, + + [Parameter()] + [PSObject] + $SpecialCharactersStateInFileFolderNames, + + [Parameter()] + [PSObject] + $ODBAccessRequests, + + [Parameter()] + [System.Boolean] + $DisplayNamesOfFileViewers, + + [Parameter()] + [System.String] + $NoAccessRedirectUrl, + + [Parameter()] + [System.Boolean] + $ShowPeoplePickerSuggestionsForGuestUsers, + + [Parameter()] + [System.Boolean] + $SocialBarOnSitePagesDisabled, + + [Parameter()] + [System.Boolean] + $PublicCdnEnabled, + + [Parameter()] + [PSObject] + $MarkNewFilesSensitiveByDefault, + + [Parameter()] + [System.String] + $SharingBlockedDomainList, + + [Parameter()] + [System.Guid[]] + $DisabledModernListTemplateIds, + + [Parameter()] + [System.String] + $SharingAllowedDomainList, + + [Parameter()] + [PSObject] + $DefaultSharingLinkType, + + [Parameter()] + [System.String] + $BccExternalSharingInvitationsList, + + [Parameter()] + [System.String] + $SignInAccelerationDomain, + + [Parameter()] + [System.Boolean] + $ProvisionSharedWithEveryoneFolder, + + [Parameter()] + [PSObject] + $SharingDomainRestrictionMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $EmailAttestationReAuthDays, + + [Parameter()] + [System.Boolean] + $ShowEveryoneExceptExternalUsersClaim, + + [Parameter()] + [System.Boolean] + $OneDriveForGuestsEnabled, + + [Parameter()] + [System.String] + $StartASiteFormUrl, + + [Parameter()] + [System.Boolean] + $IsFluidEnabled, + + [Parameter()] + [System.Boolean] + $EmailAttestationRequired, + + [Parameter()] + [System.Boolean] + $AllowDownloadingNonWebViewableFiles, + + [Parameter()] + [System.Boolean] + $UseFindPeopleInPeoplePicker, + + [Parameter()] + [System.Boolean] + $ShowEveryoneClaim, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $IPAddressWACTokenLifetime, + + [Parameter()] + [System.Boolean] + $HideDefaultThemes, + + [Parameter()] + [System.Boolean] + $ApplyAppEnforcedRestrictionsToAdHocRecipients, + + [Parameter()] + [System.Boolean] + $OfficeClientADALDisabled, + + [Parameter()] + [System.Boolean] + $BccExternalSharingInvitations, + + [Parameter()] + [System.Boolean] + $IPAddressEnforcement, + + [Parameter()] + [PSObject] + $SharingCapability, + + [Parameter()] + [System.Boolean] + $NotifyOwnersWhenInvitationsAccepted, + + [Parameter()] + [System.String] + $IPAddressAllowList, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Boolean] + $DisallowInfectedFileDownload, + + [Parameter()] + [System.Boolean] + $AllowEditing, + + [Parameter()] + [System.Boolean] + $DisableAddToOneDrive, + + [Parameter()] + [System.Boolean] + $InformationBarriersSuspension, + + [Parameter()] + [System.Boolean] + $DisableBackToClassic, + + [Parameter()] + [System.Boolean] + $DisplayNamesOfFileViewersInSpo, + + [Parameter()] + [System.Boolean] + $PreventExternalUsersFromResharing, + + [Parameter()] + [System.Boolean] + $DisablePersonalListCreation, + + [Parameter()] + [PSObject] + $ODBMembersCanShare, + + [Parameter()] + [System.Boolean] + $CommentsOnFilesDisabled, + + [Parameter()] + [System.Boolean] + $LegacyAuthProtocolsEnabled, + + [Parameter()] + [PSObject] + $FileAnonymousLinkType, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $PublicCdnAllowedFileTypes, + + [Parameter()] + [System.Boolean] + $OneDriveRequestFilesLinkEnabled, + + [Parameter()] + [System.Boolean] + $UserVoiceForFeedbackEnabled, + + [Parameter()] + [System.Guid[]] + $EnableModernListTemplateIds, + + [Parameter()] + [System.Nullable`1[System.Int64]] + $OneDriveStorageQuota, + + [Parameter()] + [System.Boolean] + $CommentsOnSitePagesDisabled, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $ExternalUserExpireInDays, + + [Parameter()] + [System.Boolean] + $EnableGuestSignInAcceleration, + + [Parameter()] + [System.Int32] + $MaxCompatibilityLevel, + + [Parameter()] + [System.Boolean] + $DisplayStartASiteOption + ) +} +function Set-PnPTenantCdnEnabled +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $NoDefaultOrigins, + + [Parameter()] + [PSObject] + $CdnType, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Boolean] + $Enable + ) +} +function Set-PnPTenantCdnPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $CdnType, + + [Parameter()] + [System.String] + $PolicyValue, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [PSObject] + $PolicyType + ) +} +function Set-PnPTenantSite +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $ExternalUserExpirationInDays, + + [Parameter()] + [PSObject] + $SharingCapability, + + [Parameter()] + [PSObject] + $DisableFlows, + + [Parameter()] + [PSObject] + $MediaTranscription, + + [Parameter()] + [System.String] + $ProtectionLevelName, + + [Parameter()] + [System.Boolean] + $AllowEditing, + + [Parameter()] + [System.Double] + $ResourceQuota, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableSharingForNonOwners, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Wait, + + [Parameter()] + [System.Double] + $ResourceQuotaWarningLevel, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Int64] + $StorageQuotaWarningLevel, + + [Parameter()] + [PSObject] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DefaultLinkToExistingAccessReset, + + [Parameter()] + [System.String] + $SensitivityLabel, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $AnonymousLinkExpirationInDays, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RemoveLabel, + + [Parameter()] + [PSObject] + $DefaultLinkPermission, + + [Parameter()] + [System.Boolean] + $OverrideTenantExternalUserExpirationPolicy, + + [Parameter()] + [System.Boolean] + $AllowDownloadingNonWebViewableFiles, + + [Parameter()] + [System.Guid[]] + $RemoveInformationSegment, + + [Parameter()] + [System.String] + $Title, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BlockDownloadOfNonViewableFiles, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $CommentsOnSitePagesDisabled, + + [Parameter()] + [System.Guid] + $HubSiteId, + + [Parameter()] + [System.Guid[]] + $AddInformationSegment, + + [Parameter()] + [System.Boolean] + $DefaultLinkToExistingAccess, + + [Parameter()] + [PSObject] + $RestrictedToGeo, + + [Parameter()] + [PSObject] + $LockState, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DenyAddAndCustomizePages, + + [Parameter()] + [PSObject] + $DisableAppViews, + + [Parameter()] + [System.String] + $SharingBlockedDomainList, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $StorageQuotaReset, + + [Parameter()] + [System.String[]] + $Owners, + + [Parameter()] + [PSObject] + $InformationBarriersMode, + + [Parameter()] + [PSObject] + $LimitedAccessFileType, + + [Parameter()] + [PSObject] + $BlockDownloadLinksFileType, + + [Parameter()] + [PSObject] + $OverrideBlockUserInfoVisibility, + + [Parameter()] + [PSObject] + $SharingDomainRestrictionMode, + + [Parameter()] + [PSObject] + $ConditionalAccessPolicy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OverrideTenantAnonymousLinkExpirationPolicy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AllowSelfServiceUpgrade, + + [Parameter()] + [System.Int64] + $StorageQuota, + + [Parameter()] + [System.String] + $SharingAllowedDomainList, + + [Parameter()] + [System.UInt32] + $LocaleId, + + [Parameter()] + [System.Boolean] + $ShowPeoplePickerSuggestionsForGuestUsers, + + [Parameter()] + [PSObject] + $DefaultSharingLinkType, + + [Parameter()] + [System.Boolean] + $EnablePWA, + + [Parameter()] + [PSObject] + $DisableCompanyWideSharingLinks + ) +} +function Set-PnPTenantSyncClientRestriction +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Collections.Generic.List`1[System.Guid]] + $DomainGuids, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $DisableReportProblemDialog, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Enable, + + [Parameter()] + [PSObject] + $GrooveBlockOption, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $BlockMacSync, + + [Parameter()] + [System.String[]] + $ExcludedFileExtensions + ) +} +function Set-PnPUserProfileProperty +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Values, + + [Parameter()] + [System.String] + $Value, + + [Parameter()] + [System.String] + $Account, + + [Parameter()] + [PSObject] + $Connection, + + [Parameter()] + [System.String] + $PropertyName + ) +} +function Unregister-PnPHubSite +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $Site, + + [Parameter()] + [PSObject] + $Connection + ) +} +#endregion +#region Microsoft.PowerApps.Administration.PowerShell +function Get-AdminPowerApp +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ApiVersion, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.String[]] + $Filter, + + [Parameter()] + [System.String] + $EnvironmentName, + + [Parameter()] + [System.String] + $AppName + ) +} +function Get-AdminPowerAppEnvironment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Capacity, + + [Parameter()] + [System.String] + $InstanceId, + + [Parameter()] + [System.Boolean] + $ReturnCdsDatabaseType, + + [Parameter()] + [System.String] + $ApiVersion, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Default, + + [Parameter()] + [System.String[]] + $Filter, + + [Parameter()] + [System.String] + $EnvironmentName, + + [Parameter()] + [System.String] + $EnvironmentSku, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $GetProtectedEnvironment, + + [Parameter()] + [System.String] + $CreatedBy + ) +} +function Get-PowerAppTenantIsolationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $ApiVersion + ) +} +function Get-TenantSettings +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ApiVersion + ) +} + +function Get-TenantAllowBlockListItems +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ListType, + + [Parameter()] + [System.DateTime] + $ExpirationDate, + + [Parameter()] + [switch] + $Allow, + + [Parameter()] + [switch] + $Block, + + [Parameter()] + [System.String] + $Entry, + + [Parameter()] + [System.Object[]] + $ListSubType + ) +} + +function New-AdminPowerAppEnvironment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $TimeoutInMinutes, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProvisionDatabase, + + [Parameter()] + [System.String] + $LocationName, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $LanguageName, + + [Parameter()] + [System.String] + $RegionName, + + [Parameter()] + [System.Object] + $TemplateMetadata, + + [Parameter()] + [System.String] + $CurrencyName, + + [Parameter()] + [System.String] + $ApiVersion, + + [Parameter()] + [System.String[]] + $Templates, + + [Parameter()] + [System.String] + $SecurityGroupId, + + [Parameter()] + [System.String] + $EnvironmentSku, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Boolean] + $WaitUntilFinished, + + [Parameter()] + [System.String] + $DomainName + ) +} +function Remove-AdminPowerApp +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ApiVersion, + + [Parameter()] + [System.String] + $EnvironmentName, + + [Parameter()] + [System.String] + $AppName + ) +} +function Remove-AdminPowerAppEnvironment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $EnvironmentName, + + [Parameter()] + [System.String] + $ApiVersion + ) +} +function Set-PowerAppTenantIsolationPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $TenantId, + + [Parameter()] + [System.String] + $ApiVersion, + + [Parameter()] + [System.Object] + $TenantIsolationPolicy + ) +} +function Set-TenantSettings +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ApiVersion, + + [Parameter()] + [System.Object] + $RequestBody + ) +} + +function Set-TenantAllowBlockListItems +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ListType, + + [Parameter()] + [System.DateTime] + $ExpirationDate, + + [Parameter()] + [switch] + $Allow, + + [Parameter()] + [switch] + $Block, + + [Parameter()] + [System.String[]] + $Entries, + + [Parameter()] + [System.Object[]] + $ListSubType, + + [Parameter()] + [switch] + $NoExpiration, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [switch] + $OutputJson, + + [Parameter()] + [System.Int32] + $RemoveAfter + ) +} + +#endregion +#region MicrosoftTeams +function Add-TeamUser +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $User, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.String] + $Role + ) +} +function Get-AllM365TeamsApps +{ + [CmdletBinding()] + param( + + ) +} +function Get-CsOnlineVoicemailPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsAppPermissionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsAppSetupPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsCallHoldPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsCallingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsChannelsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsComplianceRecordingApplication +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsComplianceRecordingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsEmergencyCallingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsEventsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsFeedbackPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsFilesPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsMeetingConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsMeetingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsMessagingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsShiftsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsTemplatePermissionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsUpdateManagementPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsUpgradeConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTeamsVdiPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity + ) +} +function Get-CsTenantNetworkSite +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $IncludePhoneNumbers + ) +} +function Get-M365TeamsApp +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id + ) +} +function Get-Team +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Boolean] + $Archived, + + [Parameter()] + [System.String] + $User, + + [Parameter()] + [System.String] + $NumberOfThreads, + + [Parameter()] + [System.String] + $Visibility, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.String] + $MailNickName + ) +} +function Get-TeamChannel +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $MembershipType, + + [Parameter()] + [System.String] + $GroupId + ) +} +function Get-TeamUser +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.String] + $Role + ) +} +function Grant-CsExternalAccessPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.Int32] + $Rank, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Grant-CsTeamsAppPermissionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.Int32] + $Rank, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Grant-CsTeamsAppSetupPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.Int32] + $Rank, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Grant-CsTeamsCallingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.Int32] + $Rank, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Grant-CsTeamsEventsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.Int32] + $Rank, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function New-CsOnlineVoicemailPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $EnableEditingCallAnswerRulesSetting, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Boolean] + $EnableTranscriptionProfanityMasking, + + [Parameter()] + [System.String] + $PreambleAudioFile, + + [Parameter()] + [System.String] + $ShareData, + + [Parameter()] + [System.String] + $SecondarySystemPromptLanguage, + + [Parameter()] + [System.String] + $PrimarySystemPromptLanguage, + + [Parameter()] + [System.Nullable`1[System.TimeSpan]] + $MaximumRecordingLength, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $PostambleAudioFile, + + [Parameter()] + [System.Boolean] + $PreamblePostambleMandatory, + + [Parameter()] + [System.Boolean] + $EnableTranscription, + + [Parameter()] + [System.Boolean] + $EnableTranscriptionTranslation + ) +} +function New-CsTeamsAppPermissionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $GlobalCatalogAppsType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $PrivateCatalogAppsType, + + [Parameter()] + [System.String] + $DefaultCatalogAppsType, + + [Parameter()] + [PSObject] + $PrivateCatalogApps, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [PSObject] + $GlobalCatalogApps, + + [Parameter()] + [PSObject] + $DefaultCatalogApps + ) +} +function New-CsTeamsAppSetupPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $AppPresetList, + + [Parameter()] + [PSObject] + $AdditionalCustomizationApps, + + [Parameter()] + [System.Boolean] + $AllowUserPinning, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $PinnedMessageBarApps, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $AllowSideLoading, + + [Parameter()] + [PSObject] + $AppPresetMeetingList, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [PSObject] + $PinnedAppBarApps + ) +} +function New-CsTeamsCallHoldPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $StreamingSourceUrl, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $AudioFileId, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $StreamingSourceAuthType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function New-CsTeamsCallingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowWebPSTNCalling, + + [Parameter()] + [System.String] + $AutoAnswerEnabledType, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $PreventTollBypass, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Boolean] + $AllowCloudRecordingForCalls, + + [Parameter()] + [System.String] + $AllowCallRedirect, + + [Parameter()] + [System.Boolean] + $AllowCallGroups, + + [Parameter()] + [System.String] + $SpamFilteringEnabledType, + + [Parameter()] + [System.Boolean] + $AllowSIPDevicesCalling, + + [Parameter()] + [System.String] + $PopoutAppPathForIncomingPstnCalls, + + [Parameter()] + [System.Boolean] + $EnableWebPstnMediaBypass, + + [Parameter()] + [System.String] + $BusyOnBusyEnabledType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $AllowVoicemail, + + [Parameter()] + [System.String] + $PopoutForIncomingPstnCalls, + + [Parameter()] + [System.String] + $MusicOnHoldEnabledType, + + [Parameter()] + [System.Boolean] + $AllowCallForwardingToUser, + + [Parameter()] + [System.Boolean] + $AllowCallForwardingToPhone, + + [Parameter()] + [System.Boolean] + $AllowPrivateCalling, + + [Parameter()] + [System.String] + $LiveCaptionsEnabledTypeForCalling, + + [Parameter()] + [System.Nullable`1[System.Int64]] + $CallRecordingExpirationDays, + + [Parameter()] + [System.String] + $InboundPstnCallRoutingTreatment, + + [Parameter()] + [System.String] + $InboundFederatedCallRoutingTreatment, + + [Parameter()] + [System.Boolean] + $AllowDelegation, + + [Parameter()] + [System.Boolean] + $AllowTranscriptionForCalling + ) +} +function New-CsTeamsChannelsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowSharedChannelCreation, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Boolean] + $AllowChannelSharingToExternalUser, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $AllowPrivateChannelCreation, + + [Parameter()] + [System.Boolean] + $EnablePrivateTeamDiscovery, + + [Parameter()] + [System.Boolean] + $AllowOrgWideTeamCreation, + + [Parameter()] + [System.Boolean] + $AllowUserToParticipateInExternalSharedChannel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function New-CsTeamsComplianceRecordingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $CustomPromptsPackageId, + + [Parameter()] + [System.Boolean] + $RecordReroutedCalls, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $CustomBanner, + + [Parameter()] + [System.Boolean] + $CustomPromptsEnabled, + + [Parameter()] + [System.Boolean] + $DisableComplianceRecordingAudioNotificationForCalls, + + [Parameter()] + [PSObject] + $ComplianceRecordingApplications, + + [Parameter()] + [System.Boolean] + $WarnUserOnRemoval, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $Enabled + ) +} +function New-CsTeamsEmergencyCallingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $NotificationGroup, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $NotificationDialOutNumber, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $EnhancedEmergencyServiceDisclaimer, + + [Parameter()] + [PSObject] + $NotificationMode, + + [Parameter()] + [PSObject] + $ExtendedNotifications, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [PSObject] + $ExternalLocationLookupMode + ) +} +function New-CsTeamsEventsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $AllowedTownhallTypesForRecordingPublish, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $AllowedQuestionTypesInRegistrationForm, + + [Parameter()] + [System.String] + $AllowedWebinarTypesForRecordingPublish, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $EventAccessType, + + [Parameter()] + [System.Boolean] + $AllowEventIntegrations, + + [Parameter()] + [System.String] + $AllowEmailEditing, + + [Parameter()] + [System.String] + $AllowWebinars, + + [Parameter()] + [System.Boolean] + $UseMicrosoftECDN, + + [Parameter()] + [System.String] + $AllowTownhalls, + + [Parameter()] + [System.String] + $TownhallChatExperience + ) +} +function New-CsTeamsFeedbackPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowLogCollection, + + [Parameter()] + [System.Boolean] + $EnableFeatureSuggestions, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AllowEmailCollection, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $ReceiveSurveysMode, + + [Parameter()] + [System.String] + $UserInitiatedMode, + + [Parameter()] + [System.Boolean] + $AllowScreenshotCollection, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function New-CsTeamsFilesPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $DefaultFileUploadAppId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $NativeFileEntryPoints, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $SPChannelFilesTab + ) +} +function New-CsTeamsHiddenTemplate +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id + ) +} +function New-CsTeamsMeetingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $VoiceIsolation, + + [Parameter()] + [System.String] + $Copilot, + + [Parameter()] + [System.String] + $AllowTrackingInReport, + + [Parameter()] + [System.Boolean] + $AllowMeetingCoach, + + [Parameter()] + [System.String] + $AttendeeIdentityMasking, + + [Parameter()] + [System.Boolean] + $AllowAnnotations, + + [Parameter()] + [System.String] + $AudibleRecordingNotification, + + [Parameter()] + [System.Boolean] + $AllowIPAudio, + + [Parameter()] + [System.Boolean] + $AllowWhiteboard, + + [Parameter()] + [System.Boolean] + $AllowAnonymousUsersToDialOut, + + [Parameter()] + [System.String] + $StreamingAttendeeMode, + + [Parameter()] + [System.String] + $ExplicitRecordingConsent, + + [Parameter()] + [System.String] + $ContentSharingInExternalMeetings, + + [Parameter()] + [System.Nullable`1[System.Int64]] + $WatermarkForCameraVideoOpacity, + + [Parameter()] + [System.Boolean] + $AllowTranscription, + + [Parameter()] + [System.Boolean] + $AllowMeetNow, + + [Parameter()] + [System.Boolean] + $AllowWatermarkCustomizationForCameraVideo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $WatermarkForScreenSharingPattern, + + [Parameter()] + [System.String] + $RoomAttributeUserOverride, + + [Parameter()] + [System.String] + $RoomPeopleNameUserOverride, + + [Parameter()] + [System.Boolean] + $AllowNetworkConfigurationSettingsLookup, + + [Parameter()] + [System.String] + $SmsNotifications, + + [Parameter()] + [System.Boolean] + $AllowExternalParticipantGiveRequestControl, + + [Parameter()] + [System.Boolean] + $AllowAnonymousUsersToStartMeeting, + + [Parameter()] + [System.String] + $AutoAdmittedUsers, + + [Parameter()] + [System.String] + $AllowTasksFromTranscript, + + [Parameter()] + [System.Boolean] + $AllowMeetingRegistration, + + [Parameter()] + [System.String] + $ChannelRecordingDownload, + + [Parameter()] + [System.String] + $RecordingStorageMode, + + [Parameter()] + [System.String] + $ParticipantNameChange, + + [Parameter()] + [System.String] + $ScreenSharingMode, + + [Parameter()] + [System.Boolean] + $AllowPrivateMeetNow, + + [Parameter()] + [System.Boolean] + $AllowExternalNonTrustedMeetingChat, + + [Parameter()] + [System.String] + $AllowEngagementReport, + + [Parameter()] + [System.Boolean] + $CopyRestriction, + + [Parameter()] + [System.String] + $ConnectToMeetingControls, + + [Parameter()] + [System.Boolean] + $AllowWatermarkForCameraVideo, + + [Parameter()] + [System.Nullable`1[System.Int64]] + $WatermarkForScreenSharingOpacity, + + [Parameter()] + [System.Boolean] + $AllowWatermarkForScreenSharing, + + [Parameter()] + [System.String] + $PreferredMeetingProviderForIslandsMode, + + [Parameter()] + [System.Boolean] + $AllowOrganizersToOverrideLobbySettings, + + [Parameter()] + [System.Boolean] + $AllowWatermarkCustomizationForScreenSharing, + + [Parameter()] + [System.Nullable`1[System.Int64]] + $NewMeetingRecordingExpirationDays, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Boolean] + $DetectSensitiveContentDuringScreenSharing, + + [Parameter()] + [System.Boolean] + $AllowNDIStreaming, + + [Parameter()] + [System.String] + $IPAudioMode, + + [Parameter()] + [System.String] + $AllowScreenContentDigitization, + + [Parameter()] + [System.String] + $BlockedAnonymousJoinClientTypes, + + [Parameter()] + [System.String] + $LiveInterpretationEnabledType, + + [Parameter()] + [System.Boolean] + $AllowImmersiveView, + + [Parameter()] + [System.String] + $AutomaticallyStartCopilot, + + [Parameter()] + [System.Boolean] + $AllowAnonymousUsersToJoinMeeting, + + [Parameter()] + [System.String] + $MeetingInviteLanguages, + + [Parameter()] + [System.String] + $WhoCanRegister, + + [Parameter()] + [System.Boolean] + $AllowAvatarsInGallery, + + [Parameter()] + [System.Boolean] + $AllowCloudRecording, + + [Parameter()] + [System.String] + $AllowedStreamingMediaInput, + + [Parameter()] + [System.Boolean] + $AllowIPVideo, + + [Parameter()] + [System.String] + $SpeakerAttributionMode, + + [Parameter()] + [System.String] + $WatermarkForAnonymousUsers, + + [Parameter()] + [System.String] + $AllowedUsersForMeetingContext, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $AllowCartCaptionsScheduling, + + [Parameter()] + [System.Boolean] + $AllowOutlookAddIn, + + [Parameter()] + [System.String] + $CaptchaVerificationForAnonymousUsers, + + [Parameter()] + [System.String] + $DesignatedPresenterRoleMode, + + [Parameter()] + [System.String] + $LiveCaptionsEnabledType, + + [Parameter()] + [System.String] + $QnAEngagementMode, + + [Parameter()] + [System.Boolean] + $AllowSharedNotes, + + [Parameter()] + [System.Boolean] + $AllowParticipantGiveRequestControl, + + [Parameter()] + [System.Nullable`1[System.UInt32]] + $MediaBitRateKb, + + [Parameter()] + [System.String] + $TeamsCameraFarEndPTZMode, + + [Parameter()] + [System.String] + $EnrollUserOverride, + + [Parameter()] + [System.Boolean] + $AllowPowerPointSharing, + + [Parameter()] + [System.Boolean] + $AllowPrivateMeetingScheduling, + + [Parameter()] + [System.Boolean] + $AllowChannelMeetingScheduling, + + [Parameter()] + [System.String] + $ExternalMeetingJoin, + + [Parameter()] + [System.Boolean] + $AllowMeetingReactions, + + [Parameter()] + [System.String] + $VideoFiltersMode, + + [Parameter()] + [System.String] + $InfoShownInReportMode, + + [Parameter()] + [System.String] + $LiveStreamingMode, + + [Parameter()] + [System.Boolean] + $AllowBreakoutRooms, + + [Parameter()] + [System.String] + $AllowDocumentCollaboration, + + [Parameter()] + [System.Boolean] + $AllowRecordingStorageOutsideRegion, + + [Parameter()] + [System.Boolean] + $AllowPSTNUsersToBypassLobby, + + [Parameter()] + [System.String] + $WatermarkForCameraVideoPattern, + + [Parameter()] + [System.Boolean] + $AllowCarbonSummary, + + [Parameter()] + [System.Boolean] + $AllowLocalRecording, + + [Parameter()] + [System.String] + $MeetingChatEnabledType, + + [Parameter()] + [System.String] + $IPVideoMode, + + [Parameter()] + [System.String] + $AutoRecording + ) +} +function New-CsTeamsMessagingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowOwnerDeleteMessage, + + [Parameter()] + [System.Boolean] + $AllowSmartReply, + + [Parameter()] + [System.Boolean] + $AllowUserChat, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $AllowGiphy, + + [Parameter()] + [System.Boolean] + $DeleteCustomEmojis, + + [Parameter()] + [System.Boolean] + $AllowUserDeleteMessage, + + [Parameter()] + [System.String] + $ChannelsInChatListEnabledType, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Boolean] + $AllowStickers, + + [Parameter()] + [System.Boolean] + $CreateCustomEmojis, + + [Parameter()] + [System.Boolean] + $AllowSmartCompose, + + [Parameter()] + [System.Boolean] + $AllowFullChatPermissionUserToDeleteAnyMessage, + + [Parameter()] + [System.Boolean] + $AllowUrlPreviews, + + [Parameter()] + [System.Boolean] + $AllowGiphyDisplay, + + [Parameter()] + [System.String] + $DesignerForBackgroundsAndImages, + + [Parameter()] + [System.Boolean] + $AllowChatWithGroup, + + [Parameter()] + [System.Boolean] + $AllowCommunicationComplianceEndUserReporting, + + [Parameter()] + [System.Boolean] + $AllowImmersiveReader, + + [Parameter()] + [System.Boolean] + $AllowCustomGroupChatAvatars, + + [Parameter()] + [System.Boolean] + $AllowUserTranslation, + + [Parameter()] + [System.Boolean] + $AllowUserEditMessage, + + [Parameter()] + [System.String] + $AudioMessageEnabledType, + + [Parameter()] + [System.Boolean] + $AllowRemoveUser, + + [Parameter()] + [System.Boolean] + $AllowPasteInternetImage, + + [Parameter()] + [System.String] + $ReadReceiptsEnabledType, + + [Parameter()] + [System.String] + $ChatPermissionRole, + + [Parameter()] + [System.Boolean] + $AllowMemes, + + [Parameter()] + [System.Boolean] + $AllowFluidCollaborate, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AllowGroupChatJoinLinks, + + [Parameter()] + [System.Boolean] + $AllowSecurityEndUserReporting, + + [Parameter()] + [System.Boolean] + $AllowPriorityMessages, + + [Parameter()] + [System.Boolean] + $AllowVideoMessages, + + [Parameter()] + [System.String] + $GiphyRatingType, + + [Parameter()] + [System.String] + $InOrganizationChatControl, + + [Parameter()] + [System.Boolean] + $AllowUserDeleteChat + ) +} +function New-CsTeamsShiftsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $ShiftNoticeMessageType, + + [Parameter()] + [System.String] + $ShiftNoticeFrequency, + + [Parameter()] + [System.Boolean] + $EnableScheduleOwnerPermissions, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $ShiftNoticeMessageCustom, + + [Parameter()] + [System.String] + $AccessType, + + [Parameter()] + [System.Nullable`1[System.Int64]] + $AccessGracePeriodMinutes + ) +} +function New-CsTeamsTemplatePermissionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [PSObject] + $HiddenTemplates, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function New-CsTeamsUpdateManagementPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Nullable`1[System.Int64]] + $UpdateDayOfWeek, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $UpdateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Nullable`1[System.DateTime]] + $UpdateTimeOfDay, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AllowManagedUpdates, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $AllowPreview, + + [Parameter()] + [System.Boolean] + $BlockLegacyAuthorization, + + [Parameter()] + [System.String] + $AllowPublicPreview, + + [Parameter()] + [System.Management.Automation.PSListModifier`1[System.String]] + $DisabledInProductMessages, + + [Parameter()] + [System.String] + $UseNewTeamsClient + ) +} +function New-CsTeamsVdiPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $VDI2Optimization, + + [Parameter()] + [System.Boolean] + $DisableCallsAndMeetings, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $DisableAudioVideoInCallsAndMeetings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function New-Team +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowGuestDeleteChannels, + + [Parameter()] + [System.Boolean] + $AllowUserDeleteMessages, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $MailNickName, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Boolean] + $AllowCreateUpdateChannels, + + [Parameter()] + [System.Boolean] + $AllowDeleteChannels, + + [Parameter()] + [System.String] + $Classification, + + [Parameter()] + [System.Boolean] + $AllowCreateUpdateRemoveConnectors, + + [Parameter()] + [System.Boolean] + $AllowUserEditMessages, + + [Parameter()] + [System.Boolean] + $AllowCreateUpdateRemoveTabs, + + [Parameter()] + [System.Boolean] + $AllowAddRemoveApps, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RetainCreatedGroup, + + [Parameter()] + [System.Boolean] + $AllowOwnerDeleteMessages, + + [Parameter()] + [System.Boolean] + $AllowTeamMentions, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Boolean] + $AllowCreatePrivateChannels, + + [Parameter()] + [System.Boolean] + $AllowGuestCreateUpdateChannels, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.String] + $GiphyContentRating, + + [Parameter()] + [System.Boolean] + $AllowStickersAndMemes, + + [Parameter()] + [System.Boolean] + $ShowInTeamsSearchAndSuggestions, + + [Parameter()] + [System.String] + $Visibility, + + [Parameter()] + [System.String] + $Template, + + [Parameter()] + [System.Boolean] + $AllowGiphy, + + [Parameter()] + [System.Boolean] + $AllowChannelMentions, + + [Parameter()] + [System.Boolean] + $AllowCustomMemes + ) +} +function New-TeamChannel +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.String] + $MembershipType, + + [Parameter()] + [System.String] + $GroupId + ) +} + +function New-TenantAllowBlockListItems +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Entries, + + [Parameter()] + [System.String] + $ListType, + + [Parameter()] + [System.DateTime] + $ExpirationDate, + + [Parameter()] + [switch] + $Allow, + + [Parameter()] + [switch] + $Block, + + [Parameter()] + [System.Object] + $ListSubType, + + [Parameter()] + [switch] + $LogExtraDetails, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [switch] + $OutputJson, + + [Parameter()] + [System.Int32] + $RemoveAfter, + + [Parameter()] + [System.String] + $SubmissionID + ) +} + +function Remove-CsOnlineVoicemailPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsAppPermissionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsAppSetupPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsCallHoldPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsCallingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsChannelsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsComplianceRecordingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsEmergencyCallingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsEventsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsFeedbackPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsFilesPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsMeetingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsMessagingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsShiftsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsTemplatePermissionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsUpdateManagementPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsTeamsVdiPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-Team +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $GroupId + ) +} +function Remove-TeamChannel +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $GroupId + ) +} +function Remove-TeamUser +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $User, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.String] + $Role + ) +} + +function Remove-TenantAllowBlockListItems +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ListType, + + [Parameter()] + [System.String[]] + $Entries, + + [Parameter()] + [System.String] + $ListSubType, + + [Parameter()] + [switch] + $OutputJson + ) +} + +function Set-CsOnlineVoicemailPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $EnableEditingCallAnswerRulesSetting, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Boolean] + $EnableTranscriptionProfanityMasking, + + [Parameter()] + [System.String] + $PreambleAudioFile, + + [Parameter()] + [System.String] + $ShareData, + + [Parameter()] + [System.String] + $SecondarySystemPromptLanguage, + + [Parameter()] + [System.String] + $PrimarySystemPromptLanguage, + + [Parameter()] + [System.Nullable`1[System.TimeSpan]] + $MaximumRecordingLength, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $PostambleAudioFile, + + [Parameter()] + [System.Boolean] + $PreamblePostambleMandatory, + + [Parameter()] + [System.Boolean] + $EnableTranscription, + + [Parameter()] + [System.Boolean] + $EnableTranscriptionTranslation + ) +} +function Set-CsTeamsAppPermissionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $GlobalCatalogAppsType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $PrivateCatalogAppsType, + + [Parameter()] + [System.String] + $DefaultCatalogAppsType, + + [Parameter()] + [PSObject] + $PrivateCatalogApps, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [PSObject] + $GlobalCatalogApps, + + [Parameter()] + [PSObject] + $DefaultCatalogApps + ) +} +function Set-CsTeamsAppSetupPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject] + $AppPresetList, + + [Parameter()] + [PSObject] + $AdditionalCustomizationApps, + + [Parameter()] + [System.Boolean] + $AllowUserPinning, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $PinnedMessageBarApps, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $AllowSideLoading, + + [Parameter()] + [PSObject] + $AppPresetMeetingList, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [PSObject] + $PinnedAppBarApps + ) +} +function Set-CsTeamsCallHoldPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $StreamingSourceUrl, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $AudioFileId, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $StreamingSourceAuthType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Set-CsTeamsCallingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowWebPSTNCalling, + + [Parameter()] + [System.String] + $AutoAnswerEnabledType, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $PreventTollBypass, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Boolean] + $AllowCloudRecordingForCalls, + + [Parameter()] + [System.String] + $AllowCallRedirect, + + [Parameter()] + [System.Boolean] + $AllowCallGroups, + + [Parameter()] + [System.String] + $SpamFilteringEnabledType, + + [Parameter()] + [System.Boolean] + $AllowSIPDevicesCalling, + + [Parameter()] + [System.String] + $PopoutAppPathForIncomingPstnCalls, + + [Parameter()] + [System.Boolean] + $EnableWebPstnMediaBypass, + + [Parameter()] + [System.String] + $BusyOnBusyEnabledType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $AllowVoicemail, + + [Parameter()] + [System.String] + $PopoutForIncomingPstnCalls, + + [Parameter()] + [System.String] + $MusicOnHoldEnabledType, + + [Parameter()] + [System.Boolean] + $AllowCallForwardingToUser, + + [Parameter()] + [System.Boolean] + $AllowCallForwardingToPhone, + + [Parameter()] + [System.Boolean] + $AllowPrivateCalling, + + [Parameter()] + [System.String] + $LiveCaptionsEnabledTypeForCalling, + + [Parameter()] + [System.Nullable`1[System.Int64]] + $CallRecordingExpirationDays, + + [Parameter()] + [System.String] + $InboundPstnCallRoutingTreatment, + + [Parameter()] + [System.String] + $InboundFederatedCallRoutingTreatment, + + [Parameter()] + [System.Boolean] + $AllowDelegation, + + [Parameter()] + [System.Boolean] + $AllowTranscriptionForCalling + ) +} +function Set-CsTeamsChannelsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowSharedChannelCreation, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Boolean] + $AllowChannelSharingToExternalUser, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $AllowPrivateChannelCreation, + + [Parameter()] + [System.Boolean] + $EnablePrivateTeamDiscovery, + + [Parameter()] + [System.Boolean] + $AllowOrgWideTeamCreation, + + [Parameter()] + [System.Boolean] + $AllowUserToParticipateInExternalSharedChannel, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Set-CsTeamsComplianceRecordingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $CustomPromptsPackageId, + + [Parameter()] + [System.Boolean] + $RecordReroutedCalls, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $CustomBanner, + + [Parameter()] + [System.Boolean] + $CustomPromptsEnabled, + + [Parameter()] + [System.Boolean] + $DisableComplianceRecordingAudioNotificationForCalls, + + [Parameter()] + [PSObject] + $ComplianceRecordingApplications, + + [Parameter()] + [System.Boolean] + $WarnUserOnRemoval, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $Enabled + ) +} +function Set-CsTeamsEmergencyCallingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $NotificationGroup, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $NotificationDialOutNumber, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $EnhancedEmergencyServiceDisclaimer, + + [Parameter()] + [PSObject] + $NotificationMode, + + [Parameter()] + [PSObject] + $ExtendedNotifications, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [PSObject] + $ExternalLocationLookupMode + ) +} +function Set-CsTeamsEventsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $AllowedTownhallTypesForRecordingPublish, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $AllowedQuestionTypesInRegistrationForm, + + [Parameter()] + [System.String] + $AllowedWebinarTypesForRecordingPublish, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $EventAccessType, + + [Parameter()] + [System.Boolean] + $AllowEventIntegrations, + + [Parameter()] + [System.String] + $AllowEmailEditing, + + [Parameter()] + [System.String] + $AllowWebinars, + + [Parameter()] + [System.Boolean] + $UseMicrosoftECDN, + + [Parameter()] + [System.String] + $AllowTownhalls, + + [Parameter()] + [System.String] + $TownhallChatExperience + ) +} +function Set-CsTeamsFeedbackPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowLogCollection, + + [Parameter()] + [System.Boolean] + $EnableFeatureSuggestions, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AllowEmailCollection, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $ReceiveSurveysMode, + + [Parameter()] + [System.String] + $UserInitiatedMode, + + [Parameter()] + [System.Boolean] + $AllowScreenshotCollection, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Set-CsTeamsFilesPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $DefaultFileUploadAppId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $NativeFileEntryPoints, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $SPChannelFilesTab + ) +} +function Set-CsTeamsMeetingConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Nullable`1[System.UInt32]] + $ClientVideoPortRange, + + [Parameter()] + [System.Boolean] + $DisableAnonymousJoin, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Boolean] + $EnableQoS, + + [Parameter()] + [System.Nullable`1[System.UInt32]] + $ClientAppSharingPortRange, + + [Parameter()] + [System.Boolean] + $LimitPresenterRolePermissions, + + [Parameter()] + [System.Boolean] + $DisableAppInteractionForAnonymousUsers, + + [Parameter()] + [System.String] + $LogoURL, + + [Parameter()] + [System.Nullable`1[System.UInt32]] + $ClientAppSharingPort, + + [Parameter()] + [System.String] + $CustomFooterText, + + [Parameter()] + [System.Nullable`1[System.UInt32]] + $ClientVideoPort, + + [Parameter()] + [System.String] + $FeedbackSurveyForAnonymousUsers, + + [Parameter()] + [System.Nullable`1[System.UInt32]] + $ClientAudioPortRange, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $ClientMediaPortRangeEnabled, + + [Parameter()] + [System.Nullable`1[System.UInt32]] + $ClientAudioPort, + + [Parameter()] + [System.String] + $HelpURL, + + [Parameter()] + [System.String] + $LegalURL + ) +} +function Set-CsTeamsMeetingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $VoiceIsolation, + + [Parameter()] + [System.String] + $Copilot, + + [Parameter()] + [System.String] + $AllowTrackingInReport, + + [Parameter()] + [System.Boolean] + $AllowMeetingCoach, + + [Parameter()] + [System.String] + $AttendeeIdentityMasking, + + [Parameter()] + [System.Boolean] + $AllowAnnotations, + + [Parameter()] + [System.String] + $AudibleRecordingNotification, + + [Parameter()] + [System.Boolean] + $AllowIPAudio, + + [Parameter()] + [System.Boolean] + $AllowWhiteboard, + + [Parameter()] + [System.Boolean] + $AllowAnonymousUsersToDialOut, + + [Parameter()] + [System.String] + $StreamingAttendeeMode, + + [Parameter()] + [System.String] + $ExplicitRecordingConsent, + + [Parameter()] + [System.String] + $ContentSharingInExternalMeetings, + + [Parameter()] + [System.Nullable`1[System.Int64]] + $WatermarkForCameraVideoOpacity, + + [Parameter()] + [System.Boolean] + $AllowTranscription, + + [Parameter()] + [System.Boolean] + $AllowMeetNow, + + [Parameter()] + [System.Boolean] + $AllowWatermarkCustomizationForCameraVideo, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $WatermarkForScreenSharingPattern, + + [Parameter()] + [System.String] + $RoomAttributeUserOverride, + + [Parameter()] + [System.String] + $RoomPeopleNameUserOverride, + + [Parameter()] + [System.Boolean] + $AllowNetworkConfigurationSettingsLookup, + + [Parameter()] + [System.String] + $SmsNotifications, + + [Parameter()] + [System.Boolean] + $AllowExternalParticipantGiveRequestControl, + + [Parameter()] + [System.Boolean] + $AllowAnonymousUsersToStartMeeting, + + [Parameter()] + [System.String] + $AutoAdmittedUsers, + + [Parameter()] + [System.String] + $AllowTasksFromTranscript, + + [Parameter()] + [System.Boolean] + $AllowMeetingRegistration, + + [Parameter()] + [System.String] + $ChannelRecordingDownload, + + [Parameter()] + [System.String] + $RecordingStorageMode, + + [Parameter()] + [System.String] + $ParticipantNameChange, + + [Parameter()] + [System.String] + $ScreenSharingMode, + + [Parameter()] + [System.Boolean] + $AllowPrivateMeetNow, + + [Parameter()] + [System.Boolean] + $AllowExternalNonTrustedMeetingChat, + + [Parameter()] + [System.String] + $AllowEngagementReport, + + [Parameter()] + [System.Boolean] + $CopyRestriction, + + [Parameter()] + [System.String] + $ConnectToMeetingControls, + + [Parameter()] + [System.Boolean] + $AllowWatermarkForCameraVideo, + + [Parameter()] + [System.Nullable`1[System.Int64]] + $WatermarkForScreenSharingOpacity, + + [Parameter()] + [System.Boolean] + $AllowWatermarkForScreenSharing, + + [Parameter()] + [System.String] + $PreferredMeetingProviderForIslandsMode, + + [Parameter()] + [System.Boolean] + $AllowOrganizersToOverrideLobbySettings, + + [Parameter()] + [System.Boolean] + $AllowWatermarkCustomizationForScreenSharing, + + [Parameter()] + [System.Nullable`1[System.Int64]] + $NewMeetingRecordingExpirationDays, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Boolean] + $DetectSensitiveContentDuringScreenSharing, + + [Parameter()] + [System.Boolean] + $AllowNDIStreaming, + + [Parameter()] + [System.String] + $IPAudioMode, + + [Parameter()] + [System.String] + $AllowScreenContentDigitization, + + [Parameter()] + [System.String] + $BlockedAnonymousJoinClientTypes, + + [Parameter()] + [System.String] + $LiveInterpretationEnabledType, + + [Parameter()] + [System.Boolean] + $AllowImmersiveView, + + [Parameter()] + [System.String] + $AutomaticallyStartCopilot, + + [Parameter()] + [System.Boolean] + $AllowAnonymousUsersToJoinMeeting, + + [Parameter()] + [System.String] + $MeetingInviteLanguages, + + [Parameter()] + [System.String] + $WhoCanRegister, + + [Parameter()] + [System.Boolean] + $AllowAvatarsInGallery, + + [Parameter()] + [System.Boolean] + $AllowCloudRecording, + + [Parameter()] + [System.String] + $AllowedStreamingMediaInput, + + [Parameter()] + [System.Boolean] + $AllowIPVideo, + + [Parameter()] + [System.String] + $SpeakerAttributionMode, + + [Parameter()] + [System.String] + $WatermarkForAnonymousUsers, + + [Parameter()] + [System.String] + $AllowedUsersForMeetingContext, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $AllowCartCaptionsScheduling, + + [Parameter()] + [System.Boolean] + $AllowOutlookAddIn, + + [Parameter()] + [System.String] + $CaptchaVerificationForAnonymousUsers, + + [Parameter()] + [System.String] + $DesignatedPresenterRoleMode, + + [Parameter()] + [System.String] + $LiveCaptionsEnabledType, + + [Parameter()] + [System.String] + $QnAEngagementMode, + + [Parameter()] + [System.Boolean] + $AllowSharedNotes, + + [Parameter()] + [System.Boolean] + $AllowParticipantGiveRequestControl, + + [Parameter()] + [System.Nullable`1[System.UInt32]] + $MediaBitRateKb, + + [Parameter()] + [System.String] + $TeamsCameraFarEndPTZMode, + + [Parameter()] + [System.String] + $EnrollUserOverride, + + [Parameter()] + [System.Boolean] + $AllowPowerPointSharing, + + [Parameter()] + [System.Boolean] + $AllowPrivateMeetingScheduling, + + [Parameter()] + [System.Boolean] + $AllowChannelMeetingScheduling, + + [Parameter()] + [System.String] + $ExternalMeetingJoin, + + [Parameter()] + [System.Boolean] + $AllowMeetingReactions, + + [Parameter()] + [System.String] + $VideoFiltersMode, + + [Parameter()] + [System.String] + $InfoShownInReportMode, + + [Parameter()] + [System.String] + $LiveStreamingMode, + + [Parameter()] + [System.Boolean] + $AllowBreakoutRooms, + + [Parameter()] + [System.String] + $AllowDocumentCollaboration, + + [Parameter()] + [System.Boolean] + $AllowRecordingStorageOutsideRegion, + + [Parameter()] + [System.Boolean] + $AllowPSTNUsersToBypassLobby, + + [Parameter()] + [System.String] + $WatermarkForCameraVideoPattern, + + [Parameter()] + [System.Boolean] + $AllowCarbonSummary, + + [Parameter()] + [System.Boolean] + $AllowLocalRecording, + + [Parameter()] + [System.String] + $MeetingChatEnabledType, + + [Parameter()] + [System.String] + $IPVideoMode, + + [Parameter()] + [System.String] + $AutoRecording + ) +} +function Set-CsTeamsMessagingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowOwnerDeleteMessage, + + [Parameter()] + [System.Boolean] + $AllowSmartReply, + + [Parameter()] + [System.Boolean] + $AllowUserChat, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $AllowGiphy, + + [Parameter()] + [System.Boolean] + $DeleteCustomEmojis, + + [Parameter()] + [System.Boolean] + $AllowUserDeleteMessage, + + [Parameter()] + [System.String] + $ChannelsInChatListEnabledType, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Boolean] + $AllowStickers, + + [Parameter()] + [System.Boolean] + $CreateCustomEmojis, + + [Parameter()] + [System.Boolean] + $AllowSmartCompose, + + [Parameter()] + [System.Boolean] + $AllowFullChatPermissionUserToDeleteAnyMessage, + + [Parameter()] + [System.Boolean] + $AllowUrlPreviews, + + [Parameter()] + [System.Boolean] + $AllowGiphyDisplay, + + [Parameter()] + [System.String] + $DesignerForBackgroundsAndImages, + + [Parameter()] + [System.Boolean] + $AllowChatWithGroup, + + [Parameter()] + [System.Boolean] + $AllowCommunicationComplianceEndUserReporting, + + [Parameter()] + [System.Boolean] + $AllowImmersiveReader, + + [Parameter()] + [System.Boolean] + $AllowCustomGroupChatAvatars, + + [Parameter()] + [System.Boolean] + $AllowUserTranslation, + + [Parameter()] + [System.Boolean] + $AllowUserEditMessage, + + [Parameter()] + [System.String] + $AudioMessageEnabledType, + + [Parameter()] + [System.Boolean] + $AllowRemoveUser, + + [Parameter()] + [System.Boolean] + $AllowPasteInternetImage, + + [Parameter()] + [System.String] + $ReadReceiptsEnabledType, + + [Parameter()] + [System.String] + $ChatPermissionRole, + + [Parameter()] + [System.Boolean] + $AllowMemes, + + [Parameter()] + [System.Boolean] + $AllowFluidCollaborate, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AllowGroupChatJoinLinks, + + [Parameter()] + [System.Boolean] + $AllowSecurityEndUserReporting, + + [Parameter()] + [System.Boolean] + $AllowPriorityMessages, + + [Parameter()] + [System.Boolean] + $AllowVideoMessages, + + [Parameter()] + [System.String] + $GiphyRatingType, + + [Parameter()] + [System.String] + $InOrganizationChatControl, + + [Parameter()] + [System.Boolean] + $AllowUserDeleteChat + ) +} +function Set-CsTeamsShiftsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $ShiftNoticeMessageType, + + [Parameter()] + [System.String] + $ShiftNoticeFrequency, + + [Parameter()] + [System.Boolean] + $EnableScheduleOwnerPermissions, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $ShiftNoticeMessageCustom, + + [Parameter()] + [System.String] + $AccessType, + + [Parameter()] + [System.Nullable`1[System.Int64]] + $AccessGracePeriodMinutes + ) +} +function Set-CsTeamsTemplatePermissionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [PSObject] + $HiddenTemplates, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Set-CsTeamsUpdateManagementPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Nullable`1[System.Int64]] + $UpdateDayOfWeek, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $UpdateTime, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Nullable`1[System.DateTime]] + $UpdateTimeOfDay, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AllowManagedUpdates, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $AllowPreview, + + [Parameter()] + [System.Boolean] + $BlockLegacyAuthorization, + + [Parameter()] + [System.String] + $AllowPublicPreview, + + [Parameter()] + [System.Management.Automation.PSListModifier`1[System.String]] + $DisabledInProductMessages, + + [Parameter()] + [System.String] + $UseNewTeamsClient + ) +} +function Set-CsTeamsUpgradeConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $SfBMeetingJoinUx, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $DownloadTeams, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $BlockLegacyAuthorization + ) +} +function Set-CsTeamsVdiPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $VDI2Optimization, + + [Parameter()] + [System.Boolean] + $DisableCallsAndMeetings, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $DisableAudioVideoInCallsAndMeetings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Set-Team +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowGuestDeleteChannels, + + [Parameter()] + [System.Boolean] + $AllowUserDeleteMessages, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $MailNickName, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Boolean] + $AllowCreateUpdateChannels, + + [Parameter()] + [System.Boolean] + $AllowDeleteChannels, + + [Parameter()] + [System.String] + $Classification, + + [Parameter()] + [System.Boolean] + $AllowCreateUpdateRemoveConnectors, + + [Parameter()] + [System.Boolean] + $AllowUserEditMessages, + + [Parameter()] + [System.Boolean] + $AllowAddRemoveApps, + + [Parameter()] + [System.Boolean] + $AllowOwnerDeleteMessages, + + [Parameter()] + [System.Boolean] + $AllowTeamMentions, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Boolean] + $AllowCreatePrivateChannels, + + [Parameter()] + [System.Boolean] + $AllowGuestCreateUpdateChannels, + + [Parameter()] + [System.String] + $GiphyContentRating, + + [Parameter()] + [System.Boolean] + $AllowStickersAndMemes, + + [Parameter()] + [System.Boolean] + $ShowInTeamsSearchAndSuggestions, + + [Parameter()] + [System.String] + $Visibility, + + [Parameter()] + [System.Boolean] + $AllowCreateUpdateRemoveTabs, + + [Parameter()] + [System.Boolean] + $AllowGiphy, + + [Parameter()] + [System.Boolean] + $AllowChannelMentions, + + [Parameter()] + [System.Boolean] + $AllowCustomMemes + ) +} +function Set-TeamChannel +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.String] + $CurrentDisplayName, + + [Parameter()] + [System.String] + $NewDisplayName + ) +} +function Update-M365TeamsApp +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $OperationType, + + [Parameter()] + [System.String[]] + $Groups, + + [Parameter()] + [System.String] + $AppAssignmentType, + + [Parameter()] + [System.String[]] + $Users, + + [Parameter()] + [System.String] + $IsBlocked + ) +} +function Find-CsGroup +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Nullable`1[System.UInt32]] + $MaxResults, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $SearchQuery, + + [Parameter()] + [System.Boolean] + $MailEnabledOnly, + + [Parameter()] + [System.Boolean] + $ExactMatchOnly, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Get-CsAutoAttendant +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $NameFilter, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $First, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ExcludeContent, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Descending, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeStatus, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $SortBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Get-CsAutoAttendantSupportedLanguage +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Get-CsCallQueue +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $NameFilter, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $First, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ExcludeContent, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Descending, + + [Parameter()] + [System.String] + $Sort, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Get-CsGroupPolicyAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.String] + $PolicyType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-CsOnlineApplicationInstance +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Int32] + $ResultSize, + + [Parameter()] + [System.String[]] + $Identities + ) +} +function Get-CsOnlineDialInConferencingTenantSettings +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsOnlineLisLocation +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $CountryOrRegion, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $AssignmentStatus, + + [Parameter()] + [System.Int32] + $NumberOfResultsToSkip, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PopulateNumberOfVoiceUsers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PopulateNumberOfTelephoneNumbers, + + [Parameter()] + [System.Nullable`1[System.Guid]] + $CivicAddressId, + + [Parameter()] + [System.String] + $Location, + + [Parameter()] + [System.Int64] + $ResultSize, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Guid]] + $LocationId, + + [Parameter()] + [System.String] + $City, + + [Parameter()] + [System.String] + $ValidationStatus, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Get-CsOnlinePSTNGateway +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsOnlinePstnUsage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsOnlineUser +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $OrderBy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SkipUserPolicies, + + [Parameter()] + [PSObject] + $AccountType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OnModernServer, + + [Parameter()] + [System.String] + $LdapFilter, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $OnOfficeCommunicationServer, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $SoftDeletedUsers, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Object] + $OU, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UnassignedUser, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.UInt32] + $ResultSize, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UsePreferredDC + ) +} +function Get-CsOnlineVoicemailUserSettings +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Get-CsOnlineVoiceRoute +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsOnlineVoiceRoutingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsPhoneNumberAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $NumberType, + + [Parameter()] + [System.String] + $IsoCountryCode, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $TelephoneNumberLessThan, + + [Parameter()] + [System.String] + $NetworkSiteId, + + [Parameter()] + [System.String] + $CapabilitiesContain, + + [Parameter()] + [System.String] + $ActivationState, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $TelephoneNumber, + + [Parameter()] + [System.String] + $TelephoneNumberStartsWith, + + [Parameter()] + [System.String] + $TelephoneNumberContain, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String] + $CivicAddressId, + + [Parameter()] + [System.String] + $LocationId, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $AssignedPstnTargetId, + + [Parameter()] + [System.String] + $TelephoneNumberGreaterThan, + + [Parameter()] + [System.String] + $AssignmentCategory, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String] + $PstnAssignmentStatus, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-CsTeamsAudioConferencingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsCallParkPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsClientConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsCortanaPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsEmergencyCallRoutingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsEnhancedEncryptionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsGuestCallingConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsGuestMeetingConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsGuestMessagingConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsIPPhonePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsMeetingBroadcastConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ExposeSDNConfigurationJsonBlob, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsMeetingBroadcastPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsMobilityPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsNetworkRoamingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsSettingsCustomApp +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Get-CsTeamsTranslationRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsUnassignedNumberTreatment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsUpgradePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamsWorkLoadPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTeamTemplate +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $OdataId, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-CsTeamTemplateList +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $PublicTemplateLocale + ) +} +function Get-CsTenant +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.UInt32] + $ResultSize, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Object] + $Identity + ) +} +function Get-CsTenantDialPlan +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTenantFederationConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTenantNetworkRegion +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTenantNetworkSubnet +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsTenantTrustedIPAddress +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Get-CsUserCallingSettings +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-CsUserPolicyAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.String] + $PolicyType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Grant-CsCallingLineIdentity +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsOnlineVoicemailPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsOnlineVoiceRoutingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsTeamsAudioConferencingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsTeamsCallHoldPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsTeamsCallParkPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsTeamsChannelsPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsTeamsEmergencyCallingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsTeamsEmergencyCallRoutingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsTeamsEnhancedEncryptionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsTeamsMeetingBroadcastPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsTeamsMeetingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsTeamsMessagingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsTeamsMobilityPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsTeamsUpdateManagementPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Grant-CsTeamsUpgradePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.Boolean] + $MigrateMeetingsToTeams, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function Grant-CsTenantDialPlan +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Global, + + [Parameter()] + [System.String] + $Group, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $Rank + ) +} +function Import-CsOnlineAudioFile +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $ApplicationId, + + [Parameter()] + [System.Byte[]] + $Content, + + [Parameter()] + [System.String] + $FileName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force + ) +} +function New-CsCallQueue +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $OverflowRedirectVoicemailAudioFilePrompt, + + [Parameter()] + [System.Guid[]] + $Users, + + [Parameter()] + [System.String] + $CallbackOfferTextToSpeechPrompt, + + [Parameter()] + [System.Int16] + $TimeoutActionCallPriority, + + [Parameter()] + [System.String] + $TimeoutRedirectVoiceAppAudioFilePrompt, + + [Parameter()] + [System.Int16] + $TimeoutThreshold, + + [Parameter()] + [System.String] + $TimeoutRedirectPersonTextToSpeechPrompt, + + [Parameter()] + [System.Boolean] + $EnableOverflowSharedVoicemailTranscription, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $WaitTimeBeforeOfferingCallbackInSecond, + + [Parameter()] + [System.String] + $NoAgentRedirectVoicemailTextToSpeechPrompt, + + [Parameter()] + [System.String] + $MusicOnHoldAudioFileId, + + [Parameter()] + [System.String] + $WelcomeMusicAudioFileId, + + [Parameter()] + [System.Boolean] + $ConferenceMode, + + [Parameter()] + [System.String] + $OverflowSharedVoicemailAudioFilePrompt, + + [Parameter()] + [System.Boolean] + $IsCallbackEnabled, + + [Parameter()] + [System.Int16] + $AgentAlertTime, + + [Parameter()] + [System.String] + $TimeoutRedirectPersonAudioFilePrompt, + + [Parameter()] + [System.String] + $TimeoutSharedVoicemailTextToSpeechPrompt, + + [Parameter()] + [System.Boolean] + $EnableNoAgentSharedVoicemailSystemPromptSuppression, + + [Parameter()] + [System.String] + $CallbackRequestDtmf, + + [Parameter()] + [System.String] + $OverflowRedirectVoicemailTextToSpeechPrompt, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $ServiceLevelThresholdResponseTimeInSecond, + + [Parameter()] + [PSObject] + $TimeoutAction, + + [Parameter()] + [System.Guid[]] + $OboResourceAccountIds, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $NumberOfCallsInQueueBeforeOfferingCallback, + + [Parameter()] + [System.String] + $NoAgentSharedVoicemailTextToSpeechPrompt, + + [Parameter()] + [System.Boolean] + $EnableOverflowSharedVoicemailSystemPromptSuppression, + + [Parameter()] + [System.Guid[]] + $DistributionLists, + + [Parameter()] + [System.String] + $LineUri, + + [Parameter()] + [System.Boolean] + $UseDefaultMusicOnHold, + + [Parameter()] + [System.Int16] + $NoAgentActionCallPriority, + + [Parameter()] + [System.String] + $OverflowActionTarget, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [System.String] + $OverflowSharedVoicemailTextToSpeechPrompt, + + [Parameter()] + [System.Boolean] + $AllowOptOut, + + [Parameter()] + [System.String] + $TimeoutRedirectPhoneNumberAudioFilePrompt, + + [Parameter()] + [System.String] + $OverflowRedirectPhoneNumberTextToSpeechPrompt, + + [Parameter()] + [System.String] + $OverflowRedirectVoiceAppTextToSpeechPrompt, + + [Parameter()] + [System.Boolean] + $PresenceBasedRouting, + + [Parameter()] + [System.Boolean] + $EnableNoAgentSharedVoicemailTranscription, + + [Parameter()] + [System.Boolean] + $EnableTimeoutSharedVoicemailTranscription, + + [Parameter()] + [System.Boolean] + $ShouldOverwriteCallableChannelProperty, + + [Parameter()] + [System.String] + $CallbackEmailNotificationTarget, + + [Parameter()] + [System.String] + $NoAgentRedirectVoiceAppTextToSpeechPrompt, + + [Parameter()] + [System.String] + $TimeoutSharedVoicemailAudioFilePrompt, + + [Parameter()] + [System.String] + $NoAgentRedirectPersonTextToSpeechPrompt, + + [Parameter()] + [System.String] + $TimeoutRedirectVoiceAppTextToSpeechPrompt, + + [Parameter()] + [System.String] + $OverflowRedirectPhoneNumberAudioFilePrompt, + + [Parameter()] + [System.String] + $TimeoutDisconnectAudioFilePrompt, + + [Parameter()] + [System.String] + $NoAgentRedirectPersonAudioFilePrompt, + + [Parameter()] + [System.String] + $OverflowRedirectVoiceAppAudioFilePrompt, + + [Parameter()] + [System.String] + $NoAgentRedirectVoicemailAudioFilePrompt, + + [Parameter()] + [System.String] + $OverflowDisconnectTextToSpeechPrompt, + + [Parameter()] + [System.String] + $TimeoutRedirectPhoneNumberTextToSpeechPrompt, + + [Parameter()] + [System.Guid[]] + $HideAuthorizedUsers, + + [Parameter()] + [System.String] + $TimeoutRedirectVoicemailTextToSpeechPrompt, + + [Parameter()] + [System.String] + $NoAgentRedirectPhoneNumberAudioFilePrompt, + + [Parameter()] + [System.String] + $OverflowDisconnectAudioFilePrompt, + + [Parameter()] + [System.String] + $NoAgentActionTarget, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $CallToAgentRatioThresholdBeforeOfferingCallback, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $LanguageId, + + [Parameter()] + [System.String] + $OverflowRedirectPersonAudioFilePrompt, + + [Parameter()] + [System.String] + $TimeoutDisconnectTextToSpeechPrompt, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $TimeoutActionTarget, + + [Parameter()] + [System.String] + $TimeoutRedirectVoicemailAudioFilePrompt, + + [Parameter()] + [System.String] + $CallbackOfferAudioFilePromptResourceId, + + [Parameter()] + [System.String] + $NoAgentDisconnectTextToSpeechPrompt, + + [Parameter()] + [PSObject] + $NoAgentAction, + + [Parameter()] + [System.String] + $NoAgentDisconnectAudioFilePrompt, + + [Parameter()] + [System.Guid[]] + $AuthorizedUsers, + + [Parameter()] + [PSObject] + $RoutingMethod, + + [Parameter()] + [System.Guid] + $ChannelUserObjectId, + + [Parameter()] + [System.Boolean] + $EnableTimeoutSharedVoicemailSystemPromptSuppression, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Int16] + $OverflowThreshold, + + [Parameter()] + [PSObject] + $OverflowAction, + + [Parameter()] + [System.String] + $WelcomeTextToSpeechPrompt, + + [Parameter()] + [System.String] + $NoAgentSharedVoicemailAudioFilePrompt, + + [Parameter()] + [System.String] + $NoAgentRedirectPhoneNumberTextToSpeechPrompt, + + [Parameter()] + [System.Int16] + $OverflowActionCallPriority, + + [Parameter()] + [PSObject] + $NoAgentApplyTo, + + [Parameter()] + [System.String] + $NoAgentRedirectVoiceAppAudioFilePrompt, + + [Parameter()] + [System.String] + $OverflowRedirectPersonTextToSpeechPrompt + ) +} +function New-CsEdgeAllowAllKnownDomains +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsGroupPolicyAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $PolicyName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.Int32] + $Rank, + + [Parameter()] + [System.String] + $PolicyType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function New-CsOnlinePSTNGateway +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Object] + $OutboundTeamsNumberTranslationRules, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.String] + $GatewaySiteId, + + [Parameter()] + [System.String] + $Fqdn, + + [Parameter()] + [System.Boolean] + $PidfLoSupported, + + [Parameter()] + [System.String] + $BypassMode, + + [Parameter()] + [System.String] + $FailoverResponseCodes, + + [Parameter()] + [System.Boolean] + $SendSipOptions, + + [Parameter()] + [System.String] + $ProxySbc, + + [Parameter()] + [System.Boolean] + $GatewayLbrEnabledUserOverride, + + [Parameter()] + [System.Int32] + $FailoverTimeSeconds, + + [Parameter()] + [System.Object] + $InboundPstnNumberTranslationRules, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Int32] + $SipSignalingPort, + + [Parameter()] + [System.String] + $MediaRelayRoutingLocationOverride, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Object] + $OutboundPstnNumberTranslationRules, + + [Parameter()] + [System.Boolean] + $MediaBypass, + + [Parameter()] + [System.Boolean] + $GatewaySiteLbrEnabled, + + [Parameter()] + [System.Boolean] + $ForwardCallHistory, + + [Parameter()] + [System.Boolean] + $ForwardPai, + + [Parameter()] + [System.Object] + $InboundTeamsNumberTranslationRules, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $MaxConcurrentSessions + ) +} +function New-CsOnlineVoiceRoute +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $BridgeSourcePhoneNumber, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Object] + $OnlinePstnGatewayList, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $NumberPattern, + + [Parameter()] + [System.Object] + $OnlinePstnUsages, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsOnlineVoiceRoutingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $RouteType, + + [Parameter()] + [System.Object] + $OnlinePstnUsages, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsTeamsAudioConferencingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $MeetingInvitePhoneNumbers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $AllowTollFreeDialin, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsTeamsCallParkPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Int64] + $ParkTimeoutSeconds, + + [Parameter()] + [System.Boolean] + $AllowCallPark, + + [Parameter()] + [System.Int64] + $PickupRangeEnd, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Int64] + $PickupRangeStart + ) +} +function New-CsTeamsCortanaPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Boolean] + $AllowCortanaInContextSuggestions, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $CortanaVoiceInvocationMode, + + [Parameter()] + [System.Boolean] + $AllowCortanaVoiceInvocation, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Boolean] + $AllowCortanaAmbientListening + ) +} +function New-CsTeamsEmergencyCallRoutingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $EmergencyNumbers, + + [Parameter()] + [System.Boolean] + $AllowEnhancedEmergencyServices, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsTeamsEmergencyNumber +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $EmergencyDialString, + + [Parameter()] + [System.String] + $OnlinePSTNUsage, + + [Parameter()] + [System.String] + $EmergencyDialMask, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsTeamsEnhancedEncryptionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $CallingEndtoEndEncryptionEnabledType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $MeetingEndToEndEncryption, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsTeamsIPPhonePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AllowHotDesking, + + [Parameter()] + [System.String] + $SearchOnCommonAreaPhoneMode, + + [Parameter()] + [System.Int64] + $HotDeskingIdleTimeoutInMinutes, + + [Parameter()] + [System.String] + $SignInMode, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.String] + $AllowBetterTogether, + + [Parameter()] + [System.String] + $AllowHomeScreen, + + [Parameter()] + [System.String] + $Identity + ) +} +function New-CsTeamsMeetingBroadcastPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $BroadcastAttendeeVisibilityMode, + + [Parameter()] + [System.Boolean] + $AllowBroadcastTranscription, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $BroadcastRecordingMode, + + [Parameter()] + [System.Boolean] + $AllowBroadcastScheduling, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function New-CsTeamsMobilityPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $IPVideoMobileMode, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $IPAudioMobileMode, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.String] + $MobileDialerPreference + ) +} +function New-CsTeamsNetworkRoamingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Int64] + $MediaBitRateKb, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Boolean] + $AllowIPVideo + ) +} +function New-CsTeamsTranslationRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $Pattern, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $Translation, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsTeamsUnassignedNumberTreatment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $TreatmentPriority, + + [Parameter()] + [System.String] + $TreatmentId, + + [Parameter()] + [System.String] + $Pattern, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $TargetType, + + [Parameter()] + [System.String] + $Target, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsTeamsWorkLoadPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Boolean] + $AllowMeetingPinned, + + [Parameter()] + [System.Boolean] + $AllowCalling, + + [Parameter()] + [System.Boolean] + $AllowCallingPinned, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Boolean] + $AllowMeeting, + + [Parameter()] + [System.Boolean] + $AllowMessagingPinned, + + [Parameter()] + [System.Boolean] + $AllowMessaging + ) +} +function New-CsTenantDialPlan +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $NormalizationRules, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $SimpleName, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsTenantNetworkRegion +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $BypassID, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $CentralSite, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $NetworkRegionID, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsTenantNetworkSite +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $EmergencyCallRoutingPolicy, + + [Parameter()] + [System.String] + $LocationPolicy, + + [Parameter()] + [System.Boolean] + $EnableLocationBasedRouting, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $NetworkRegionID, + + [Parameter()] + [System.String] + $SiteAddress, + + [Parameter()] + [System.String] + $NetworkRoamingPolicy, + + [Parameter()] + [System.String] + $EmergencyCallingPolicy, + + [Parameter()] + [System.String] + $NetworkSiteID, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsTenantNetworkSubnet +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $SubnetID, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $NetworkSiteID, + + [Parameter()] + [System.Int32] + $MaskBits, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsTenantTrustedIPAddress +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $IPAddress, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $MaskBits, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function New-CsVoiceNormalizationRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.String] + $Pattern, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Parent, + + [Parameter()] + [System.String] + $Translation, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $InMemory, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Boolean] + $IsInternalExtension + ) +} +function Remove-CsCallQueue +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity + ) +} +function Remove-CsGroupPolicyAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $GroupId, + + [Parameter()] + [System.String] + $PolicyType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Remove-CsOnlineVoiceRoute +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsOnlineVoiceRoutingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsPhoneNumberAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RemoveAll, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $PhoneNumberType, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $PhoneNumber + ) +} +function Remove-CsTeamsAudioConferencingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTeamsCallParkPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTeamsCortanaPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTeamsEmergencyCallRoutingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTeamsEnhancedEncryptionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTeamsIPPhonePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTeamsMeetingBroadcastPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTeamsMobilityPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTeamsNetworkRoamingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTeamsTranslationRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTeamsUnassignedNumberTreatment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTeamsWorkLoadPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTenantDialPlan +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTenantNetworkRegion +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTenantNetworkSite +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTenantNetworkSubnet +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Remove-CsTenantTrustedIPAddress +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsCallQueue +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $OverflowRedirectVoicemailAudioFilePrompt, + + [Parameter()] + [System.Guid[]] + $Users, + + [Parameter()] + [System.String] + $CallbackOfferTextToSpeechPrompt, + + [Parameter()] + [System.Int16] + $TimeoutActionCallPriority, + + [Parameter()] + [System.String] + $TimeoutRedirectVoiceAppAudioFilePrompt, + + [Parameter()] + [System.Int16] + $TimeoutThreshold, + + [Parameter()] + [System.String] + $TimeoutRedirectPersonTextToSpeechPrompt, + + [Parameter()] + [System.Boolean] + $EnableOverflowSharedVoicemailTranscription, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $WaitTimeBeforeOfferingCallbackInSecond, + + [Parameter()] + [System.String] + $NoAgentRedirectVoicemailTextToSpeechPrompt, + + [Parameter()] + [System.String] + $MusicOnHoldAudioFileId, + + [Parameter()] + [System.String] + $WelcomeMusicAudioFileId, + + [Parameter()] + [System.Boolean] + $ConferenceMode, + + [Parameter()] + [System.String] + $OverflowSharedVoicemailAudioFilePrompt, + + [Parameter()] + [System.Boolean] + $IsCallbackEnabled, + + [Parameter()] + [System.Int16] + $AgentAlertTime, + + [Parameter()] + [System.String] + $TimeoutSharedVoicemailTextToSpeechPrompt, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $CallToAgentRatioThresholdBeforeOfferingCallback, + + [Parameter()] + [System.Boolean] + $EnableNoAgentSharedVoicemailSystemPromptSuppression, + + [Parameter()] + [System.String] + $CallbackRequestDtmf, + + [Parameter()] + [System.String] + $OverflowRedirectVoicemailTextToSpeechPrompt, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $ServiceLevelThresholdResponseTimeInSecond, + + [Parameter()] + [PSObject] + $TimeoutAction, + + [Parameter()] + [System.Boolean] + $EnableNoAgentSharedVoicemailTranscription, + + [Parameter()] + [System.Guid[]] + $OboResourceAccountIds, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $NumberOfCallsInQueueBeforeOfferingCallback, + + [Parameter()] + [System.String] + $NoAgentSharedVoicemailTextToSpeechPrompt, + + [Parameter()] + [System.Boolean] + $EnableOverflowSharedVoicemailSystemPromptSuppression, + + [Parameter()] + [System.String] + $LineUri, + + [Parameter()] + [System.Boolean] + $UseDefaultMusicOnHold, + + [Parameter()] + [System.Int16] + $NoAgentActionCallPriority, + + [Parameter()] + [System.String] + $OverflowActionTarget, + + [Parameter()] + [System.String] + $ChannelId, + + [Parameter()] + [System.String] + $OverflowSharedVoicemailTextToSpeechPrompt, + + [Parameter()] + [System.Boolean] + $AllowOptOut, + + [Parameter()] + [System.String] + $TimeoutRedirectPhoneNumberAudioFilePrompt, + + [Parameter()] + [System.String] + $OverflowRedirectPhoneNumberTextToSpeechPrompt, + + [Parameter()] + [System.String] + $OverflowRedirectVoiceAppTextToSpeechPrompt, + + [Parameter()] + [System.Boolean] + $PresenceBasedRouting, + + [Parameter()] + [System.Boolean] + $EnableTimeoutSharedVoicemailTranscription, + + [Parameter()] + [System.Boolean] + $ShouldOverwriteCallableChannelProperty, + + [Parameter()] + [System.String] + $CallbackEmailNotificationTarget, + + [Parameter()] + [System.String] + $NoAgentRedirectVoiceAppTextToSpeechPrompt, + + [Parameter()] + [System.String] + $TimeoutSharedVoicemailAudioFilePrompt, + + [Parameter()] + [System.String] + $NoAgentRedirectPersonTextToSpeechPrompt, + + [Parameter()] + [System.String] + $TimeoutRedirectVoiceAppTextToSpeechPrompt, + + [Parameter()] + [System.String] + $OverflowRedirectPhoneNumberAudioFilePrompt, + + [Parameter()] + [System.String] + $TimeoutDisconnectAudioFilePrompt, + + [Parameter()] + [System.String] + $NoAgentRedirectPersonAudioFilePrompt, + + [Parameter()] + [System.String] + $OverflowRedirectVoiceAppAudioFilePrompt, + + [Parameter()] + [System.String] + $NoAgentRedirectVoicemailAudioFilePrompt, + + [Parameter()] + [System.String] + $OverflowDisconnectTextToSpeechPrompt, + + [Parameter()] + [System.String] + $TimeoutRedirectPhoneNumberTextToSpeechPrompt, + + [Parameter()] + [System.Guid[]] + $HideAuthorizedUsers, + + [Parameter()] + [System.String] + $TimeoutRedirectVoicemailTextToSpeechPrompt, + + [Parameter()] + [System.String] + $NoAgentRedirectPhoneNumberAudioFilePrompt, + + [Parameter()] + [System.String] + $OverflowDisconnectAudioFilePrompt, + + [Parameter()] + [System.String] + $NoAgentActionTarget, + + [Parameter()] + [System.Guid[]] + $DistributionLists, + + [Parameter()] + [System.String] + $CallbackOfferAudioFilePromptResourceId, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $LanguageId, + + [Parameter()] + [System.String] + $WelcomeTextToSpeechPrompt, + + [Parameter()] + [PSObject] + $NoAgentAction, + + [Parameter()] + [System.String] + $TimeoutDisconnectTextToSpeechPrompt, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $TimeoutActionTarget, + + [Parameter()] + [System.String] + $TimeoutRedirectVoicemailAudioFilePrompt, + + [Parameter()] + [System.String] + $NoAgentRedirectPhoneNumberTextToSpeechPrompt, + + [Parameter()] + [System.String] + $NoAgentDisconnectTextToSpeechPrompt, + + [Parameter()] + [System.String] + $TimeoutRedirectPersonAudioFilePrompt, + + [Parameter()] + [System.String] + $NoAgentDisconnectAudioFilePrompt, + + [Parameter()] + [System.Guid[]] + $AuthorizedUsers, + + [Parameter()] + [PSObject] + $RoutingMethod, + + [Parameter()] + [System.String] + $OverflowRedirectPersonAudioFilePrompt, + + [Parameter()] + [System.Guid] + $ChannelUserObjectId, + + [Parameter()] + [System.Boolean] + $EnableTimeoutSharedVoicemailSystemPromptSuppression, + + [Parameter()] + [System.String] + $Name, + + [Parameter()] + [System.Int16] + $OverflowThreshold, + + [Parameter()] + [PSObject] + $OverflowAction, + + [Parameter()] + [System.String] + $NoAgentRedirectVoiceAppAudioFilePrompt, + + [Parameter()] + [System.String] + $NoAgentSharedVoicemailAudioFilePrompt, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Int16] + $OverflowActionCallPriority, + + [Parameter()] + [PSObject] + $NoAgentApplyTo, + + [Parameter()] + [System.String] + $OverflowRedirectPersonTextToSpeechPrompt + ) +} +function Set-CsOnlineDialInConferencingTenantSettings +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $IncludeTollFreeNumberInMeetingInvites, + + [Parameter()] + [System.String] + $EntryExitAnnouncementsType, + + [Parameter()] + [System.Boolean] + $MigrateServiceNumbersOnCrossForestMove, + + [Parameter()] + [System.Object] + $AllowedDialOutExternalDomains, + + [Parameter()] + [System.Boolean] + $AutomaticallyReplaceAcpProvider, + + [Parameter()] + [System.String] + $AllowFederatedUsersToDialOutToSelf, + + [Parameter()] + [System.String] + $SendEmailFromAddress, + + [Parameter()] + [System.Boolean] + $SendEmailFromOverride, + + [Parameter()] + [System.Boolean] + $EnableNameRecording, + + [Parameter()] + [System.Boolean] + $AutomaticallyMigrateUserMeetings, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.UInt32] + $PinLength, + + [Parameter()] + [System.Boolean] + $UseUniqueConferenceIds, + + [Parameter()] + [System.Boolean] + $AutomaticallySendEmailsToUsers, + + [Parameter()] + [System.Boolean] + $AllowPSTNOnlyMeetingsByDefault, + + [Parameter()] + [System.Boolean] + $EnableEntryExitNotifications, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Boolean] + $EnableDialOutJoinConfirmation, + + [Parameter()] + [System.String] + $AllowFederatedUsersToDialOutToThirdParty, + + [Parameter()] + [System.String] + $SendEmailFromDisplayName, + + [Parameter()] + [System.String] + $MaskPstnNumbersType + ) +} +function Set-CsOnlinePstnUsage +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $Usage, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsOnlineVoicemailUserSettings +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $DefaultGreetingPromptOverwrite, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Boolean] + $OofGreetingEnabled, + + [Parameter()] + [System.Boolean] + $OofGreetingFollowCalendarEnabled, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Force, + + [Parameter()] + [System.String] + $PromptLanguage, + + [Parameter()] + [System.Boolean] + $ShareData, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $DefaultOofGreetingPromptOverwrite, + + [Parameter()] + [System.String] + $TransferTarget, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $VoicemailEnabled, + + [Parameter()] + [System.Boolean] + $OofGreetingFollowAutomaticRepliesEnabled, + + [Parameter()] + [PSObject] + $CallAnswerRule + ) +} +function Set-CsOnlineVoiceRoute +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $BridgeSourcePhoneNumber, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Int32] + $Priority, + + [Parameter()] + [System.Object] + $OnlinePstnGatewayList, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $NumberPattern, + + [Parameter()] + [System.Object] + $OnlinePstnUsages, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsOnlineVoiceRoutingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $RouteType, + + [Parameter()] + [System.Object] + $OnlinePstnUsages, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsPhoneNumberAssignment +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Boolean] + $EnterpriseVoiceEnabled, + + [Parameter()] + [System.String] + $PhoneNumberType, + + [Parameter()] + [System.String] + $ReverseNumberLookup, + + [Parameter()] + [System.String] + $AssignmentCategory, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $NetworkSiteId, + + [Parameter()] + [System.String] + $LocationId, + + [Parameter()] + [System.String] + $PhoneNumber + ) +} +function Set-CsTeamsAudioConferencingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $MeetingInvitePhoneNumbers, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $AllowTollFreeDialin, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsTeamsCallParkPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Int64] + $ParkTimeoutSeconds, + + [Parameter()] + [System.Boolean] + $AllowCallPark, + + [Parameter()] + [System.Int64] + $PickupRangeEnd, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Int64] + $PickupRangeStart + ) +} +function Set-CsTeamsClientConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowEmailIntoChannel, + + [Parameter()] + [System.String] + $RestrictedSenderList, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AllowGoogleDrive, + + [Parameter()] + [System.Boolean] + $AllowSkypeBusinessInterop, + + [Parameter()] + [System.Boolean] + $AllowScopedPeopleSearchandAccess, + + [Parameter()] + [System.Boolean] + $AllowGuestUser, + + [Parameter()] + [System.Boolean] + $AllowShareFile, + + [Parameter()] + [System.Boolean] + $AllowDropBox, + + [Parameter()] + [System.Boolean] + $AllowOrganizationTab, + + [Parameter()] + [System.String] + $ResourceAccountContentAccess, + + [Parameter()] + [System.Boolean] + $AllowRoleBasedChatPermissions, + + [Parameter()] + [System.Boolean] + $AllowEgnyte, + + [Parameter()] + [System.Boolean] + $AllowBox, + + [Parameter()] + [System.Boolean] + $AllowResourceAccountSendMessage, + + [Parameter()] + [System.String] + $ContentPin, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsTeamsCortanaPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Boolean] + $AllowCortanaInContextSuggestions, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $CortanaVoiceInvocationMode, + + [Parameter()] + [System.Boolean] + $AllowCortanaVoiceInvocation, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Boolean] + $AllowCortanaAmbientListening + ) +} +function Set-CsTeamsEmergencyCallRoutingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $EmergencyNumbers, + + [Parameter()] + [System.Boolean] + $AllowEnhancedEmergencyServices, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsTeamsEnhancedEncryptionPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $CallingEndtoEndEncryptionEnabledType, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $MeetingEndToEndEncryption, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsTeamsGuestCallingConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $AllowPrivateCalling, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsTeamsGuestMeetingConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $ScreenSharingMode, + + [Parameter()] + [System.String] + $LiveCaptionsEnabledType, + + [Parameter()] + [System.Boolean] + $AllowMeetNow, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AllowTranscription, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Boolean] + $AllowIPVideo + ) +} +function Set-CsTeamsGuestMessagingConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $GiphyRatingType, + + [Parameter()] + [System.Boolean] + $AllowUserChat, + + [Parameter()] + [System.Boolean] + $AllowUserDeleteChat, + + [Parameter()] + [System.Boolean] + $AllowUserDeleteMessage, + + [Parameter()] + [System.Boolean] + $AllowGiphy, + + [Parameter()] + [System.Boolean] + $AllowStickers, + + [Parameter()] + [System.Boolean] + $AllowUserEditMessage, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Boolean] + $AllowImmersiveReader, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AllowMemes + ) +} +function Set-CsTeamsIPPhonePolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $AllowHotDesking, + + [Parameter()] + [System.String] + $SearchOnCommonAreaPhoneMode, + + [Parameter()] + [System.Int64] + $HotDeskingIdleTimeoutInMinutes, + + [Parameter()] + [System.String] + $SignInMode, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.String] + $AllowBetterTogether, + + [Parameter()] + [System.String] + $AllowHomeScreen, + + [Parameter()] + [System.String] + $Identity + ) +} +function Set-CsTeamsMeetingBroadcastConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $AllowSdnProviderForBroadcastMeeting, + + [Parameter()] + [System.String] + $SdnRuntimeConfiguration, + + [Parameter()] + [System.String] + $SdnProviderName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $SdnLicenseId, + + [Parameter()] + [System.String] + $SupportURL, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.String] + $SdnApiToken, + + [Parameter()] + [System.String] + $SdnApiTemplateUrl + ) +} +function Set-CsTeamsMeetingBroadcastPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $BroadcastAttendeeVisibilityMode, + + [Parameter()] + [System.Boolean] + $AllowBroadcastTranscription, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $BroadcastRecordingMode, + + [Parameter()] + [System.Boolean] + $AllowBroadcastScheduling, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Set-CsTeamsMobilityPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $IPVideoMobileMode, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $IPAudioMobileMode, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.String] + $MobileDialerPreference + ) +} +function Set-CsTeamsNetworkRoamingPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Int64] + $MediaBitRateKb, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Boolean] + $AllowIPVideo + ) +} +function Set-CsTeamsSettingsCustomApp +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $isSideloadedAppsInteractionEnabled + ) +} +function Set-CsTeamsTranslationRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Pattern, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $Translation, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsTeamsUnassignedNumberTreatment +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Int32] + $TreatmentPriority, + + [Parameter()] + [System.String] + $Pattern, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $TargetType, + + [Parameter()] + [System.String] + $Target, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsTeamsWorkLoadPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Boolean] + $AllowMeetingPinned, + + [Parameter()] + [System.Boolean] + $AllowCalling, + + [Parameter()] + [System.Boolean] + $AllowCallingPinned, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Boolean] + $AllowMeeting, + + [Parameter()] + [System.Boolean] + $AllowMessagingPinned, + + [Parameter()] + [System.Boolean] + $AllowMessaging + ) +} +function Set-CsTenantDialPlan +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Object] + $NormalizationRules, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $SimpleName, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsTenantFederationConfiguration +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $AllowedDomainsAsAList, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Boolean] + $BlockAllSubdomains, + + [Parameter()] + [System.Boolean] + $RestrictTeamsConsumerToExternalUserProfiles, + + [Parameter()] + [System.Boolean] + $AllowTeamsConsumerInbound, + + [Parameter()] + [System.Boolean] + $AllowTeamsConsumer, + + [Parameter()] + [System.Boolean] + $AllowFederatedUsers, + + [Parameter()] + [System.Object] + $BlockedDomains, + + [Parameter()] + [System.Boolean] + $SharedSipAddressSpace, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.String] + $ExternalAccessWithTrialTenants, + + [Parameter()] + [System.Object] + $AllowedDomains, + + [Parameter()] + [System.Boolean] + $TreatDiscoveredPartnersAsUnverified, + + [Parameter()] + [System.Boolean] + $AllowPublicUsers + ) +} +function Set-CsTenantNetworkRegion +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $CentralSite, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $NetworkRegionID, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsTenantNetworkSite +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $EmergencyCallRoutingPolicy, + + [Parameter()] + [System.Boolean] + $EnableLocationBasedRouting, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $NetworkRegionID, + + [Parameter()] + [System.String] + $NetworkRoamingPolicy, + + [Parameter()] + [System.String] + $EmergencyCallingPolicy, + + [Parameter()] + [System.String] + $LocationPolicy, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsTenantNetworkSubnet +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $NetworkSiteID, + + [Parameter()] + [System.Int32] + $MaskBits, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsTenantTrustedIPAddress +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.Nullable`1[System.Int32]] + $MaskBits, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode + ) +} +function Set-CsUser +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Boolean] + $RemoteCallControlTelephonyEnabled, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $ExchangeArchivingPolicy, + + [Parameter()] + [System.Boolean] + $Enabled, + + [Parameter()] + [System.String] + $LineServerURI, + + [Parameter()] + [System.String] + $OnPremLineURI, + + [Parameter()] + [System.Object] + $AcpInfo, + + [Parameter()] + [System.String] + $SipAddress, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $MsftInternalProcessingMode, + + [Parameter()] + [System.Boolean] + $AudioVideoDisabled, + + [Parameter()] + [System.String] + $PrivateLine, + + [Parameter()] + [System.Boolean] + $HostedVoiceMail, + + [Parameter()] + [System.Boolean] + $EnterpriseVoiceEnabled, + + [Parameter()] + [System.String] + $LineURI + ) +} +function Set-CsUserCallingSettings +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $UnansweredTarget, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Array] + $CallGroupTargets, + + [Parameter()] + [PSObject] + $GroupMembershipDetails, + + [Parameter()] + [System.String] + $ForwardingTarget, + + [Parameter()] + [System.String] + $ForwardingType, + + [Parameter()] + [System.String] + $UnansweredDelay, + + [Parameter()] + [System.String] + $UnansweredTargetType, + + [Parameter()] + [System.Boolean] + $IsForwardingEnabled, + + [Parameter()] + [System.Boolean] + $IsUnansweredEnabled, + + [Parameter()] + [System.String] + $ForwardingTargetType, + + [Parameter()] + [System.String] + $Identity, + + [Parameter()] + [System.String] + $CallGroupOrder, + + [Parameter()] + [System.String] + $GroupNotificationOverride + ) +} +#endregion +#region Microsoft.Graph.Beta.DeviceManagement.Administration +function Get-MgBetaDeviceManagementRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDeviceManagementRoleScopeTag +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.String] + $RoleScopeTagId, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Permissions, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $RoleAssignments, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltIn, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $RolePermissions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltInRoleDefinition, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.String] + $IfMatch, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaDeviceManagementRoleDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $Permissions, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $RoleAssignments, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltIn, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, + + [Parameter()] + [System.String] + $RoleDefinitionId, + + [Parameter()] + [PSObject] + $RolePermissions, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsBuiltInRoleDefinition, + + [Parameter()] + [PSObject] + $HttpPipelineAppend + ) +} +#endregion + +#region MgbetaDeviceAppManagementPolicySet +function Get-MgBetaDeviceAppManagementPolicySet +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $PolicySetId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String[]] + $PolicySetIds, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $CountVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +function New-MgBetaDeviceAppManagementPolicySet +{ + [CmdletBinding()] + param + ( + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject[]] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $ErrorCode, + + [Parameter()] + [System.String[]] + $GuidedDeploymentTags, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject[]] + $Items, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String[]] + $RoleScopeTags, + + [Parameter()] + [PSObject] + $Status, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +function Remove-MgBetaDeviceAppManagementPolicySet +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $PolicySetId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +function Update-MgBetaDeviceAppManagementPolicySet +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $PolicySetId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject[]] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [PSObject] + $ErrorCode, + + [Parameter()] + [System.String[]] + $GuidedDeploymentTags, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [PSObject[]] + $Items, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String[]] + $RoleScopeTags, + + [Parameter()] + [PSObject] + $Status, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +#endregion + +#region MgBetaDeviceAppManagementPolicySetAssignment +function Get-MgBetaDeviceAppManagementPolicySetAssignment +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $PolicySetAssignmentId, + + [Parameter()] + [System.String] + $PolicySetId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $CountVariable + ) +} + +function New-MgBetaDeviceAppManagementPolicySetAssignment +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $PolicySetId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Target, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +function Remove-MgBetaDeviceAppManagementPolicySetAssignment +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $PolicySetAssignmentId, + + [Parameter()] + [System.String] + $PolicySetId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +function Update-MgBetaDeviceAppManagementPolicySetAssignment +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $PolicySetAssignmentId, + + [Parameter()] + [System.String] + $PolicySetId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [PSObject] + $Target, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +#endregion + +#region MgBetaDeviceAppManagementMobileApp +function Get-MgBetaDeviceAppManagementMobileApp # TODOK +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $MobileAppId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $CountVariable + ) +} + +function New-MgBetaDeviceAppManagementMobileApp # TODOK +{ + [CmdletBinding()] + param + ( + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject[]] + $Assignments, + + [Parameter()] + [PSObject[]] + $Categories, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.Int32] + $DependentAppCount, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Developer, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $InformationUrl, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsFeatured, + + [Parameter()] + [PSObject] + $LargeIcon, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.String] + $PrivacyInformationUrl, + + [Parameter()] + [System.String] + $Publisher, + + [Parameter()] + [PSObject] + $PublishingState, + + [Parameter()] + [PSObject[]] + $Relationships, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Int32] + $SupersededAppCount, + + [Parameter()] + [System.Int32] + $SupersedingAppCount, + + [Parameter()] + [System.Int32] + $UploadState, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials + ) +} + +function Remove-MgBetaDeviceAppManagementMobileApp # TODOK +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $MobileAppId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Boolean] + $Confirm + ) +} + +function Update-MgBetaDeviceAppManagementMobileApp # TODOK +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $MobileAppId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject[]] + $Assignments, + + [Parameter()] + [PSObject[]] + $Categories, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.Int32] + $DependentAppCount, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Developer, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $InformationUrl, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsFeatured, + + [Parameter()] + [PSObject] + $LargeIcon, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.String] + $PrivacyInformationUrl, + + [Parameter()] + [System.String] + $Publisher, + + [Parameter()] + [PSObject] + $PublishingState, + + [Parameter()] + [PSObject[]] + $Relationships, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Int32] + $SupersededAppCount, + + [Parameter()] + [System.Int32] + $SupersedingAppCount, + + [Parameter()] + [System.Int32] + $UploadState, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials + ) +} + +#endregion +#region MgBetaPolicyActivityBasedTimeoutPolicy +function Get-MgBetaPolicyActivityBasedTimeoutPolicy +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $ActivityBasedTimeoutPolicyId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $CountVariable + ) +} + +function New-MgBetaPolicyActivityBasedTimeoutPolicy +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject[]] + $AppliesTo, + + [Parameter()] + [System.String[]] + $Definition, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Remove-HostedConnectionFilterPolicy + +function Remove-MgBetaPolicyActivityBasedTimeoutPolicy { [CmdletBinding()] - param( + param + ( + [Parameter()] + [System.String] + $ActivityBasedTimeoutPolicyId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Break, [Parameter()] - [System.Object] - $Identity + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Remove-HostedContentFilterPolicy + +function Update-MgBetaPolicyActivityBasedTimeoutPolicy { [CmdletBinding()] - param( + param + ( + [Parameter()] + [System.String] + $ActivityBasedTimeoutPolicyId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject[]] + $AppliesTo, + + [Parameter()] + [System.String[]] + $Definition, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +#endregion +#region MgBetaPolicyActivityBasedTimeoutPolicy +function Get-MgBetaPolicyActivityBasedTimeoutPolicy +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $ActivityBasedTimeoutPolicyId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $CountVariable + ) +} + +function New-MgBetaPolicyActivityBasedTimeoutPolicy +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject[]] + $AppliesTo, + + [Parameter()] + [System.String[]] + $Definition, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +function Remove-MgBetaPolicyActivityBasedTimeoutPolicy +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $ActivityBasedTimeoutPolicyId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +function Update-MgBetaPolicyActivityBasedTimeoutPolicy +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $ActivityBasedTimeoutPolicyId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject[]] + $AppliesTo, + + [Parameter()] + [System.String[]] + $Definition, + + [Parameter()] + [System.DateTime] + $DeletedDateTime, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +#endregion +function Remove-MgBetaDirectoryRoleMemberDirectoryObjectByRef +{ + [CmdletBinding()] + param + ( + [Parameter(Mandatory = $true)] + [string] + $DirectoryObjectId, + + [Parameter(Mandatory = $true)] + [string] + $DirectoryRoleId, + + [Parameter()] + [string] + $IfMatch, + + [Parameter()] + [string] + $ResponseHeadersVariable, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [switch] + $PassThru, + + [Parameter()] + [switch] + $WhatIf, + + [Parameter()] + [switch] + $Confirm + ) +} +#region MgBetaDeviceManagementScript +function Get-MgBetaDeviceManagementScript +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $DeviceManagementScriptId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $CountVariable + ) +} + +function New-MgBetaDeviceManagementScript +{ + [CmdletBinding()] + param + ( + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject[]] + $Assignments, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [PSObject[]] + $DeviceRunStates, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $EnforceSignatureCheck, + + [Parameter()] + [System.String] + $FileName, + + [Parameter()] + [PSObject[]] + $GroupAssignments, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RunAs32Bit, + + [Parameter()] + [PSObject] + $RunAsAccount, + + [Parameter()] + [PSObject] + $RunSummary, + + [Parameter()] + [System.String] + $ScriptContentInputFile, + + [Parameter()] + [PSObject[]] + $UserRunStates, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +function Remove-MgBetaDeviceManagementScript +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $DeviceManagementScriptId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Identity + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Remove-HostedContentFilterRule + +function Update-MgBetaDeviceManagementScript { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $DeviceManagementScriptId, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-HostedOutboundSpamFilterPolicy -{ - [CmdletBinding()] - param( + [PSObject] + $InputObject, + [Parameter()] - [System.Object] - $Identity, + [PSObject] + $BodyParameter, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-HostedOutboundSpamFilterRule -{ - [CmdletBinding()] - param( + [System.String] + $ResponseHeadersVariable, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-InboundConnector -{ - [CmdletBinding()] - param( + [PSObject[]] + $Assignments, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $Description, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-Mailbox -{ - [CmdletBinding()] - param( + [PSObject[]] + $DeviceRunStates, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $PublicFolder, + [System.String] + $DisplayName, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $EnforceSignatureCheck, + + [Parameter()] + [System.String] + $FileName, + + [Parameter()] + [PSObject[]] + $GroupAssignments, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, [Parameter()] [System.Management.Automation.SwitchParameter] - $PermanentlyDelete, + $RunAs32Bit, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $RunAsAccount, + + [Parameter()] + [PSObject] + $RunSummary, + + [Parameter()] + [System.String] + $ScriptContentInputFile, + + [Parameter()] + [PSObject[]] + $UserRunStates, [Parameter()] [System.Management.Automation.SwitchParameter] - $RemoveCNFPublicFolderMailboxPermanently, + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $Migration, + $ProxyUseDefaultCredentials, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force + $Confirm ) } -function Remove-MailboxFolderPermission + +#endregion + +#region MgBetaDeviceManagementScriptAssignment +function Get-MgBetaDeviceManagementScriptAssignment { [CmdletBinding()] - param( + param + ( + [Parameter()] + [System.String] + $DeviceManagementScriptAssignmentId, + + [Parameter()] + [System.String] + $DeviceManagementScriptId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Break, [Parameter()] - [System.Object] - $User, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $Identity, + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $ResetDelegateUserCollection, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $SendNotificationToUser, + [System.Int32] + $PageSize, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force + $All, + + [Parameter()] + [System.String] + $CountVariable ) } -function Remove-MailboxIRMAccess + +#endregion + +#region MgBetaDeviceManagementDeviceShellScript +function Get-MgBetaDeviceManagementDeviceShellScript { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Object] - $User, + [System.String] + $DeviceShellScriptId, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-MailboxPermission -{ - [CmdletBinding()] - param( + [PSObject] + $InputObject, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $ClearAutoMapping, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object[]] - $AccessRights, + [System.String[]] + $Property, [Parameter()] - [System.Management.Automation.SwitchParameter] - $GroupMailbox, + [System.String] + $Filter, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Deny, + [System.String] + $Search, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Int32] + $Skip, [Parameter()] - [System.Management.Automation.SwitchParameter] - $BypassMasterAccountSid, + [System.String[]] + $Sort, [Parameter()] - [System.Object] - $User, + [System.Int32] + $Top, [Parameter()] - [System.Object] - $Identity, + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $IgnoreDefaultScope, + $Break, [Parameter()] - [System.Management.Automation.SwitchParameter] - $SoftDeletedMailbox, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ResetDefault, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.DirectoryServices.ActiveDirectorySecurityInheritance] - $InheritanceType - ) -} -function Remove-MailContact -{ - [CmdletBinding()] - param( + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-MalwareFilterPolicy -{ - [CmdletBinding()] - param( + [System.Int32] + $PageSize, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $All, [Parameter()] - [System.Object] - $Identity + [System.String] + $CountVariable ) } -function Remove-MalwareFilterRule + +function New-MgBetaDeviceManagementDeviceShellScript { [CmdletBinding()] - param( + param + ( + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject[]] + $Assignments, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $BlockExecutionNotifications, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ManagementRole -{ - [CmdletBinding()] - param( + [System.String] + $Description, + + [Parameter()] + [PSObject[]] + $DeviceRunStates, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.TimeSpan] + $ExecutionFrequency, + + [Parameter()] + [System.String] + $FileName, + + [Parameter()] + [PSObject[]] + $GroupAssignments, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Int32] + $RetryCount, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $RunAsAccount, + + [Parameter()] + [PSObject] + $RunSummary, + + [Parameter()] + [System.String] + $ScriptContentInputFile, + + [Parameter()] + [PSObject[]] + $UserRunStates, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Break, [Parameter()] - [System.Object] - $Identity, + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $Recurse, + $ProxyUseDefaultCredentials, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force + $Confirm ) } -function Remove-ManagementRoleAssignment + +function Remove-MgBetaDeviceManagementDeviceShellScript { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $DeviceShellScriptId, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $InputObject, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-ManagementScope -{ - [CmdletBinding()] - param( + [System.String] + $ResponseHeadersVariable, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Break, [Parameter()] - [System.Object] - $Identity, + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-MessageClassification -{ - [CmdletBinding()] - param( + $PassThru, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Identity + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Remove-MigrationBatch + +function Update-MgBetaDeviceManagementDeviceShellScript { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $DeviceShellScriptId, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $Partition - ) -} -function Remove-MigrationEndpoint -{ - [CmdletBinding()] - param( + [PSObject] + $BodyParameter, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $Identity, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $Partition - ) -} -function Remove-MobileDevice -{ - [CmdletBinding()] - param( + [PSObject[]] + $Assignments, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $BlockExecutionNotifications, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-MobileDeviceMailboxPolicy -{ - [CmdletBinding()] - param( + [System.String] + $Description, + + [Parameter()] + [PSObject[]] + $DeviceRunStates, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.TimeSpan] + $ExecutionFrequency, + + [Parameter()] + [System.String] + $FileName, + + [Parameter()] + [PSObject[]] + $GroupAssignments, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.Int32] + $RetryCount, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [PSObject] + $RunAsAccount, + + [Parameter()] + [PSObject] + $RunSummary, + + [Parameter()] + [System.String] + $ScriptContentInputFile, + + [Parameter()] + [PSObject[]] + $UserRunStates, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Break, [Parameter()] - [System.Object] - $Identity, + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Remove-OfflineAddressBook + +#endregion + +#region MgBetaDeviceManagementDeviceShellScriptAssignment +function Get-MgBetaDeviceManagementDeviceShellScriptAssignment { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $DeviceManagementScriptAssignmentId, [Parameter()] - [System.Object] - $Identity, + [System.String] + $DeviceShellScriptId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-OMEConfiguration -{ - [CmdletBinding()] - param( + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-OnPremisesOrganization -{ - [CmdletBinding()] - param( + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-OutboundConnector -{ - [CmdletBinding()] - param( + [System.Int32] + $PageSize, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $All, [Parameter()] - [System.Object] - $Identity + [System.String] + $CountVariable ) } -function Remove-OwaMailboxPolicy + +#endregion + +#region MgBetaDeviceManagementDeviceHealthScript +function Get-MgBetaDeviceManagementDeviceHealthScript { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $DeviceHealthScriptId, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $InputObject, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-PartnerApplication -{ - [CmdletBinding()] - param( + [System.String[]] + $ExpandProperty, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-PolicyTipConfig -{ - [CmdletBinding()] - param( + [System.String] + $Filter, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $Search, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-QuarantinePolicy -{ - [CmdletBinding()] - param( + [System.Int32] + $Skip, + [Parameter()] - [System.Object] - $Identity, + [System.String[]] + $Sort, [Parameter()] - [System.Object] - $DomainController - ) -} -function Remove-RecipientPermission -{ - [CmdletBinding()] - param( + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + [Parameter()] [System.Management.Automation.SwitchParameter] - $SkipDomainValidationForMailContact, + $Break, [Parameter()] - [System.Object] - $AccessRights, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $Trustee, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Deny, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $SkipDomainValidationForMailUser, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipDomainValidationForSharedMailbox - ) -} -function Remove-RemoteDomain -{ - [CmdletBinding()] - param( + [System.Int32] + $PageSize, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $All, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ReportSubmissionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $Identity + [System.String] + $CountVariable ) } -function Remove-ReportSubmissionRule + +function New-MgBetaDeviceManagementDeviceHealthScript { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject] + $BodyParameter, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-RetentionPolicy -{ - [CmdletBinding()] - param( + [System.String] + $ResponseHeadersVariable, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $Identity, + [PSObject[]] + $Assignments, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-RoleAssignmentPolicy -{ - [CmdletBinding()] - param( + [System.String] + $Description, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $DetectionScriptContentInputFile, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-RoleGroup -{ - [CmdletBinding()] - param( + [PSObject[]] + $DetectionScriptParameters, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject] + $DeviceHealthScriptType, [Parameter()] - [System.Object] - $Identity, + [PSObject[]] + $DeviceRunStates, [Parameter()] - [System.Management.Automation.SwitchParameter] - $BypassSecurityGroupManagerCheck, + [System.String] + $DisplayName, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-RoleGroupMember -{ - [CmdletBinding()] - param( + $EnforceSignatureCheck, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $HighestAvailableVersion, [Parameter()] - [System.Object] - $Identity, + [System.String] + $Id, [Parameter()] [System.Management.Automation.SwitchParameter] - $BypassSecurityGroupManagerCheck, + $IsGlobalScript, [Parameter()] - [System.Object] - $Member - ) -} -function Remove-SafeAttachmentPolicy -{ - [CmdletBinding()] - param( + [System.String] + $Publisher, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $RemediationScriptContentInputFile, [Parameter()] - [System.Object] - $Identity, + [PSObject[]] + $RemediationScriptParameters, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-SafeAttachmentRule -{ - [CmdletBinding()] - param( + [System.String[]] + $RoleScopeTagIds, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $RunAs32Bit, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-SafeLinksPolicy -{ - [CmdletBinding()] - param( + [PSObject] + $RunAsAccount, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject] + $RunSummary, [Parameter()] - [System.Object] - $Identity, + [System.String] + $Version, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Remove-SafeLinksRule -{ - [CmdletBinding()] - param( + $Break, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-ServicePrincipal -{ - [CmdletBinding()] - param( + [PSObject[]] + $HttpPipelineAppend, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $Identity - ) -} -function Remove-SweepRule -{ - [CmdletBinding()] - param( + [System.Uri] + $Proxy, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $Mailbox, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Identity + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Remove-TenantAllowBlockListItems + +function Remove-MgBetaDeviceManagementDeviceHealthScript { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Object] - $ListSubType, + [System.String] + $DeviceHealthScriptId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $OutputJson, + $Break, [Parameter()] - [System.String[]] - $Ids, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.String[]] - $Entries, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $ListType - ) -} -function Remove-TenantAllowBlockListSpoofItems -{ - [CmdletBinding()] - param( + [PSObject[]] + $HttpPipelinePrepend, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $PassThru, [Parameter()] - [System.Object] - $Identity, + [System.Uri] + $Proxy, [Parameter()] - [System.String[]] - $Ids - ) -} -function Remove-TransportRule -{ - [CmdletBinding()] - param( + [System.Management.Automation.PSCredential] + $ProxyCredential, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Identity + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Set-AcceptedDomain + +function Update-MgBetaDeviceManagementDeviceHealthScript { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Boolean] - $SendingToDomainDisabled, + [System.String] + $DeviceHealthScriptId, [Parameter()] - [System.Boolean] - $EnableNego2Authentication, + [PSObject] + $InputObject, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $SendingFromDomainDisabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $Identity, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $CanHaveCloudCache, + [PSObject[]] + $Assignments, [Parameter()] - [System.Object] - $DomainType, + [System.String] + $Description, [Parameter()] [System.String] - $MailFlowRegion, + $DetectionScriptContentInputFile, [Parameter()] - [System.Boolean] - $MatchSubDomains, + [PSObject[]] + $DetectionScriptParameters, [Parameter()] - [System.Boolean] - $OutboundOnly - ) -} -function Set-ActiveSyncDeviceAccessRule -{ - [CmdletBinding()] - param( + [PSObject] + $DeviceHealthScriptType, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject[]] + $DeviceRunStates, [Parameter()] - [System.Object] - $Identity, + [System.String] + $DisplayName, [Parameter()] - [System.Object] - $AccessLevel - ) -} -function Set-ActiveSyncMailboxPolicy -{ - [CmdletBinding()] - param( + [System.Management.Automation.SwitchParameter] + $EnforceSignatureCheck, + [Parameter()] - [System.Boolean] - $AllowUnsignedApplications, + [System.String] + $HighestAvailableVersion, [Parameter()] - [System.Boolean] - $AllowUnsignedInstallationPackages, + [System.String] + $Id, [Parameter()] - [System.Boolean] - $AllowExternalDeviceManagement, + [System.Management.Automation.SwitchParameter] + $IsGlobalScript, [Parameter()] - [System.Boolean] - $AllowIrDA, + [System.String] + $Publisher, [Parameter()] - [System.Boolean] - $AllowStorageCard, + [System.String] + $RemediationScriptContentInputFile, [Parameter()] - [System.Boolean] - $AllowNonProvisionableDevices, + [PSObject[]] + $RemediationScriptParameters, [Parameter()] - [System.Boolean] - $AllowRemoteDesktop, + [System.String[]] + $RoleScopeTagIds, [Parameter()] - [System.Object] - $UnapprovedInROMApplicationList, + [System.Management.Automation.SwitchParameter] + $RunAs32Bit, [Parameter()] - [System.Boolean] - $DevicePasswordEnabled, + [PSObject] + $RunAsAccount, [Parameter()] - [System.Boolean] - $RequireEncryptedSMIMEMessages, + [PSObject] + $RunSummary, [Parameter()] - [System.Int32] - $DevicePasswordHistory, + [System.String] + $Version, [Parameter()] - [System.Boolean] - $RequireDeviceEncryption, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $AllowInternetSharing, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Int32] - $MinDevicePasswordComplexCharacters, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $RequireSignedSMIMEAlgorithm, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $MaxEmailHTMLBodyTruncationSize, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $DevicePasswordExpiration, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $UNCAccessEnabled, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $AllowCamera, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +#endregion + +#region MgBetaDeviceManagementDeviceHealthScriptAssignment +function Get-MgBetaDeviceManagementDeviceHealthScriptAssignment +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $MaxDevicePasswordFailedAttempts, + [System.String] + $DeviceHealthScriptAssignmentId, [Parameter()] - [System.Boolean] - $AllowBrowser, + [System.String] + $DeviceHealthScriptId, [Parameter()] - [System.Boolean] - $RequireManualSyncWhenRoaming, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $AllowSMIMEEncryptionAlgorithmNegotiation, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Boolean] - $DeviceEncryptionEnabled, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $MaxEmailBodyTruncationSize, + [System.String] + $Filter, [Parameter()] - [System.Object] - $AllowBluetooth, + [System.String] + $Search, [Parameter()] - [System.Object] - $RequireEncryptionSMIMEAlgorithm, + [System.Int32] + $Skip, [Parameter()] - [System.Object] - $DevicePolicyRefreshInterval, + [System.String[]] + $Sort, [Parameter()] - [System.Boolean] - $AllowMobileOTAUpdate, + [System.Int32] + $Top, [Parameter()] [System.String] - $Name, + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $MaxAttachmentSize, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $AllowConsumerEmail, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $AllowDesktopSync, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $MaxInactivityTimeDeviceLock, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $AlphanumericDevicePasswordRequired, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $RequireStorageCardEncryption, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $AttachmentsEnabled, + [System.Int32] + $PageSize, [Parameter()] - [System.Boolean] - $AllowSMIMESoftCerts, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Object] - $MaxEmailAgeFilter, + [System.String] + $CountVariable + ) +} - [Parameter()] - [System.Boolean] - $AllowSimpleDevicePassword, +#endregion +#region MgBetaDeviceAppManagementMobileAppConfiguration +function Get-MgBetaDeviceAppManagementMobileAppConfiguration +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Boolean] - $PasswordRecoveryEnabled, + [System.String] + $ManagedDeviceMobileAppConfigurationId, [Parameter()] - [System.Object] - $MaxCalendarAgeFilter, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $AllowWiFi, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Boolean] - $AllowApplePushNotifications, + [System.String[]] + $Property, [Parameter()] - [System.Boolean] - $AllowPOPIMAPEmail, + [System.String] + $Filter, [Parameter()] - [System.Boolean] - $IsDefault, + [System.String] + $Search, [Parameter()] - [System.Boolean] - $IsDefaultPolicy, + [System.Int32] + $Skip, [Parameter()] - [System.Object] - $ApprovedApplicationList, + [System.String[]] + $Sort, [Parameter()] - [System.Boolean] - $AllowTextMessaging, + [System.Int32] + $Top, [Parameter()] - [System.Boolean] - $WSSAccessEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $RequireSignedSMIMEMessages, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $AllowHTMLEmail, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $Identity, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $MinDevicePasswordLength, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $IrmEnabled - ) -} -function Set-AddressBookPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $RoomList, + [System.Uri] + $Proxy, [Parameter()] - [System.String] - $Name, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Identity, + [System.Int32] + $PageSize, [Parameter()] - [System.Object] - $GlobalAddressList, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Object[]] - $AddressLists, + [System.String] + $CountVariable + ) +} +function Get-MgBetaDeviceAppManagementMobileAppAssignment +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $OfflineAddressBook + [System.String] + $MobileAppId ) } -function Set-AddressList + +function Update-MgBetaDeviceAppManagementMobileAppAssignment { [CmdletBinding()] param( [Parameter()] - [System.Object] - $Identity, + [System.String] + $MobileAppId, [Parameter()] [System.Object] - $ConditionalCustomAttribute8, + $Target, [Parameter()] [System.String] - $DisplayName, + $Repository + ) +} +function New-MgBetaDeviceAppManagementMobileAppConfiguration +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $ConditionalCustomAttribute10, + [PSObject] + $BodyParameter, [Parameter()] [System.String] - $Name, + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $ConditionalCustomAttribute9, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $ConditionalCustomAttribute2, + [PSObject[]] + $Assignments, [Parameter()] - [System.Object] - $IncludedRecipients, + [System.DateTime] + $CreatedDateTime, [Parameter()] - [System.Object] - $ConditionalCompany, + [System.String] + $Description, [Parameter()] - [System.Object] - $ConditionalCustomAttribute6, + [PSObject] + $DeviceStatusSummary, [Parameter()] - [System.Object] - $ConditionalCustomAttribute3, + [PSObject[]] + $DeviceStatuses, [Parameter()] - [System.Object] - $ConditionalCustomAttribute12, + [System.String] + $DisplayName, [Parameter()] - [System.Object] - $ConditionalCustomAttribute13, + [System.String] + $Id, [Parameter()] - [System.String] - $RecipientFilter, + [System.DateTime] + $LastModifiedDateTime, [Parameter()] - [System.Object] - $ConditionalCustomAttribute15, + [System.String[]] + $RoleScopeTagIds, [Parameter()] - [System.Object] - $ConditionalDepartment, + [System.String[]] + $TargetedMobileApps, [Parameter()] - [System.Object] - $ConditionalStateOrProvince, + [PSObject] + $UserStatusSummary, [Parameter()] - [System.Object] - $ConditionalCustomAttribute7, + [PSObject[]] + $UserStatuses, [Parameter()] - [System.Object] - $ConditionalCustomAttribute14, + [System.Int32] + $Version, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Break, [Parameter()] - [System.Object] - $ConditionalCustomAttribute4, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $ConditionalCustomAttribute11, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $ConditionalCustomAttribute1, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $ConditionalCustomAttribute5 - ) -} -function Set-AdminAuditLogConfig -{ - [CmdletBinding()] - param( + [System.Uri] + $Proxy, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $UnifiedAuditLogIngestionEnabled, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force + $Confirm ) } -function Set-AntiPhishPolicy + +function Remove-MgBetaDeviceAppManagementMobileAppConfiguration { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Boolean] - $EnableFirstContactSafetyTips, + [System.String] + $ManagedDeviceMobileAppConfigurationId, [Parameter()] - [System.Boolean] - $EnableMailboxIntelligenceProtection, + [PSObject] + $InputObject, [Parameter()] - [System.Int32] - $PhishThresholdLevel, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $EnableTargetedDomainsProtection, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $Identity, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $HonorDmarcPolicy, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Boolean] - $Enabled, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $EnableViaTag, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.Object] - $MailboxIntelligenceProtectionAction, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $TargetedDomainsToProtect, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $EnableSpoofIntelligence, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $EnableSimilarUsersSafetyTips, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Set-MgBetaDeviceAppManagementMobileAppConfiguration +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $ExcludedDomains, + [System.String] + $ManagedDeviceMobileAppConfigurationId, [Parameter()] - [System.String] - $PolicyTag, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $MailboxIntelligenceProtectionActionRecipients, + [PSObject] + $BodyParameter, [Parameter()] - [System.Object] - $TargetedDomainActionRecipients, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $DmarcQuarantineAction, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $EnableMailboxIntelligence, + [PSObject[]] + $Assignments, [Parameter()] - [System.String] - $TargetedDomainQuarantineTag, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $ImpersonationProtectionState, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $EnableOrganizationDomainsProtection, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $TargetedDomainProtectionAction, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.String] - $AdminDisplayName, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.Object] - $TargetedUsersToProtect, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $TargetedUserProtectionAction, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] [System.Management.Automation.SwitchParameter] - $MakeDefault, + $Confirm + ) +} +function Update-MgBetaDeviceAppManagementMobileAppConfiguration +{ + [CmdletBinding()] + param + ( [Parameter()] [System.String] - $MailboxIntelligenceQuarantineTag, + $ManagedDeviceMobileAppConfigurationId, [Parameter()] - [System.Boolean] - $EnableSimilarDomainsSafetyTips, + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $BodyParameter, [Parameter()] [System.String] - $SpoofQuarantineTag, + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $EnableUnauthenticatedSender, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $DmarcRejectAction, + [PSObject[]] + $Assignments, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, [Parameter()] [System.String] - $TargetedUserQuarantineTag, + $Description, [Parameter()] - [System.Object] - $ExcludedSubDomains, + [PSObject] + $DeviceStatusSummary, [Parameter()] - [System.Boolean] - $EnableUnusualCharactersSafetyTips, + [PSObject[]] + $DeviceStatuses, [Parameter()] - [System.Boolean] - $EnableTargetedUserProtection, + [System.String] + $DisplayName, [Parameter()] - [System.Object] - $AuthenticationFailAction, + [System.String] + $Id, [Parameter()] - [System.Object] - $TargetedUserActionRecipients, + [System.DateTime] + $LastModifiedDateTime, [Parameter()] - [System.Object] - $ExcludedSenders - ) -} -function Set-AntiPhishRule -{ - [CmdletBinding()] - param( + [System.String[]] + $RoleScopeTagIds, + [Parameter()] - [System.Int32] - $Priority, + [System.String[]] + $TargetedMobileApps, [Parameter()] - [System.String] - $Name, + [PSObject] + $UserStatusSummary, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [PSObject[]] + $UserStatuses, [Parameter()] - [System.Object] - $AntiPhishPolicy, + [System.Int32] + $Version, [Parameter()] - [System.Object[]] - $SentTo, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.String] - $Comments, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $Identity, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.Uri] + $Proxy, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Set-ApplicationAccessPolicy + +#endregion + +#region MgBetaDeviceAppManagementMobileAppConfigurationAssignment +function Get-MgBetaDeviceAppManagementMobileAppConfigurationAssignment { [CmdletBinding()] - param( + param + ( [Parameter()] [System.String] - $Description, + $ManagedDeviceMobileAppConfigurationAssignmentId, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $ManagedDeviceMobileAppConfigurationId, [Parameter()] - [System.Object] - $Identity - ) -} -function Set-ArcConfig -{ - [CmdletBinding()] - param( + [PSObject] + $InputObject, + [Parameter()] [System.String[]] - $ArcTrustedSealers, + $ExpandProperty, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $Identity - ) -} -function Set-ATPBuiltInProtectionRule -{ - [CmdletBinding()] - param( + [System.String] + $Filter, + [Parameter()] [System.String] - $Comments, + $Search, [Parameter()] - [System.Object] - $Identity, + [System.Int32] + $Skip, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.String[]] + $Sort, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Break, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf - ) -} -function Set-AtpPolicyForO365 -{ - [CmdletBinding()] - param( + [System.Collections.IDictionary] + $Headers, + [Parameter()] - [System.Boolean] - $EnableATPForSPOTeamsODB, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $Identity, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $EnableSafeDocs, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $AllowSafeDocsOpen, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $CountVariable ) } -function Set-ATPProtectionPolicyRule +function Set-EOPProtectionPolicyRule { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Int32] - $Priority, + [System.String] + $Identity, [Parameter()] [System.String] - $Name, + $Comments, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [System.String[]] + $ExceptIfRecipientDomainIs, [Parameter()] - [System.Object[]] - $SentTo, + [System.String[]] + $ExceptIfSentTo, + + [Parameter()] + [System.String[]] + $ExceptIfSentToMemberOf, [Parameter()] [System.String] - $Comments, + $Name, [Parameter()] - [System.Object[]] + [System.Int32] + $Priority, + + [Parameter()] + [System.String[]] $RecipientDomainIs, [Parameter()] - [System.Object] - $Identity, + [system.String[]] + $SentTo, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.String[]] + $SentToMemberOf + ) +} +function Get-ExternalInOutlook +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.String] + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String[]] + $AllowList, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf + [System.Boolean] + $Enabled ) } -function Set-AvailabilityConfig +function Set-ExternalInOutlook { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $Identity, [Parameter()] - [System.Object] - $OrgWideAccount, + [System.String[]] + $AllowList, [Parameter()] - [System.Object] - $AllowedTenantIds + [System.Boolean] + $Enabled ) } -function Set-CalendarProcessing + +#endregion + +#region MgBetaDeviceManagementWindowsQualityUpdateProfile +function Get-MgBetaDeviceManagementWindowsQualityUpdateProfile { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Int32] - $MaximumConflictInstances, + [System.String] + $WindowsQualityUpdateProfileId, [Parameter()] - [System.Object] - $BookingType, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $ForwardRequestsToDelegates, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Boolean] - $RemoveCanceledMeetings, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $Identity, + [System.String] + $Filter, [Parameter()] - [System.Object[]] - $ResourceDelegates, + [System.String] + $Search, [Parameter()] - [System.Boolean] - $DeleteNonCalendarItems, + [System.Int32] + $Skip, [Parameter()] - [System.Boolean] - $RemovePrivateProperty, + [System.String[]] + $Sort, [Parameter()] - [System.Boolean] - $DeleteComments, + [System.Int32] + $Top, [Parameter()] - [System.Boolean] - $EnforceSchedulingHorizon, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $EnableResponseDetails, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object[]] - $RequestInPolicy, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $EnforceCapacity, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Boolean] - $AllowConflicts, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $AllRequestInPolicy, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $AddOrganizerToSubject, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object[]] - $BookInPolicy, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] [System.Int32] - $ConflictPercentageAllowed, + $PageSize, [Parameter()] - [System.Object] - $AutomateProcessing, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Boolean] - $AllRequestOutOfPolicy, + [System.String] + $CountVariable + ) +} +function New-MgBetaDeviceManagementWindowsQualityUpdateProfile +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Boolean] - $AddNewRequestsTentatively, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $EnableAutoRelease, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Int32] - $PostReservationMaxClaimTimeInMinutes, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $AllBookInPolicy, + [PSObject[]] + $Assignments, - [Parameter()] - [System.Boolean] - $ProcessExternalMeetingMessages, + [Parameter()] + [System.DateTime] + $CreatedDateTime, [Parameter()] - [System.Boolean] - $DeleteAttachments, + [System.String] + $DeployableContentDisplayName, [Parameter()] - [System.Boolean] - $ScheduleOnlyDuringWorkHours, + [System.String] + $Description, [Parameter()] [System.String] - $AdditionalResponse, + $DisplayName, [Parameter()] - [System.Boolean] - $TentativePendingApproval, + [PSObject] + $ExpeditedUpdateSettings, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $Id, [Parameter()] - [System.Int32] - $MaximumDurationInMinutes, + [System.DateTime] + $LastModifiedDateTime, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IgnoreDefaultScope, + [System.String] + $ReleaseDateDisplayName, [Parameter()] - [System.Object[]] - $RequestOutOfPolicy, + [System.String[]] + $RoleScopeTagIds, [Parameter()] - [System.Boolean] - $RemoveOldMeetingMessages, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $OrganizerInfo, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Int32] - $MinimumDurationInMinutes, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Boolean] - $AddAdditionalResponse, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $RemoveForwardedMeetingNotifications, + [System.Uri] + $Proxy, [Parameter()] - [System.Int32] - $BookingWindowInDays, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $AllowRecurringMeetings, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $DeleteSubject + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Set-CASMailbox + +function Remove-MgBetaDeviceManagementWindowsQualityUpdateProfile { [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $IsOptimizedForAccessibility, - - [Parameter()] - [System.Boolean] - $ImapEnabled, - + param + ( [Parameter()] - [System.Boolean] - $ImapSuppressReadReceipt, + [System.String] + $WindowsQualityUpdateProfileId, [Parameter()] - [System.Boolean] - $ActiveSyncSuppressReadReceipt, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $Identity, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $EwsBlockList, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $EwsAllowEntourage, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $OwaMailboxPolicy, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Boolean] - $PopUseProtocolDefaults, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $PassThru, [Parameter()] - [System.Object] - $SmtpClientAuthenticationDisabled, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $PopForceICalForCalendarRetrievalOption, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $ImapForceICalForCalendarRetrievalOption, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $ShowGalAsDefaultView, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Update-MgBetaDeviceManagementWindowsQualityUpdateProfile +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $ActiveSyncBlockedDeviceIDs, + [System.String] + $WindowsQualityUpdateProfileId, [Parameter()] - [System.Boolean] - $MAPIEnabled, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $EwsAllowOutlook, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $PopEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $ActiveSyncAllowedDeviceIDs, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $EwsEnabled, + [PSObject[]] + $Assignments, [Parameter()] - [System.Object] - $OutlookMobileEnabled, + [System.DateTime] + $CreatedDateTime, [Parameter()] - [System.Object] - $EwsAllowMacOutlook, + [System.String] + $DeployableContentDisplayName, [Parameter()] - [System.Object] - $EwsApplicationAccessPolicy, + [System.String] + $Description, [Parameter()] - [System.Object] - $OneWinNativeOutlookEnabled, + [System.String] + $DisplayName, [Parameter()] - [System.Boolean] - $OWAEnabled, + [PSObject] + $ExpeditedUpdateSettings, [Parameter()] - [System.Boolean] - $PublicFolderClientAccess, + [System.String] + $Id, [Parameter()] - [System.Object] - $ActiveSyncMailboxPolicy, + [System.DateTime] + $LastModifiedDateTime, [Parameter()] - [System.Object] - $UniversalOutlookEnabled, + [System.String] + $ReleaseDateDisplayName, [Parameter()] - [System.Boolean] - $ImapUseProtocolDefaults, + [System.String[]] + $RoleScopeTagIds, [Parameter()] - [System.Boolean] - $ActiveSyncDebugLogging, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $OWAforDevicesEnabled, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $ImapMessagesRetrievalMimeFormat, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Boolean] - $ActiveSyncEnabled, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $MacOutlookEnabled, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $PopSuppressReadReceipt, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $EwsAllowList, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $PopMessagesRetrievalMimeFormat + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function set-CASMailboxPlan + +#endregion + +function Update-MgBetaIdentityGovernanceLifecycleWorkflowSetting { [CmdletBinding()] param( - [Parameter()] - [System.Boolean] - $ImapEnabled, - [Parameter()] [System.Object] - $OwaMailboxPolicy, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + $EmailSettings, [Parameter()] - [System.Boolean] - $OWAEnabled, + [System.UInt32] + $WorkflowScheduleIntervalInHours + ) +} - [Parameter()] - [System.Object] - $EwsEnabled, +function Get-MgBetaIdentityGovernanceLifecycleWorkflowSetting +{ + [CmdletBinding()] + param() +} +#region MgBetaDeviceManagementWindowsQualityUpdateProfileAssignment +function Get-MgBetaDeviceManagementWindowsQualityUpdateProfileAssignment +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $Identity, + [System.String] + $WindowsQualityUpdateProfileAssignmentId, [Parameter()] - [System.Boolean] - $ECPEnabled, + [System.String] + $WindowsQualityUpdateProfileId, [Parameter()] - [System.Boolean] - $PopEnabled, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $ActiveSyncEnabled, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Boolean] - $MAPIEnabled - ) -} -function Set-ClientAccessRule -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $UsernameMatchesAnyOfPatterns, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $Identity, + [System.String] + $Filter, [Parameter()] - [System.Object] - $Action, + [System.String] + $Search, [Parameter()] - [System.Object] - $AnyOfClientIPAddressesOrRanges, + [System.Int32] + $Skip, [Parameter()] - [System.Boolean] - $Enabled, + [System.String[]] + $Sort, [Parameter()] - [System.Object] - $ExceptAnyOfClientIPAddressesOrRanges, + [System.Int32] + $Top, [Parameter()] [System.String] - $Name, + $ResponseHeadersVariable, [Parameter()] - [System.String] - $UserRecipientFilter, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $ExceptAnyOfProtocols, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $AnyOfProtocols, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Int32] - $Priority, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $ExceptUsernameMatchesAnyOfPatterns, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $AnyOfAuthenticationTypes, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $ExceptAnyOfAuthenticationTypes, + [System.Int32] + $PageSize, [Parameter()] - [System.Object] - $Scope + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $CountVariable ) } -function Set-DataClassification + +#endregion + +#region MgBetaPolicyFeatureRolloutPolicy +function Get-MgBetaPolicyFeatureRolloutPolicy { [CmdletBinding()] - param( + param + ( [Parameter()] [System.String] - $Description, + $FeatureRolloutPolicyId, [Parameter()] - [System.String] - $Name, + [PSObject] + $InputObject, [Parameter()] - [System.Globalization.CultureInfo] - $Locale, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $Fingerprints, + [System.String] + $Filter, [Parameter()] - [System.Object] - $Identity, + [System.String] + $Search, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault - ) -} -function Set-DataEncryptionPolicy -{ - [CmdletBinding()] - param( + [System.Int32] + $Skip, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Int32] + $Top, + [Parameter()] [System.String] - $Description, + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force, + $Break, [Parameter()] - [System.String] - $Name, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $DomainController, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Management.Automation.SwitchParameter] - $PermanentDataPurgeRequested, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.String] - $PermanentDataPurgeReason, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.String] - $PermanentDataPurgeContact, + [System.Int32] + $PageSize, [Parameter()] [System.Management.Automation.SwitchParameter] - $Refresh, + $All, [Parameter()] - [System.Boolean] - $Enabled + [System.String] + $CountVariable ) } -function Set-DistributionGroup + +function New-MgBetaPolicyFeatureRolloutPolicy { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Object] - $EmailAddresses, + [PSObject] + $BodyParameter, [Parameter()] - [System.Object] - $RejectMessagesFromDLMembers, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Management.Automation.SwitchParameter] - $RoomList, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromSendersOrMembers, + [PSObject[]] + $AppliesTo, [Parameter()] [System.String] - $CustomAttribute14, + $Description, [Parameter()] [System.String] - $CustomAttribute12, + $DisplayName, [Parameter()] [System.String] - $CustomAttribute10, + $Feature, [Parameter()] - [System.Object] - $ExtensionCustomAttribute5, + [System.String] + $Id, [Parameter()] - [System.String] - $CustomAttribute8, + [System.Management.Automation.SwitchParameter] + $IsAppliedToOrganization, [Parameter()] - [System.String] - $CustomAttribute5, + [System.Management.Automation.SwitchParameter] + $IsEnabled, [Parameter()] - [System.Boolean] - $BccBlocked, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromDLMembers, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.String] - $SimpleDisplayName, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IgnoreNamingPolicy, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.String] - $MailTip, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $ModeratedBy, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $PrimarySmtpAddress, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] [System.Management.Automation.SwitchParameter] - $ResetMigrationToUnifiedGroup, + $Confirm + ) +} +function Remove-MgBetaPolicyFeatureRolloutPolicy +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $AcceptMessagesOnlyFrom, + [System.String] + $FeatureRolloutPolicyId, [Parameter()] - [System.Boolean] - $BypassNestedModerationEnabled, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $ModerationEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $MemberDepartRestriction, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.String] - $CustomAttribute15, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $RejectMessagesFromSendersOrMembers, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $WindowsEmailAddress, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.String] - $Alias, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.String] - $DisplayName, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $ReportToOriginatorEnabled, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $BypassModerationFromSendersOrMembers, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $RejectMessagesFrom, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Update-MgBetaPolicyFeatureRolloutPolicy +{ + [CmdletBinding()] + param + ( [Parameter()] [System.String] - $CustomAttribute1, + $FeatureRolloutPolicyId, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceUpgrade, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $ManagedBy, + [PSObject] + $BodyParameter, [Parameter()] - [System.Object] - $Description, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $GrantSendOnBehalfTo, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $ExtensionCustomAttribute1, + [PSObject[]] + $AppliesTo, [Parameter()] - [System.Boolean] - $ReportToManagerEnabled, + [System.String] + $Description, [Parameter()] - [System.Boolean] - $RequireSenderAuthenticationEnabled, + [System.String] + $DisplayName, [Parameter()] [System.String] - $CustomAttribute9, + $Feature, [Parameter()] [System.String] - $CustomAttribute6, + $Id, [Parameter()] - [System.Boolean] - $SendOofMessageToOriginatorEnabled, + [System.Management.Automation.SwitchParameter] + $IsAppliedToOrganization, [Parameter()] [System.Management.Automation.SwitchParameter] - $BypassSecurityGroupManagerCheck, + $IsEnabled, [Parameter()] [System.Management.Automation.SwitchParameter] - $UpdateMemberCount, + $Break, [Parameter()] - [System.Object] - $ExtensionCustomAttribute2, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.String] - $CustomAttribute13, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.String] - $CustomAttribute2, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $SendModerationNotifications, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $HiddenGroupMembershipEnabled, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $MemberJoinRestriction, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +#endregion +#region Microsoft.Graph.Beta.Search +function Get-MgBetaExternal +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $HiddenFromAddressListsEnabled, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $MailTipTranslations, + [System.Uri] + $Proxy, [Parameter()] - [System.String] - $CustomAttribute7, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.String] - $CustomAttribute4, + [System.String[]] + $ExpandProperty, [Parameter()] [System.String] - $Name, + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $ExtensionCustomAttribute3, + [PSObject] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $ExtensionCustomAttribute4, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.String] - $CustomAttribute3, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.String] - $CustomAttribute11, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $Identity + [System.Management.Automation.SwitchParameter] + $Break ) } -function Set-DkimSigningConfig +function Get-MgBetaExternalConnection { [CmdletBinding()] param( [Parameter()] - [System.String] - $AdminDisplayName, - - [Parameter()] - [System.Object] - $BodyCanonicalization, + [System.String[]] + $Property, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject] + $InputObject, [Parameter()] [System.Management.Automation.SwitchParameter] - $PublishTxtRecords, - - [Parameter()] - [System.Object] - $Identity, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $Enabled, + [System.Int32] + $PageSize, [Parameter()] - [System.Object] - $HeaderCanonicalization - ) -} -function Set-EmailAddressPolicy -{ - [CmdletBinding()] - param( + [PSObject] + $HttpPipelinePrepend, + [Parameter()] - [System.Object] - $Priority, + [System.Int32] + $Skip, + + [Parameter()] + [System.Int32] + $Top, [Parameter()] [System.String] - $Name, + $CountVariable, [Parameter()] - [System.Object] - $EnabledEmailAddressTemplates, + [System.Uri] + $Proxy, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceUpgrade, + [System.String[]] + $Sort, + + [Parameter()] + [System.String] + $ExternalConnectionId, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $All, [Parameter()] [System.String] - $EnabledPrimarySMTPAddressTemplate, + $Filter, [Parameter()] - [System.Object] - $Identity - ) -} -function Set-EmailTenantSettings -{ - [CmdletBinding()] - param( + [System.Management.Automation.PSCredential] + $ProxyCredential, + [Parameter()] - [System.Boolean] - $EnablePriorityAccountProtection, + [System.String] + $Search, [Parameter()] - [System.Object] - $DomainController, + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Break, [Parameter()] - [System.Object] - $Identity, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IgnoreDehydratedFlag + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend ) } -function Set-EOPProtectionPolicyRule +function New-MgBetaExternalConnection { [CmdletBinding()] param( [Parameter()] - [System.Int32] - $Priority, + [PSObject] + $Schema, [Parameter()] [System.String] - $Name, + $Description, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [System.String] + $Name, [Parameter()] - [System.Object[]] - $SentTo, + [System.String] + $ConnectorId, [Parameter()] - [System.String] - $Comments, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $Groups, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [PSObject] + $Items, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [PSObject] + $SearchSettings, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf - ) -} -function Set-ExoPhishSimOverrideRule -{ - [CmdletBinding()] - param( + [System.String] + $EnabledContentExperiences, + [Parameter()] - [System.Object] - $AddDomains, + [System.String] + $State, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject] + $ComplianceSettings, [Parameter()] - [System.String] - $Comment, + [PSObject] + $Quota, [Parameter()] - [System.Object] - $AddSenderIpRanges, + [PSObject] + $ActivitySettings, [Parameter()] - [System.Object] - $Identity, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $RemoveDomains, + [PSObject] + $BodyParameter, [Parameter()] - [System.Object] - $RemoveSenderIpRanges, + [System.Int64] + $IngestedItemsCount, [Parameter()] - [System.Object] - $DomainController - ) -} -function Set-ExoSecOpsOverrideRule -{ - [CmdletBinding()] - param( + [System.String] + $Id, + [Parameter()] - [System.Object] - $DomainController, + [PSObject] + $Operations, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.String] - $Comment, + [PSObject] + $Configuration, [Parameter()] - [System.Object] - $Identity - ) -} -function Set-ExternalInOutlook -{ - [CmdletBinding()] - param( + [System.Management.Automation.PSCredential] + $ProxyCredential, + [Parameter()] - [System.Object] - $AllowList, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $Enabled + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend ) } -function Set-FocusedInbox +function Remove-MgBetaExternalConnection { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseCustomRouting, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $FocusedInboxOn - ) -} -function Set-GlobalAddressList -{ - [CmdletBinding()] - param( + [System.Management.Automation.PSCredential] + $ProxyCredential, + [Parameter()] - [System.Object] - $Identity, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $ConditionalCustomAttribute8, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.Object] - $ConditionalCustomAttribute10, + [System.String] + $IfMatch, [Parameter()] [System.String] - $Name, + $ExternalConnectionId, [Parameter()] - [System.Object] - $ConditionalCustomAttribute9, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $ConditionalCustomAttribute2, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $IncludedRecipients, + [PSObject] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $ConditionalCompany, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $ConditionalCustomAttribute6, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $ConditionalCustomAttribute3, + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaExternal +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $ConditionalCustomAttribute12, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $ConditionalCustomAttribute13, + [PSObject] + $BodyParameter, [Parameter()] - [System.String] - $RecipientFilter, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $ConditionalCustomAttribute15, + [PSObject] + $Connections, [Parameter()] - [System.Object] - $ConditionalDepartment, + [PSObject] + $IndustryData, [Parameter()] - [System.Object] - $ConditionalStateOrProvince, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $ConditionalCustomAttribute7, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $ConditionalCustomAttribute14, + [PSObject] + $HttpPipelineAppend, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $ConditionalCustomAttribute4, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $ConditionalCustomAttribute1, + [PSObject] + $AuthorizationSystems, [Parameter()] - [System.Object] - $ConditionalCustomAttribute5, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $ConditionalCustomAttribute11 + [System.Management.Automation.SwitchParameter] + $Break ) } -function Set-HostedConnectionFilterPolicy +function Update-MgBetaExternalConnection { [CmdletBinding()] param( [Parameter()] - [System.String] - $ConfigurationXmlRaw, + [PSObject] + $Schema, [Parameter()] [System.String] - $AdminDisplayName, + $Description, [Parameter()] - [System.Boolean] - $EnableSafeList, + [System.String] + $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $IPBlockList, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $IPAllowList, + [PSObject] + $Groups, [Parameter()] - [System.Management.Automation.SwitchParameter] - $MakeDefault - ) -} -function Set-HostedContentFilterPolicy -{ - [CmdletBinding()] - param( + [PSObject] + $Items, + [Parameter()] - [System.Boolean] - $InlineSafetyTipsEnabled, + [PSObject] + $SearchSettings, [Parameter()] - [System.Object] - $RegionBlockList, + [PSObject] + $HttpPipelinePrepend, [Parameter()] [System.String] - $HighConfidencePhishQuarantineTag, + $EnabledContentExperiences, [Parameter()] - [System.Int32] - $EndUserSpamNotificationFrequency, + [System.String] + $ExternalConnectionId, [Parameter()] - [System.Int32] - $QuarantineRetentionPeriod, + [System.String] + $State, [Parameter()] - [System.Int32] - $EndUserSpamNotificationLimit, + [PSObject] + $ComplianceSettings, [Parameter()] - [System.Int32] - $BulkThreshold, + [PSObject] + $Quota, [Parameter()] - [System.Management.Automation.SwitchParameter] - $MakeDefault, + [PSObject] + $ActivitySettings, [Parameter()] - [System.Object] - $TestModeBccToRecipients, + [System.Uri] + $Proxy, [Parameter()] [System.String] - $PhishQuarantineTag, + $ConnectorId, + + [Parameter()] + [System.Int64] + $IngestedItemsCount, [Parameter()] [System.String] - $AddXHeaderValue, + $Id, [Parameter()] - [System.Object] - $MarkAsSpamEmbedTagsInHtml, + [PSObject] + $Operations, [Parameter()] - [System.Object] - $MarkAsSpamFramesInHtml, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $IncreaseScoreWithImageLinks, + [PSObject] + $Configuration, [Parameter()] - [System.Boolean] - $EnableLanguageBlockList, + [PSObject] + $BodyParameter, [Parameter()] - [System.Object] - $PhishSpamAction, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.String] - $EndUserSpamNotificationCustomFromName, + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $MarkAsSpamSensitiveWordList, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.String] - $SpamQuarantineTag, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $MarkAsSpamNdrBackscatter, - + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region MgBetaOnPremisePublishingProfileConnectorGroup +function Get-MgBetaOnPremisePublishingProfileConnectorGroup +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $BlockedSenders, + [System.String] + $ConnectorGroupId, [Parameter()] - [System.Object] - $LanguageBlockList, + [System.String] + $OnPremisesPublishingProfileId, [Parameter()] - [System.Object] - $HighConfidenceSpamAction, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $AllowedSenderDomains, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object] - $IncreaseScoreWithBizOrInfoUrls, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $MarkAsSpamWebBugsInHtml, + [System.String] + $Filter, [Parameter()] [System.String] - $AdminDisplayName, + $Search, [Parameter()] - [System.Object] - $IntraOrgFilterState, + [System.Int32] + $Skip, [Parameter()] - [System.Object] - $MarkAsSpamFromAddressAuthFail, + [System.String[]] + $Sort, [Parameter()] - [System.Object] - $MarkAsSpamEmptyMessages, + [System.Int32] + $Top, [Parameter()] [System.String] - $BulkQuarantineTag, + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $MarkAsSpamFormTagsInHtml, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $MarkAsSpamObjectTagsInHtml, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $BulkSpamAction, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $EndUserSpamNotificationLanguage, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $IncreaseScoreWithRedirectToOtherPort, + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $HighConfidencePhishAction, + [System.Int32] + $PageSize, [Parameter()] - [System.Object] - $RedirectToRecipients, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Boolean] - $SpamZapEnabled, + [System.String] + $CountVariable + ) +} +function New-MgBetaOnPremisePublishingProfileConnectorGroup +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $TestModeAction, + [System.String] + $OnPremisesPublishingProfileId, [Parameter()] - [System.Boolean] - $EnableRegionBlockList, + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $BodyParameter, [Parameter()] [System.String] - $EndUserSpamNotificationCustomSubject, + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $MarkAsSpamSpfRecordHardFail, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $EndUserSpamNotificationCustomFromAddress, + [PSObject[]] + $Applications, [Parameter()] - [System.Boolean] - $DownloadLink, + [System.String] + $ConnectorGroupType, [Parameter()] - [System.Object] - $SpamAction, + [System.String] + $Id, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsDefault, + + [Parameter()] + [PSObject[]] + $Members, [Parameter()] [System.String] - $ModifySubjectValue, + $Name, [Parameter()] - [System.Object] - $IncreaseScoreWithNumericIps, + [System.String] + $Region, [Parameter()] - [System.Object] - $AllowedSenders, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $MarkAsSpamJavaScriptInHtml, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $MarkAsSpamBulkMail, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $BlockedSenderDomains, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $Identity, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $PhishZapEnabled, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $EnableEndUserSpamNotifications, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.String] - $HighConfidenceSpamQuarantineTag + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Set-HostedContentFilterRule + +function Remove-MgBetaOnPremisePublishingProfileConnectorGroup { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Int32] - $Priority, + [System.String] + $ConnectorGroupId, [Parameter()] [System.String] - $Name, + $OnPremisesPublishingProfileId, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $HostedContentFilterPolicy, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object[]] - $SentTo, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.String] - $Comments, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $Identity, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Set-HostedOutboundSpamFilterPolicy + +function Update-MgBetaOnPremisePublishingProfileConnectorGroup { [CmdletBinding()] - param( + param + ( [Parameter()] [System.String] - $AdminDisplayName, - - [Parameter()] - [System.Object] - $BccSuspiciousOutboundAdditionalRecipients, - - [Parameter()] - [System.Object] - $NotifyOutboundSpamRecipients, + $ConnectorGroupId, [Parameter()] - [System.UInt32] - $RecipientLimitPerDay, + [System.String] + $OnPremisesPublishingProfileId, [Parameter()] - [System.Object] - $ActionWhenThresholdReached, + [PSObject] + $InputObject, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject] + $BodyParameter, [Parameter()] - [System.Object] - $Identity, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.UInt32] - $RecipientLimitExternalPerHour, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $AutoForwardingMode, + [PSObject[]] + $Applications, [Parameter()] - [System.Boolean] - $NotifyOutboundSpam, + [System.String] + $ConnectorGroupType, [Parameter()] - [System.UInt32] - $RecipientLimitInternalPerHour, + [System.String] + $Id, [Parameter()] - [System.Boolean] - $BccSuspiciousOutboundMail - ) -} -function Set-HostedOutboundSpamFilterRule -{ - [CmdletBinding()] - param( + [System.Management.Automation.SwitchParameter] + $IsDefault, + [Parameter()] - [System.Int32] - $Priority, + [PSObject[]] + $Members, [Parameter()] [System.String] $Name, [Parameter()] - [System.Object[]] - $ExceptIfFromMemberOf, - - [Parameter()] - [System.Object[]] - $ExceptIfFrom, + [System.String] + $Region, [Parameter()] - [System.Object[]] - $ExceptIfSenderDomainIs, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.String] - $Comments, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object[]] - $FromMemberOf, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $Identity, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object[]] - $SenderDomainIs, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $HostedOutboundSpamFilterPolicy, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object[]] - $From, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm ) } -function Set-InboundConnector + +#endregion + +function New-MgBetaDomain { [CmdletBinding()] param( [Parameter()] - [System.Boolean] - $RestrictDomainsToIPAddresses, + [PSObject] + $SharedEmailDomainInvitations, [Parameter()] - [System.Boolean] - $CloudServicesMailEnabled, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $DomainNameReferences, [Parameter()] - [System.Boolean] - $Enabled, + [PSObject] + $ServiceConfigurationRecords, [Parameter()] - [System.String] - $Name, + [System.String[]] + $SupportedServices, [Parameter()] - [System.Object] - $EFSkipMailGateway, + [System.Management.Automation.SwitchParameter] + $IsInitial, [Parameter()] - [System.Boolean] - $EFTestMode, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $TrustedOrganizations, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $TlsSenderCertificateName, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $ScanAndDropRecipients, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $AssociatedAcceptedDomains, + [PSObject] + $State, [Parameter()] - [System.String] - $Comment, + [System.Management.Automation.SwitchParameter] + $IsVerified, [Parameter()] - [System.Boolean] - $RequireTls, + [System.Int32] + $PasswordNotificationWindowInDays, [Parameter()] - [System.Object] - $SenderDomains, + [PSObject] + $FederationConfiguration, [Parameter()] - [System.Object] - $SenderIPAddresses, + [System.Int32] + $PasswordValidityPeriodInDays, [Parameter()] - [System.Boolean] - $EFSkipLastIP, + [System.String] + $AvailabilityStatus, [Parameter()] - [System.Object] - $EFUsers, + [PSObject] + $RootDomain, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $ConnectorType, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $RestrictDomainsToCertificate, + [System.String] + $Id, [Parameter()] - [System.Object] - $EFSkipIPs, + [PSObject] + $VerificationDnsRecords, [Parameter()] - [System.Boolean] - $TreatMessagesAsInternal, + [System.String] + $AuthenticationType, - [Parameter()] - [System.Object] - $ConnectorSource - ) -} -function Set-IntraOrganizationConnector -{ - [CmdletBinding()] - param( [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $IsRoot, [Parameter()] - [System.Object] - $Identity - ) -} -function Set-M365DataAtRestEncryptionPolicy -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Description, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force, + $IsAdminManaged, [Parameter()] [System.String] - $Name, - - [Parameter()] - [System.Object] - $DomainController, + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $Identity, + $Break, [Parameter()] [System.Management.Automation.SwitchParameter] - $Refresh, + $IsDefault, [Parameter()] - [System.Boolean] - $Enabled - ) -} -function Set-M365DataAtRestEncryptionPolicyAssignment -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $DataEncryptionPolicy + [PSObject] + $HttpPipelineAppend ) } -function Set-Mailbox +function Get-MgBetaDomain { [CmdletBinding()] param( [Parameter()] - [System.Object] - $EmailAddresses, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $RejectMessagesFromDLMembers, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $AuditOwner, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromSendersOrMembers, + [System.Int32] + $PageSize, [Parameter()] - [System.Object] - $Type, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.String] - $CustomAttribute10, + [System.Int32] + $Skip, [Parameter()] - [System.Boolean] - $DeliverToMailboxAndForward, + [System.Int32] + $Top, [Parameter()] [System.String] - $RetentionUrl, + $CountVariable, [Parameter()] - [System.Object] - $ExtensionCustomAttribute5, + [System.String[]] + $Sort, [Parameter()] - [System.Management.Automation.SwitchParameter] - $RecalculateInactiveMailbox, + [System.Uri] + $Proxy, [Parameter()] [System.String] - $CustomAttribute8, + $DomainId, [Parameter()] - [System.Object] - $ProhibitSendReceiveQuota, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] [System.String] - $CustomAttribute5, + $Filter, [Parameter()] - [System.Security.SecureString] - $RoomMailboxPassword, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $CalendarVersionStoreDisabled, + [System.String] + $Search, [Parameter()] - [System.Object] - $UseDatabaseQuotaDefaults, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $ElcProcessingDisabled, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] [System.String[]] - $ExcludeFromOrgHolds, + $ExpandProperty, [Parameter()] - [System.String] - $MailboxRegion, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.String] - $MailTip, + [PSObject] + $HttpPipelineAppend + ) +} +function Update-MgBetaDomain +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $SharedEmailDomainInvitations, [Parameter()] - [System.Management.Automation.SwitchParameter] - $GroupMailbox, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $ResourceCapacity, + [PSObject] + $DomainNameReferences, [Parameter()] - [System.Object] - $GrantSendOnBehalfTo, + [PSObject] + $ServiceConfigurationRecords, [Parameter()] - [System.Object] - $AcceptMessagesOnlyFrom, + [System.String[]] + $SupportedServices, [Parameter()] [System.Management.Automation.SwitchParameter] - $RemoveDisabledArchive, + $IsInitial, [Parameter()] - [System.Object] - $JournalArchiveAddress, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $LitigationHoldDuration, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $ModeratedBy, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] [System.Management.Automation.SwitchParameter] - $ProvisionedForOfficeGraph, + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [PSObject] + $State, [Parameter()] [System.Management.Automation.SwitchParameter] - $InactiveMailbox, + $IsVerified, [Parameter()] - [System.String] - $RetentionComment, + [System.Int32] + $PasswordNotificationWindowInDays, [Parameter()] - [System.Object] - $MaxReceiveSize, + [PSObject] + $FederationConfiguration, [Parameter()] - [System.Boolean] - $MessageCopyForSendOnBehalfEnabled, + [System.Int32] + $PasswordValidityPeriodInDays, [Parameter()] [System.String] - $CustomAttribute15, + $AvailabilityStatus, [Parameter()] - [System.Boolean] - $LitigationHoldEnabled, + [PSObject] + $RootDomain, [Parameter()] - [System.Management.Automation.SwitchParameter] - $UpdateEnforcedTimestamp, + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, [Parameter()] [System.String] - $ImmutableId, + $DomainId, [Parameter()] - [System.Object] - $WindowsEmailAddress, + [System.String] + $Id, [Parameter()] - [System.Boolean] - $UseDatabaseRetentionDefaults, + [PSObject] + $VerificationDnsRecords, [Parameter()] - [System.Boolean] - $SchedulerAssistant, + [System.String] + $AuthenticationType, [Parameter()] - [System.String[]] - $RemoveOrphanedHolds, + [System.Management.Automation.SwitchParameter] + $IsRoot, [Parameter()] - [System.Object] - $RulesQuota, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.String] - $Alias, + [System.Management.Automation.SwitchParameter] + $IsAdminManaged, [Parameter()] [System.String] - $EnforcedTimestamps, + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $RejectMessagesFromSendersOrMembers, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.String] - $DisplayName, + [System.Management.Automation.SwitchParameter] + $IsDefault, [Parameter()] - [System.Object] - $ResourceCustom, + [PSObject] + $HttpPipelineAppend + ) +} +function Invoke-MgBetaForceDomainDelete +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $MessageCopyForSMTPClientSubmissionEnabled, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $BypassModerationFromSendersOrMembers, + [System.Management.Automation.SwitchParameter] + $DisableUserAccounts, [Parameter()] - [System.Object] - $DefaultAuditSet, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromDLMembers, + [PSObject] + $InputObject, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, [Parameter()] [System.String] - $CustomAttribute1, + $DomainId, [Parameter()] - [System.Object] - $EmailAddressDisplayNames, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $CalendarRepairDisabled, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.Object] - $AddressBookPolicy, + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $RemoveMailboxProvisioningConstraint, + $Break, [Parameter()] - [System.Object] - $NonCompliantDevices, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $ModerationEnabled, + [PSObject] + $HttpPipelineAppend + ) +} +function Get-ATPBuiltInProtectionRule +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $Identity, + [Parameter()] + [System.Object] + $State + ) +} +function Set-ATPBuiltInProtectionRule +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $LitigationHoldOwner, + $Comments, [Parameter()] [System.Object] - $ProhibitSendQuota, + $Identity, [Parameter()] - [System.Boolean] - $AccountDisabled, + [System.Object[]] + $ExceptIfRecipientDomainIs, + + [Parameter()] + [System.Object[]] + $ExceptIfSentTo, [Parameter()] [System.Management.Automation.SwitchParameter] - $ClearThrottlingPolicyAssignment, + $Confirm, [Parameter()] - [System.Object] - $AuditDelegate, + [System.Object[]] + $ExceptIfSentToMemberOf + ) +} +function Update-MgBetaDirectoryCustomSecurityAttributeDefinition +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $CustomAttribute14, + $Description, [Parameter()] - [System.Object] - $Languages, + [System.String] + $Name, [Parameter()] - [System.Boolean] - $RequireSenderAuthenticationEnabled, + [PSObject] + $InputObject, [Parameter()] - [System.String] - $CustomAttribute9, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $AllowedValues, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $UsePreDefinedValuesOnly, [Parameter()] [System.String] - $CustomAttribute6, + $AttributeSet, [Parameter()] - [System.Object] - $DataEncryptionPolicy, + [System.Management.Automation.SwitchParameter] + $IsSearchable, [Parameter()] - [System.Object] - $ExternalOofOptions, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $ExtensionCustomAttribute4, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $LitigationHoldDate, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $EnableRoomMailboxAccount, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $HiddenFromAddressListsEnabled, + [System.String] + $Status, [Parameter()] - [System.Object] - $RetainDeletedItemsFor, + [System.String] + $Id, [Parameter()] - [System.Object] - $MicrosoftOnlineServicesID, + [System.Management.Automation.SwitchParameter] + $IsCollection, [Parameter()] [System.Management.Automation.SwitchParameter] - $RemoveDelayReleaseHoldApplied, + $Confirm, [Parameter()] - [System.Object] - $AuditAdmin, + [System.String] + $CustomSecurityAttributeDefinitionId, [Parameter()] - [System.Object] - $ExtensionCustomAttribute2, + [System.String] + $Type, [Parameter()] - [System.Object] - $DefaultPublicFolderMailbox, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $RetentionHoldEnabled, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.String] - $CustomAttribute13, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $RetentionPolicy, + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDirectoryCustomSecurityAttributeDefinition +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, [Parameter()] [System.String] - $CustomAttribute2, + $Name, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] [System.Management.Automation.SwitchParameter] - $RemoveDelayHoldApplied, + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $AllowedValues, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $UsePreDefinedValuesOnly, [Parameter()] - [System.Object] - $AuditLogAgeLimit, + [System.String] + $AttributeSet, [Parameter()] - [System.Object] - $StartDateForRetentionHold, + [System.Management.Automation.SwitchParameter] + $IsSearchable, [Parameter()] - [System.Object] - $SendModerationNotifications, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $EndDateForRetentionHold, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $RoleAssignmentPolicy, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $IsExcludedFromServingHierarchy, + [PSObject] + $BodyParameter, [Parameter()] [System.String] - $Office, + $Status, [Parameter()] - [System.Object] - $MaxSendSize, + [System.String] + $Id, [Parameter()] [System.Management.Automation.SwitchParameter] - $ApplyMandatoryProperties, + $Confirm, [Parameter()] - [System.Object] - $RejectMessagesFrom, + [System.String] + $Type, [Parameter()] - [System.Object] - $RecipientLimits, + [System.Management.Automation.SwitchParameter] + $IsCollection, [Parameter()] - [System.Boolean] - $MessageCopyForSentAsEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $PublicFolder, + $Break, [Parameter()] - [System.Object] - $MailTipTranslations, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.String] - $CustomAttribute7, + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaDirectoryCustomSecurityAttributeDefinition +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $SharingPolicy, + [System.String[]] + $Property, [Parameter()] - [System.String] - $CustomAttribute4, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $ExtensionCustomAttribute1, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ExcludeFromAllOrgHolds, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $ArchiveName, + [System.Int32] + $Skip, [Parameter()] - [System.Boolean] - $AuditEnabled, + [System.Int32] + $Top, [Parameter()] - [System.Boolean] - $SingleItemRecoveryEnabled, + [System.String] + $CountVariable, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $IssueWarningQuota, + [System.String[]] + $Sort, [Parameter()] - [System.Object] - $StsRefreshTokensValidFrom, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] [System.String] - $Name, + $Filter, [Parameter()] - [System.Object] - $ExtensionCustomAttribute3, + [System.String] + $CustomSecurityAttributeDefinitionId, [Parameter()] - [System.Object] - $ForwardingAddress, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.String] - $CustomAttribute12, + $Search, [Parameter()] [System.String] - $CustomAttribute3, + $ResponseHeadersVariable, [Parameter()] - [System.String] - $CustomAttribute11, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.String] - $SimpleDisplayName, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object] - $ForwardingSmtpAddress, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $MessageTrackingReadStatusEnabled + [PSObject] + $HttpPipelineAppend ) } -function Set-MailboxAuditBypassAssociation + +function Get-AdminDlpPolicy { [CmdletBinding()] param( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $PolicyName, [Parameter()] - [System.Boolean] - $AuditBypassEnabled, + [System.Object] + $ApiVersion, [Parameter()] - [System.Object] - $Identity + [System.String] + $Filter, + + [Parameter()] + [System.String] + $CreatedBy ) } -function Set-MailboxAutoReplyConfiguration +function New-AdminDlpPolicy { [CmdletBinding()] param( - [Parameter()] - [System.Object] - $Identity, - [Parameter()] [System.String] - $OOFEventSubject, + $DisplayName, [Parameter()] [System.String] - $DeclineMeetingMessage, - - [Parameter()] - [System.Object] - $ExternalAudience, + $ApiVersion, [Parameter()] [System.Boolean] - $DeclineEventsForScheduledOOF, + $BlockNonBusinessDataGroup, [Parameter()] - [System.Boolean] - $AutoDeclineFutureRequestsWhenOOF, + [System.String] + $EnvironmentName, [Parameter()] - [System.Object] - $AutoReplyState, - + [System.String] + $SchemaVersion + ) +} +function Set-AdminDlpPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.String[]] - $EventsToDeleteIDs, + [System.String] + $SchemaVersion, [Parameter()] - [System.DateTime] - $StartTime, + [System.String] + $FilterType, [Parameter()] - [System.Boolean] - $CreateOOFEvent, + [System.String] + $EnvironmentName, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $SetNonBusinessDataGroupState, [Parameter()] - [System.Boolean] - $DeclineAllEventsForScheduledOOF, + [System.String] + $DefaultGroup, [Parameter()] - [System.DateTime] - $EndTime, + [System.String] + $ApiVersion, [Parameter()] [System.String] - $InternalMessage, + $PolicyName, [Parameter()] [System.String] - $ExternalMessage + $Environments ) } -function Set-MailboxCalendarConfiguration + +function Remove-AdminDlpPolicy { [CmdletBinding()] param( [Parameter()] - [System.Int32] - $WeatherLocationBookmark, - - [Parameter()] - [System.Object] - $WorkspaceUserEnabled, + [System.String] + $ApiVersion, [Parameter()] - [System.Boolean] - $ConversationalSchedulingEnabled, + [System.String] + $PolicyName, [Parameter()] - [System.Boolean] - $HotelEventsFromEmailEnabled, + [System.String] + $EnvironmentName + ) +} +function New-PowerAppPolicyUrlPatterns +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $SkipAgendaMailOnFreeDays, + [System.String] + $TenantId, [Parameter()] - [System.Boolean] - $DiningEventsFromEmailEnabled, + [System.String] + $PolicyName, [Parameter()] [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $CreateEventsFromEmailAsPrivate, + $NewUrlPatterns, [Parameter()] [System.String] - $CalendarFeedsPreferredLanguage, - - [Parameter()] - [System.Boolean] - $PackageDeliveryEventsFromEmailEnabled, - + $ApiVersion + ) +} +function Remove-PowerAppPolicyUrlPatterns +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $WorkingHoursTimeZone, + [System.String] + $TenantId, [Parameter()] - [System.Object] - $WeatherLocations, + [System.String] + $PolicyName, [Parameter()] - [System.Boolean] - $FlightEventsFromEmailEnabled, - + [System.String] + $ApiVersion + ) +} +function Get-PowerAppPolicyUrlPatterns +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $RentalCarEventsFromEmailEnabled, + [System.String] + $TenantId, [Parameter()] - [System.Boolean] - $DeleteMeetingRequestOnRespond, + [System.String] + $PolicyName, [Parameter()] - [System.Int32] - $DefaultMeetingDuration, - + [System.String] + $ApiVersion + ) +} +function Get-TenantDetailsFromGraph +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $ReminderSoundEnabled, - + [System.String] + $GraphApiVersion + ) +} +function Remove-PowerAppDlpPolicyConnectorConfigurations +{ + [CmdletBinding()] + param( [Parameter()] - [System.TimeSpan] - $WorkingHoursEndTime, + [System.String] + $TenantId, [Parameter()] - [System.Object] - $ShortenEventScopeDefault, + [System.String] + $PolicyName, [Parameter()] - [System.Boolean] - $InvoiceEventsFromEmailEnabled, - + [System.String] + $ApiVersion + ) +} +function New-PowerAppDlpPolicyConnectorConfigurations +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $UseBrightCalendarColorThemeInOwa, + [System.String] + $TenantId, [Parameter()] - [System.TimeSpan] - $DefaultReminderTime, + [System.String] + $PolicyName, [Parameter()] - [System.Object] - $LocationDetailsInFreeBusy, + [System.String] + $ApiVersion, [Parameter()] [System.Object] - $WeatherEnabled, - + $NewDlpPolicyConnectorConfigurations + ) +} +function Get-PowerAppDlpPolicyConnectorConfigurations +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $CalendarFeedsPreferredRegion, - - [Parameter()] - [System.Boolean] - $ServiceAppointmentEventsFromEmailEnabled, - - [Parameter()] - [System.Boolean] - $ShowWeekNumbers, + $TenantId, [Parameter()] - [System.Boolean] - $RemindersEnabled, + [System.String] + $PolicyName, [Parameter()] - [System.Object] - $WeekStartDay, - + [System.String] + $ApiVersion + ) +} +#region MgBetaIdentityGovernanceAccessReviewDefinition +function Get-MgBetaIdentityGovernanceAccessReviewDefinition +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $FirstWeekOfYear, + [System.String] + $AccessReviewScheduleDefinitionId, [Parameter()] - [System.Int32] - $DefaultMinutesToReduceShortEventsBy, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $AgendaMailIntroductionEnabled, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.TimeSpan] - $WorkingHoursStartTime, + [System.String[]] + $Property, [Parameter()] [System.String] - $CalendarFeedsRootPageId, + $Filter, [Parameter()] - [System.Object] - $DailyAgendaMailSchedule, + [System.String] + $Search, [Parameter()] [System.Int32] - $DefaultMinutesToReduceLongEventsBy, + $Skip, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String[]] + $Sort, [Parameter()] - [System.Boolean] - $AutoDeclineWhenBusy, + [System.Int32] + $Top, [Parameter()] - [System.Object] - $OnlineMeetingsByDefaultEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $PreserveDeclinedMeetings, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $TimeIncrement, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $WorkDays, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Boolean] - $EntertainmentEventsFromEmailEnabled, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $EventsFromEmailEnabled, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $WeatherUnit, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $DefaultOnlineMeetingProvider, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $MailboxLocation, + [System.Int32] + $PageSize, [Parameter()] - [System.Boolean] - $AgendaMailEnabled, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Boolean] - $AgendaPaneEnabled + [System.String] + $CountVariable ) } -function Set-MailboxCalendarFolder + +function New-MgBetaIdentityGovernanceAccessReviewDefinition { [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $SharedCalendarSyncStartDate, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $SetAsSharingSource, - + param + ( [Parameter()] - [System.Boolean] - $SearchableUrlEnabled, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $PublishEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $PublishDateRangeTo, + [PSObject[]] + $AdditionalNotificationRecipients, [Parameter()] - [System.Object] - $PublishDateRangeFrom, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Management.Automation.SwitchParameter] - $UseHttps, + [PSObject[]] + $BackupReviewers, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ResetUrl, + [PSObject] + $CreatedBy, [Parameter()] - [System.Object] - $DetailLevel, + [System.DateTime] + $CreatedDateTime, [Parameter()] - [System.Object] - $Identity, + [System.String] + $DescriptionForAdmins, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function Set-MailboxFolderPermission -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object[]] - $AccessRights, + [System.String] + $DescriptionForReviewers, [Parameter()] - [System.Object] - $SharingPermissionFlags, + [System.String] + $DisplayName, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject[]] + $FallbackReviewers, [Parameter()] - [System.Object] - $User, + [System.String] + $Id, [Parameter()] - [System.Object] - $Identity, + [System.Collections.Hashtable] + $InstanceEnumerationScope, [Parameter()] - [System.Boolean] - $SendNotificationToUser - ) -} -function Set-MailboxIRMAccess -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $User, + [PSObject[]] + $Instances, [Parameter()] - [System.Object] - $Identity, + [System.DateTime] + $LastModifiedDateTime, [Parameter()] - [System.Object] - $AccessLevel - ) -} -function Set-MailboxPlan -{ - [CmdletBinding()] - param( - [Parameter()] - [System.Object] - $IssueWarningQuota, + [PSObject[]] + $Reviewers, [Parameter()] - [System.Object] - $RoleAssignmentPolicy, + [System.Collections.Hashtable] + $Scope, [Parameter()] - [System.Object] - $RetentionPolicy, + [PSObject] + $Settings, [Parameter()] - [System.Object] - $ProhibitSendReceiveQuota, + [PSObject[]] + $StageSettings, [Parameter()] - [System.Object] - $MaxSendSize, + [System.String] + $Status, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Break, [Parameter()] - [System.Object] - $ProhibitSendQuota, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $Identity, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $RetainDeletedItemsFor, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $RecipientLimits, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $MaxReceiveSize, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force + $Confirm ) } -function Set-MailboxRegionalConfiguration + +function Remove-MgBetaIdentityGovernanceAccessReviewDefinition { [CmdletBinding()] - param( + param + ( [Parameter()] [System.String] - $DateFormat, + $AccessReviewScheduleDefinitionId, [Parameter()] - [System.String] - $TimeFormat, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $MailboxLocation, + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $UseCustomRouting, + $Break, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Archive, + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] [System.Management.Automation.SwitchParameter] - $LocalizeDefaultFolderName, + $PassThru, [Parameter()] - [System.Object] - $TimeZone, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Globalization.CultureInfo] - $Language + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Set-MailContact + +function Set-MgBetaIdentityGovernanceAccessReviewDefinition { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Object] - $WindowsEmailAddress, + [System.String] + $AccessReviewScheduleDefinitionId, [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromDLMembers, + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $BodyParameter, [Parameter()] [System.String] - $CustomAttribute10, + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $RequireSenderAuthenticationEnabled, + [PSObject[]] + $AdditionalNotificationRecipients, [Parameter()] - [System.Boolean] - $ModerationEnabled, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $ExtensionCustomAttribute4, + [PSObject[]] + $BackupReviewers, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $CreatedBy, [Parameter()] - [System.Object] - $MacAttachmentFormat, + [System.DateTime] + $CreatedDateTime, [Parameter()] [System.String] - $CustomAttribute8, + $DescriptionForAdmins, [Parameter()] [System.String] - $DisplayName, + $DescriptionForReviewers, [Parameter()] [System.String] - $CustomAttribute3, + $DisplayName, [Parameter()] - [System.Object] - $RejectMessagesFromSendersOrMembers, + [PSObject[]] + $FallbackReviewers, [Parameter()] - [System.Object] - $MailTipTranslations, + [System.String] + $Id, [Parameter()] - [System.String] - $CustomAttribute7, + [System.Collections.Hashtable] + $InstanceEnumerationScope, [Parameter()] - [System.Object] - $UseMapiRichTextFormat, + [PSObject[]] + $Instances, [Parameter()] - [System.String] - $CustomAttribute5, + [System.DateTime] + $LastModifiedDateTime, [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromSendersOrMembers, + [PSObject[]] + $Reviewers, [Parameter()] - [System.Boolean] - $HiddenFromAddressListsEnabled, + [System.Collections.Hashtable] + $Scope, [Parameter()] - [System.String] - $CustomAttribute6, + [PSObject] + $Settings, [Parameter()] - [System.Boolean] - $UsePreferMessageFormat, + [PSObject[]] + $StageSettings, [Parameter()] [System.String] - $CustomAttribute1, + $Status, [Parameter()] - [System.Object] - $BypassModerationFromSendersOrMembers, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.String] - $CustomAttribute11, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.String] - $CustomAttribute13, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $ModeratedBy, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.String] - $CustomAttribute14, + [System.Uri] + $Proxy, [Parameter()] - [System.String] - $MailTip, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $MessageBodyFormat, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Stop-MgBetaIdentityGovernanceAccessReviewDefinition +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $AcceptMessagesOnlyFrom, + [System.String] + $AccessReviewScheduleDefinitionId, [Parameter()] - [System.Object] - $ExtensionCustomAttribute3, + [PSObject] + $InputObject, [Parameter()] [System.String] - $CustomAttribute15, + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $RejectMessagesFrom, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $UserSMimeCertificate, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $ExtensionCustomAttribute1, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $MessageFormat, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $PassThru, [Parameter()] - [System.Object] - $ExtensionCustomAttribute5, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $ExternalEmailAddress, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.String] - $CustomAttribute4, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $ExtensionCustomAttribute2, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +#endregion +function Invoke-PnPSPRestMethod +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $CustomAttribute9, + $Method, [Parameter()] - [System.Object] - $RejectMessagesFromDLMembers, + [System.String] + $Url, + [Parameter()] + [System.Object] + $Content + ) +} +#region MgBetaNetworkAccessForwardingProfile +function Get-MgBetaNetworkAccessForwardingProfile +{ + [CmdletBinding()] + param + ( [Parameter()] [System.String] - $Alias, + $ForwardingProfileId, [Parameter()] - [System.String] - $SimpleDisplayName, + [PSObject] + $InputObject, [Parameter()] - [System.String] - $CustomAttribute2, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object] - $UserCertificate, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $SendModerationNotifications, + [System.String] + $Filter, [Parameter()] [System.String] - $Name, + $Search, [Parameter()] - [System.Object] - $EmailAddresses, + [System.Int32] + $Skip, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ForceUpgrade, + [System.String[]] + $Sort, [Parameter()] - [System.Object] - $GrantSendOnBehalfTo, + [System.Int32] + $Top, [Parameter()] [System.String] - $CustomAttribute12 - ) -} -function Set-MalwareFilterPolicy -{ - [CmdletBinding()] - param( + $ResponseHeadersVariable, + [Parameter()] [System.Management.Automation.SwitchParameter] - $MakeDefault, + $Break, [Parameter()] - [System.String] - $CustomFromName, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $Identity, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.String] - $AdminDisplayName, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.String] - $CustomExternalBody, + [System.Uri] + $Proxy, [Parameter()] - [System.String] - $QuarantineTag, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $CustomNotifications, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $EnableExternalSenderAdminNotifications, + [System.Int32] + $PageSize, [Parameter()] - [System.Object] - $InternalSenderAdminAddress, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.String[]] - $FileTypes, + [System.String] + $CountVariable + ) +} +function Update-MgBetaNetworkAccessForwardingProfile +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Boolean] - $EnableInternalSenderAdminNotifications, + [System.String] + $ForwardingProfileId, [Parameter()] - [System.Object] - $CustomFromAddress, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $IsPolicyOverrideApplied, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $ZapEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $ExternalSenderAdminAddress, + [PSObject[]] + $Associations, [Parameter()] [System.String] - $CustomExternalSubject, + $Description, [Parameter()] - [System.Object] - $FileTypeAction, + [System.String] + $Id, [Parameter()] - [System.String] - $CustomInternalSubject, + [System.DateTime] + $LastModifiedDateTime, [Parameter()] [System.String] - $CustomInternalBody, + $Name, [Parameter()] - [System.Boolean] - $EnableFileFilter - ) -} -function Set-MalwareFilterRule -{ - [CmdletBinding()] - param( + [PSObject[]] + $Policies, + [Parameter()] [System.Int32] $Priority, [Parameter()] - [System.String] - $Name, + [PSObject] + $ServicePrincipal, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [System.String] + $State, [Parameter()] - [System.Object[]] - $SentTo, + [System.String] + $TrafficForwardingType, [Parameter()] [System.String] - $Comments, + $Version, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $Identity, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $MalwareFilterPolicy, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Set-ManagementRoleAssignment + +#endregion + +#region MgBetaNetworkAccessForwardingPolicy +function Get-MgBetaNetworkAccessForwardingPolicy { [CmdletBinding()] param( [Parameter()] - [System.Object] - $RecipientGroupScope, + [System.String] + $ForwardingPolicyId, [Parameter()] - [System.Object] - $CustomRecipientWriteScope, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $RecipientAdministrativeUnitScope, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $ExclusiveRecipientWriteScope, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $CustomResourceScope, + [System.Int32] + $PageSize, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $RecipientOrganizationalUnitScope, + [System.Int32] + $Skip, [Parameter()] - [System.Boolean] - $Enabled, + [System.Int32] + $Top, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $CountVariable, [Parameter()] - [System.Object] - $RecipientRelativeWriteScope, + [System.Uri] + $Proxy, - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Set-ManagementRoleEntry -{ - [CmdletBinding()] - param( [Parameter()] [System.String[]] - $Parameters, + $Sort, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $All, [Parameter()] - [System.Object] - $Identity, + [System.String] + $Filter, [Parameter()] - [System.Management.Automation.SwitchParameter] - $RemoveParameter, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AddParameter, + [System.String] + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force + $Break, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend ) } -function Set-ManagementScope +function New-MgBetaNetworkAccessForwardingPolicyRule { [CmdletBinding()] param( [Parameter()] - [System.Object] - $RecipientRoot, + [System.String] + $ForwardingPolicyId, [Parameter()] [System.String] $Name, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.String] - $RecipientRestrictionFilter, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Set-MessageClassification -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $SenderDescription, + [PSObject] + $InputObject, [Parameter()] - [System.String] - $DisplayName, + [System.Uri] + $Proxy, [Parameter()] - [System.String] - $RecipientDescription, + [PSObject] + $BodyParameter, [Parameter()] [System.String] - $Name, + $Id, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Boolean] - $PermissionMenuVisible, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $Identity, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Guid] - $ClassificationID, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $DisplayPrecedence, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $RetainClassificationEnabled + [PSObject] + $HttpPipelineAppend ) } -function Set-MigrationBatch +function Remove-MgBetaNetworkAccessForwardingPolicyRule { [CmdletBinding()] param( [Parameter()] - [System.Byte[]] - $CSVData, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $ReportInterval, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $MoveOptions, + [System.Uri] + $Proxy, [Parameter()] [System.Management.Automation.SwitchParameter] - $Update, + $PassThru, [Parameter()] - [System.Object] - $NotificationEmails, + [System.String] + $ForwardingPolicyId, [Parameter()] - [System.Boolean] - $SkipReports, + [System.String] + $IfMatch, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ApproveSkippedItems, + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $SyncNow, - - [Parameter()] - [System.Object] - $SkipMerging, + $Confirm, [Parameter()] - [System.Object] - $SkipMoving, + [PSObject] + $HttpPipelineAppend, [Parameter()] [System.Management.Automation.SwitchParameter] - $AddUsers, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $CompleteAfter, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $Partition, + [System.String] + $PolicyRuleId, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $BadItemLimit, - - [Parameter()] - [System.Boolean] - $AllowUnknownColumnsInCSV, - - [Parameter()] - [System.Object] - $StartAfter, - - [Parameter()] - [System.Object] - $LargeItemLimit + $Break ) } -function Set-MigrationEndpoint +#endregion + +#region MgBetaNetworkAccessForwardingProfilePolicy +function Get-MgBetaNetworkAccessForwardingProfilePolicy { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Object] - $Identity, - - [Parameter()] - [System.Boolean] - $AcceptUntrustedCertificates, + [System.String] + $ForwardingProfileId, [Parameter()] - [System.Object] - $MaxConcurrentMigrations, + [PSObject] + $InputObject, [Parameter()] - [System.Byte[]] - $ServiceAccountKeyFileData, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object] - $TestMailbox, + [System.String[]] + $Property, [Parameter()] [System.String] - $ExchangeServer, + $Filter, [Parameter()] - [System.Management.Automation.SwitchParameter] - $SkipVerification, + [System.String] + $Search, [Parameter()] - [System.Object] - $Authentication, + [System.Int32] + $Skip, [Parameter()] - [System.String] - $AppSecretKeyVaultUrl, + [System.String[]] + $Sort, [Parameter()] - [System.Object] - $Port, + [System.Int32] + $Top, [Parameter()] [System.String] - $ApplicationId, - - [Parameter()] - [System.Object] - $RemoteServer, + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $Partition, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $MailboxPermission, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.String] - $SourceMailboxLegacyDN, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.String] - $NspiServer, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $RPCProxyServer, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.String] - $PublicFolderDatabaseServerLegacyDN, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Security, + [System.Int32] + $PageSize, [Parameter()] - [System.Object] - $MaxConcurrentIncrementalSyncs, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Management.Automation.PSCredential] - $Credentials + [System.String] + $CountVariable ) } -function Set-MobileDeviceMailboxPolicy + +function Update-MgBetaNetworkAccessForwardingProfilePolicy { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Boolean] - $AllowMicrosoftPushNotifications, + [System.String] + $ForwardingProfileId, [Parameter()] - [System.Boolean] - $AllowUnsignedApplications, + [System.String] + $PolicyLinkId , [Parameter()] - [System.Boolean] - $AllowUnsignedInstallationPackages, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $AllowExternalDeviceManagement, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $AllowIrDA, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $AllowStorageCard, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Int32] - $PasswordHistory, + [System.String] + $Id, [Parameter()] - [System.Boolean] - $AllowNonProvisionableDevices, + [System.String] + $State, [Parameter()] - [System.Object] - $UnapprovedInROMApplicationList, + [System.String] + $Version, [Parameter()] - [System.Boolean] - $RequireEncryptedSMIMEMessages, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $RequireDeviceEncryption, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $AllowInternetSharing, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Boolean] - $PasswordEnabled, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $RequireSignedSMIMEAlgorithm, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $MaxEmailHTMLBodyTruncationSize, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Int32] - $MinPasswordComplexCharacters, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $UNCAccessEnabled, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} - [Parameter()] - [System.Boolean] - $AllowCamera, +#endregion +#region MgBetaIdentityB2XUserFlow +function Get-MgBetaIdentityB2XUserFlow +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Boolean] - $IrmEnabled, + [System.String] + $B2XIdentityUserFlowId, [Parameter()] - [System.Object] - $PasswordExpiration, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $AllowBrowser, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object] - $MaxEmailAgeFilter, + [System.String[]] + $Property, [Parameter()] - [System.Boolean] - $RequireManualSyncWhenRoaming, + [System.String] + $Filter, [Parameter()] - [System.Boolean] - $AlphanumericPasswordRequired, + [System.String] + $Search, [Parameter()] - [System.Object] - $AllowSMIMEEncryptionAlgorithmNegotiation, + [System.Int32] + $Skip, [Parameter()] - [System.Boolean] - $DeviceEncryptionEnabled, + [System.String[]] + $Sort, [Parameter()] - [System.Object] - $MaxEmailBodyTruncationSize, + [System.Int32] + $Top, [Parameter()] - [System.Object] - $AllowBluetooth, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $WSSAccessEnabled, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $RequireEncryptionSMIMEAlgorithm, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $DevicePolicyRefreshInterval, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Boolean] - $AllowGooglePushNotifications, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $AllowMobileOTAUpdate, + [System.Uri] + $Proxy, - [Parameter()] - [System.String] - $Name, + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $MaxAttachmentSize, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $AllowSimplePassword, + [System.Int32] + $PageSize, [Parameter()] - [System.Boolean] - $AllowConsumerEmail, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Boolean] - $AllowDesktopSync, + [System.String] + $CountVariable + ) +} +function New-MgBetaIdentityB2XUserFlow +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Boolean] - $PasswordRecoveryEnabled, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $RequireStorageCardEncryption, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $AllowSMIMESoftCerts, + [PSObject] + $ApiConnectorConfiguration, [Parameter()] - [System.Boolean] - $AllowRemoteDesktop, + [System.String] + $Id, [Parameter()] - [System.Boolean] - $AttachmentsEnabled, + [PSObject[]] + $IdentityProviders, [Parameter()] - [System.Object] - $MaxCalendarAgeFilter, + [PSObject[]] + $Languages, [Parameter()] - [System.Boolean] - $AllowWiFi, + [PSObject[]] + $UserAttributeAssignments, [Parameter()] - [System.Boolean] - $AllowApplePushNotifications, + [PSObject[]] + $UserFlowIdentityProviders, [Parameter()] - [System.Boolean] - $AllowPOPIMAPEmail, + [System.String] + $UserFlowType, [Parameter()] - [System.Boolean] - $IsDefault, + [System.Single] + $UserFlowTypeVersion, [Parameter()] - [System.Object] - $MaxInactivityTimeLock, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $ApprovedApplicationList, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $AllowTextMessaging, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $MaxPasswordFailedAttempts, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $RequireSignedSMIMEMessages, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $MinPasswordLength, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $AllowHTMLEmail, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Identity + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Set-OfflineAddressBook + +function Remove-MgBetaIdentityB2XUserFlow { [CmdletBinding()] - param( + param + ( [Parameter()] [System.String] - $Name, - - [Parameter()] - [System.Object] - $Versions, - - [Parameter()] - [System.Object] - $Schedule, + $B2XIdentityUserFlowId, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ApplyMandatoryProperties, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $ZipOabFilesBeforeUploading, + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $UpgradeFromE14, + $Break, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Int32] - $FullOabDownloadPreventionThreshold, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $Identity, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $DiffRetentionPeriod, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.Object[]] - $AddressLists, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $ConfiguredAttributes, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.Management.Automation.SwitchParameter] - $UseDefaultAttributes, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $IsDefault + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Set-OMEConfiguration + +function Update-MgBetaIdentityB2XUserFlow { [CmdletBinding()] - param( - [Parameter()] - [System.Double] - $ExternalMailExpiryInDays, - + param + ( [Parameter()] [System.String] - $ReadButtonText, + $B2XIdentityUserFlowId, [Parameter()] - [System.String] - $PortalText, + [PSObject] + $InputObject, [Parameter()] - [System.Byte[]] - $Image, + [PSObject] + $BodyParameter, [Parameter()] [System.String] - $IntroductionText, + $ResponseHeadersVariable, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.String] - $BackgroundColor, + [PSObject] + $ApiConnectorConfiguration, [Parameter()] [System.String] - $DisclaimerText, + $Id, [Parameter()] - [System.String] - $PrivacyStatementUrl, + [PSObject[]] + $IdentityProviders, [Parameter()] - [System.Boolean] - $SocialIdSignIn, + [PSObject[]] + $Languages, [Parameter()] - [System.String] - $EmailText, + [PSObject[]] + $UserAttributeAssignments, [Parameter()] - [System.Boolean] - $OTPEnabled, + [PSObject[]] + $UserFlowIdentityProviders, [Parameter()] - [System.Object] - $Identity - ) -} -function Set-OnPremisesOrganization -{ - [CmdletBinding()] - param( + [System.String] + $UserFlowType, + [Parameter()] - [System.Object] - $InboundConnector, + [System.Single] + $UserFlowTypeVersion, [Parameter()] - [System.Object] - $OutboundConnector, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.String] - $OrganizationName, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.String] - $Comment, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $Identity, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $OrganizationRelationship, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $HybridDomains + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Set-Organization +#endregion + +#region MgBetaIdentityB2XUserFlowApiConnectorConfiguration +function Get-MgBetaIdentityB2XUserFlowApiConnectorConfiguration { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $B2XIdentityUserFlowId, [Parameter()] - [System.Boolean] - $UnifiedAuditLogIngestionEnabled, + [System.String[]] + $ExpandProperty + ) +} + +function Set-MgBetaIdentityB2XUserFlowPostFederationSignupByRef +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $B2XIdentityUserFlowId, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force + [PSObject] + $BodyParameter ) } -function Set-OrganizationConfig + +function Set-MgBetaIdentityB2XUserFlowPostAttributeCollectionByRef { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Boolean] - $BookingsSearchEngineIndexDisabled, + [System.String] + $B2XIdentityUserFlowId, [Parameter()] - [System.Object] - $EwsAllowMacOutlook, + [PSObject] + $BodyParameter + ) +} +#endregion +#region MgBetaIdentityB2XUserFlowUserAttributeAssignment +function Get-MgBetaIdentityB2XUserFlowUserAttributeAssignment +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Int32] - $RequiredCharsetCoverage, + [System.String] + $B2XIdentityUserFlowId, [Parameter()] - [System.Boolean] - $PublicComputersDetectionEnabled, + [System.String[]] + $ExpandProperty + ) +} +function New-MgBetaIdentityB2XUserFlowUserAttributeAssignment +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Boolean] - $MaskClientIpInReceivedHeadersEnabled, + [System.String] + $B2XIdentityUserFlowId, [Parameter()] - [System.Boolean] - $OAuth2ClientProfileEnabled, + [PSObject] + $BodyParameter + ) +} +function Update-MgBetaIdentityB2XUserFlowUserAttributeAssignment +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $DefaultPublicFolderProhibitPostQuota, + [System.String] + $B2XIdentityUserFlowId, [Parameter()] - [System.Boolean] - $EnableOutlookEvents, + [System.String] + $IdentityUserFlowAttributeAssignmentId, [Parameter()] - [System.Boolean] - $OutlookGifPickerDisabled, + [PSObject] + $BodyParameter + ) +} +function Remove-MgBetaIdentityB2XUserFlowUserAttributeAssignment +{ + [CmdletBinding()] + param + ( [Parameter()] [System.String] - $VisibleMeetingUpdateProperties, + $B2XIdentityUserFlowId, [Parameter()] - [System.Object] - $EwsEnabled, + [System.String] + $IdentityUserFlowAttributeAssignmentId + ) +} + +#endregion +#region MgBetaIdentityB2XUserFlowIdentityProvider +function Get-MgBetaIdentityB2XUserFlowIdentityProvider +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $DefaultPublicFolderIssueWarningQuota, + [System.String] + $B2XIdentityUserFlowId, [Parameter()] - [System.Boolean] - $RefreshSessionEnabled, + [System.String[]] + $ExpandProperty + ) +} +function New-MgBetaIdentityB2XUserFlowIdentityProviderByRef +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Boolean] - $IsGroupFoldersAndRulesEnabled, + [System.String] + $B2XIdentityUserFlowId, [Parameter()] - [System.Boolean] - $WebSuggestedRepliesDisabled, + [PSObject] + $BodyParameter + ) +} +function Remove-MgBetaIdentityB2XUserFlowIdentityProviderByRef +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Boolean] - $ReadTrackingEnabled, + [System.String] + $B2XIdentityUserFlowId, [Parameter()] - [System.Boolean] - $BookingsExposureOfStaffDetailsRestricted, + [System.String] + $IdentityProviderBaseId + ) +} +#endregion +function Get-MgBetaIdentityApiConnector +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $MessageRecallEnabled, + [System.String] + $IdentityApiConnectorId, [Parameter()] - [System.Boolean] - $ExchangeNotificationEnabled, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $AutoEnableArchiveMailbox, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Boolean] - $WorkspaceTenantEnabled, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $DistributionGroupDefaultOU, + [System.String] + $Filter, [Parameter()] - [System.Boolean] - $BookingsSocialSharingRestricted, + [System.String] + $Search, [Parameter()] [System.Int32] - $DefaultMinutesToReduceLongEventsBy, + $Skip, [Parameter()] - [System.Boolean] - $MessageRecallAlertRecipientsEnabled, + [System.String[]] + $Sort, [Parameter()] - [System.Object] - $EwsAllowList, + [System.Int32] + $Top, [Parameter()] - [System.Boolean] - $BookingsAuthEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $AcceptedDomainApprovedSendersEnabled, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $AutomaticForcedReadReceiptEnabled, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $OnlineMeetingsByDefaultEnabled, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.String] - $BookingsNamingPolicyPrefix, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $FindTimeLockPollForAttendeesEnabled, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $BookingsNamingPolicyPrefixEnabled, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $ConnectorsEnabledForSharepoint, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $EwsBlockList, + [System.Int32] + $PageSize, [Parameter()] - [System.Object] - $EwsAllowOutlook, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Boolean] - $OutlookMobileSingleAccountEnabled, - + [System.String] + $CountVariable + ) +} +#region MgBetaOrganizationCertificateBasedAuthConfiguration +function Get-MgBetaOrganizationCertificateBasedAuthConfiguration +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $ActivityBasedAuthenticationTimeoutInterval, + [System.String] + $CertificateBasedAuthConfigurationId, [Parameter()] - [System.Boolean] - $LinkPreviewEnabled, + [System.String] + $OrganizationId, [Parameter()] - [System.Object] - $DefaultPublicFolderDeletedItemRetention, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $MailTipsAllTipsEnabled, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object] - $DistributionGroupNameBlockedWordsList, + [System.String[]] + $Property, [Parameter()] - [System.Boolean] - $ConnectorsEnabledForTeams, + [System.String] + $Filter, [Parameter()] - [System.Boolean] - $EndUserDLUpgradeFlowsDisabled, + [System.String] + $Search, [Parameter()] - [System.Object] - $MessageRecallMaxRecallableAge, + [System.Int32] + $Skip, [Parameter()] - [System.Object] - $FocusedInboxOn, + [System.String[]] + $Sort, [Parameter()] - [System.Object] - $DefaultPublicFolderAgeLimit, + [System.Int32] + $Top, [Parameter()] - [System.Boolean] - $EnableForwardingAddressSyncForMailboxes, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $DefaultGroupAccessType, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $BlockMoveMessagesForGroupFolders, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $FindTimeAutoScheduleDisabled, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] [System.Uri] - $SiteMailboxCreationURL, + $Proxy, [Parameter()] - [System.Boolean] - $ConnectorsEnabledForOutlook, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.UInt32] - $MailTipsLargeAudienceThreshold, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $DirectReportsGroupAutoCreationEnabled, + [System.Int32] + $PageSize, [Parameter()] - [System.Boolean] - $TenantAdminNotificationForDelayedDelicensingEnabled, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Boolean] - $MessageRemindersEnabled, + [System.String] + $CountVariable + ) +} +function New-MgBetaOrganizationCertificateBasedAuthConfiguration +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Boolean] - $PublicFolderShowClientControl, + [System.String] + $OrganizationId, [Parameter()] - [System.Boolean] - $AppsForOfficeEnabled, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $UnblockUnsafeSenderPromptEnabled, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $ConnectorsActionableMessagesEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Int32] - $DefaultMinutesToReduceShortEventsBy, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $CalendarVersionStoreEnabled, + [PSObject[]] + $CertificateAuthorities, [Parameter()] - [System.Object] - $RemotePublicFolderMailboxes, + [System.String] + $Id, [Parameter()] - [System.Boolean] - $EndUserMailNotificationForDelayedDelicensingEnabled, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $BookingsBlockedWordsEnabled, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $FindTimeOnlineMeetingOptionDisabled, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $HierarchicalAddressBookRoot, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $AsyncSendEnabled, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $HybridRSVPEnabled, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $ConnectorsEnabled, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $PerTenantSwitchToESTSEnabled, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Remove-MgBetaOrganizationCertificateBasedAuthConfiguration +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Int32] - $PreferredInternetCodePageForShiftJis, + [System.String] + $CertificateBasedAuthConfigurationId, [Parameter()] - [System.Boolean] - $BookingsPhoneNumberEntryRestricted, + [System.String] + $OrganizationId, [Parameter()] - [System.Boolean] - $MobileAppEducationEnabled, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $BookingsNamingPolicyEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $ActivityBasedAuthenticationTimeoutEnabled, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $BookingsAddressEntryRestricted, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $RejectDirectSend, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Boolean] - $BookingsSmsMicrosoftEnabled, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $BookingsEnabled, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.Object] - $ExchangeNotificationRecipients, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $EwsAllowEntourage, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $IsAgendaMailEnabled, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $BookingsMembershipApprovalRequired, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Update-MgBetaIdentityApiConnector +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $CustomerLockboxEnabled, + [System.String] + $DisplayName, [Parameter()] - [System.Boolean] - $OutlookPayEnabled, + [System.Collections.Hashtable] + $AuthenticationConfiguration, [Parameter()] - [System.Boolean] - $MessageRecallAlertRecipientsReadMessagesOnlyEnabled, + [System.String] + $IdentityApiConnectorId, [Parameter()] - [System.Boolean] - $MailTipsMailboxSourcedTipsEnabled, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $OutlookTextPredictionDisabled, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $DefaultPublicFolderMaxItemSize, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $PublicFoldersEnabled, + [System.String] + $TargetUrl, [Parameter()] - [System.Boolean] - $SendFromAliasEnabled, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $IPListBlocked, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $ActivityBasedAuthenticationTimeoutWithSingleSignOnEnabled, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $IsGroupMemberAllowedToEditContent, + [System.String] + $Id, [Parameter()] - [System.Boolean] - $EwsOperationAccessPolicyEnabled, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $DisablePlusAddressInRecipients, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $OutlookMobileGCCRestrictionsEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $AutoExpandingArchive, + $Break, [Parameter()] - [System.Object] - $RecallReadMessagesEnabled, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $SharedDomainEmailAddressFlowEnabled, + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaIdentityApiConnector +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $ShortenEventScopeDefault, + [System.String] + $DisplayName, [Parameter()] - [System.Boolean] - $DelayedDelicensingEnabled, + [System.Collections.Hashtable] + $AuthenticationConfiguration, [Parameter()] - [System.Boolean] - $MailTipsGroupMetricsEnabled, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $SmtpActionableMessagesEnabled, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $BookingsNamingPolicySuffixEnabled, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $AutodiscoverPartialDirSync, + [System.String] + $TargetUrl, [Parameter()] - [System.Boolean] - $BookingsCreationOfCustomQuestionsRestricted, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $AuditDisabled, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $FindTimeAttendeeAuthenticationEnabled, + [System.String] + $Id, [Parameter()] - [System.String] - $BookingsNamingPolicySuffix, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $DistributionGroupNamingPolicy, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $ComplianceMLBgdCrawlEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $BookingsPaymentsEnabled, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $OutlookMobileHelpShiftEnabled, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $PostponeRoamingSignaturesUntilLater, + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaIdentityApiConnector +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $MailTipsExternalRecipientsTipsEnabled, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $BookingsNotesEntryRestricted, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $MatchSenderOrganizerProperties, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $EwsApplicationAccessPolicy, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $MessageHighlightsEnabled, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.Boolean] - $ElcProcessingDisabled, + [System.String] + $IfMatch, [Parameter()] - [System.Boolean] - $WebPushNotificationsDisabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $DefaultPublicFolderMovedItemRetention, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $LeanPopoutEnabled, + [PSObject] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $DefaultAuthenticationPolicy, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.String] - $EwsOperationAccessPolicyAllowList, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Int32] - $ByteEncoderTypeFor7BitCharsets, + [System.String] + $IdentityApiConnectorId, [Parameter()] - [System.Boolean] - $ConnectorsEnabledForYammer + [System.Management.Automation.SwitchParameter] + $Break ) } -function Set-OrganizationRelationship + +function Invoke-MgBetaUploadIdentityApiConnectorClientCertificate { [CmdletBinding()] param( [Parameter()] - [System.Object] - $MailboxMovePublishedScopes, + [System.String] + $Password, [Parameter()] - [System.Object] - $MailTipsAccessLevel, + [System.String] + $IdentityApiConnectorId, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, [Parameter()] [System.String] - $OAuthApplicationId, + $Pkcs12Value, [Parameter()] - [System.Object] - $MailTipsAccessScope, + [PSObject] + $InputObject, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object] - $MailboxMoveCapability, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $Identity, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $DeliveryReportEnabled, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $MailTipsAccessEnabled + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend ) } -function Set-OutboundConnector + +#endregion +#region MgBetaPolicyHomeRealmDiscoveryPolicy +function Get-MgBetaPolicyHomeRealmDiscoveryPolicy { [CmdletBinding()] - param( - [Parameter()] - [System.Boolean] - $RouteAllMessagesViaOnPremises, - + param + ( [Parameter()] - [System.Object] - $RecipientDomains, + [System.String] + $HomeRealmDiscoveryPolicyId, [Parameter()] - [System.Boolean] - $CloudServicesMailEnabled, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $Identity, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Boolean] - $Enabled, + [System.String[]] + $Property, [Parameter()] [System.String] - $Name, + $Filter, [Parameter()] - [System.Boolean] - $AllAcceptedDomains, + [System.String] + $Search, [Parameter()] - [System.Boolean] - $TestMode, + [System.Int32] + $Skip, [Parameter()] - [System.String] - $Comment, + [System.String[]] + $Sort, [Parameter()] - [System.Boolean] - $IsTransportRuleScoped, + [System.Int32] + $Top, [Parameter()] - [System.Boolean] - $IsValidated, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $UseMXRecord, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $LastValidationTimestamp, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $TlsSettings, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.String[]] - $ValidationRecipients, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $ConnectorType, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $SmartHosts, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $SenderRewritingEnabled, + [System.Int32] + $PageSize, [Parameter()] - [System.Object] - $TlsDomain, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Object] - $ConnectorSource + [System.String] + $CountVariable ) } -function Set-OwaMailboxPolicy + +function New-MgBetaPolicyHomeRealmDiscoveryPolicy { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Int32] - $DefaultClientLanguage, + [System.Collections.Hashtable] + $BodyParameter, [Parameter()] - [System.Boolean] - $ContactsEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $PersonalAccountCalendarsEnabled, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $MessagePreviewsDisabled, + [PSObject[]] + $AppliesTo, [Parameter()] - [System.Boolean] - $ExplicitLogonEnabled, + [System.String[]] + $Definition, [Parameter()] - [System.Boolean] - $ShowOnlineArchiveEnabled, + [System.DateTime] + $DeletedDateTime, [Parameter()] - [System.Object] - $BlockedFileTypes, + [System.String] + $Description, [Parameter()] - [System.Boolean] - $NpsSurveysEnabled, + [System.String] + $DisplayName, [Parameter()] - [System.Boolean] - $LinkedInEnabled, + [System.String] + $Id, [Parameter()] - [System.Object] - $ConditionalAccessPolicy, + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, [Parameter()] - [System.String[]] - $AllowedOrganizationAccountDomains, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $ChangePasswordEnabled, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $SignaturesEnabled, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.String] - $BookingsMailboxDomain, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $WeatherEnabled, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $WacViewingOnPublicComputersEnabled, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $OutlookBetaToggleEnabled, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $SMimeSuppressNameChecksEnabled, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Remove-MgBetaPolicyHomeRealmDiscoveryPolicy +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $ActionForUnknownFileAndMIMETypes, + [System.String] + $HomeRealmDiscoveryPolicyId, [Parameter()] - [System.String] - $ExternalSPMySiteHostURL, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $OfflineEnabledWeb, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $HideClassicOutlookToggleOut, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $JournalEnabled, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $CalendarEnabled, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Boolean] - $SpellCheckerEnabled, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $DisplayPhotosEnabled, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.Boolean] - $TasksEnabled, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $GroupCreationEnabled, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $ForceSaveFileTypes, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $OutlookNewslettersAccessLevel, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Update-MgBetaPolicyHomeRealmDiscoveryPolicy +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $ChangeSettingsAccountEnabled, + [System.String] + $HomeRealmDiscoveryPolicyId, [Parameter()] - [System.Object] - $AdditionalAccountsEnabled, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $TeamsnapCalendarsEnabled, + [System.Collections.Hashtable] + $BodyParameter, [Parameter()] - [System.Boolean] - $WacViewingOnPrivateComputersEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $TextMessagingEnabled, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $SearchFoldersEnabled, + [PSObject[]] + $AppliesTo, [Parameter()] - [System.Boolean] - $UserVoiceEnabled, + [System.String[]] + $Definition, [Parameter()] - [System.Boolean] - $ForceWacViewingFirstOnPublicComputers, + [System.DateTime] + $DeletedDateTime, [Parameter()] - [System.Boolean] - $GlobalAddressListEnabled, + [System.String] + $Description, [Parameter()] - [System.Boolean] - $IRMEnabled, + [System.String] + $DisplayName, [Parameter()] - [System.Boolean] - $DirectFileAccessOnPublicComputersEnabled, + [System.String] + $Id, [Parameter()] - [System.Boolean] - $WacOMEXEnabled, + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, [Parameter()] - [System.Boolean] - $DirectFileAccessOnPrivateComputersEnabled, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $OutlookNewslettersReactions, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $OfflineEnabledWin, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $ItemsToOtherAccountsEnabled, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $WSSAccessOnPublicComputersEnabled, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $ForceSaveMimeTypes, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $OnSendAddinsEnabled, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $WacExternalServicesEnabled, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} + +#endregion +#region Microsoft.Graph.Authentication +function Get-MgBetaDeviceManagementAndroidDeviceOwnerEnrollmentProfile +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $InternalSPMySiteHostURL, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $RemindersAndNotificationsEnabled, + [System.String[]] + $Property, [Parameter()] - [System.Boolean] - $SatisfactionEnabled, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $OWALightEnabled, + [System.String] + $AndroidDeviceOwnerEnrollmentProfileId, [Parameter()] - [System.Object] - $InstantMessagingType, + [System.Int32] + $PageSize, [Parameter()] - [System.Object] - $OutlookDataFile, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $AccountTransferEnabled, + [System.Int32] + $Skip, [Parameter()] - [System.Object] - $PersonalAccountsEnabled, + [System.Int32] + $Top, [Parameter()] [System.String] - $DefaultTheme, + $CountVariable, [Parameter()] - [System.Boolean] - $SetPhotoEnabled, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $ClassicAttachmentsEnabled, + [System.String[]] + $Sort, [Parameter()] - [System.Boolean] - $AllowCopyContactsToDeviceAddressBook, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Object] - $AllowedMimeTypes, + [System.String] + $Filter, [Parameter()] - [System.Object] - $OutlookNewslettersShowMore, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $OutboundCharset, + [System.String] + $Search, [Parameter()] - [System.Boolean] - $LocalEventsEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $ReportJunkEmailEnabled, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $UseISO885915, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Boolean] - $ForceWacViewingFirstOnPrivateComputers, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject] + $HttpPipelineAppend + ) +} +function New-MgBetaDeviceManagementAndroidDeviceOwnerEnrollmentProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $WifiSecurityType, [Parameter()] - [System.Boolean] - $UMIntegrationEnabled, + [System.String] + $DisplayName, [Parameter()] - [System.Boolean] - $NotesEnabled, + [System.String] + $WifiSsid, [Parameter()] - [System.Boolean] - $OrganizationEnabled, + [System.String] + $Description, [Parameter()] - [System.Object] - $WebPartsFrameOptionsType, + [System.DateTime] + $LastModifiedDateTime, [Parameter()] - [System.String] - $SetPhotoURL, + [System.DateTime] + $CreatedDateTime, [Parameter()] - [System.Boolean] - $WacEditingEnabled, + [System.Management.Automation.SwitchParameter] + $ConfigureWifi, [Parameter()] - [System.Boolean] - $PublicFoldersEnabled, + [System.String] + $TokenValue, [Parameter()] - [System.Boolean] - $BookingsMailboxCreationEnabled, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $ForceSaveAttachmentFilteringEnabled, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Int32] - $LogonAndErrorLanguage, + [System.DateTime] + $TokenCreationDateTime, [Parameter()] - [System.Boolean] - $WSSAccessOnPrivateComputersEnabled, + [System.Management.Automation.SwitchParameter] + $WifiHidden, [Parameter()] - [System.Boolean] - $AllAddressListsEnabled, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $EmptyStateEnabled, + [System.String] + $WifiPassword, [Parameter()] - [System.Boolean] - $ProjectMocaEnabled, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $DelegateAccessEnabled, + [PSObject] + $EnrollmentMode, [Parameter()] - [System.Boolean] - $PremiumClientEnabled, + [PSObject] + $QrCodeImage, [Parameter()] - [System.Object] - $BlockedMimeTypes, + [System.String] + $AccountId, [Parameter()] - [System.Boolean] - $PlacesEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $FeedbackEnabled, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $SilverlightEnabled, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $RecoverDeletedItemsEnabled, + [System.DateTime] + $TokenExpirationDateTime, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault, + [System.String] + $Id, [Parameter()] - [System.Boolean] - $UseGB18030, + [System.Int32] + $EnrolledDeviceCount, [Parameter()] - [System.Object] - $AllowOfflineOn, + [PSObject] + $EnrollmentTokenType, [Parameter()] - [System.Object] - $AllowedFileTypes, + [System.String] + $QrCodeContent, [Parameter()] - [System.Boolean] - $ExternalImageProxyEnabled, + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $RulesEnabled, + [System.Int32] + $EnrollmentTokenUsageCount, [Parameter()] - [System.Object] - $OneWinNativeOutlookEnabled, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $FreCardsEnabled, + [System.Management.Automation.SwitchParameter] + $IsTeamsDeviceProfile, [Parameter()] - [System.Boolean] - $ActiveSyncIntegrationEnabled, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.String] - $Name, - + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaDeviceManagementAndroidDeviceOwnerEnrollmentProfile +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $ThemeSelectionEnabled, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $InstantMessagingEnabled, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $AdditionalStorageProvidersAvailable, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $InterestingCalendarsEnabled, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.Boolean] - $BizBarEnabled, + [System.String] + $IfMatch, [Parameter()] - [System.Boolean] - $OneDriveAttachmentsEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $PrintWithoutDownloadEnabled, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $SaveAttachmentsToCloudEnabled, + [PSObject] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $PhoneticSupportEnabled, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $SkipCreateUnifiedGroupCustomSharepointClassification, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $ReferenceAttachmentsEnabled, + [System.String] + $AndroidDeviceOwnerEnrollmentProfileId, [Parameter()] [System.Management.Automation.SwitchParameter] - $DisableFacebook + $Break ) } -function Set-PartnerApplication +#endregion + +function Get-AzResourceGroup { [CmdletBinding()] param( [Parameter()] [System.String] - $ApplicationIdentifier, + $Id + ) +} +#region Microsoft.Graph.Authentication +function Set-PolicyConfig +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $Name, + [System.Object[]] + $DlpAppGroups, [Parameter()] [System.Object] - $LinkedAccount, + $OnPremisesWorkload, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Boolean] + $EnableAdvancedRuleBuilder, [Parameter()] - [System.Boolean] - $AcceptSecurityIdentifierInformation, + [System.Object[]] + $DlpAppGroupsPsws, [Parameter()] - [System.Object] - $Identity, + [System.Boolean] + $ReservedForFutureUse, [Parameter()] - [System.String[]] - $ActAsPermissions, + [System.Boolean] + $EnableSpoAipMigration, [Parameter()] - [System.Object] - $AccountType, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $Enabled - ) -} -function Set-PerimeterConfig -{ - [CmdletBinding()] - param( + [System.String] + $ComplianceUrl, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $MigrateLabelScheme, [Parameter()] - [System.Object] - $Identity, + [System.Boolean] + $IsDlpSimulationOptedIn, [Parameter()] [System.Object] - $GatewayIPAddresses - ) -} -function Set-Place -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $PostalCode, + $InformationBarrierPeopleSearchRestriction, [Parameter()] [System.String] - $Phone, + $TextExtractionConfig, [Parameter()] [System.Object] - $Identity, + $DocumentIsUnsupportedSeverity, [Parameter()] - [System.Object] - $CountryOrRegion, + [System.Object[]] + $EndpointDlpGlobalSettingsPsws, [Parameter()] - [System.String] - $ParentId, + [System.Object] + $ProcessingLimitExceededSeverity, [Parameter()] - [System.String] - $Street, + [System.Boolean] + $ExtendTeamsDlpPoliciesToSharePointOneDrive, [Parameter()] - [System.Boolean] - $IsWheelChairAccessible, + [System.Object[]] + $EndpointDlpGlobalSettings, [Parameter()] - [System.String] - $AudioDeviceName, + [System.Boolean] + $IsEventFoldingOnDlpAlertsOptedOut, [Parameter()] - [System.String] - $DisplayDeviceName, + [System.Object] + $DlpRemovableMediaGroups, [Parameter()] - [System.String] - $Building, + [System.Boolean] + $RetentionForwardCrawl, [Parameter()] [System.String] - $State, + $JitEnforcementSettings, [Parameter()] - [System.String] - $City, + [System.Boolean] + $EnableLabelCoauth, [Parameter()] [System.Object] - $Floor, + $SenderAddressLocation, [Parameter()] - [System.String] - $VideoDeviceName, + [System.Object[]] + $SiteGroupsPsws, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $RuleErrorAction, [Parameter()] - [System.String[]] - $Tags, + [System.Boolean] + $IsDefaultMlDlpPoliciesOptedOut, [Parameter()] - [System.String] - $FloorLabel, + [System.Object] + $DlpNetworkShareGroups, [Parameter()] [System.Object] - $Capacity, + $DlpExtensionGroups, [Parameter()] - [System.String] - $Label, + [System.Boolean] + $PurviewLabelConsent, [Parameter()] [System.Object] - $GeoCoordinates, + $DlpPrinterGroups, [Parameter()] - [System.Boolean] - $MTREnabled - ) -} -function Set-PolicyTipConfig -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String] - $Value, + [System.Object] + $InformationBarrierMode, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object[]] + $SiteGroups, [Parameter()] [System.Object] - $Identity + $ClassificationScheme, + + [Parameter()] + [System.Boolean] + $EnableSensitivityLabelingForPdf, + + [Parameter()] + [System.String[]] + $MessageHeadersToRetainInOutlook ) } -function Set-ProtectionAlert +function Get-PolicyConfig { [CmdletBinding()] param( - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm + ) } -function Set-QuarantinePolicy +#endregion + +#region Microsoft.Graph.Authentication +function Update-MgBetaIdentityGovernanceLifecycleWorkflowCustomTaskExtension { [CmdletBinding()] param( [Parameter()] - [System.Boolean] - $IncludeMessagesFromBlockedSenderAddress, + [PSObject] + $CallbackConfiguration, [Parameter()] - [System.Object] - $MultiLanguageCustomDisclaimer, + [System.String] + $Description, [Parameter()] - [System.Object] - $AdminNotificationLanguage, + [System.DateTime] + $LastModifiedDateTime, [Parameter()] - [System.Object] - $Identity, + [System.DateTime] + $CreatedDateTime, [Parameter()] [System.String] - $EndUserSpamNotificationCustomFromAddress, + $DisplayName, [Parameter()] - [System.String] - $CustomDisclaimer, + [System.Collections.Hashtable] + $AuthenticationConfiguration, [Parameter()] - [System.Int32] - $EndUserQuarantinePermissionsValue, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $ESNEnabled, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] [System.Management.Automation.SwitchParameter] - $IgnoreDehydratedFlag, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $EndUserQuarantinePermissions, + [System.Collections.Hashtable] + $EndpointConfiguration, [Parameter()] - [System.Boolean] - $AdminNotificationsEnabled, + [PSObject] + $ClientConfiguration, [Parameter()] - [System.Object] - $EndUserSpamNotificationLanguage, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $DomainController, + [PSObject] + $CreatedBy, [Parameter()] - [System.Object] - $MultiLanguageSenderName, + [System.String] + $CustomTaskExtensionId, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [PSObject] + $LastModifiedBy, [Parameter()] - [System.Object] - $AdminQuarantinePermissionsList, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $MultiLanguageSetting, + [PSObject] + $BodyParameter, [Parameter()] - [System.TimeSpan] - $EndUserSpamNotificationFrequency, + [System.String] + $Id, [Parameter()] - [System.Int32] - $QuarantineRetentionDays, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $EsnCustomSubject, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $OrganizationBrandingEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Int32] - $AdminNotificationFrequencyInDays + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend ) } -function Set-RemoteDomain +function New-MgBetaIdentityGovernanceLifecycleWorkflowCustomTaskExtension { [CmdletBinding()] param( [Parameter()] - [System.Boolean] - $AutoReplyEnabled, - - [Parameter()] - [System.Object] - $Identity, + [PSObject] + $CallbackConfiguration, [Parameter()] - [System.Object] - $TNEFEnabled, + [System.String] + $Description, [Parameter()] - [System.Boolean] - $DeliveryReportEnabled, + [System.DateTime] + $LastModifiedDateTime, [Parameter()] - [System.Object] - $RequiredCharsetCoverage, + [System.DateTime] + $CreatedDateTime, [Parameter()] - [System.Boolean] - $MeetingForwardNotificationEnabled, + [System.String] + $DisplayName, [Parameter()] - [System.Object] - $ContentType, + [System.Collections.Hashtable] + $AuthenticationConfiguration, [Parameter()] - [System.Object] - $ByteEncoderTypeFor7BitCharsets, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $AutoForwardEnabled, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.String] - $Name, + [System.Collections.Hashtable] + $EndpointConfiguration, [Parameter()] - [System.Boolean] - $TrustedMailInboundEnabled, + [PSObject] + $ClientConfiguration, [Parameter()] - [System.Object] - $LineWrapSize, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.String] - $CharacterSet, + [PSObject] + $CreatedBy, [Parameter()] - [System.Object] - $PreferredInternetCodePageForShiftJis, + [PSObject] + $LastModifiedBy, [Parameter()] - [System.String] - $NonMimeCharacterSet, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $TargetDeliveryDomain, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $TrustedMailOutboundEnabled, + [System.String] + $Id, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Boolean] - $DisplaySenderName, - - [Parameter()] - [System.Object] - $AllowedOOFType, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $NDRDiagnosticInfoEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $NDREnabled, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $IsInternal, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $UseSimpleDisplayName + [PSObject] + $HttpPipelineAppend ) } -function Set-ReportSubmissionPolicy +function Remove-MgBetaIdentityGovernanceLifecycleWorkflowCustomTaskExtension { [CmdletBinding()] param( [Parameter()] - [System.String] - $PostSubmitMessage, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $ReportJunkAddresses, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $NotificationsForPhishMalwareSubmissionAirInvestigationsEnabled, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.String] - $PhishingReviewResultMessage, + [System.Uri] + $Proxy, [Parameter()] - [System.String] - $PostSubmitMessageTitle, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonTextForNotJunk, + [System.String] + $IfMatch, [Parameter()] - [System.Boolean] - $EnableCustomizedMsg, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $NotificationSenderAddress, + [System.String] + $CustomTaskExtensionId, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonTextForJunk, + [PSObject] + $HttpPipelineAppend, [Parameter()] - [System.Boolean] - $NotificationsForSpamSubmissionAirInvestigationsEnabled, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.String] - $PostSubmitMessageForJunk, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageForPhishing, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $EnableThirdPartyAddress, - + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaIdentityGovernanceLifecycleWorkflowCustomTaskExtension +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $PreSubmitMessageTitleForPhishing, + [System.String[]] + $Property, [Parameter()] - [System.String] - $PreSubmitMessageForJunk, + [PSObject] + $InputObject, [Parameter()] - [System.Int32] - $UserSubmissionOptions, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonTextForPhishing, + [System.Int32] + $PageSize, [Parameter()] - [System.String] - $PreSubmitMessageForNotJunk, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageTitleForPhishing, + [System.Int32] + $Skip, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageTitleForNotJunk, + [System.Int32] + $Top, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonTextForJunk, + [System.String] + $CustomTaskExtensionId, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageForNotJunk, + [System.String] + $CountVariable, [Parameter()] - [System.Boolean] - $ReportJunkToCustomizedAddress, + [System.Uri] + $Proxy, [Parameter()] [System.String[]] - $MultiLanguagePostSubmitMessageButtonLinkForPhishing, + $Sort, [Parameter()] - [System.Boolean] - $ReportNotJunkToCustomizedAddress, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] [System.String] - $PostSubmitMessageTitleForJunk, + $Filter, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageForPhishing, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.String] - $NotificationFooterMessage, - - [Parameter()] - [System.Boolean] - $EnableOrganizationBranding, + $Search, [Parameter()] [System.String] - $PreSubmitMessageForPhishing, + $ResponseHeadersVariable, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonLinkForNotJunk, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] [System.String[]] - $MultiLanguagePreSubmitMessageButtonLinkForPhishing, + $ExpandProperty, [Parameter()] - [System.Boolean] - $EnableReportToMicrosoft, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.String] - $PreSubmitMessageTitleForJunk, - + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Authentication +function Get-MgBetaNetworkAccessSettingEnrichedAuditLog +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $ReportChatMessageEnabled, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $ThirdPartyReportAddresses, + [System.Uri] + $Proxy, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonLinkForJunk, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $NotificationsForCleanSubmissionAirInvestigationsEnabled, + [System.String[]] + $ExpandProperty, [Parameter()] [System.String] - $PostSubmitMessageForNotJunk, - - [Parameter()] - [System.Object] - $MultiLanguageSetting, - - [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageForJunk, + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $DisableQuarantineReportingOption, + [PSObject] + $HttpPipelineAppend, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, - - [Parameter()] - [System.Object] - $ReportNotJunkAddresses, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $EnableUserEmailNotification, + [System.Collections.IDictionary] + $Headers, [Parameter()] [System.String[]] - $MultiLanguagePreSubmitMessageForJunk, + $Property, [Parameter()] - [System.String] - $PostSubmitMessageTitleForPhishing, - + [System.Management.Automation.SwitchParameter] + $Break + ) +} +#endregion +#region Microsoft.Graph.Authentication +function Get-MgBetaNetworkAccessSettingCrossTenantAccess +{ + [CmdletBinding()] + param( [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageTitleForJunk, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $DisableUserSubmissionOptions, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $OnlyShowPhishingDisclaimer, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.String] - $PostSubmitMessageTitleForNotJunk, + [System.String[]] + $ExpandProperty, [Parameter()] [System.String] - $PreSubmitMessage, + $ResponseHeadersVariable, [Parameter()] - [System.String] - $PreSubmitMessageTitleForNotJunk, + [PSObject] + $HttpPipelineAppend, [Parameter()] - [System.String] - $JunkReviewResultMessage, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $EnableCustomNotificationSender, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $ReportChatMessageToCustomizedAddressEnabled, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $ReportPhishAddresses, - + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Update-MgBetaNetworkAccessSettingCrossTenantAccess +{ + [CmdletBinding()] + param( [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageTitleForJunk, + [System.String] + $Id, [Parameter()] - [System.String] - $NotJunkReviewResultMessage, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $NotificationsForSubmissionAirInvestigationsEnabled, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $PreSubmitMessageEnabled, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $PostSubmitMessageEnabled, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.String] - $PreSubmitMessageTitle, + $ResponseHeadersVariable, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageTitleForPhishing, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.String[]] - $MultiLanguagePreSubmitMessageButtonTextForPhishing, + [PSObject] + $HttpPipelineAppend, [Parameter()] - [System.String] - $UserSubmissionOptionsMessage, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.String] - $PostSubmitMessageForPhishing, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.String[]] - $MultiLanguagePostSubmitMessageButtonLinkForJunk, + [System.String] + $NetworkPacketTaggingStatus, [Parameter()] - [System.Object] - $Identity, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $ReportPhishToCustomizedAddress + [System.Management.Automation.SwitchParameter] + $Break ) } -function Set-ReportSubmissionRule +#endregion +#region Microsoft.Graph.Authentication +function Get-MgBetaDeviceManagementApplePushNotificationCertificate { [CmdletBinding()] param( [Parameter()] - [System.String] - $Name, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object[]] - $SentTo, + [System.Uri] + $Proxy, [Parameter()] - [System.String] - $Comments, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $Identity, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object] - $ReportSubmissionPolicy, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm - ) -} -function Set-ResourceConfig -{ - [CmdletBinding()] - param( + [PSObject] + $HttpPipelineAppend, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $ResourcePropertySchema + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break ) } -function Set-RetentionPolicy +function Get-MgBetaDeviceManagementDataSharingConsent { [CmdletBinding()] param( [Parameter()] - [System.String] - $Name, + [System.String[]] + $Property, [Parameter()] - [System.Object[]] - $RetentionPolicyTagLinks, + [PSObject] + $InputObject, [Parameter()] [System.Management.Automation.SwitchParameter] - $IsDefault, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Identity, + [System.Int32] + $PageSize, [Parameter()] - [System.Guid] - $RetentionId, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefaultArbitrationMailbox, + [System.Int32] + $Skip, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Int32] + $Top, - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force - ) -} -function Set-RoleAssignmentPolicy -{ - [CmdletBinding()] - param( [Parameter()] [System.String] - $Description, + $CountVariable, [Parameter()] - [System.String] - $Name, + [System.Uri] + $Proxy, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String[]] + $Sort, [Parameter()] - [System.Object] - $Identity, + [System.String] + $DataSharingConsentId, - [Parameter()] - [System.Management.Automation.SwitchParameter] - $IsDefault - ) -} -function Set-RoleGroup -{ - [CmdletBinding()] - param( [Parameter()] [System.String] - $Description, + $Filter, [Parameter()] - [System.String] - $DisplayName, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.String] - $Name, + $Search, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $All, [Parameter()] [System.String] - $WellKnownObject, + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Management.Automation.SwitchParameter] - $BypassSecurityGroupManagerCheck, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object] - $ManagedBy, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Force + [PSObject] + $HttpPipelineAppend ) } -function Set-SafeAttachmentPolicy +function Update-MgBetaDeviceManagementApplePushNotificationCertificate { [CmdletBinding()] param( - [Parameter()] - [System.Object] - $Action, - - [Parameter()] - [System.Boolean] - $Redirect, - [Parameter()] [System.String] - $AdminDisplayName, + $AppleIdentifier, [Parameter()] - [System.Boolean] - $Enable, - - [Parameter()] - [System.Object] - $RedirectAddress, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $HttpPipelinePrepend, [Parameter()] [System.String] - $QuarantineTag - ) -} -function Set-SafeAttachmentRule -{ - [CmdletBinding()] - param( + $CertificateUploadFailureReason, + [Parameter()] - [System.Int32] - $Priority, + [System.DateTime] + $LastModifiedDateTime, [Parameter()] [System.String] - $Name, + $Certificate, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [System.String] + $TopicIdentifier, [Parameter()] - [System.Object[]] - $SentTo, + [PSObject] + $BodyParameter, [Parameter()] [System.String] - $Comments, + $Id, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $Identity, + [System.DateTime] + $ExpirationDateTime, [Parameter()] - [System.Object] - $SafeAttachmentPolicy, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Break, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf + [System.String] + $CertificateUploadStatus, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend ) } -function Set-SafeLinksPolicy +#endregion +#region Microsoft.Graph.Authentication +function Update-MgBetaNetworkAccessFilteringPolicyRule { [CmdletBinding()] param( [Parameter()] - [System.Boolean] - $EnableOrganizationBranding, + [System.String] + $FilteringPolicyId, [Parameter()] - [System.Object] - $Identity, + [System.String] + $Name, [Parameter()] - [System.String] - $AdminDisplayName, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $UseTranslatedNotificationText, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $DisableUrlRewrite, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $DoNotRewriteUrls, + [System.String] + $PolicyRuleId, [Parameter()] - [System.Boolean] - $EnableSafeLinksForTeams, + [PSObject] + $InputObject, [Parameter()] - [System.Boolean] - $EnableSafeLinksForOffice, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $TrackClicks, + [PSObject] + $BodyParameter, [Parameter()] - [System.Boolean] - $AllowClickThrough, + [System.String] + $Id, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.String] - $CustomNotificationText, - - [Parameter()] - [System.Boolean] - $DeliverMessageAfterScan, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $EnableSafeLinksForEmail, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $ScanUrls, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $LocalizedNotificationTextList, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $EnableForInternalSenders + [PSObject] + $HttpPipelineAppend ) } -function Set-SafeLinksRule +function Get-MgBetaNetworkAccessFilteringPolicyRule { [CmdletBinding()] param( [Parameter()] - [System.Int32] - $Priority, + [System.String] + $FilteringPolicyId, [Parameter()] - [System.String] - $Name, + [System.String[]] + $Property, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [PSObject] + $InputObject, [Parameter()] - [System.Object[]] - $SentTo, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [PSObject] + $HttpPipelinePrepend, [Parameter()] [System.String] - $Comments, + $PolicyRuleId, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Int32] + $Skip, [Parameter()] - [System.Object] - $Identity, + [System.Int32] + $Top, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.String] + $CountVariable, [Parameter()] - [System.Object] - $SafeLinksPolicy, + [System.Uri] + $Proxy, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.String[]] + $Sort, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $All, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf - ) -} -function Set-ServicePrincipal -{ - [CmdletBinding()] - param( + [System.String] + $Filter, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + [Parameter()] [System.String] - $DisplayName, + $Search, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Break, [Parameter()] - [System.Object] - $Identity + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend ) } -function Set-SweepRule +function New-MgBetaNetworkAccessFilteringPolicyRule { [CmdletBinding()] param( + [Parameter()] + [System.String] + $FilteringPolicyId, + [Parameter()] [System.String] $Name, [Parameter()] - [System.Object] - $Sender, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.String] - $Provider, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $SystemCategory, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $KeepLatest, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $SourceFolder, + [System.Uri] + $Proxy, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $Id, [Parameter()] [System.Management.Automation.SwitchParameter] $Confirm, [Parameter()] - [System.Object] - $Mailbox, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $Identity, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $DestinationFolder, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $KeepForDays, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $Enabled + [PSObject] + $HttpPipelineAppend ) } -function Set-TenantAllowBlockListItems +function Remove-MgBetaNetworkAccessFilteringPolicyRule { [CmdletBinding()] param( [Parameter()] - [System.DateTime] - $ExpirationDate, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $ListSubType, + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.String] + $FilteringPolicyId, [Parameter()] [System.Management.Automation.SwitchParameter] - $Block, + $PassThru, [Parameter()] [System.String] - $Notes, + $IfMatch, [Parameter()] - [System.Int32] - $RemoveAfter, + [System.Uri] + $Proxy, [Parameter()] - [System.Management.Automation.SwitchParameter] - $OutputJson, + [System.String] + $ResponseHeadersVariable, [Parameter()] [System.Management.Automation.SwitchParameter] - $NoExpiration, + $Confirm, [Parameter()] - [System.String[]] - $Ids, + [PSObject] + $HttpPipelineAppend, [Parameter()] [System.Management.Automation.SwitchParameter] - $Allow, + $ProxyUseDefaultCredentials, [Parameter()] - [System.String[]] - $Entries, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $ListType + [System.String] + $PolicyRuleId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break ) } -function Set-TenantAllowBlockListSpoofItems +#endregion +#region Microsoft.Graph.Authentication +function Update-MgBetaNetworkAccessFilteringPolicy { [CmdletBinding()] param( + [Parameter()] + [PSObject] + $PolicyRules, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String] + $FilteringPolicyId, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + [Parameter()] [System.String] $Action, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $Name, [Parameter()] - [System.Object] - $Identity, + [PSObject] + $InputObject, [Parameter()] - [System.String[]] - $Ids - ) -} -function Set-TransportConfig -{ - [CmdletBinding()] - param( + [System.Collections.Hashtable] + $AdditionalProperties, + [Parameter()] - [System.Boolean] - $InternalDelayDsnEnabled, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $InternalDsnSendHtml, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $ExternalDelayDsnEnabled, + [System.String] + $Version, [Parameter()] - [System.Object] - $DSNConversionMode, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $SmtpClientAuthenticationDisabled, + [PSObject] + $BodyParameter, [Parameter()] - [System.Object] - $MessageExpiration, + [System.String] + $Id, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force, + $Confirm, [Parameter()] - [System.Boolean] - $ReplyAllStormProtectionEnabled, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $AddressBookPolicyRoutingEnabled, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $ExternalDsnLanguageDetectionEnabled, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $ExternalDsnSendHtml, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $Rfc2231EncodingEnabled, + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaNetworkAccessFilteringPolicy +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $FilteringPolicyId, [Parameter()] - [System.Boolean] - $InternalDsnLanguageDetectionEnabled, + [System.String[]] + $Property, [Parameter()] - [System.Boolean] - $VoicemailJournalingEnabled, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $HeaderPromotionModeSetting, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $JournalingReportNdrTo, + [System.Int32] + $PageSize, [Parameter()] - [System.Boolean] - $ConvertDisclaimerWrapperToEml, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $InternalDsnReportingAuthority, + [System.Int32] + $Skip, [Parameter()] [System.Int32] - $JournalMessageExpirationDays, + $Top, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.String] + $CountVariable, [Parameter()] - [System.Object] - $MaxRecipientEnvelopeLimit, + [System.Uri] + $Proxy, [Parameter()] - [System.Int32] - $ReplyAllStormDetectionMinimumReplies, + [System.String[]] + $Sort, [Parameter()] - [System.Object] - $ExternalDsnReportingAuthority, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Globalization.CultureInfo] - $ExternalDsnDefaultLanguage, + [System.String] + $Filter, [Parameter()] - [System.Globalization.CultureInfo] - $InternalDsnDefaultLanguage, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $AllowLegacyTLSClients, + [System.String] + $Search, [Parameter()] - [System.Boolean] - $ClearCategories, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Int32] - $ReplyAllStormBlockDurationHours, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $ExternalPostmasterAddress, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Int32] - $ReplyAllStormDetectionMinimumRecipients + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject] + $HttpPipelineAppend ) } -function Set-TransportRule +function New-MgBetaNetworkAccessFilteringPolicy { [CmdletBinding()] param( [Parameter()] - [System.Object] - $ActivationDate, + [PSObject] + $PolicyRules, [Parameter()] - [System.Object[]] - $AddToRecipients, + [System.String] + $Description, [Parameter()] - [System.Object] - $ApplyHtmlDisclaimerFallbackAction, + [System.DateTime] + $LastModifiedDateTime, [Parameter()] - [System.Object[]] - $ExceptIfRecipientADAttributeContainsWords, + [System.DateTime] + $CreatedDateTime, [Parameter()] - [System.Object] - $AttachmentSizeOver, + [System.String] + $Action, [Parameter()] - [System.Object[]] - $ExceptIfSenderADAttributeContainsWords, + [System.String] + $Name, [Parameter()] - [System.Object] - $SetSCL, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object[]] - $AnyOfToHeaderMemberOf, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $Disconnect, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Int32] - $Priority, + [System.String] + $Version, [Parameter()] - [System.Object[]] - $ExceptIfSentToMemberOf, + [System.Uri] + $Proxy, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfCcHeader, + [PSObject] + $BodyParameter, [Parameter()] - [System.Object[]] - $ExceptIfAttachmentMatchesPatterns, + [System.String] + $Id, [Parameter()] - [System.Object[]] - $RecipientDomainIs, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $ManagerForEvaluatedUser, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object[]] - $ExceptIfHeaderMatchesPatterns, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $ExceptIfFromScope, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $AdComparisonAttribute, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object[]] - $ExceptIfHeaderContainsWords, - + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaNetworkAccessFilteringPolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $HeaderMatchesPatterns, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $AddManagerAsRecipientType, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $DeleteMessage, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Boolean] - $HasSenderOverride, + [System.String] + $FilteringPolicyId, [Parameter()] - [System.Object] - $SmtpRejectMessageRejectStatusCode, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] [System.String] - $ExceptIfHasClassification, + $IfMatch, [Parameter()] - [System.Boolean] - $Quarantine, + [System.Uri] + $Proxy, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfRecipientAddressMatchesPatterns, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object[]] - $ExceptIfRecipientInSenderList, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $RecipientAddressType, + [PSObject] + $HttpPipelineAppend, [Parameter()] - [System.Object[]] - $ExceptIfContentCharacterSetContainsWords, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object[]] - $BlindCopyTo, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $ApplyHtmlDisclaimerLocation, + [System.Management.Automation.SwitchParameter] + $Break + ) +} +#endregion +#region Microsoft.Graph.Authentication +function New-MgBetaNetworkAccessFilteringProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $Description, [Parameter()] - [System.Object] - $ExceptIfMessageTypeMatches, + [System.DateTime] + $LastModifiedDateTime, [Parameter()] - [System.Object] - $SenderIpRanges, + [System.DateTime] + $CreatedDateTime, [Parameter()] - [System.Collections.Hashtable[]] - $ExceptIfMessageContainsDataClassifications, + [System.String] + $Name, [Parameter()] - [System.Object[]] - $ModerateMessageByUser, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Boolean] - $HasNoClassification, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object[]] - $ExceptIfSenderInRecipientList, + [PSObject] + $Policies, [Parameter()] - [System.Object] - $HeaderContainsMessageHeader, + [System.Int64] + $Priority, [Parameter()] - [System.Object] - $RemoveHeader, + [PSObject] + $HttpPipelinePrepend, [Parameter()] [System.String] - $HasClassification, + $Version, [Parameter()] - [System.Collections.Hashtable[]] - $MessageContainsDataClassifications, + [System.String] + $State, [Parameter()] - [System.Object[]] - $ExceptIfFromMemberOf, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $RuleSubType, + [PSObject] + $BodyParameter, [Parameter()] - [System.Object[]] - $AnyOfRecipientAddressMatchesPatterns, + [System.String] + $Id, [Parameter()] - [System.Object] - $SentToScope, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object[]] - $AnyOfToCcHeaderMemberOf, + [PSObject] + $ConditionalAccessPolicies, [Parameter()] - [System.Object[]] - $From, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfRecipientAddressContainsWords, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $ExceptIfWithImportance, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object[]] - $ContentCharacterSetContainsWords, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object[]] - $SubjectContainsWords, + [PSObject] + $HttpPipelineAppend + ) +} +function Get-MgBetaNetworkAccessFilteringProfile +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String] + $FilteringProfileId, [Parameter()] - [System.Object] - $RejectMessageEnhancedStatusCode, + [System.String[]] + $Property, [Parameter()] - [System.Object[]] - $SenderADAttributeMatchesPatterns, + [PSObject] + $InputObject, [Parameter()] - [System.Object[]] - $ExceptIfSenderADAttributeMatchesPatterns, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object[]] - $IncidentReportContent, + [System.Int32] + $PageSize, [Parameter()] - [System.Object[]] - $FromMemberOf, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object[]] - $AttachmentContainsWords, + [System.Int32] + $Skip, [Parameter()] - [System.Object] - $ExceptIfSCLOver, + [System.Int32] + $Top, [Parameter()] - [System.Object[]] - $ExceptIfBetweenMemberOf1, + [System.String] + $CountVariable, [Parameter()] - [System.Object] - $GenerateNotification, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $NotifySender, + [System.String[]] + $Sort, [Parameter()] - [System.Boolean] - $ExceptIfAttachmentIsPasswordProtected, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Object[]] - $ExceptIfAttachmentNameMatchesPatterns, + [System.String] + $Filter, [Parameter()] - [System.Object] - $ExceptIfSenderManagementRelationship, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [System.String] - $SetAuditSeverity, + $Search, [Parameter()] - [System.Object[]] - $AttachmentPropertyContainsWords, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToHeader, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $ApplyRightsProtectionCustomizationTemplate, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object] - $SetHeaderName, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, - + [PSObject] + $HttpPipelineAppend + ) +} +function Remove-MgBetaNetworkAccessFilteringProfile +{ + [CmdletBinding()] + param( [Parameter()] - [System.Boolean] - $RouteMessageOutboundRequireTls, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $WithImportance, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $RuleErrorAction, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $FromScope, + [System.Uri] + $Proxy, [Parameter()] - [System.Object[]] - $AttachmentNameMatchesPatterns, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.Object[]] - $SentTo, + [System.String] + $IfMatch, [Parameter()] - [System.Object[]] - $ExceptIfFromAddressMatchesPatterns, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object[]] - $AnyOfCcHeaderMemberOf, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object] - $ExceptIfAttachmentSizeOver, + [PSObject] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $ExceptIfManagerForEvaluatedUser, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Boolean] - $RemoveOMEv2, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object[]] - $ExceptIfFromAddressContainsWords, + [System.String] + $FilteringProfileId, [Parameter()] - [System.Boolean] - $AttachmentHasExecutableContent, - + [System.Management.Automation.SwitchParameter] + $Break + ) +} +#endregion +#region Microsoft.Graph.Authentication +function Get-MgBetaNetworkAccessFilteringProfilePolicy +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object] - $RouteMessageOutboundConnector, + [System.String] + $FilteringProfileId, [Parameter()] - [System.Object[]] - $ExceptIfRecipientDomainIs, + [System.String[]] + $Property, [Parameter()] - [System.Object[]] - $ExceptIfSenderDomainIs, + [PSObject] + $InputObject, [Parameter()] - [System.Object] - $SenderManagementRelationship, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object[]] - $ExceptIfBetweenMemberOf2, + [System.Int32] + $PageSize, [Parameter()] - [System.Object[]] - $RedirectMessageTo, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Boolean] - $ApplyOME, + [System.String] + $PolicyLinkId, [Parameter()] - [System.Object[]] - $SenderDomainIs, + [System.Int32] + $Skip, [Parameter()] - [System.Object[]] - $SenderADAttributeContainsWords, + [System.Int32] + $Top, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfCcHeaderMemberOf, + [System.String] + $CountVariable, [Parameter()] - [System.Object] - $ApplyHtmlDisclaimerText, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $ExceptIfAttachmentHasExecutableContent, + [System.String[]] + $Sort, [Parameter()] - [System.Boolean] - $ExceptIfAttachmentIsUnsupported, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Boolean] - $RemoveOME, + [System.String] + $Filter, [Parameter()] - [System.Object] - $RejectMessageReasonText, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object[]] - $RecipientAddressContainsWords, + [System.String] + $Search, [Parameter()] - [System.Object] - $GenerateIncidentReport, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object[]] - $FromAddressContainsWords, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $RemoveRMSAttachmentEncryption, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object[]] - $RecipientAddressMatchesPatterns, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object[]] - $ExceptIfSubjectContainsWords, - + [PSObject] + $HttpPipelineAppend + ) +} +#endregion +#region Microsoft.Graph.Authentication +function Update-MgBetaNetworkAccessSettingConditionalAccess +{ + [CmdletBinding()] + param( [Parameter()] - [System.Object[]] - $ExceptIfFrom, + [System.String] + $Id, [Parameter()] - [System.Object[]] - $AnyOfToCcHeader, + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $ExceptIfSentToScope, + [PSObject] + $BodyParameter, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToCcHeaderMemberOf, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $ModerateMessageByManager, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $AdComparisonOperator, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $MessageSizeOver, + [PSObject] + $HttpPipelineAppend, [Parameter()] - [System.Object[]] - $BetweenMemberOf2, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object[]] - $SubjectMatchesPatterns, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Boolean] - $AttachmentProcessingLimitExceeded, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object[]] - $ExceptIfSubjectMatchesPatterns, + [System.String] + $SignalingStatus, [Parameter()] - [System.String] - $Name, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Object[]] - $ExceptIfRecipientAddressContainsWords, + [System.Collections.Hashtable] + $AdditionalProperties + ) +} +function Get-MgBetaNetworkAccessSettingConditionalAccess +{ + [CmdletBinding()] + param( + [Parameter()] + [PSObject] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $HeaderMatchesMessageHeader, + [System.Uri] + $Proxy, [Parameter()] - [System.Object[]] - $AnyOfRecipientAddressContainsWords, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object[]] - $HeaderContainsWords, + [System.String[]] + $ExpandProperty, [Parameter()] [System.String] - $Comments, + $ResponseHeadersVariable, [Parameter()] - [System.Object[]] - $SentToMemberOf, + [PSObject] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $ExceptIfAdComparisonAttribute, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object[]] - $ExceptIfSentTo, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $ExceptIfAdComparisonOperator, + [System.String[]] + $Property, [Parameter()] - [System.Object] - $Identity, + [System.Management.Automation.SwitchParameter] + $Break + ) +} +#endregion +#region MgBetaPolicyClaimMappingPolicy +function Get-MgBetaPolicyClaimMappingPolicy +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToHeaderMemberOf, + [System.String] + $ClaimsMappingPolicyId, [Parameter()] - [System.Object] - $Mode, + [PSObject] + $InputObject, [Parameter()] - [System.Object[]] - $RecipientInSenderList, + [System.String[]] + $ExpandProperty, [Parameter()] - [System.Object[]] - $SubjectOrBodyMatchesPatterns, + [System.String[]] + $Property, [Parameter()] - [System.Object[]] - $ExceptIfAttachmentExtensionMatchesWords, + [System.String] + $Filter, [Parameter()] - [System.Object[]] - $ExceptIfSubjectOrBodyMatchesPatterns, + [System.String] + $Search, [Parameter()] - [System.Object[]] - $ExceptIfRecipientAddressMatchesPatterns, + [System.Int32] + $Skip, [Parameter()] - [System.Boolean] - $ExceptIfHasNoClassification, + [System.String[]] + $Sort, [Parameter()] - [System.Object] - $ExceptIfSenderIpRanges, + [System.Int32] + $Top, [Parameter()] - [System.Object[]] - $ExceptIfRecipientADAttributeMatchesPatterns, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Object[]] - $RecipientADAttributeContainsWords, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Boolean] - $AttachmentIsUnsupported, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $ExpiryDate, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object[]] - $AttachmentExtensionMatchesWords, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object[]] - $ExceptIfSubjectOrBodyContainsWords, + [System.Uri] + $Proxy, [Parameter()] - [System.Object] - $LogEventText, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object[]] - $ExceptIfManagerAddresses, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object[]] - $SenderInRecipientList, + [System.Int32] + $PageSize, [Parameter()] - [System.Object[]] - $ExceptIfAnyOfToCcHeader, + [System.Management.Automation.SwitchParameter] + $All, [Parameter()] - [System.Object[]] - $AttachmentMatchesPatterns, + [System.String] + $CountVariable + ) +} + +function New-MgBetaPolicyClaimMappingPolicy +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.Collections.Hashtable] + $BodyParameter, [Parameter()] [System.String] - $DlpPolicy, + $ResponseHeadersVariable, [Parameter()] - [System.Object[]] - $ManagerAddresses, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.Object] - $SenderAddressLocation, + [PSObject[]] + $AppliesTo, [Parameter()] - [System.Object[]] - $CopyTo, + [System.String[]] + $Definition, [Parameter()] - [System.Object[]] - $SubjectOrBodyContainsWords, + [System.DateTime] + $DeletedDateTime, [Parameter()] [System.String] - $ApplyClassification, + $Description, [Parameter()] - [System.Object[]] - $RecipientADAttributeMatchesPatterns, + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Id, [Parameter()] - [System.Object] - $SetHeaderValue, + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, [Parameter()] - [System.Boolean] - $AttachmentIsPasswordProtected, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object[]] - $BetweenMemberOf1, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $ExceptIfMessageSizeOver, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Collections.Hashtable[]] - $ExceptIfMessageContainsAllDataClassifications, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object[]] - $AnyOfCcHeader, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $ExceptIfAttachmentProcessingLimitExceeded, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object[]] - $FromAddressMatchesPatterns, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $ExceptIfHeaderMatchesMessageHeader, + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +function Remove-MgBetaPolicyClaimMappingPolicy +{ + [CmdletBinding()] + param + ( [Parameter()] - [System.Object] - $SmtpRejectMessageRejectText, + [System.String] + $ClaimsMappingPolicyId, [Parameter()] - [System.Object[]] - $ExceptIfAttachmentContainsWords, + [PSObject] + $InputObject, [Parameter()] - [System.Object[]] - $AnyOfToHeader, + [System.String] + $ResponseHeadersVariable, [Parameter()] - [System.Boolean] - $ExceptIfHasSenderOverride, + [System.Management.Automation.SwitchParameter] + $Break, [Parameter()] - [System.Object] - $SCLOver, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Object] - $PrependSubject, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $ApplyRightsProtectionTemplate, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $MessageTypeMatches, + [System.Management.Automation.SwitchParameter] + $PassThru, [Parameter()] - [System.Object[]] - $ExceptIfAttachmentPropertyContainsWords, + [System.Uri] + $Proxy, [Parameter()] - [System.Boolean] - $StopRuleProcessing, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Collections.Hashtable[]] - $MessageContainsAllDataClassifications, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] - [System.Object] - $ExceptIfHeaderContainsMessageHeader + [System.Management.Automation.SwitchParameter] + $Confirm ) } -function Set-UnifiedGroup + +function Update-MgBetaPolicyClaimMappingPolicy { [CmdletBinding()] - param( + param + ( [Parameter()] - [System.Object] - $EmailAddresses, + [System.String] + $ClaimsMappingPolicyId, [Parameter()] - [System.Object] - $AcceptMessagesOnlyFromSendersOrMembers, + [PSObject] + $InputObject, [Parameter()] - [System.String] - $CustomAttribute12, + [System.Collections.Hashtable] + $BodyParameter, [Parameter()] [System.String] - $CustomAttribute10, - - [Parameter()] - [System.Globalization.CultureInfo] - $Language, + $ResponseHeadersVariable, [Parameter()] - [System.Object] - $IsMemberAllowedToEditContent, + [System.Collections.Hashtable] + $AdditionalProperties, [Parameter()] - [System.String] - $CustomAttribute8, + [PSObject[]] + $AppliesTo, [Parameter()] - [System.String] - $CustomAttribute5, + [System.String[]] + $Definition, [Parameter()] - [System.Management.Automation.SwitchParameter] - $UnifiedGroupWelcomeMessageEnabled, + [System.DateTime] + $DeletedDateTime, [Parameter()] [System.String] - $MailTip, + $Description, [Parameter()] - [System.Object] - $ModeratedBy, + [System.String] + $DisplayName, [Parameter()] - [System.Object] - $PrimarySmtpAddress, + [System.String] + $Id, [Parameter()] - [System.String] - $Classification, + [System.Management.Automation.SwitchParameter] + $IsOrganizationDefault, [Parameter()] [System.Management.Automation.SwitchParameter] - $AutoSubscribeNewMembers, + $Break, [Parameter()] - [System.Object] - $AuditLogAgeLimit, + [System.Collections.IDictionary] + $Headers, [Parameter()] - [System.Management.Automation.SwitchParameter] - $HiddenFromExchangeClientsEnabled, + [PSObject[]] + $HttpPipelineAppend, [Parameter()] - [System.Object] - $MaxReceiveSize, + [PSObject[]] + $HttpPipelinePrepend, [Parameter()] - [System.Object] - $ExtensionCustomAttribute5, + [System.Uri] + $Proxy, [Parameter()] - [System.String] - $CustomAttribute15, + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] - [System.Object] - $RejectMessagesFromSendersOrMembers, + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm + ) +} +#endregion +#region Microsoft.Graph.Authentication +function New-TenantAllowBlockListSpoofItems +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $Alias, + $Action, [Parameter()] [System.String] - $DisplayName, + $SendingInfrastructure, [Parameter()] [System.String] - $CustomAttribute1, + $SpoofType, [Parameter()] [System.Management.Automation.SwitchParameter] - $SubscriptionEnabled, + $Confirm, + + [Parameter()] + [System.Object] + $Identity, + [Parameter()] + [System.String] + $SpoofedUser + ) +} +function Remove-TenantAllowBlockListSpoofItems +{ + [CmdletBinding()] + param( [Parameter()] [System.Management.Automation.SwitchParameter] - $ForceUpgrade, + $Confirm, [Parameter()] [System.Object] - $AccessType, + $Identity, + [Parameter()] + [System.String[]] + $Ids + ) +} +function Get-TenantAllowBlockListSpoofItems +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $MailboxRegion, + $Action, [Parameter()] - [System.Object] - $GrantSendOnBehalfTo, + [System.String] + $SpoofType, [Parameter()] [System.Object] - $ExtensionCustomAttribute1, - + $Identity + ) +} +function Set-TenantAllowBlockListSpoofItems +{ + [CmdletBinding()] + param( [Parameter()] [System.String] - $Notes, + $Action, [Parameter()] - [System.String] - $CustomAttribute14, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] - [System.Boolean] - $RequireSenderAuthenticationEnabled, + [System.Object] + $Identity, [Parameter()] - [System.String] - $CustomAttribute9, + [System.String[]] + $Ids + ) +} + +#endregion +#region Microsoft.Graph.Authentication +function Stop-MigrationBatch +{ + [CmdletBinding()] + param( [Parameter()] - [System.String] - $CustomAttribute6, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $DataEncryptionPolicy, + $Identity, [Parameter()] [System.Object] - $ExtensionCustomAttribute4, + $Partition + ) +} +function Start-MigrationBatch +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $SensitivityLabelId, + $Identity, [Parameter()] - [System.Management.Automation.SwitchParameter] - $AlwaysSubscribeMembersToCalendarEvents, + [System.Object] + $Partition + ) +} +function Set-MigrationBatch +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Byte[]] + $CSVData, [Parameter()] [System.Object] - $ExtensionCustomAttribute2, + $ReportInterval, [Parameter()] - [System.String] - $CustomAttribute13, + [System.Object] + $Identity, [Parameter()] - [System.String] - $CustomAttribute2, + [System.Object] + $MoveOptions, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $Update, + + [Parameter()] + [System.Object] + $NotificationEmails, + + [Parameter()] + [System.Boolean] + $SkipReports, [Parameter()] [System.Management.Automation.SwitchParameter] - $CalendarMemberReadOnly, + $ApproveSkippedItems, [Parameter()] - [System.Object] - $InformationBarrierMode, + [System.Management.Automation.SwitchParameter] + $SyncNow, [Parameter()] [System.Object] - $MaxSendSize, + $SkipMerging, [Parameter()] [System.Object] - $MailTipTranslations, + $SkipMoving, [Parameter()] - [System.String] - $CustomAttribute7, + [System.Management.Automation.SwitchParameter] + $AddUsers, [Parameter()] - [System.String] - $CustomAttribute4, + [System.Object] + $CompleteAfter, [Parameter()] [System.Object] - $ExtensionCustomAttribute3, + $Partition, [Parameter()] [System.Management.Automation.SwitchParameter] - $ConnectorsEnabled, - - [Parameter()] - [System.Boolean] - $ModerationEnabled, + $Confirm, [Parameter()] - [System.String] - $CustomAttribute3, + [System.Object] + $BadItemLimit, [Parameter()] - [System.String] - $CustomAttribute11, + [System.Boolean] + $AllowUnknownColumnsInCSV, [Parameter()] [System.Object] - $Identity, + $StartAfter, [Parameter()] - [System.Boolean] - $HiddenFromAddressListsEnabled + [System.Object] + $LargeItemLimit ) } -function Set-User +function New-MigrationBatch { [CmdletBinding()] param( [Parameter()] [System.Object] - $WindowsEmailAddress, + $Partition, [Parameter()] - [System.Boolean] - $IsShadowMailbox, + [System.Management.Automation.SwitchParameter] + $SkipRules, [Parameter()] - [System.String] - $LastName, + [System.Object] + $TargetDatabases, [Parameter()] - [System.String] - $Phone, + [System.Byte[]] + $CSVData, [Parameter()] - [System.String] - $DisplayName, + [System.Management.Automation.SwitchParameter] + $SkipDelegates, [Parameter()] [System.Object] - $Identity, + $Users, [Parameter()] - [System.String] - $Office, + [System.Management.Automation.SwitchParameter] + $SkipMail, [Parameter()] - [System.Object] - $CountryOrRegion, + [System.Globalization.CultureInfo] + $ContentFilterLanguage, [Parameter()] [System.Object] - $AuthenticationPolicy, + $TimeZone, [Parameter()] [System.Object] - $OtherTelephone, + $NotificationEmails, [Parameter()] - [System.String] - $Pager, + [System.Management.Automation.SwitchParameter] + $SkipCalendar, [Parameter()] - [System.String] - $PhoneticDisplayName, + [System.Management.Automation.SwitchParameter] + $AutoStart, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ClearDataEncryptionPolicy, + [System.Boolean] + $AllowUnknownColumnsInCSV, [Parameter()] - [System.String] - $Fax, + [System.Object] + $MoveOptions, [Parameter()] [System.Management.Automation.SwitchParameter] - $Force, + $AdoptPreexisting, [Parameter()] [System.Object] - $ManagedOnboardingType, + $TargetEndpoint, [Parameter()] [System.Object] - $StsRefreshTokensValidFrom, + $SkipMoving, [Parameter()] - [System.Management.Automation.SwitchParameter] - $RemoveMailboxProvisioningConstraint, + [System.Object] + $StartAfter, [Parameter()] - [System.Boolean] - $ResetPasswordOnNextLogon, + [System.Management.Automation.SwitchParameter] + $RemoveOnCopy, [Parameter()] - [System.Boolean] - $BlockCloudCache, + [System.Byte[]] + $XMLData, [Parameter()] [System.Object] - $SeniorityIndex, + $UserIds, [Parameter()] - [System.String] - $City, + [System.Management.Automation.SwitchParameter] + $PublicFolderToUnifiedGroup, [Parameter()] - [System.Boolean] - $VIP, + [System.Object] + $ReportInterval, [Parameter()] - [System.String] - $Title, + [System.Management.Automation.SwitchParameter] + $AutoProvisioning, [Parameter()] - [System.String] - $MobilePhone, + [System.Management.Automation.SwitchParameter] + $DisableOnCopy, [Parameter()] - [System.String] - $AssistantName, + [System.Management.Automation.SwitchParameter] + $ArchiveOnly, + + [Parameter()] + [System.Object] + $SkipMerging, [Parameter()] [System.Management.Automation.SwitchParameter] - $PublicFolder, + $MigrateTasks, [Parameter()] - [System.String] - $FirstName, + [System.Object] + $CompleteAfter, [Parameter()] - [System.String] - $Company, + [System.Object] + $ExcludeFolders, [Parameter()] - [System.String] - $StateOrProvince, + [System.Management.Automation.SwitchParameter] + $GoogleResource, [Parameter()] - [System.String] - $SimpleDisplayName, + [System.Management.Automation.SwitchParameter] + $Analyze, [Parameter()] - [System.String] - $Initials, + [System.Guid] + $SourcePFPrimaryMailboxGuid, [Parameter()] - [System.String] - $WebPage, + [System.Object] + $TargetDeliveryDomain, [Parameter()] [System.String] - $Notes, + $ArchiveDomain, [Parameter()] [System.Management.Automation.SwitchParameter] - $PermanentlyClearPreviousMailboxInfo, + $PrimaryOnly, [Parameter()] - [System.Object] - $Manager, + [System.Management.Automation.SwitchParameter] + $SkipProvisioning, [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $SimplifiedSwitchOver, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Restore, [Parameter()] [System.Object] - $OtherFax, + $IncludeFolders, [Parameter()] [System.String] - $StreetAddress, + $ContentFilter, [Parameter()] - [System.Object] - $MailboxRegionSuffix, + [System.Management.Automation.SwitchParameter] + $ManagedGmailTeams, [Parameter()] [System.String] - $HomePhone, + $WorkflowTemplate, [Parameter()] - [System.String] - $Department, + [System.Management.Automation.SwitchParameter] + $Confirm, [Parameter()] [System.Object] - $OtherHomePhone, + $SourceEndpoint, [Parameter()] - [System.String] - $MailboxRegion, + [System.Management.Automation.SwitchParameter] + $AvoidMergeOverlap, [Parameter()] - [System.Boolean] - $EXOModuleEnabled, + [System.Management.Automation.SwitchParameter] + $SkipReports, [Parameter()] - [System.Boolean] - $RemotePowerShellEnabled, + [System.Management.Automation.SwitchParameter] + $SkipContacts, [Parameter()] - [System.String] - $Name, + [System.Object] + $BadItemLimit, [Parameter()] - [System.String] - $PostalCode, + [System.Object] + $TargetArchiveDatabases, [Parameter()] [System.Object] - $GeoCoordinates, + $WorkflowControlFlags, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $AutoComplete, [Parameter()] [System.Object] - $PostOfficeBox, + $LargeItemLimit, + + [Parameter()] + [System.String] + $Name, [Parameter()] [System.Object] - $DesiredWorkloads, + $ForwardingDisposition, [Parameter()] - [System.Boolean] - $CanHaveCloudCache + [System.Management.Automation.SwitchParameter] + $ExcludeDumpsters, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $RenamePrimaryCalendar ) } -function Start-MigrationBatch +function Get-MigrationBatch { [CmdletBinding()] param( + [Parameter()] + [System.String] + $DiagnosticInfo, + [Parameter()] [System.Management.Automation.SwitchParameter] - $Confirm, + $IncludeReport, [Parameter()] [System.Object] @@ -16504,27 +104339,22 @@ function Start-MigrationBatch [Parameter()] [System.Object] - $Partition - ) -} -function Stop-MigrationBatch -{ - [CmdletBinding()] - param( + $Partition, + [Parameter()] - [System.Management.Automation.SwitchParameter] - $Confirm, + [System.Object] + $ResultSize, [Parameter()] [System.Object] - $Identity, + $Status, [Parameter()] [System.Object] - $Partition + $Endpoint ) } -function Update-RoleGroupMember +function Remove-MigrationBatch { [CmdletBinding()] param( @@ -16536,14 +104366,9 @@ function Update-RoleGroupMember [System.Object] $Identity, - [Parameter()] - [System.Management.Automation.SwitchParameter] - $BypassSecurityGroupManagerCheck, - [Parameter()] [System.Object] - $Members + $Partition ) } #endregion - From 818f793b3bd45606b6cc5e0282b82ab81a798090 Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Tue, 12 Nov 2024 16:04:46 -0500 Subject: [PATCH 35/58] Update Microsoft365.psm1 --- Tests/Unit/Stubs/Microsoft365.psm1 | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/Tests/Unit/Stubs/Microsoft365.psm1 b/Tests/Unit/Stubs/Microsoft365.psm1 index 3e81eaf088..ac7c4b04d9 100644 --- a/Tests/Unit/Stubs/Microsoft365.psm1 +++ b/Tests/Unit/Stubs/Microsoft365.psm1 @@ -104372,3 +104372,47 @@ function Remove-MigrationBatch ) } #endregion + +#region Microsoft.Graph.Authentication +function Get-MigrationUser +{ + [CmdletBinding()] + param( + [Parameter()] + [System.Object] + $EmailAddress, + + [Parameter()] + [System.Object] + $MailboxGuid, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IncludeAssociatedUsers, + + [Parameter()] + [System.Object] + $Identity, + + [Parameter()] + [System.Object] + $BatchId, + + [Parameter()] + [System.Object] + $Partition, + + [Parameter()] + [System.Object] + $ResultSize, + + [Parameter()] + [System.Object] + $Status, + + [Parameter()] + [System.Object] + $StatusSummary + ) +} +#endregion From 57c0ef473f915efea97c001a394dd21ff2c13424 Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 09:09:16 +0100 Subject: [PATCH 36/58] Fixed issue #5389 --- CHANGELOG.md | 4 ++++ .../MSFT_AADConditionalAccessPolicy.psm1 | 5 ++++- .../MSFT_AADConditionalAccessPolicy.schema.mof | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04fe1794a2..a92444ac00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ # UNRELEASED +* AADConditionalAccessPolicy + * Fixed bug where an empty value was passed in the request for the + insiderRiskLevels parameter, which throws an error. + FIXES [#5389](https://github.com/microsoft/Microsoft365DSC/issues/5389) * IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy * Update property `PasswordAgeDays_AAD` to be lower-case. FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (1/2) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.psm1 index 2c043c8613..d75ae7b998 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.psm1 @@ -220,6 +220,7 @@ function Get-TargetResource $TransferMethods, [Parameter()] + [ValidateSet('minor', 'moderate', 'elevated', 'unknownFutureValue')] [System.String] $InsiderRiskLevels, @@ -949,6 +950,7 @@ function Set-TargetResource $TransferMethods, [Parameter()] + [ValidateSet('minor', 'moderate', 'elevated', 'unknownFutureValue')] [System.String] $InsiderRiskLevels, @@ -1586,7 +1588,7 @@ function Set-TargetResource } } - if ($null -ne $InsiderRiskLevels) + if ([String]::IsNullOrEmpty($InsiderRiskLevels) -eq $false) { $conditions.Add("insiderRiskLevels", $InsiderRiskLevels) } @@ -2059,6 +2061,7 @@ function Test-TargetResource $TransferMethods, [Parameter()] + [ValidateSet('minor', 'moderate', 'elevated', 'unknownFutureValue')] [System.String] $InsiderRiskLevels, diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.schema.mof index 14e50047dc..a58e7239c3 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.schema.mof @@ -50,7 +50,7 @@ class MSFT_AADConditionalAccessPolicy : OMI_BaseResource [Write, Description("Name of the associated authentication strength policy.")] String AuthenticationStrength; [Write, Description("Names of the associated authentication flow transfer methods. Possible values are '', 'deviceCodeFlow', 'authenticationTransfer', or 'deviceCodeFlow,authenticationTransfer'.")] String TransferMethods; [Write, Description("Authentication context class references.")] String AuthenticationContexts[]; - [Write, Description("Insider risk levels conditions.")] String InsiderRiskLevels; + [Write, Description("Insider risk levels conditions."), ValueMap{"minor", "moderate", "elevated", "unknownFutureValue"}, Values{"minor", "moderate", "elevated", "unknownFutureValue"}] String InsiderRiskLevels; [Write, Description("Specify if the Azure AD CA Policy should exist or not."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Write, Description("Credentials for the Microsoft Graph delegated permissions."), EmbeddedInstance("MSFT_Credential")] string Credential; [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId; @@ -60,3 +60,4 @@ class MSFT_AADConditionalAccessPolicy : OMI_BaseResource [Write, Description("Managed ID being used for authentication.")] Boolean ManagedIdentity; [Write, Description("Access token used for authentication.")] String AccessTokens[]; }; + From 4f3412509b009d74a7527cba18ea881f56a5c29c Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 09:09:16 +0100 Subject: [PATCH 37/58] Fixed issue #5389 --- CHANGELOG.md | 4 ++++ .../MSFT_AADConditionalAccessPolicy.psm1 | 5 ++++- .../MSFT_AADConditionalAccessPolicy.schema.mof | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fcaf73dcb..2887ff3a64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ # UNRELEASED +* AADConditionalAccessPolicy + * Fixed bug where an empty value was passed in the request for the + insiderRiskLevels parameter, which throws an error. + FIXES [#5389](https://github.com/microsoft/Microsoft365DSC/issues/5389) * IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy * Update property `PasswordAgeDays_AAD` to be lower-case. FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (1/2) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.psm1 index 2c043c8613..d75ae7b998 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.psm1 @@ -220,6 +220,7 @@ function Get-TargetResource $TransferMethods, [Parameter()] + [ValidateSet('minor', 'moderate', 'elevated', 'unknownFutureValue')] [System.String] $InsiderRiskLevels, @@ -949,6 +950,7 @@ function Set-TargetResource $TransferMethods, [Parameter()] + [ValidateSet('minor', 'moderate', 'elevated', 'unknownFutureValue')] [System.String] $InsiderRiskLevels, @@ -1586,7 +1588,7 @@ function Set-TargetResource } } - if ($null -ne $InsiderRiskLevels) + if ([String]::IsNullOrEmpty($InsiderRiskLevels) -eq $false) { $conditions.Add("insiderRiskLevels", $InsiderRiskLevels) } @@ -2059,6 +2061,7 @@ function Test-TargetResource $TransferMethods, [Parameter()] + [ValidateSet('minor', 'moderate', 'elevated', 'unknownFutureValue')] [System.String] $InsiderRiskLevels, diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.schema.mof index 14e50047dc..a58e7239c3 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.schema.mof @@ -50,7 +50,7 @@ class MSFT_AADConditionalAccessPolicy : OMI_BaseResource [Write, Description("Name of the associated authentication strength policy.")] String AuthenticationStrength; [Write, Description("Names of the associated authentication flow transfer methods. Possible values are '', 'deviceCodeFlow', 'authenticationTransfer', or 'deviceCodeFlow,authenticationTransfer'.")] String TransferMethods; [Write, Description("Authentication context class references.")] String AuthenticationContexts[]; - [Write, Description("Insider risk levels conditions.")] String InsiderRiskLevels; + [Write, Description("Insider risk levels conditions."), ValueMap{"minor", "moderate", "elevated", "unknownFutureValue"}, Values{"minor", "moderate", "elevated", "unknownFutureValue"}] String InsiderRiskLevels; [Write, Description("Specify if the Azure AD CA Policy should exist or not."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Write, Description("Credentials for the Microsoft Graph delegated permissions."), EmbeddedInstance("MSFT_Credential")] string Credential; [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId; @@ -60,3 +60,4 @@ class MSFT_AADConditionalAccessPolicy : OMI_BaseResource [Write, Description("Managed ID being used for authentication.")] Boolean ManagedIdentity; [Write, Description("Access token used for authentication.")] String AccessTokens[]; }; + From 1e6fa8157380b32c7b13d998fc6925bd56fb8705 Mon Sep 17 00:00:00 2001 From: NikCharlebois Date: Wed, 13 Nov 2024 08:38:28 +0000 Subject: [PATCH 38/58] Updated Resources and Cmdlet documentation pages --- docs/docs/resources/azure-ad/AADConditionalAccessPolicy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/resources/azure-ad/AADConditionalAccessPolicy.md b/docs/docs/resources/azure-ad/AADConditionalAccessPolicy.md index 6906b3619d..90b5dd515f 100644 --- a/docs/docs/resources/azure-ad/AADConditionalAccessPolicy.md +++ b/docs/docs/resources/azure-ad/AADConditionalAccessPolicy.md @@ -53,7 +53,7 @@ | **AuthenticationStrength** | Write | String | Name of the associated authentication strength policy. | | | **TransferMethods** | Write | String | Names of the associated authentication flow transfer methods. Possible values are '', 'deviceCodeFlow', 'authenticationTransfer', or 'deviceCodeFlow,authenticationTransfer'. | | | **AuthenticationContexts** | Write | StringArray[] | Authentication context class references. | | -| **InsiderRiskLevels** | Write | String | Insider risk levels conditions. | | +| **InsiderRiskLevels** | Write | String | Insider risk levels conditions. | `minor`, `moderate`, `elevated`, `unknownFutureValue` | | **Ensure** | Write | String | Specify if the Azure AD CA Policy should exist or not. | `Present`, `Absent` | | **Credential** | Write | PSCredential | Credentials for the Microsoft Graph delegated permissions. | | | **ApplicationId** | Write | String | Id of the Azure Active Directory application to authenticate with. | | From 2531cc6730c360e6bcba4925b31823cd950285d3 Mon Sep 17 00:00:00 2001 From: Fabien Tschanz Date: Wed, 13 Nov 2024 13:52:00 +0100 Subject: [PATCH 39/58] Fix export of changed property name in EDR Windows10 --- CHANGELOG.md | 3 +++ ...MSFT_IntuneEndpointDetectionAndResponsePolicyWindows10.psm1 | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2887ff3a64..641eda642d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,9 @@ * IntuneAntivirusPolicyWindows10SettingCatalog * Update properties to be upper-case. Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneEndpointDetectionAndResponsePolicyWindows10 + * Remove changed property name from export. + FIXES [#5300](https://github.com/microsoft/Microsoft365DSC/issues/5300) * IntuneSecurityBaselineMicrosoftEdge * Deprecate property `authschemes` and replace with `AuthSchemes_AuthSchemes` * M365DSCDRGUtil diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneEndpointDetectionAndResponsePolicyWindows10/MSFT_IntuneEndpointDetectionAndResponsePolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneEndpointDetectionAndResponsePolicyWindows10/MSFT_IntuneEndpointDetectionAndResponsePolicyWindows10.psm1 index 987f41812b..4508e66dd0 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneEndpointDetectionAndResponsePolicyWindows10/MSFT_IntuneEndpointDetectionAndResponsePolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneEndpointDetectionAndResponsePolicyWindows10/MSFT_IntuneEndpointDetectionAndResponsePolicyWindows10.psm1 @@ -122,6 +122,7 @@ function Get-TargetResource [array]$settings = Get-MgBetaDeviceManagementConfigurationPolicySetting ` -DeviceManagementConfigurationPolicyId $Identity ` -ExpandProperty 'settingDefinitions' ` + -All ` -ErrorAction Stop $policySettings = @{} @@ -130,7 +131,7 @@ function Get-TargetResource $policySettings.Remove('ClientConfigurationPackageType') $policySettings.Remove('onboarding') $policySettings.Remove('offboarding') - $policySettings.Remove('autofromconnector') + $policySettings.Remove('onboarding_fromconnector') # Removing TelemetryReportingFrequency because it's deprecated and doesn't need to be evaluated and enforced $policySettings.Remove('telemetryreportingfrequency') From c74fa668f9af43bf1b2d659d1ea4eece2ac7d2c2 Mon Sep 17 00:00:00 2001 From: Ricardo Mestre Date: Wed, 13 Nov 2024 13:16:06 +0000 Subject: [PATCH 40/58] Fix comparison --- CHANGELOG.md | 8 ++++---- .../MSFT_EXOATPBuiltInProtectionRule.psm1 | 15 +++++++++++++++ .../MSFT_EXOEOPProtectionPolicyRule.psm1 | 15 ++++++++++++++- ...eDeviceConfigurationCustomPolicyWindows10.psm1 | 2 +- 4 files changed, 34 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1a69bead9..5b48049cdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ * Fixed bug where an empty value was passed in the request for the insiderRiskLevels parameter, which throws an error. FIXES [#5389](https://github.com/microsoft/Microsoft365DSC/issues/5389) +* EXOATPBuiltInProtectionRule, EXOEOPProtectionRule + * Fixed issue where empty arrays were being compared incorrectly to null + strings + FIXES [#5394](https://github.com/microsoft/Microsoft365DSC/issues/5394) * IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy * Update property `PasswordAgeDays_AAD` to be lower-case. FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (1/2) @@ -14,10 +18,6 @@ * IntuneAntivirusPolicyWindows10SettingCatalog * Update properties to be upper-case. Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) -* IntuneDeviceConfigurationCustomPolicyWindows10 - * Fixed issue where `Value`, from `OmaSettings`, could not be compared - correctly if it was boolean and set to `$False` - FIXES [#5384](https://github.com/microsoft/Microsoft365DSC/issues/5384) * IntuneSecurityBaselineMicrosoftEdge * Deprecate property `authschemes` and replace with `AuthSchemes_AuthSchemes` * M365DSCDRGUtil diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOATPBuiltInProtectionRule/MSFT_EXOATPBuiltInProtectionRule.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOATPBuiltInProtectionRule/MSFT_EXOATPBuiltInProtectionRule.psm1 index 81087e37ee..8deb5252dc 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOATPBuiltInProtectionRule/MSFT_EXOATPBuiltInProtectionRule.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOATPBuiltInProtectionRule/MSFT_EXOATPBuiltInProtectionRule.psm1 @@ -249,6 +249,21 @@ function Test-TargetResource Write-Verbose -Message "Current Values: $(Convert-M365DscHashtableToString -Hashtable $CurrentValues)" Write-Verbose -Message "Target Values: $(Convert-M365DscHashtableToString -Hashtable $ValuesToCheck)" + foreach ($key in $ValuesToCheck.Keys) + { + if ($null -eq $CurrentValues[$key]) + { + switch -regex ($key) + { + "^ExceptIf\w+$" + { + $CurrentValues[$key] = @() + break + } + } + } + } + $testResult = Test-M365DSCParameterState -CurrentValues $CurrentValues ` -Source $($MyInvocation.MyCommand.Source) ` -DesiredValues $PSBoundParameters ` diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOEOPProtectionPolicyRule/MSFT_EXOEOPProtectionPolicyRule.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOEOPProtectionPolicyRule/MSFT_EXOEOPProtectionPolicyRule.psm1 index 2ae3854191..b2fd449dd0 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOEOPProtectionPolicyRule/MSFT_EXOEOPProtectionPolicyRule.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOEOPProtectionPolicyRule/MSFT_EXOEOPProtectionPolicyRule.psm1 @@ -374,13 +374,26 @@ function Test-TargetResource Write-Verbose -Message "Current Values: $(Convert-M365DscHashtableToString -Hashtable $CurrentValues)" Write-Verbose -Message "Target Values: $(Convert-M365DscHashtableToString -Hashtable $ValuesToCheck)" - #Convert any DateTime to String foreach ($key in $ValuesToCheck.Keys) { + # Convert any DateTime to String if (($null -ne $CurrentValues[$key]) ` -and ($CurrentValues[$key].GetType().Name -eq 'DateTime')) { $CurrentValues[$key] = $CurrentValues[$key].toString() + continue + } + + if ($null -eq $CurrentValues[$key]) + { + switch -regex ($key) + { + "^ExceptIf\w+$|^RecipientDomainIs$|^SentTo(\w+)?$" + { + $CurrentValues[$key] = @() + break + } + } } } diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 index daa9bb00c1..b877ce8996 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 @@ -143,7 +143,7 @@ function Get-TargetResource $myomaSettings.Add('IsEncrypted', $currentomaSettings.isEncrypted) $myomaSettings.Add('OmaUri', $currentomaSettings.omaUri) $myomaSettings.Add('FileName', $currentomaSettings.fileName) - $myomaSettings.Add('Value', [System.String]$currentomaSettings.value) + $myomaSettings.Add('Value', $currentomaSettings.value) if ($currentomaSettings.'@odata.type' -eq '#microsoft.graph.omaSettingInteger') { $myomaSettings.Add('IsReadOnly', $currentomaSettings.isReadOnly) From 3295f38beac9e57bfe22dc67660493e2fd0d9489 Mon Sep 17 00:00:00 2001 From: Ricardo Mestre Date: Wed, 13 Nov 2024 13:19:07 +0000 Subject: [PATCH 41/58] Add back line, this is part of another PR --- .../MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 index b877ce8996..3585277caf 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 @@ -125,6 +125,7 @@ function Get-TargetResource if ($currentomaSettings.isEncrypted -eq $true) { + write-verbose ("IsEncrypted = true -- $($currentomaSettings.displayName)") $SecretReferenceValueId = $currentomaSettings.secretReferenceValueId $OmaSettingPlainTextValue = Get-OmaSettingPlainTextValue -SecretReferenceValueId $SecretReferenceValueId if (![String]::IsNullOrEmpty($OmaSettingPlainTextValue)) From 1608d00bb2779f538cf8f20a4960c6258e5e17a7 Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 16:24:21 +0100 Subject: [PATCH 42/58] Prepare release --- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 239 ++----------------- 1 file changed, 25 insertions(+), 214 deletions(-) diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index fa43f229f6..29793f458f 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 2024-11-08 +# Generated on: 2024-11-13 @{ @@ -11,7 +11,7 @@ # RootModule = '' # Version number of this module. - ModuleVersion = '1.24.1106.3' + ModuleVersion = '1.24.1113.1' # Supported PSEditions # CompatiblePSEditions = @() @@ -147,220 +147,31 @@ IconUri = 'https://github.com/microsoft/Microsoft365DSC/blob/Dev/Modules/Microsoft365DSC/Dependencies/Images/Logo.png?raw=true' # ReleaseNotes of this module - ReleaseNotes = '* AADAccessReviewDefinition - * Initial release. -* AADAccessReviewPolicy - * Initial release. -* AADAuthenticationMethodPolicyExternal - * Initial release. -* AADClaimsMappingPolicy - * Initial release. -* AADConditionalAccessPolicy - * FIXES [#5282](https://github.com/microsoft/Microsoft365DSC/issues/5282) - * Added support for InsiderRiskLevels. -* AADCustomSecurityAttributeDefinition - * Fixed missing permissions in settings.json -* AADEnrichedAuditLogs - * Initial release. -* AADFederationConfiguration - * Initial release. -* AADFilteringPolicy - * Initial release. -* AADFilteringPolicyRule - * Initial release. -* AADFilteringProfile - * Initial release. -* AADGroup - * Added support for custom roles assignment. - FIXES [#5322](https://github.com/microsoft/Microsoft365DSC/issues/5322) -* AADHomeRealmDiscoveryPolicy - * Initial Release -* AADIdentityAPIConnector - * Initial release. -* AADIdentityB2XUserFlow - * Initial release. -* AADIdentityGovernanceLifecycleWorkflowCustomTaskExtension - * Initial release. -* AADIdentityGovernanceProgram - * Initial release. -* AADIdentityProtectionPolicySettings - * Initial release. -* AADNamedLocationPolicy - * Fixed issue where duplicate names were not detected correctly. -* AADNetworkAccessForwardingPolicy - * Initial release. -* AADNetworkAccessForwardingProfile - * Initial release. -* AADNetworkAccessSettingConditionalAccess - * Initial release. -* AADNetworkAccessSettingCrossTenantAccess - * Initial release. -* AADOnPremisesPublishingProfilesSettings - * Initial release. -* AADOrganizationCertificateBasedAuthConfiguration - * Initial release. -* AADRemoteNetwork - * Initial release. -* AADRoleEligibilityScheduleRequest - * Fixes for Custom roles. - FIXES [#5330](https://github.com/microsoft/Microsoft365DSC/issues/5330) - * Fixes to remove elegibility schedule for custom roles. - FIXES [#5331](https://github.com/microsoft/Microsoft365DSC/issues/5331) -* AADRoleManagementPolicyRule - * Initial release. -* AADServicePrincipal - * Added the notes field. - FIXES [#5312](https://github.com/microsoft/Microsoft365DSC/issues/5312) - * Added support for KeyCredentials and PasswordCredentials. - * Added support for SAML. - * Fixed issue with Owners. -* AADSocialIdentityProvider - * Fixed missing permissions in settings.json -* AADUserFlowAttribute - * Initial Release -* AADVerifiedIdAuthority - * Initial release. -* AADVerifiedIdAuthorityContract - * Initial release. -* AzureBillingAccountsAssociatedTenant - * Initial release. -* AzureBillingAccountsRoleAssignment - * Initial release. -* AzureDiagnosticSettings - * Initial release. -* AzureDiagnosticSettingsCustomSecurityAttribute - * Initial release. -* AzureSubscription - * Renamed parameters and added logic flow to create new subscriptions. -* AzureVerifiedIdFaceCheck - * Initial release. -* DefenderDeviceAuthenticatedScanDefinition - * Initial release. -* EXOActiveSyncMailboxPolicy - * Initial release. -* EXOArcConfig - * Fixed `Test-TargetResource` to correctly check property `ArcTrustedSealers` - when it has an array -* EXOMailboxAuditBypassAssociation - * Initial release. -* EXOMailboxSettings - * Added support for AddressBookPolicy, RetentionPolicy, RoleAssignmentPolicy - and SharingPolicy. -* EXOServicePrincipal - * Initial release. -* EXOTenantAllowBlockListItems - * Fixed `Test-TargetResource` to correctly mark when this resource is removed -* EXOTenantAllowBlockListSpoofItems - * Initial release. -* IntuneAccountProtectionLocalUserGroupMembershipPolicy - * Updates values in `UserSelectionType`. - FIXES [#5318](https://github.com/microsoft/Microsoft365DSC/issues/5318) -* IntuneAntivirusPolicyLinux - * Initial release. -* IntuneAppAndBrowserIsolationPolicyWindows10ConfigMgr - * Initial release. -* IntuneAppCategory - * Fixed retrieval of resource which could then result in multiple categories - being created with same name. -* IntuneAppleMDMPushNotificationCertificate - * Initial release. -* IntuneAppProtectionPolicyiOS - * Fixes an issue that could cause multiple instances to be created when multiple - instances with the same display name exist. -* IntuneDerivedCredential - * Fixed export and deployment when `NotificationType` had more than one option - selected - * Fixed retrieval of resource when it cannot be found by `Id` - * Added a few verbose messages -* IntuneDeviceManagmentAndroidDeviceOwnerEnrollmentProfile - * Initial release. -* IntuneEndpointDetectionAndResponsePolicyWindows10 - * Fixes an issue with `AutoFromConnector` as the Configuration package type. - FIXES [#5246](https://github.com/microsoft/Microsoft365DSC/issues/5246) -* IntuneMobileThreatDefenseConnector - * Initial release. -* IntuneSecurityBaselineDefenderForEndpoint - * Initial release. -* IntuneSettingCatalogCustomPolicyWindows10 - * Fixes an issue with limited results when more than 25 results are present. -* Intune workload - * Fixed missing permissions in settings.json -* M365DSCRuleEvaluation - * Changed the name of the Key property from ResourceName to ResourceTypeName. - While this is considered a breaking change, the old property name was - breaking the DSCParser process. The impact of this breaking the parsing - process is important enough to justify an out-of-band breaking change of - this resource. -* ODSettings - * Deprecated property NotifyOwnersWhenInvitationsAccepted. - FIXES [#4979](https://github.com/microsoft/Microsoft365DSC/issues/4979) -* PPPowerAppsEnvironment - * Add ProvisionDatabase attribute - FIXES [#5207](https://github.com/microsoft/Microsoft365DSC/issues/5207) -* PPTenantSettings - * Updated to support latest settings. -* SCInsiderRiskPolicy - * Added support for property MDATPTriageStatus. - * Added support for GPUUtilizationLimit and CPUUtilizationLimit. -* SCPolicyConfig - * Initial release. -* SCSensitivityLabel - * Fixed issue with setting label priority - FIXES [#5266](https://github.com/microsoft/Microsoft365DSC/issues/5266) -* SentinelAlertRule - * Initial release. -* SentinelThreatIntelligenceIndicator - * Initial release. -* SPOSharingSettings - * Deprecated property RequireAcceptingAccountMatchInvitedAccount. - FIXES [#4979](https://github.com/microsoft/Microsoft365DSC/issues/4979) -* SPOTenantSettings - * Added support for AllowSelectSGsInODBListInTenant, - DenySelectSGsInODBListInTenant, DenySelectSecurityGroupsInSPSitesList, - AllowSelectSecurityGroupsInSPSitesList, - ExemptNativeUsersFromTenantLevelRestricedAccessControl properties. - * TenantDefaultTimezone changed to String instead of Array. -* TeamsMeetingPolicy - * Added new parameters: AllowExternalNonTrustedMeetingChat, AttendeeIdentityMasking, - AutomaticallyStartCopilot, AutoRecording, ConnectToMeetingControls, - ContentSharingInExternalMeetings, Copilot, CopyRestriction, - DetectSensitiveContentDuringScreenSharing, ExternalMeetingJoin, ParticipantNameChange, - VoiceIsolation -* TeamsOrgWideAppSettings - * Fixed an issue where ManagedIdentity was not define in the methods signatures. - FIXES [#5188](https://github.com/microsoft/Microsoft365DSC/issues/5188) + ReleaseNotes = '* AADConditionalAccessPolicy + * Fixed bug where an empty value was passed in the request for the + insiderRiskLevels parameter, which throws an error. + FIXES [#5389](https://github.com/microsoft/Microsoft365DSC/issues/5389) +* IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy + * Update property `PasswordAgeDays_AAD` to be lower-case. + FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (1/2) +* IntuneAntivirusExclusionsPolicyMacOS + * Initial release. +* IntuneAntivirusPolicyWindows10SettingCatalog + * Update properties to be upper-case. + Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneSecurityBaselineMicrosoftEdge + * Deprecate property `authschemes` and replace with `AuthSchemes_AuthSchemes` * M365DSCDRGUtil - * Fixes an issue where non-unique properties were not combined - properly with their respective parent setting. -* MISC - * Fixed references to graph.microsoft.com with dynamic domain name based on target cloud. - Impacted AADAdminConsentRequestPolicy, AADApplication, AADConditionalAccessPolicy, AADGroup, - AADNamedLocationPolicy, AADServiePrincipal, IntuneASRRulesPolicyWindows10, - IntuneAccountProtectionLocalUsersGroupMembershipPolicy, IntuneAccountProtectionPolicy, - IntuneAppProtectionPolicyiOS,IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10, - IntuneDeviceConfigurationSCEPCertificatePolicyWindows10, IntuneDeviceConfigurationWiredNetworkPolicyWindows10, - IntuneDeviceEnrollmentStatusPageWindows10, IntuneDiskEncryptionMacOS, IntunePolicySets, - IntuneSettingCatalogCustomPolicyWindows10, M365DSCRGUtil - * Exponential performance improvements by reducing complexity and roundtrips. - * Changed the logic that appends GUID in the resource name when primary key is not found during an - export. We will only append a GUID if the IsSingleInstance property is not found on the resource. - * Add check in AADGroupSettings for NewUnifiedGroupWritebackDefault not existing in Government by default - FIXES [#5213](https://github.com/microsoft/Microsoft365DSC/issues/5213) - * Fix static refrences to graph.microsoft.com - FIXES [#5339](https://github.com/microsoft/Microsoft365DSC/issues/5339) - AADNetworkAccessForwardingPolicy. AADOrganizationCertificateBasedAuthConfiguration, - AADAuthenticationMethodPolicyExternal, AADEnrichedAuditLogs - FIXES [#5340](https://github.com/microsoft/Microsoft365DSC/issues/5340) - IntuneDeviceManagementEnrollmentAndroidGooglePlay, IntuneAppleMDMPushNotificationCertificate - * Fixes static OData refrences to graph.microsoft.com - AADApplication, AADEntitlementManagementAccessPackage, AADEntitlementManagementConnectedOrganization - AADServicePrincipal - FIXES [#5342](https://github.com/microsoft/Microsoft365DSC/issues/5342) + * Restrict CIM instance access to properties that appear multiple times. + * Switch log type for not found Intune assignments to `Warning`. +* M365DSCIntuneSettingsCatalogUtil + * Add ADMX handling for `edge~httpauthentication_`. + FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (2/2) +* TeamsUpgradePolicy + * Changes to how we are retrieving the users to improve performance. * DEPENDENCIES - * Updated Microsoft.Graph to version 2.24.0. - * Updated Microsoft.PowerApps.Administration.PowerShell to version 2.0.199. - * Updated MSCloudLoginAssistant to version 1.1.27 - * Updated MicrosoftTeams to version 6.6.0.' + * Updated DSCParser to version 2.0.0.12. + * Updated MSCloudLoginAssistant to version 1.1.28.' # Flag to indicate whether the module requires explicit user acceptance for install/update # RequireLicenseAcceptance = $false From 3c027959a981330c7724db6dce619102c6206a4c Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 16:24:21 +0100 Subject: [PATCH 43/58] Prepare release --- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 239 ++----------------- 1 file changed, 25 insertions(+), 214 deletions(-) diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index fa43f229f6..29793f458f 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 2024-11-08 +# Generated on: 2024-11-13 @{ @@ -11,7 +11,7 @@ # RootModule = '' # Version number of this module. - ModuleVersion = '1.24.1106.3' + ModuleVersion = '1.24.1113.1' # Supported PSEditions # CompatiblePSEditions = @() @@ -147,220 +147,31 @@ IconUri = 'https://github.com/microsoft/Microsoft365DSC/blob/Dev/Modules/Microsoft365DSC/Dependencies/Images/Logo.png?raw=true' # ReleaseNotes of this module - ReleaseNotes = '* AADAccessReviewDefinition - * Initial release. -* AADAccessReviewPolicy - * Initial release. -* AADAuthenticationMethodPolicyExternal - * Initial release. -* AADClaimsMappingPolicy - * Initial release. -* AADConditionalAccessPolicy - * FIXES [#5282](https://github.com/microsoft/Microsoft365DSC/issues/5282) - * Added support for InsiderRiskLevels. -* AADCustomSecurityAttributeDefinition - * Fixed missing permissions in settings.json -* AADEnrichedAuditLogs - * Initial release. -* AADFederationConfiguration - * Initial release. -* AADFilteringPolicy - * Initial release. -* AADFilteringPolicyRule - * Initial release. -* AADFilteringProfile - * Initial release. -* AADGroup - * Added support for custom roles assignment. - FIXES [#5322](https://github.com/microsoft/Microsoft365DSC/issues/5322) -* AADHomeRealmDiscoveryPolicy - * Initial Release -* AADIdentityAPIConnector - * Initial release. -* AADIdentityB2XUserFlow - * Initial release. -* AADIdentityGovernanceLifecycleWorkflowCustomTaskExtension - * Initial release. -* AADIdentityGovernanceProgram - * Initial release. -* AADIdentityProtectionPolicySettings - * Initial release. -* AADNamedLocationPolicy - * Fixed issue where duplicate names were not detected correctly. -* AADNetworkAccessForwardingPolicy - * Initial release. -* AADNetworkAccessForwardingProfile - * Initial release. -* AADNetworkAccessSettingConditionalAccess - * Initial release. -* AADNetworkAccessSettingCrossTenantAccess - * Initial release. -* AADOnPremisesPublishingProfilesSettings - * Initial release. -* AADOrganizationCertificateBasedAuthConfiguration - * Initial release. -* AADRemoteNetwork - * Initial release. -* AADRoleEligibilityScheduleRequest - * Fixes for Custom roles. - FIXES [#5330](https://github.com/microsoft/Microsoft365DSC/issues/5330) - * Fixes to remove elegibility schedule for custom roles. - FIXES [#5331](https://github.com/microsoft/Microsoft365DSC/issues/5331) -* AADRoleManagementPolicyRule - * Initial release. -* AADServicePrincipal - * Added the notes field. - FIXES [#5312](https://github.com/microsoft/Microsoft365DSC/issues/5312) - * Added support for KeyCredentials and PasswordCredentials. - * Added support for SAML. - * Fixed issue with Owners. -* AADSocialIdentityProvider - * Fixed missing permissions in settings.json -* AADUserFlowAttribute - * Initial Release -* AADVerifiedIdAuthority - * Initial release. -* AADVerifiedIdAuthorityContract - * Initial release. -* AzureBillingAccountsAssociatedTenant - * Initial release. -* AzureBillingAccountsRoleAssignment - * Initial release. -* AzureDiagnosticSettings - * Initial release. -* AzureDiagnosticSettingsCustomSecurityAttribute - * Initial release. -* AzureSubscription - * Renamed parameters and added logic flow to create new subscriptions. -* AzureVerifiedIdFaceCheck - * Initial release. -* DefenderDeviceAuthenticatedScanDefinition - * Initial release. -* EXOActiveSyncMailboxPolicy - * Initial release. -* EXOArcConfig - * Fixed `Test-TargetResource` to correctly check property `ArcTrustedSealers` - when it has an array -* EXOMailboxAuditBypassAssociation - * Initial release. -* EXOMailboxSettings - * Added support for AddressBookPolicy, RetentionPolicy, RoleAssignmentPolicy - and SharingPolicy. -* EXOServicePrincipal - * Initial release. -* EXOTenantAllowBlockListItems - * Fixed `Test-TargetResource` to correctly mark when this resource is removed -* EXOTenantAllowBlockListSpoofItems - * Initial release. -* IntuneAccountProtectionLocalUserGroupMembershipPolicy - * Updates values in `UserSelectionType`. - FIXES [#5318](https://github.com/microsoft/Microsoft365DSC/issues/5318) -* IntuneAntivirusPolicyLinux - * Initial release. -* IntuneAppAndBrowserIsolationPolicyWindows10ConfigMgr - * Initial release. -* IntuneAppCategory - * Fixed retrieval of resource which could then result in multiple categories - being created with same name. -* IntuneAppleMDMPushNotificationCertificate - * Initial release. -* IntuneAppProtectionPolicyiOS - * Fixes an issue that could cause multiple instances to be created when multiple - instances with the same display name exist. -* IntuneDerivedCredential - * Fixed export and deployment when `NotificationType` had more than one option - selected - * Fixed retrieval of resource when it cannot be found by `Id` - * Added a few verbose messages -* IntuneDeviceManagmentAndroidDeviceOwnerEnrollmentProfile - * Initial release. -* IntuneEndpointDetectionAndResponsePolicyWindows10 - * Fixes an issue with `AutoFromConnector` as the Configuration package type. - FIXES [#5246](https://github.com/microsoft/Microsoft365DSC/issues/5246) -* IntuneMobileThreatDefenseConnector - * Initial release. -* IntuneSecurityBaselineDefenderForEndpoint - * Initial release. -* IntuneSettingCatalogCustomPolicyWindows10 - * Fixes an issue with limited results when more than 25 results are present. -* Intune workload - * Fixed missing permissions in settings.json -* M365DSCRuleEvaluation - * Changed the name of the Key property from ResourceName to ResourceTypeName. - While this is considered a breaking change, the old property name was - breaking the DSCParser process. The impact of this breaking the parsing - process is important enough to justify an out-of-band breaking change of - this resource. -* ODSettings - * Deprecated property NotifyOwnersWhenInvitationsAccepted. - FIXES [#4979](https://github.com/microsoft/Microsoft365DSC/issues/4979) -* PPPowerAppsEnvironment - * Add ProvisionDatabase attribute - FIXES [#5207](https://github.com/microsoft/Microsoft365DSC/issues/5207) -* PPTenantSettings - * Updated to support latest settings. -* SCInsiderRiskPolicy - * Added support for property MDATPTriageStatus. - * Added support for GPUUtilizationLimit and CPUUtilizationLimit. -* SCPolicyConfig - * Initial release. -* SCSensitivityLabel - * Fixed issue with setting label priority - FIXES [#5266](https://github.com/microsoft/Microsoft365DSC/issues/5266) -* SentinelAlertRule - * Initial release. -* SentinelThreatIntelligenceIndicator - * Initial release. -* SPOSharingSettings - * Deprecated property RequireAcceptingAccountMatchInvitedAccount. - FIXES [#4979](https://github.com/microsoft/Microsoft365DSC/issues/4979) -* SPOTenantSettings - * Added support for AllowSelectSGsInODBListInTenant, - DenySelectSGsInODBListInTenant, DenySelectSecurityGroupsInSPSitesList, - AllowSelectSecurityGroupsInSPSitesList, - ExemptNativeUsersFromTenantLevelRestricedAccessControl properties. - * TenantDefaultTimezone changed to String instead of Array. -* TeamsMeetingPolicy - * Added new parameters: AllowExternalNonTrustedMeetingChat, AttendeeIdentityMasking, - AutomaticallyStartCopilot, AutoRecording, ConnectToMeetingControls, - ContentSharingInExternalMeetings, Copilot, CopyRestriction, - DetectSensitiveContentDuringScreenSharing, ExternalMeetingJoin, ParticipantNameChange, - VoiceIsolation -* TeamsOrgWideAppSettings - * Fixed an issue where ManagedIdentity was not define in the methods signatures. - FIXES [#5188](https://github.com/microsoft/Microsoft365DSC/issues/5188) + ReleaseNotes = '* AADConditionalAccessPolicy + * Fixed bug where an empty value was passed in the request for the + insiderRiskLevels parameter, which throws an error. + FIXES [#5389](https://github.com/microsoft/Microsoft365DSC/issues/5389) +* IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy + * Update property `PasswordAgeDays_AAD` to be lower-case. + FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (1/2) +* IntuneAntivirusExclusionsPolicyMacOS + * Initial release. +* IntuneAntivirusPolicyWindows10SettingCatalog + * Update properties to be upper-case. + Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneSecurityBaselineMicrosoftEdge + * Deprecate property `authschemes` and replace with `AuthSchemes_AuthSchemes` * M365DSCDRGUtil - * Fixes an issue where non-unique properties were not combined - properly with their respective parent setting. -* MISC - * Fixed references to graph.microsoft.com with dynamic domain name based on target cloud. - Impacted AADAdminConsentRequestPolicy, AADApplication, AADConditionalAccessPolicy, AADGroup, - AADNamedLocationPolicy, AADServiePrincipal, IntuneASRRulesPolicyWindows10, - IntuneAccountProtectionLocalUsersGroupMembershipPolicy, IntuneAccountProtectionPolicy, - IntuneAppProtectionPolicyiOS,IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10, - IntuneDeviceConfigurationSCEPCertificatePolicyWindows10, IntuneDeviceConfigurationWiredNetworkPolicyWindows10, - IntuneDeviceEnrollmentStatusPageWindows10, IntuneDiskEncryptionMacOS, IntunePolicySets, - IntuneSettingCatalogCustomPolicyWindows10, M365DSCRGUtil - * Exponential performance improvements by reducing complexity and roundtrips. - * Changed the logic that appends GUID in the resource name when primary key is not found during an - export. We will only append a GUID if the IsSingleInstance property is not found on the resource. - * Add check in AADGroupSettings for NewUnifiedGroupWritebackDefault not existing in Government by default - FIXES [#5213](https://github.com/microsoft/Microsoft365DSC/issues/5213) - * Fix static refrences to graph.microsoft.com - FIXES [#5339](https://github.com/microsoft/Microsoft365DSC/issues/5339) - AADNetworkAccessForwardingPolicy. AADOrganizationCertificateBasedAuthConfiguration, - AADAuthenticationMethodPolicyExternal, AADEnrichedAuditLogs - FIXES [#5340](https://github.com/microsoft/Microsoft365DSC/issues/5340) - IntuneDeviceManagementEnrollmentAndroidGooglePlay, IntuneAppleMDMPushNotificationCertificate - * Fixes static OData refrences to graph.microsoft.com - AADApplication, AADEntitlementManagementAccessPackage, AADEntitlementManagementConnectedOrganization - AADServicePrincipal - FIXES [#5342](https://github.com/microsoft/Microsoft365DSC/issues/5342) + * Restrict CIM instance access to properties that appear multiple times. + * Switch log type for not found Intune assignments to `Warning`. +* M365DSCIntuneSettingsCatalogUtil + * Add ADMX handling for `edge~httpauthentication_`. + FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (2/2) +* TeamsUpgradePolicy + * Changes to how we are retrieving the users to improve performance. * DEPENDENCIES - * Updated Microsoft.Graph to version 2.24.0. - * Updated Microsoft.PowerApps.Administration.PowerShell to version 2.0.199. - * Updated MSCloudLoginAssistant to version 1.1.27 - * Updated MicrosoftTeams to version 6.6.0.' + * Updated DSCParser to version 2.0.0.12. + * Updated MSCloudLoginAssistant to version 1.1.28.' # Flag to indicate whether the module requires explicit user acceptance for install/update # RequireLicenseAcceptance = $false From 3a3b9c96fc5dfed4ca2138043ffb6b09c73b855d Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 16:27:32 +0100 Subject: [PATCH 44/58] Rebase with Dev --- CHANGELOG.md | 2 +- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd63a44079..4252502ece 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,7 +30,7 @@ * Add ADMX handling for `edge~httpauthentication_`. FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (2/2) * TeamsUpgradePolicy - * Changes to how we're retrieving the users to improve performance. + * Changes to how we are retrieving the users to improve performance. * DEPENDENCIES * Updated DSCParser to version 2.0.0.12. * Updated MSCloudLoginAssistant to version 1.1.28. diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index 29793f458f..9bcc3e1e22 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -151,6 +151,10 @@ * Fixed bug where an empty value was passed in the request for the insiderRiskLevels parameter, which throws an error. FIXES [#5389](https://github.com/microsoft/Microsoft365DSC/issues/5389) +* EXOATPBuiltInProtectionRule, EXOEOPProtectionRule + * Fixed issue where empty arrays were being compared incorrectly to null + strings + FIXES [#5394](https://github.com/microsoft/Microsoft365DSC/issues/5394) * IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy * Update property `PasswordAgeDays_AAD` to be lower-case. FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (1/2) @@ -159,6 +163,9 @@ * IntuneAntivirusPolicyWindows10SettingCatalog * Update properties to be upper-case. Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneEndpointDetectionAndResponsePolicyWindows10 + * Remove changed property name from export. + FIXES [#5300](https://github.com/microsoft/Microsoft365DSC/issues/5300) * IntuneSecurityBaselineMicrosoftEdge * Deprecate property `authschemes` and replace with `AuthSchemes_AuthSchemes` * M365DSCDRGUtil From a87e0cac179b7054f0c319fde5f39461e25ab63b Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Wed, 13 Nov 2024 10:44:32 -0500 Subject: [PATCH 45/58] Fixes #5390 --- CHANGELOG.md | 3 ++ .../MSFT_AADConditionalAccessPolicy.psm1 | 47 ++++++++++++++++++- .../MSFT_TeamsOrgWideAppSettings.psm1 | 6 +-- 3 files changed, 51 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd63a44079..b18436989d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ * Fixed bug where an empty value was passed in the request for the insiderRiskLevels parameter, which throws an error. FIXES [#5389](https://github.com/microsoft/Microsoft365DSC/issues/5389) + * Fixes a bug where 3P apps could not be assigned by DisplayName for both + IncludeApplications and ExcludeApplications + FIXES [#5390](https://github.com/microsoft/Microsoft365DSC/issues/5390) * EXOATPBuiltInProtectionRule, EXOEOPProtectionRule * Fixed issue where empty arrays were being compared incorrectly to null strings diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.psm1 index d75ae7b998..efa3b783bb 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.psm1 @@ -1031,11 +1031,54 @@ function Set-TargetResource Write-Verbose -Message 'Set-Targetresource: create Application Condition object' if ($currentParameters.ContainsKey('IncludeApplications')) { - $conditions.Applications.Add('includeApplications', $IncludeApplications) + $IncludeApplicationsValue = @() + foreach ($app in $IncludeApplications) + { + $ObjectGuid = [System.Guid]::empty + if ([System.Guid]::TryParse($app, [System.Management.Automation.PSReference]$ObjectGuid)) + { + $IncludeApplicationsValue += $app + } + else + { + $appInfo = Get-MgApplication -Filter "DisplayName eq '$app'" -ErrorAction SilentlyContinue + if ($null -ne $appInfo) + { + $IncludeApplicationsValue += $appInfo.AppId + } + else + { + $IncludeApplicationsValue += $app + } + } + } + + $conditions.Applications.Add('includeApplications', $IncludeApplicationsValue) } if ($currentParameters.ContainsKey('excludeApplications')) { - $conditions.Applications.Add('excludeApplications', $ExcludeApplications) + $ExcludeApplicationsValue = @() + foreach ($app in $ExcludeApplications) + { + $ObjectGuid = [System.Guid]::empty + if ([System.Guid]::TryParse($app, [System.Management.Automation.PSReference]$ObjectGuid)) + { + $ExcludeApplicationsValue += $app + } + else + { + $appInfo = Get-MgApplication -Filter "DisplayName eq '$app'" -ErrorAction SilentlyContinue + if ($null -ne $appInfo) + { + $ExcludeApplicationsValue += $appInfo.AppId + } + else + { + $ExcludeApplicationsValue += $app + } + } + } + $conditions.Applications.Add('excludeApplications', $ExcludeApplicationsValue) } if ($ApplicationsFilter -and $ApplicationsFilterMode) { diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsOrgWideAppSettings/MSFT_TeamsOrgWideAppSettings.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsOrgWideAppSettings/MSFT_TeamsOrgWideAppSettings.psm1 index 6038452294..2f032f78bd 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsOrgWideAppSettings/MSFT_TeamsOrgWideAppSettings.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsOrgWideAppSettings/MSFT_TeamsOrgWideAppSettings.psm1 @@ -25,7 +25,7 @@ function Get-TargetResource [Switch] $ManagedIdentity ) - Write-Verbose -Message 'Checking the Teams Upgrade Configuration' + Write-Verbose -Message 'Checking the Teams Org Wide App Settings' $ConnectionMode = New-M365DSCConnection -Workload 'MicrosoftTeams' ` -InboundParameters $PSBoundParameters @@ -105,7 +105,7 @@ function Set-TargetResource $ManagedIdentity ) - Write-Verbose -Message 'Setting Teams Upgrade Configuration' + Write-Verbose -Message 'Setting the Teams Org Wide App Settings' #Ensure the proper dependencies are installed in the current environment. Confirm-M365DSCDependencies @@ -169,7 +169,7 @@ function Test-TargetResource Add-M365DSCTelemetryEvent -Data $data #endregion - Write-Verbose -Message 'Testing configuration of Team Upgrade Settings' + Write-Verbose -Message 'Testing configuration for the Teams Org Wide App Settings' $CurrentValues = Get-TargetResource @PSBoundParameters From ce8574901afdc767e9b25a383b50454b808028c6 Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Wed, 13 Nov 2024 12:13:36 -0500 Subject: [PATCH 46/58] Fixes #3787 --- CHANGELOG.md | 3 +++ .../MSFT_AADRoleEligibilityScheduleRequest.psm1 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b18436989d..860c9333fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ * Fixes a bug where 3P apps could not be assigned by DisplayName for both IncludeApplications and ExcludeApplications FIXES [#5390](https://github.com/microsoft/Microsoft365DSC/issues/5390) +* AADRoleEligibilityScheduleRequest + * FIXES [#3787](https://github.com/microsoft/Microsoft365DSC/issues/3787) + * FIXES [#5089](https://github.com/microsoft/Microsoft365DSC/issues/5089) * EXOATPBuiltInProtectionRule, EXOEOPProtectionRule * Fixed issue where empty arrays were being compared incorrectly to null strings diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADRoleEligibilityScheduleRequest/MSFT_AADRoleEligibilityScheduleRequest.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADRoleEligibilityScheduleRequest/MSFT_AADRoleEligibilityScheduleRequest.psm1 index 41aa9c982a..c6b343d7b6 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADRoleEligibilityScheduleRequest/MSFT_AADRoleEligibilityScheduleRequest.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADRoleEligibilityScheduleRequest/MSFT_AADRoleEligibilityScheduleRequest.psm1 @@ -190,7 +190,7 @@ $schedule = $instance } } - [Array]$request = Get-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest -Filter "PrincipalId eq '$PrincipalId' and RoleDefinitionId eq '$($schedule.RoleDefinitionId)'" | Sort-Object -Property CompletedDateTime -Descending + [Array]$request = Get-MgBetaRoleManagementDirectoryRoleEligibilityScheduleRequest -Filter "PrincipalId eq '$PrincipalId'" | Where-Object -FilterScript {$_.RoleDefinitionId -eq $schedule.RoleDefinitionId} | Sort-Object -Property CompletedDateTime -Descending ` if ($request.Length -gt 1) { From 4f5569fd20a78663106db72881391937ca525d64 Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Wed, 13 Nov 2024 12:18:21 -0500 Subject: [PATCH 47/58] Update Microsoft365DSC.AADRoleEligibilityScheduleRequest.Tests.ps1 --- .../Microsoft365DSC.AADRoleEligibilityScheduleRequest.Tests.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADRoleEligibilityScheduleRequest.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADRoleEligibilityScheduleRequest.Tests.ps1 index 82499a07f7..be713c3108 100644 --- a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADRoleEligibilityScheduleRequest.Tests.ps1 +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADRoleEligibilityScheduleRequest.Tests.ps1 @@ -55,6 +55,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Mock -CommandName Get-MgBetaRoleManagementDirectoryRoleEligibilitySchedule -MockWith { return @{ Id = '12345-12345-12345-12345-12345' + RoleDefinitionId = "12345" } } From a754643a5bfdc591127ca359c698ee1f42a9d6d8 Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 16:24:21 +0100 Subject: [PATCH 48/58] Prepare release --- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 239 ++----------------- 1 file changed, 25 insertions(+), 214 deletions(-) diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index fa43f229f6..29793f458f 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 2024-11-08 +# Generated on: 2024-11-13 @{ @@ -11,7 +11,7 @@ # RootModule = '' # Version number of this module. - ModuleVersion = '1.24.1106.3' + ModuleVersion = '1.24.1113.1' # Supported PSEditions # CompatiblePSEditions = @() @@ -147,220 +147,31 @@ IconUri = 'https://github.com/microsoft/Microsoft365DSC/blob/Dev/Modules/Microsoft365DSC/Dependencies/Images/Logo.png?raw=true' # ReleaseNotes of this module - ReleaseNotes = '* AADAccessReviewDefinition - * Initial release. -* AADAccessReviewPolicy - * Initial release. -* AADAuthenticationMethodPolicyExternal - * Initial release. -* AADClaimsMappingPolicy - * Initial release. -* AADConditionalAccessPolicy - * FIXES [#5282](https://github.com/microsoft/Microsoft365DSC/issues/5282) - * Added support for InsiderRiskLevels. -* AADCustomSecurityAttributeDefinition - * Fixed missing permissions in settings.json -* AADEnrichedAuditLogs - * Initial release. -* AADFederationConfiguration - * Initial release. -* AADFilteringPolicy - * Initial release. -* AADFilteringPolicyRule - * Initial release. -* AADFilteringProfile - * Initial release. -* AADGroup - * Added support for custom roles assignment. - FIXES [#5322](https://github.com/microsoft/Microsoft365DSC/issues/5322) -* AADHomeRealmDiscoveryPolicy - * Initial Release -* AADIdentityAPIConnector - * Initial release. -* AADIdentityB2XUserFlow - * Initial release. -* AADIdentityGovernanceLifecycleWorkflowCustomTaskExtension - * Initial release. -* AADIdentityGovernanceProgram - * Initial release. -* AADIdentityProtectionPolicySettings - * Initial release. -* AADNamedLocationPolicy - * Fixed issue where duplicate names were not detected correctly. -* AADNetworkAccessForwardingPolicy - * Initial release. -* AADNetworkAccessForwardingProfile - * Initial release. -* AADNetworkAccessSettingConditionalAccess - * Initial release. -* AADNetworkAccessSettingCrossTenantAccess - * Initial release. -* AADOnPremisesPublishingProfilesSettings - * Initial release. -* AADOrganizationCertificateBasedAuthConfiguration - * Initial release. -* AADRemoteNetwork - * Initial release. -* AADRoleEligibilityScheduleRequest - * Fixes for Custom roles. - FIXES [#5330](https://github.com/microsoft/Microsoft365DSC/issues/5330) - * Fixes to remove elegibility schedule for custom roles. - FIXES [#5331](https://github.com/microsoft/Microsoft365DSC/issues/5331) -* AADRoleManagementPolicyRule - * Initial release. -* AADServicePrincipal - * Added the notes field. - FIXES [#5312](https://github.com/microsoft/Microsoft365DSC/issues/5312) - * Added support for KeyCredentials and PasswordCredentials. - * Added support for SAML. - * Fixed issue with Owners. -* AADSocialIdentityProvider - * Fixed missing permissions in settings.json -* AADUserFlowAttribute - * Initial Release -* AADVerifiedIdAuthority - * Initial release. -* AADVerifiedIdAuthorityContract - * Initial release. -* AzureBillingAccountsAssociatedTenant - * Initial release. -* AzureBillingAccountsRoleAssignment - * Initial release. -* AzureDiagnosticSettings - * Initial release. -* AzureDiagnosticSettingsCustomSecurityAttribute - * Initial release. -* AzureSubscription - * Renamed parameters and added logic flow to create new subscriptions. -* AzureVerifiedIdFaceCheck - * Initial release. -* DefenderDeviceAuthenticatedScanDefinition - * Initial release. -* EXOActiveSyncMailboxPolicy - * Initial release. -* EXOArcConfig - * Fixed `Test-TargetResource` to correctly check property `ArcTrustedSealers` - when it has an array -* EXOMailboxAuditBypassAssociation - * Initial release. -* EXOMailboxSettings - * Added support for AddressBookPolicy, RetentionPolicy, RoleAssignmentPolicy - and SharingPolicy. -* EXOServicePrincipal - * Initial release. -* EXOTenantAllowBlockListItems - * Fixed `Test-TargetResource` to correctly mark when this resource is removed -* EXOTenantAllowBlockListSpoofItems - * Initial release. -* IntuneAccountProtectionLocalUserGroupMembershipPolicy - * Updates values in `UserSelectionType`. - FIXES [#5318](https://github.com/microsoft/Microsoft365DSC/issues/5318) -* IntuneAntivirusPolicyLinux - * Initial release. -* IntuneAppAndBrowserIsolationPolicyWindows10ConfigMgr - * Initial release. -* IntuneAppCategory - * Fixed retrieval of resource which could then result in multiple categories - being created with same name. -* IntuneAppleMDMPushNotificationCertificate - * Initial release. -* IntuneAppProtectionPolicyiOS - * Fixes an issue that could cause multiple instances to be created when multiple - instances with the same display name exist. -* IntuneDerivedCredential - * Fixed export and deployment when `NotificationType` had more than one option - selected - * Fixed retrieval of resource when it cannot be found by `Id` - * Added a few verbose messages -* IntuneDeviceManagmentAndroidDeviceOwnerEnrollmentProfile - * Initial release. -* IntuneEndpointDetectionAndResponsePolicyWindows10 - * Fixes an issue with `AutoFromConnector` as the Configuration package type. - FIXES [#5246](https://github.com/microsoft/Microsoft365DSC/issues/5246) -* IntuneMobileThreatDefenseConnector - * Initial release. -* IntuneSecurityBaselineDefenderForEndpoint - * Initial release. -* IntuneSettingCatalogCustomPolicyWindows10 - * Fixes an issue with limited results when more than 25 results are present. -* Intune workload - * Fixed missing permissions in settings.json -* M365DSCRuleEvaluation - * Changed the name of the Key property from ResourceName to ResourceTypeName. - While this is considered a breaking change, the old property name was - breaking the DSCParser process. The impact of this breaking the parsing - process is important enough to justify an out-of-band breaking change of - this resource. -* ODSettings - * Deprecated property NotifyOwnersWhenInvitationsAccepted. - FIXES [#4979](https://github.com/microsoft/Microsoft365DSC/issues/4979) -* PPPowerAppsEnvironment - * Add ProvisionDatabase attribute - FIXES [#5207](https://github.com/microsoft/Microsoft365DSC/issues/5207) -* PPTenantSettings - * Updated to support latest settings. -* SCInsiderRiskPolicy - * Added support for property MDATPTriageStatus. - * Added support for GPUUtilizationLimit and CPUUtilizationLimit. -* SCPolicyConfig - * Initial release. -* SCSensitivityLabel - * Fixed issue with setting label priority - FIXES [#5266](https://github.com/microsoft/Microsoft365DSC/issues/5266) -* SentinelAlertRule - * Initial release. -* SentinelThreatIntelligenceIndicator - * Initial release. -* SPOSharingSettings - * Deprecated property RequireAcceptingAccountMatchInvitedAccount. - FIXES [#4979](https://github.com/microsoft/Microsoft365DSC/issues/4979) -* SPOTenantSettings - * Added support for AllowSelectSGsInODBListInTenant, - DenySelectSGsInODBListInTenant, DenySelectSecurityGroupsInSPSitesList, - AllowSelectSecurityGroupsInSPSitesList, - ExemptNativeUsersFromTenantLevelRestricedAccessControl properties. - * TenantDefaultTimezone changed to String instead of Array. -* TeamsMeetingPolicy - * Added new parameters: AllowExternalNonTrustedMeetingChat, AttendeeIdentityMasking, - AutomaticallyStartCopilot, AutoRecording, ConnectToMeetingControls, - ContentSharingInExternalMeetings, Copilot, CopyRestriction, - DetectSensitiveContentDuringScreenSharing, ExternalMeetingJoin, ParticipantNameChange, - VoiceIsolation -* TeamsOrgWideAppSettings - * Fixed an issue where ManagedIdentity was not define in the methods signatures. - FIXES [#5188](https://github.com/microsoft/Microsoft365DSC/issues/5188) + ReleaseNotes = '* AADConditionalAccessPolicy + * Fixed bug where an empty value was passed in the request for the + insiderRiskLevels parameter, which throws an error. + FIXES [#5389](https://github.com/microsoft/Microsoft365DSC/issues/5389) +* IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy + * Update property `PasswordAgeDays_AAD` to be lower-case. + FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (1/2) +* IntuneAntivirusExclusionsPolicyMacOS + * Initial release. +* IntuneAntivirusPolicyWindows10SettingCatalog + * Update properties to be upper-case. + Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneSecurityBaselineMicrosoftEdge + * Deprecate property `authschemes` and replace with `AuthSchemes_AuthSchemes` * M365DSCDRGUtil - * Fixes an issue where non-unique properties were not combined - properly with their respective parent setting. -* MISC - * Fixed references to graph.microsoft.com with dynamic domain name based on target cloud. - Impacted AADAdminConsentRequestPolicy, AADApplication, AADConditionalAccessPolicy, AADGroup, - AADNamedLocationPolicy, AADServiePrincipal, IntuneASRRulesPolicyWindows10, - IntuneAccountProtectionLocalUsersGroupMembershipPolicy, IntuneAccountProtectionPolicy, - IntuneAppProtectionPolicyiOS,IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10, - IntuneDeviceConfigurationSCEPCertificatePolicyWindows10, IntuneDeviceConfigurationWiredNetworkPolicyWindows10, - IntuneDeviceEnrollmentStatusPageWindows10, IntuneDiskEncryptionMacOS, IntunePolicySets, - IntuneSettingCatalogCustomPolicyWindows10, M365DSCRGUtil - * Exponential performance improvements by reducing complexity and roundtrips. - * Changed the logic that appends GUID in the resource name when primary key is not found during an - export. We will only append a GUID if the IsSingleInstance property is not found on the resource. - * Add check in AADGroupSettings for NewUnifiedGroupWritebackDefault not existing in Government by default - FIXES [#5213](https://github.com/microsoft/Microsoft365DSC/issues/5213) - * Fix static refrences to graph.microsoft.com - FIXES [#5339](https://github.com/microsoft/Microsoft365DSC/issues/5339) - AADNetworkAccessForwardingPolicy. AADOrganizationCertificateBasedAuthConfiguration, - AADAuthenticationMethodPolicyExternal, AADEnrichedAuditLogs - FIXES [#5340](https://github.com/microsoft/Microsoft365DSC/issues/5340) - IntuneDeviceManagementEnrollmentAndroidGooglePlay, IntuneAppleMDMPushNotificationCertificate - * Fixes static OData refrences to graph.microsoft.com - AADApplication, AADEntitlementManagementAccessPackage, AADEntitlementManagementConnectedOrganization - AADServicePrincipal - FIXES [#5342](https://github.com/microsoft/Microsoft365DSC/issues/5342) + * Restrict CIM instance access to properties that appear multiple times. + * Switch log type for not found Intune assignments to `Warning`. +* M365DSCIntuneSettingsCatalogUtil + * Add ADMX handling for `edge~httpauthentication_`. + FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (2/2) +* TeamsUpgradePolicy + * Changes to how we are retrieving the users to improve performance. * DEPENDENCIES - * Updated Microsoft.Graph to version 2.24.0. - * Updated Microsoft.PowerApps.Administration.PowerShell to version 2.0.199. - * Updated MSCloudLoginAssistant to version 1.1.27 - * Updated MicrosoftTeams to version 6.6.0.' + * Updated DSCParser to version 2.0.0.12. + * Updated MSCloudLoginAssistant to version 1.1.28.' # Flag to indicate whether the module requires explicit user acceptance for install/update # RequireLicenseAcceptance = $false From 6c8254e0037c310b233363d597c12174e93f467a Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 16:27:32 +0100 Subject: [PATCH 49/58] Rebase with Dev --- CHANGELOG.md | 2 +- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b18436989d..7eb177c751 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,7 +33,7 @@ * Add ADMX handling for `edge~httpauthentication_`. FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (2/2) * TeamsUpgradePolicy - * Changes to how we're retrieving the users to improve performance. + * Changes to how we are retrieving the users to improve performance. * DEPENDENCIES * Updated DSCParser to version 2.0.0.12. * Updated MSCloudLoginAssistant to version 1.1.28. diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index 29793f458f..9bcc3e1e22 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -151,6 +151,10 @@ * Fixed bug where an empty value was passed in the request for the insiderRiskLevels parameter, which throws an error. FIXES [#5389](https://github.com/microsoft/Microsoft365DSC/issues/5389) +* EXOATPBuiltInProtectionRule, EXOEOPProtectionRule + * Fixed issue where empty arrays were being compared incorrectly to null + strings + FIXES [#5394](https://github.com/microsoft/Microsoft365DSC/issues/5394) * IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy * Update property `PasswordAgeDays_AAD` to be lower-case. FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (1/2) @@ -159,6 +163,9 @@ * IntuneAntivirusPolicyWindows10SettingCatalog * Update properties to be upper-case. Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneEndpointDetectionAndResponsePolicyWindows10 + * Remove changed property name from export. + FIXES [#5300](https://github.com/microsoft/Microsoft365DSC/issues/5300) * IntuneSecurityBaselineMicrosoftEdge * Deprecate property `authschemes` and replace with `AuthSchemes_AuthSchemes` * M365DSCDRGUtil From 059f74aae308b6628ebd8b6ea0926f3b4f783eb5 Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 19:00:24 +0100 Subject: [PATCH 50/58] Updated changelog with PR --- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index 9bcc3e1e22..e5db2eb6cb 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -151,6 +151,9 @@ * Fixed bug where an empty value was passed in the request for the insiderRiskLevels parameter, which throws an error. FIXES [#5389](https://github.com/microsoft/Microsoft365DSC/issues/5389) + * Fixes a bug where 3P apps could not be assigned by DisplayName for both + IncludeApplications and ExcludeApplications + FIXES [#5390](https://github.com/microsoft/Microsoft365DSC/issues/5390) * EXOATPBuiltInProtectionRule, EXOEOPProtectionRule * Fixed issue where empty arrays were being compared incorrectly to null strings From c743de9fc33834bf75c80ba2ab5fb97ab0c4671e Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 19:03:41 +0100 Subject: [PATCH 51/58] Corrected PR #5385 --- CHANGELOG.md | 4 ++++ .../MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7eb177c751..8f64cdfba6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,10 @@ * IntuneAntivirusPolicyWindows10SettingCatalog * Update properties to be upper-case. Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneDeviceConfigurationCustomPolicyWindows10 + * Fixed issue where `Value`, from `OmaSettings`, could not be compared + correctly if it was boolean and set to `$False` + FIXES [#5384](https://github.com/microsoft/Microsoft365DSC/issues/5384) * IntuneEndpointDetectionAndResponsePolicyWindows10 * Remove changed property name from export. FIXES [#5300](https://github.com/microsoft/Microsoft365DSC/issues/5300) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 index 3585277caf..daa9bb00c1 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 @@ -125,7 +125,6 @@ function Get-TargetResource if ($currentomaSettings.isEncrypted -eq $true) { - write-verbose ("IsEncrypted = true -- $($currentomaSettings.displayName)") $SecretReferenceValueId = $currentomaSettings.secretReferenceValueId $OmaSettingPlainTextValue = Get-OmaSettingPlainTextValue -SecretReferenceValueId $SecretReferenceValueId if (![String]::IsNullOrEmpty($OmaSettingPlainTextValue)) @@ -144,7 +143,7 @@ function Get-TargetResource $myomaSettings.Add('IsEncrypted', $currentomaSettings.isEncrypted) $myomaSettings.Add('OmaUri', $currentomaSettings.omaUri) $myomaSettings.Add('FileName', $currentomaSettings.fileName) - $myomaSettings.Add('Value', $currentomaSettings.value) + $myomaSettings.Add('Value', [System.String]$currentomaSettings.value) if ($currentomaSettings.'@odata.type' -eq '#microsoft.graph.omaSettingInteger') { $myomaSettings.Add('IsReadOnly', $currentomaSettings.isReadOnly) From 94dedfa0adeca0f3fed0eb1a5aae4d4a3e3334db Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 19:04:12 +0100 Subject: [PATCH 52/58] Updated manifest --- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index e5db2eb6cb..49a6588ef7 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -166,6 +166,10 @@ * IntuneAntivirusPolicyWindows10SettingCatalog * Update properties to be upper-case. Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneDeviceConfigurationCustomPolicyWindows10 + * Fixed issue where `Value`, from `OmaSettings`, could not be compared + correctly if it was boolean and set to `$False` + FIXES [#5384](https://github.com/microsoft/Microsoft365DSC/issues/5384) * IntuneEndpointDetectionAndResponsePolicyWindows10 * Remove changed property name from export. FIXES [#5300](https://github.com/microsoft/Microsoft365DSC/issues/5300) From ea2c78eb58b01525d1dc5c02552342984826ea97 Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 16:24:21 +0100 Subject: [PATCH 53/58] Prepare release --- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 239 ++----------------- 1 file changed, 25 insertions(+), 214 deletions(-) diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index fa43f229f6..29793f458f 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 2024-11-08 +# Generated on: 2024-11-13 @{ @@ -11,7 +11,7 @@ # RootModule = '' # Version number of this module. - ModuleVersion = '1.24.1106.3' + ModuleVersion = '1.24.1113.1' # Supported PSEditions # CompatiblePSEditions = @() @@ -147,220 +147,31 @@ IconUri = 'https://github.com/microsoft/Microsoft365DSC/blob/Dev/Modules/Microsoft365DSC/Dependencies/Images/Logo.png?raw=true' # ReleaseNotes of this module - ReleaseNotes = '* AADAccessReviewDefinition - * Initial release. -* AADAccessReviewPolicy - * Initial release. -* AADAuthenticationMethodPolicyExternal - * Initial release. -* AADClaimsMappingPolicy - * Initial release. -* AADConditionalAccessPolicy - * FIXES [#5282](https://github.com/microsoft/Microsoft365DSC/issues/5282) - * Added support for InsiderRiskLevels. -* AADCustomSecurityAttributeDefinition - * Fixed missing permissions in settings.json -* AADEnrichedAuditLogs - * Initial release. -* AADFederationConfiguration - * Initial release. -* AADFilteringPolicy - * Initial release. -* AADFilteringPolicyRule - * Initial release. -* AADFilteringProfile - * Initial release. -* AADGroup - * Added support for custom roles assignment. - FIXES [#5322](https://github.com/microsoft/Microsoft365DSC/issues/5322) -* AADHomeRealmDiscoveryPolicy - * Initial Release -* AADIdentityAPIConnector - * Initial release. -* AADIdentityB2XUserFlow - * Initial release. -* AADIdentityGovernanceLifecycleWorkflowCustomTaskExtension - * Initial release. -* AADIdentityGovernanceProgram - * Initial release. -* AADIdentityProtectionPolicySettings - * Initial release. -* AADNamedLocationPolicy - * Fixed issue where duplicate names were not detected correctly. -* AADNetworkAccessForwardingPolicy - * Initial release. -* AADNetworkAccessForwardingProfile - * Initial release. -* AADNetworkAccessSettingConditionalAccess - * Initial release. -* AADNetworkAccessSettingCrossTenantAccess - * Initial release. -* AADOnPremisesPublishingProfilesSettings - * Initial release. -* AADOrganizationCertificateBasedAuthConfiguration - * Initial release. -* AADRemoteNetwork - * Initial release. -* AADRoleEligibilityScheduleRequest - * Fixes for Custom roles. - FIXES [#5330](https://github.com/microsoft/Microsoft365DSC/issues/5330) - * Fixes to remove elegibility schedule for custom roles. - FIXES [#5331](https://github.com/microsoft/Microsoft365DSC/issues/5331) -* AADRoleManagementPolicyRule - * Initial release. -* AADServicePrincipal - * Added the notes field. - FIXES [#5312](https://github.com/microsoft/Microsoft365DSC/issues/5312) - * Added support for KeyCredentials and PasswordCredentials. - * Added support for SAML. - * Fixed issue with Owners. -* AADSocialIdentityProvider - * Fixed missing permissions in settings.json -* AADUserFlowAttribute - * Initial Release -* AADVerifiedIdAuthority - * Initial release. -* AADVerifiedIdAuthorityContract - * Initial release. -* AzureBillingAccountsAssociatedTenant - * Initial release. -* AzureBillingAccountsRoleAssignment - * Initial release. -* AzureDiagnosticSettings - * Initial release. -* AzureDiagnosticSettingsCustomSecurityAttribute - * Initial release. -* AzureSubscription - * Renamed parameters and added logic flow to create new subscriptions. -* AzureVerifiedIdFaceCheck - * Initial release. -* DefenderDeviceAuthenticatedScanDefinition - * Initial release. -* EXOActiveSyncMailboxPolicy - * Initial release. -* EXOArcConfig - * Fixed `Test-TargetResource` to correctly check property `ArcTrustedSealers` - when it has an array -* EXOMailboxAuditBypassAssociation - * Initial release. -* EXOMailboxSettings - * Added support for AddressBookPolicy, RetentionPolicy, RoleAssignmentPolicy - and SharingPolicy. -* EXOServicePrincipal - * Initial release. -* EXOTenantAllowBlockListItems - * Fixed `Test-TargetResource` to correctly mark when this resource is removed -* EXOTenantAllowBlockListSpoofItems - * Initial release. -* IntuneAccountProtectionLocalUserGroupMembershipPolicy - * Updates values in `UserSelectionType`. - FIXES [#5318](https://github.com/microsoft/Microsoft365DSC/issues/5318) -* IntuneAntivirusPolicyLinux - * Initial release. -* IntuneAppAndBrowserIsolationPolicyWindows10ConfigMgr - * Initial release. -* IntuneAppCategory - * Fixed retrieval of resource which could then result in multiple categories - being created with same name. -* IntuneAppleMDMPushNotificationCertificate - * Initial release. -* IntuneAppProtectionPolicyiOS - * Fixes an issue that could cause multiple instances to be created when multiple - instances with the same display name exist. -* IntuneDerivedCredential - * Fixed export and deployment when `NotificationType` had more than one option - selected - * Fixed retrieval of resource when it cannot be found by `Id` - * Added a few verbose messages -* IntuneDeviceManagmentAndroidDeviceOwnerEnrollmentProfile - * Initial release. -* IntuneEndpointDetectionAndResponsePolicyWindows10 - * Fixes an issue with `AutoFromConnector` as the Configuration package type. - FIXES [#5246](https://github.com/microsoft/Microsoft365DSC/issues/5246) -* IntuneMobileThreatDefenseConnector - * Initial release. -* IntuneSecurityBaselineDefenderForEndpoint - * Initial release. -* IntuneSettingCatalogCustomPolicyWindows10 - * Fixes an issue with limited results when more than 25 results are present. -* Intune workload - * Fixed missing permissions in settings.json -* M365DSCRuleEvaluation - * Changed the name of the Key property from ResourceName to ResourceTypeName. - While this is considered a breaking change, the old property name was - breaking the DSCParser process. The impact of this breaking the parsing - process is important enough to justify an out-of-band breaking change of - this resource. -* ODSettings - * Deprecated property NotifyOwnersWhenInvitationsAccepted. - FIXES [#4979](https://github.com/microsoft/Microsoft365DSC/issues/4979) -* PPPowerAppsEnvironment - * Add ProvisionDatabase attribute - FIXES [#5207](https://github.com/microsoft/Microsoft365DSC/issues/5207) -* PPTenantSettings - * Updated to support latest settings. -* SCInsiderRiskPolicy - * Added support for property MDATPTriageStatus. - * Added support for GPUUtilizationLimit and CPUUtilizationLimit. -* SCPolicyConfig - * Initial release. -* SCSensitivityLabel - * Fixed issue with setting label priority - FIXES [#5266](https://github.com/microsoft/Microsoft365DSC/issues/5266) -* SentinelAlertRule - * Initial release. -* SentinelThreatIntelligenceIndicator - * Initial release. -* SPOSharingSettings - * Deprecated property RequireAcceptingAccountMatchInvitedAccount. - FIXES [#4979](https://github.com/microsoft/Microsoft365DSC/issues/4979) -* SPOTenantSettings - * Added support for AllowSelectSGsInODBListInTenant, - DenySelectSGsInODBListInTenant, DenySelectSecurityGroupsInSPSitesList, - AllowSelectSecurityGroupsInSPSitesList, - ExemptNativeUsersFromTenantLevelRestricedAccessControl properties. - * TenantDefaultTimezone changed to String instead of Array. -* TeamsMeetingPolicy - * Added new parameters: AllowExternalNonTrustedMeetingChat, AttendeeIdentityMasking, - AutomaticallyStartCopilot, AutoRecording, ConnectToMeetingControls, - ContentSharingInExternalMeetings, Copilot, CopyRestriction, - DetectSensitiveContentDuringScreenSharing, ExternalMeetingJoin, ParticipantNameChange, - VoiceIsolation -* TeamsOrgWideAppSettings - * Fixed an issue where ManagedIdentity was not define in the methods signatures. - FIXES [#5188](https://github.com/microsoft/Microsoft365DSC/issues/5188) + ReleaseNotes = '* AADConditionalAccessPolicy + * Fixed bug where an empty value was passed in the request for the + insiderRiskLevels parameter, which throws an error. + FIXES [#5389](https://github.com/microsoft/Microsoft365DSC/issues/5389) +* IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy + * Update property `PasswordAgeDays_AAD` to be lower-case. + FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (1/2) +* IntuneAntivirusExclusionsPolicyMacOS + * Initial release. +* IntuneAntivirusPolicyWindows10SettingCatalog + * Update properties to be upper-case. + Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneSecurityBaselineMicrosoftEdge + * Deprecate property `authschemes` and replace with `AuthSchemes_AuthSchemes` * M365DSCDRGUtil - * Fixes an issue where non-unique properties were not combined - properly with their respective parent setting. -* MISC - * Fixed references to graph.microsoft.com with dynamic domain name based on target cloud. - Impacted AADAdminConsentRequestPolicy, AADApplication, AADConditionalAccessPolicy, AADGroup, - AADNamedLocationPolicy, AADServiePrincipal, IntuneASRRulesPolicyWindows10, - IntuneAccountProtectionLocalUsersGroupMembershipPolicy, IntuneAccountProtectionPolicy, - IntuneAppProtectionPolicyiOS,IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10, - IntuneDeviceConfigurationSCEPCertificatePolicyWindows10, IntuneDeviceConfigurationWiredNetworkPolicyWindows10, - IntuneDeviceEnrollmentStatusPageWindows10, IntuneDiskEncryptionMacOS, IntunePolicySets, - IntuneSettingCatalogCustomPolicyWindows10, M365DSCRGUtil - * Exponential performance improvements by reducing complexity and roundtrips. - * Changed the logic that appends GUID in the resource name when primary key is not found during an - export. We will only append a GUID if the IsSingleInstance property is not found on the resource. - * Add check in AADGroupSettings for NewUnifiedGroupWritebackDefault not existing in Government by default - FIXES [#5213](https://github.com/microsoft/Microsoft365DSC/issues/5213) - * Fix static refrences to graph.microsoft.com - FIXES [#5339](https://github.com/microsoft/Microsoft365DSC/issues/5339) - AADNetworkAccessForwardingPolicy. AADOrganizationCertificateBasedAuthConfiguration, - AADAuthenticationMethodPolicyExternal, AADEnrichedAuditLogs - FIXES [#5340](https://github.com/microsoft/Microsoft365DSC/issues/5340) - IntuneDeviceManagementEnrollmentAndroidGooglePlay, IntuneAppleMDMPushNotificationCertificate - * Fixes static OData refrences to graph.microsoft.com - AADApplication, AADEntitlementManagementAccessPackage, AADEntitlementManagementConnectedOrganization - AADServicePrincipal - FIXES [#5342](https://github.com/microsoft/Microsoft365DSC/issues/5342) + * Restrict CIM instance access to properties that appear multiple times. + * Switch log type for not found Intune assignments to `Warning`. +* M365DSCIntuneSettingsCatalogUtil + * Add ADMX handling for `edge~httpauthentication_`. + FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (2/2) +* TeamsUpgradePolicy + * Changes to how we are retrieving the users to improve performance. * DEPENDENCIES - * Updated Microsoft.Graph to version 2.24.0. - * Updated Microsoft.PowerApps.Administration.PowerShell to version 2.0.199. - * Updated MSCloudLoginAssistant to version 1.1.27 - * Updated MicrosoftTeams to version 6.6.0.' + * Updated DSCParser to version 2.0.0.12. + * Updated MSCloudLoginAssistant to version 1.1.28.' # Flag to indicate whether the module requires explicit user acceptance for install/update # RequireLicenseAcceptance = $false From 3a5cd7b29ad018f27b971891adf556ac595cf835 Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 16:27:32 +0100 Subject: [PATCH 54/58] Rebase with Dev --- CHANGELOG.md | 2 +- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 860c9333fb..0dd600392c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,7 +36,7 @@ * Add ADMX handling for `edge~httpauthentication_`. FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (2/2) * TeamsUpgradePolicy - * Changes to how we're retrieving the users to improve performance. + * Changes to how we are retrieving the users to improve performance. * DEPENDENCIES * Updated DSCParser to version 2.0.0.12. * Updated MSCloudLoginAssistant to version 1.1.28. diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index 29793f458f..9bcc3e1e22 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -151,6 +151,10 @@ * Fixed bug where an empty value was passed in the request for the insiderRiskLevels parameter, which throws an error. FIXES [#5389](https://github.com/microsoft/Microsoft365DSC/issues/5389) +* EXOATPBuiltInProtectionRule, EXOEOPProtectionRule + * Fixed issue where empty arrays were being compared incorrectly to null + strings + FIXES [#5394](https://github.com/microsoft/Microsoft365DSC/issues/5394) * IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy * Update property `PasswordAgeDays_AAD` to be lower-case. FIXES [#5378](https://github.com/microsoft/Microsoft365DSC/issues/5378) (1/2) @@ -159,6 +163,9 @@ * IntuneAntivirusPolicyWindows10SettingCatalog * Update properties to be upper-case. Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneEndpointDetectionAndResponsePolicyWindows10 + * Remove changed property name from export. + FIXES [#5300](https://github.com/microsoft/Microsoft365DSC/issues/5300) * IntuneSecurityBaselineMicrosoftEdge * Deprecate property `authschemes` and replace with `AuthSchemes_AuthSchemes` * M365DSCDRGUtil From 3e796bcfe673a2957c16055851d7c4863ff038bd Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 19:00:24 +0100 Subject: [PATCH 55/58] Updated changelog with PR --- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index 9bcc3e1e22..e5db2eb6cb 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -151,6 +151,9 @@ * Fixed bug where an empty value was passed in the request for the insiderRiskLevels parameter, which throws an error. FIXES [#5389](https://github.com/microsoft/Microsoft365DSC/issues/5389) + * Fixes a bug where 3P apps could not be assigned by DisplayName for both + IncludeApplications and ExcludeApplications + FIXES [#5390](https://github.com/microsoft/Microsoft365DSC/issues/5390) * EXOATPBuiltInProtectionRule, EXOEOPProtectionRule * Fixed issue where empty arrays were being compared incorrectly to null strings From b782989aa62e5983ac171dbecccaf49b22cd72cb Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 19:03:41 +0100 Subject: [PATCH 56/58] Corrected PR #5385 --- CHANGELOG.md | 4 ++++ .../MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dd600392c..5576768136 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,10 @@ * IntuneAntivirusPolicyWindows10SettingCatalog * Update properties to be upper-case. Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneDeviceConfigurationCustomPolicyWindows10 + * Fixed issue where `Value`, from `OmaSettings`, could not be compared + correctly if it was boolean and set to `$False` + FIXES [#5384](https://github.com/microsoft/Microsoft365DSC/issues/5384) * IntuneEndpointDetectionAndResponsePolicyWindows10 * Remove changed property name from export. FIXES [#5300](https://github.com/microsoft/Microsoft365DSC/issues/5300) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 index 3585277caf..daa9bb00c1 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 @@ -125,7 +125,6 @@ function Get-TargetResource if ($currentomaSettings.isEncrypted -eq $true) { - write-verbose ("IsEncrypted = true -- $($currentomaSettings.displayName)") $SecretReferenceValueId = $currentomaSettings.secretReferenceValueId $OmaSettingPlainTextValue = Get-OmaSettingPlainTextValue -SecretReferenceValueId $SecretReferenceValueId if (![String]::IsNullOrEmpty($OmaSettingPlainTextValue)) @@ -144,7 +143,7 @@ function Get-TargetResource $myomaSettings.Add('IsEncrypted', $currentomaSettings.isEncrypted) $myomaSettings.Add('OmaUri', $currentomaSettings.omaUri) $myomaSettings.Add('FileName', $currentomaSettings.fileName) - $myomaSettings.Add('Value', $currentomaSettings.value) + $myomaSettings.Add('Value', [System.String]$currentomaSettings.value) if ($currentomaSettings.'@odata.type' -eq '#microsoft.graph.omaSettingInteger') { $myomaSettings.Add('IsReadOnly', $currentomaSettings.isReadOnly) From 03925f9d39f19ced6a1598ea7b5a5b6e153a4557 Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 19:04:12 +0100 Subject: [PATCH 57/58] Updated manifest --- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index e5db2eb6cb..49a6588ef7 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -166,6 +166,10 @@ * IntuneAntivirusPolicyWindows10SettingCatalog * Update properties to be upper-case. Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373) +* IntuneDeviceConfigurationCustomPolicyWindows10 + * Fixed issue where `Value`, from `OmaSettings`, could not be compared + correctly if it was boolean and set to `$False` + FIXES [#5384](https://github.com/microsoft/Microsoft365DSC/issues/5384) * IntuneEndpointDetectionAndResponsePolicyWindows10 * Remove changed property name from export. FIXES [#5300](https://github.com/microsoft/Microsoft365DSC/issues/5300) From ec6d36c20bbd33016d74a15b5eb644c3c77e067b Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 13 Nov 2024 19:08:05 +0100 Subject: [PATCH 58/58] Last update of manifest --- Modules/Microsoft365DSC/Microsoft365DSC.psd1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index 49a6588ef7..1c924e4bb9 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -154,6 +154,9 @@ * Fixes a bug where 3P apps could not be assigned by DisplayName for both IncludeApplications and ExcludeApplications FIXES [#5390](https://github.com/microsoft/Microsoft365DSC/issues/5390) +* AADRoleEligibilityScheduleRequest + * FIXES [#3787](https://github.com/microsoft/Microsoft365DSC/issues/3787) + * FIXES [#5089](https://github.com/microsoft/Microsoft365DSC/issues/5089) * EXOATPBuiltInProtectionRule, EXOEOPProtectionRule * Fixed issue where empty arrays were being compared incorrectly to null strings