CmdID / PowerShell / Cmdlets / Update
Update-MgSolutionBackupRestoreSharePointProtectionPolicy
Update a SharePoint protection policy. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 27 parameters Its page in the reference
Parameters
Show its 27 parameters
-AdditionalPropertiesAdditional Parameters-BodyParametersharePointProtectionPolicy 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.-CreatedByidentitySet To construct, see NOTES section for CREATEDBY properties and create a hash table.-CreatedDateTimeThe time of creation of the policy.-DisplayNameThe name of the policy to be created.-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.-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.-IsEnabled-LastModifiedByidentitySet To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.-LastModifiedDateTimeThe timestamp of the last modification of the policy.-ProtectionPolicyArtifactCountprotectionPolicyArtifactCount To construct, see NOTES section for PROTECTIONPOLICYARTIFACTCOUNT properties and create a hash table.-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.-RetentionSettingsContains the retention setting details for the policy.-SharePointProtectionPolicyIdThe unique identifier of sharePointProtectionPolicy-SiteInclusionRulesThe rules associated with the SharePoint Protection policy.-SiteProtectionUnitsThe protection units (sites) that are protected under the site protection policy.-SiteProtectionUnitsBulkAdditionJobsTo construct, see NOTES section for SITEPROTECTIONUNITSBULKADDITIONJOBS properties and create a hash table.-StatusprotectionPolicyStatus-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.