CmdID / PowerShell / Cmdlets / Update
Update-MgUserMailFolderMessageRule
Update the navigation property messageRules in users Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 25 parameters Its page in the reference
Parameters
Show its 25 parameters
-ActionsmessageRuleActions To construct, see NOTES section for ACTIONS properties and create a hash table.-AdditionalPropertiesAdditional Parameters-BodyParametermessageRule To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-ConditionsmessageRulePredicates To construct, see NOTES section for CONDITIONS properties and create a hash table.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DisplayNameThe display name of the rule.-ExceptionsmessageRulePredicates To construct, see NOTES section for EXCEPTIONS properties and create a hash table.-HasErrorIndicates whether the rule is in an error condition.-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.-IsEnabledIndicates whether the rule is enabled to be applied to messages.-IsReadOnlyIndicates if the rule is read-only and cannot be modified or deleted by the rules REST API.-MailFolderIdThe unique identifier of mailFolder-MessageRuleIdThe unique identifier of messageRule-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.-SequenceIndicates the order in which the rule is executed, among other rules.-UserIdThe unique identifier of user-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.