CmdID / PowerShell / Cmdlets / Update
Update-MgSecurityLabelRetentionLabel
Update the properties of a retentionLabel object. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 32 parameters Its page in the reference
Parameters
Show its 32 parameters
-ActionAfterRetentionPeriodactionAfterRetentionPeriod-AdditionalPropertiesAdditional Parameters-BehaviorDuringRetentionPeriodbehaviorDuringRetentionPeriod-BodyParameterretentionLabel 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.-CreatedDateTimeRepresents the date and time in which the retentionLabel is created.-DefaultRecordBehaviordefaultRecordBehavior-DescriptionForAdminsProvides label information for the admin.-DescriptionForUsersProvides the label information for the user.-DescriptorsfilePlanDescriptor To construct, see NOTES section for DESCRIPTORS properties and create a hash table.-DisplayNameUnique string that defines a label name.-DispositionReviewStagesWhen action at the end of retention is chosen as 'dispositionReview', dispositionReviewStages specifies a sequential set of stages with at least one reviewer in each stage.-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.-IsInUseSpecifies whether the label is currently being used.-LabelToBeAppliedSpecifies the replacement label to be applied automatically after the retention period of the current label ends.-LastModifiedByidentitySet To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.-LastModifiedDateTimeThe latest date time when the retentionLabel was modified.-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.-RetentionDurationretentionDuration-RetentionEventTyperetentionEventType To construct, see NOTES section for RETENTIONEVENTTYPE properties and create a hash table.-RetentionLabelIdThe unique identifier of retentionLabel-RetentionTriggerretentionTrigger-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.