diff --git a/CHANGELOG.md b/CHANGELOG.md index c8d1c06fd6..4fcaf73dcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -144,6 +144,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 new file mode 100644 index 0000000000..7eccbcb0c8 --- /dev/null +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.psm1 @@ -0,0 +1,599 @@ +function Get-TargetResource +{ + [CmdletBinding()] + [OutputType([System.Collections.Hashtable])] + param + ( + [Parameter(Mandatory = $true)] + [System.String] + $Identity, + + [Parameter()] + [System.String[]] + $NotificationEmails, + + [Parameter()] + [System.String] + $CompleteAfter, + + [Parameter()] + [System.Boolean] + $AddUsers, + + [Parameter()] + [System.String] + $BadItemLimit, + + [Parameter()] + [System.String] + $LargeItemLimit, + + [Parameter()] + [System.String[]] + $MoveOptions, + + [Parameter()] + [System.String[]] + $SkipMerging, + + [Parameter()] + [System.String] + $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 SilentlyContinue + } + if ($null -eq $instance) + { + return $nullResult + } + + $Users = Get-MigrationUser -BatchId $Identity + $UserEmails = $Users | ForEach-Object { $_.Identity } + + $results = @{ + Identity = $Identity + NotificationEmails = [System.String[]]$instance.NotificationEmails + 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 + 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 + } + + 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 + { + Write-Verbose $_ + 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[]] + $NotificationEmails, + + [Parameter()] + [System.String] + $CompleteAfter, + + [Parameter()] + [System.Boolean] + $AddUsers, + + [Parameter()] + [System.String] + $BadItemLimit, + + [Parameter()] + [System.String] + $LargeItemLimit, + + [Parameter()] + [System.String[]] + $MoveOptions, + + [Parameter()] + [System.String[]] + $SkipMerging, + + [Parameter()] + [System.String] + $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') + { + # Convert the list of users to CSV format + $csvContent = @('"EmailAddress"') + ($MigrationUsers | ForEach-Object { "`"$_`"" }) + + # Join the results into a single string with new lines + $csvContent = $csvContent -join "`r`n" + + # 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 = $csvBytes # Directly use the 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') + { + # Define the path for the CSV file to store the migration users + $csvFilePath = "$env:TEMP\MigrationUsers.csv" + + # 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 = $CompleteAfter + StartAfter = $StartAfter + BadItemLimit = [System.String]$BadItemLimit + LargeItemLimit = $LargeItemLimit + SkipMerging = $SkipMerging + Update = $Update + AddUsers = $AddUsers + } + + 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.String[]] + $NotificationEmails, + + [Parameter()] + [System.String] + $CompleteAfter, + + [Parameter()] + [System.Boolean] + $AddUsers, + + [Parameter()] + [System.String] + $BadItemLimit, + + [Parameter()] + [System.String] + $LargeItemLimit, + + [Parameter()] + [System.String[]] + $MoveOptions, + + [Parameter()] + [System.String[]] + $SkipMerging, + + [Parameter()] + [System.String] + $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..03eae75eed --- /dev/null +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMigration/MSFT_EXOMigration.schema.mof @@ -0,0 +1,26 @@ +[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 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.")] 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.")] 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; + [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 + } + } +} diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 new file mode 100644 index 0000000000..3e7e4c3adb --- /dev/null +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMigration.Tests.ps1 @@ -0,0 +1,379 @@ +[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 = "07/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 = "07/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 = "07/30/2020 9:00:00 PM"; + Credential = $Credscredential; + Ensure = "Absent"; + 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 = "07/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 = [DateTime]::ParseExact("07/30/2020 9:00:00 PM", "MM/dd/yyyy h:mm:ss tt", $null) + 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 = @{Identity = @{Id = "gmailCalendar"}}; + 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; + } + } + 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 + } + + 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 = "07/30/2020 9:00:00 PM"; + Credential = $Credscredential; + Ensure = "Absent"; + 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 = "07/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 = [DateTime]::ParseExact("07/30/2020 9:00:00 PM", "MM/dd/yyyy h:mm:ss tt", $null) + Credential = $Credscredential; + Ensure = "Present"; + Identity = "Arpita"; + LargeItemLimit = "Unlimited"; + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); + SkipMerging = @("abc"); + SourceEndpoint = @{Identity = @{Id = "gmailCalendar"}}; + 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; + } + } + 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 + } + + 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"; + 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"; + Status = "Completing"; + TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; + Update = $False; + } + + Mock -CommandName Get-MigrationBatch -MockWith { + return @{ + AddUsers = $False; + BadItemLimit = "Unlimited"; + Credential = $Credscredential; + Ensure = "Present"; + Identity = "Arpita"; + LargeItemLimit = "Unlimited"; + MoveOptions = @(); + NotificationEmails = @("eac_admin@bellred.org","abc@bellred.org"); + SkipMerging = @("abc"); + SourceEndpoint = @{Identity = @{Id = "gmailCalendar"}}; + 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 -Verbose | Should -Be $true + } + } + + Context -Name "The instance exists and values are NOT in the desired state" -Fixture { + BeforeAll { + $testParams = @{ + AddUsers = $False; + BadItemLimit = "Unlimited"; + CompleteAfter = "07/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 = "07/30/2020 9:00:00 PM" + Status = @{Value = "Completing"}; + TargetDeliveryDomain = "O365InsightsView.mail.onmicrosoft.com"; + Update = $False; + } + + Mock -CommandName Get-MigrationBatch -MockWith { + return @{ + AddUsers = $False; + BadItemLimit = "Unlimited"; + CompleteAfter = [DateTime]::ParseExact("07/30/2020 9:00:00 PM", "MM/dd/yyyy h:mm:ss tt", $null) + 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 = [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; + } + } + } + + 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 = "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 = @(); + SourceEndpoint = "gmailCalendar"; + StartAfter = "07/30/2020 21:00:00"; + Status = @{Value = "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 +