CmdID / PowerShell / Cmdlets / New
New-MgSolutionBackupRestoreExchangeProtectionPolicy
Create a protection policy for the Exchange service in a Microsoft 365 tenant. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 25 parameters Its page in the reference
Parameters
Show its 25 parameters
-AdditionalPropertiesAdditional Parameters-BodyParameterexchangeProtectionPolicy 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.-IsEnabled-LastModifiedByidentitySet To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.-LastModifiedDateTimeThe timestamp of the last modification of the policy.-MailboxInclusionRulesThe rules associated with the Exchange protection policy.-MailboxProtectionUnitsThe protection units (mailboxes) that are protected under the Exchange protection policy.-MailboxProtectionUnitsBulkAdditionJobsTo construct, see NOTES section for MAILBOXPROTECTIONUNITSBULKADDITIONJOBS properties and create a hash table.-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.-StatusprotectionPolicyStatus-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.