Public/Graph/Update-KriticalUtcmMgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy.ps1
|
<# .SYNOPSIS Kritical.UTCM wrapper over Microsoft365DSC helper Update-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy (category: Graph, module: M365DSCGraphShim). .DESCRIPTION Thin delegating passthrough — logic stays in Microsoft365DSC upstream; Kritical.UTCM provides the friendly namespace + citation registration. Install-Module Microsoft365DSC -Scope CurrentUser BEFORE calling. .NOTES Category: Graph Module: M365DSCGraphShim Params: 44 #> function Update-KriticalUtcmMgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy { [CmdletBinding()] param( [String] $MdmWindowsInformationProtectionPolicyId, [Object] $InputObject, [Hashtable] $BodyParameter, [String] $ResponseHeadersVariable, [Hashtable] $AdditionalProperties, [Object] $Assignments, [SwitchParameter] $AzureRightsManagementServicesAllowed, [DateTime] $CreatedDateTime, [Object] $DataRecoveryCertificate, [String] $Description, [String] $DisplayName, [Object] $EnforcementLevel, [String] $EnterpriseDomain, [Object] $EnterpriseIPRanges, [SwitchParameter] $EnterpriseIPRangesAreAuthoritative, [Object] $EnterpriseInternalProxyServers, [Object] $EnterpriseNetworkDomainNames, [Object] $EnterpriseProtectedDomainNames, [Object] $EnterpriseProxiedDomains, [Object] $EnterpriseProxyServers, [SwitchParameter] $EnterpriseProxyServersAreAuthoritative, [Object] $ExemptAppLockerFiles, [Object] $ExemptApps, [SwitchParameter] $IconsVisible, [String] $Id, [SwitchParameter] $IndexingEncryptedStoresOrItemsBlocked, [SwitchParameter] $IsAssigned, [DateTime] $LastModifiedDateTime, [Object] $NeutralDomainResources, [Object] $ProtectedAppLockerFiles, [Object] $ProtectedApps, [SwitchParameter] $ProtectionUnderLockConfigRequired, [SwitchParameter] $RevokeOnUnenrollDisabled, [String] $RightsManagementServicesTemplateId, [String[]] $RoleScopeTagIds, [Object] $SmbAutoEncryptedFileExtensions, [String] $Version, [SwitchParameter] $Break, [IDictionary] $Headers, [Object[]] $HttpPipelineAppend, [Object[]] $HttpPipelinePrepend, [Uri] $Proxy, [PSCredential] $ProxyCredential, [SwitchParameter] $ProxyUseDefaultCredentials ) if (-not (Get-Command -Name 'Update-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy' -ErrorAction SilentlyContinue)) { throw '[KriticalUtcm] Update-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy not available — Install-Module Microsoft365DSC -Scope CurrentUser then re-run' } try { & 'Update-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy' @PSBoundParameters } catch { Write-Error ('[KriticalUtcm/Update-KriticalUtcmMgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy] ' + 'Update-MgBetaDeviceAppManagementMdmWindowsInformationProtectionPolicy' + ' failed: ' + $_.Exception.Message) throw } } |