Public/Graph/Update-KriticalUtcmMgBetaOnPremisePublishingProfileConnectorGroup.ps1
|
<# .SYNOPSIS Kritical.UTCM wrapper over Microsoft365DSC helper Update-MgBetaOnPremisePublishingProfileConnectorGroup (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: 20 #> function Update-KriticalUtcmMgBetaOnPremisePublishingProfileConnectorGroup { [CmdletBinding()] param( [String] $ConnectorGroupId, [String] $OnPremisesPublishingProfileId, [Object] $InputObject, [Object] $BodyParameter, [String] $ResponseHeadersVariable, [Hashtable] $AdditionalProperties, [Object] $Applications, [String] $ConnectorGroupType, [String] $Id, [SwitchParameter] $IsDefault, [Object] $Members, [String] $Name, [String] $Region, [SwitchParameter] $Break, [IDictionary] $Headers, [Object[]] $HttpPipelineAppend, [Object[]] $HttpPipelinePrepend, [Uri] $Proxy, [PSCredential] $ProxyCredential, [SwitchParameter] $ProxyUseDefaultCredentials ) if (-not (Get-Command -Name 'Update-MgBetaOnPremisePublishingProfileConnectorGroup' -ErrorAction SilentlyContinue)) { throw '[KriticalUtcm] Update-MgBetaOnPremisePublishingProfileConnectorGroup not available — Install-Module Microsoft365DSC -Scope CurrentUser then re-run' } try { & 'Update-MgBetaOnPremisePublishingProfileConnectorGroup' @PSBoundParameters } catch { Write-Error ('[KriticalUtcm/Update-KriticalUtcmMgBetaOnPremisePublishingProfileConnectorGroup] ' + 'Update-MgBetaOnPremisePublishingProfileConnectorGroup' + ' failed: ' + $_.Exception.Message) throw } } |