CmdID / PowerShell / Cmdlets / Update
Update-MgPolicyOwnerlessGroupPolicy
Create or update the ownerlessGroupPolicy for the tenant. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 20 parameters Its page in the reference
Parameters
Show its 20 parameters
-AdditionalPropertiesAdditional Parameters-BodyParameterownerlessGroupPolicy To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-Confirm, -cfPrompts you for confirmation before running the cmdlet.-EmailInfoemailDetails To construct, see NOTES section for EMAILINFO properties and create a hash table.-EnabledGroupIdsThe collection of IDs for groups to which the policy is enabled.-HeadersOptional headers that will be added to the request.-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline-IdThe unique identifier for an entity.-IsEnabledIndicates whether the ownerless group policy is enabled in the tenant.-MaxMembersToNotifyThe maximum number of members to notify.-NotificationDurationInWeeksThe number of weeks for the notification duration.-PolicyWebUrlThe URL to the policy documentation.-ProxyThe URI for the proxy server to use-ProxyCredentialCredentials for a proxy server to use for the remote call-ProxyUseDefaultCredentialsUse the default credentials for the proxy-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-TargetOwnerstargetOwners To construct, see NOTES section for TARGETOWNERS properties and create a hash table.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.