< Back
New-MessageRuleObject
Post
NAME New-MessageRuleObject
SYNOPSIS
Creates a new object which represents a "microsoft.graph.messageRule" (or one of its derived types).
SYNTAX
New-MessageRuleObject [-actions <object>] [-conditions <object>] [-displayName <string>] [-exceptions <object>]
[-hasError <bool>] [-isEnabled <bool>] [-isReadOnly <bool>] [-sequence <int>] [<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.messageRule" (or one of its derived types).
PARAMETERS
-displayName <string>
The "displayName" property, of type "Edm.String".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-sequence <int>
The "sequence" property, of type "Edm.Int32".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-conditions <object>
The "conditions" property, of type "microsoft.graph.messageRulePredicates".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-actions <object>
The "actions" property, of type "microsoft.graph.messageRuleActions".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-exceptions <object>
The "exceptions" property, of type "microsoft.graph.messageRulePredicates".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-isEnabled <bool>
The "isEnabled" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-hasError <bool>
The "hasError" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-isReadOnly <bool>
The "isReadOnly" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS
SYNOPSIS
Creates a new object which represents a "microsoft.graph.messageRule" (or one of its derived types).
SYNTAX
New-MessageRuleObject [-actions <object>] [-conditions <object>] [-displayName <string>] [-exceptions <object>]
[-hasError <bool>] [-isEnabled <bool>] [-isReadOnly <bool>] [-sequence <int>] [<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.messageRule" (or one of its derived types).
PARAMETERS
-displayName <string>
The "displayName" property, of type "Edm.String".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-sequence <int>
The "sequence" property, of type "Edm.Int32".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-conditions <object>
The "conditions" property, of type "microsoft.graph.messageRulePredicates".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-actions <object>
The "actions" property, of type "microsoft.graph.messageRuleActions".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-exceptions <object>
The "exceptions" property, of type "microsoft.graph.messageRulePredicates".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-isEnabled <bool>
The "isEnabled" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-hasError <bool>
The "hasError" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-isReadOnly <bool>
The "isReadOnly" property, of type "Edm.Boolean".
This property is on the "microsoft.graph.messageRule" type.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS