< Back
New-DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations
Post
NAME New-DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations
SYNOPSIS
Creates a "microsoft.graph.deviceComplianceActionItem" object.
SYNTAX
New-DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations
-deviceCompliancePolicyId <string> -deviceComplianceScheduledActionForRuleId <string> [-actionType <string>]
[-gracePeriodHours <int>] [-notificationMessageCCList <string[]>] [-notificationTemplateId <string>]
[<CommonParameters>]
New-DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations
-deviceCompliancePolicyId <string> -deviceComplianceScheduledActionForRuleId <string> -ODataType <string>
[-actionType <string>] [-gracePeriodHours <int>] [-notificationMessageCCList <string[]>] [-notificationTemplateId
<string>] [<CommonParameters>]
DESCRIPTION
Adds a "microsoft.graph.deviceComplianceActionItem" object to the "scheduledActionConfigurations" collection.
The list of scheduled action configurations for this compliance policy.
Graph call: POST ~/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}/scheduledActionsForRule/{de
viceComplianceScheduledActionForRuleId}/scheduledActionConfigurations
PARAMETERS
-deviceCompliancePolicyId <string>
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-deviceComplianceScheduledActionForRuleId <string>
A required ID for referencing a "microsoft.graph.deviceComplianceScheduledActionForRule" object in the
"scheduledActionsForRule" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-gracePeriodHours <int>
The "gracePeriodHours" property, of type "Edm.Int32".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
Number of hours to wait till the action will be enforced. Valid values 0 to 8760
Required? false
Position? named
Default value 0
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-actionType <string>
The "actionType" property, of type "microsoft.graph.deviceComplianceActionType".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
What action to take
Valid values: 'noAction', 'notification', 'block', 'retire', 'wipe', 'removeResourceAccessProfiles',
'pushNotification'
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-notificationTemplateId <string>
The "notificationTemplateId" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
What notification Message template to use
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-notificationMessageCCList <string[]>
The "notificationMessageCCList" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
A list of group IDs to speicify who to CC this notification message to.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-ODataType <string>
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-@odata.type <string>
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
This is an alias of the ODataType parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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
System.String
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" collection.
System.String
A required ID for referencing a "microsoft.graph.deviceComplianceScheduledActionForRule" object in the
"scheduledActionsForRule" collection.
System.Int32
The "gracePeriodHours" property, of type "Edm.Int32".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
Number of hours to wait till the action will be enforced. Valid values 0 to 8760
System.String
The "actionType" property, of type "microsoft.graph.deviceComplianceActionType".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
What action to take
Valid values: 'noAction', 'notification', 'block', 'retire', 'wipe', 'removeResourceAccessProfiles',
'pushNotification'
System.String
The "notificationTemplateId" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
What notification Message template to use
System.String[]
The "notificationMessageCCList" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
A list of group IDs to speicify who to CC this notification message to.
System.String
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK
SYNOPSIS
Creates a "microsoft.graph.deviceComplianceActionItem" object.
SYNTAX
New-DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations
-deviceCompliancePolicyId <string> -deviceComplianceScheduledActionForRuleId <string> [-actionType <string>]
[-gracePeriodHours <int>] [-notificationMessageCCList <string[]>] [-notificationTemplateId <string>]
[<CommonParameters>]
New-DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule_ScheduledActionConfigurations
-deviceCompliancePolicyId <string> -deviceComplianceScheduledActionForRuleId <string> -ODataType <string>
[-actionType <string>] [-gracePeriodHours <int>] [-notificationMessageCCList <string[]>] [-notificationTemplateId
<string>] [<CommonParameters>]
DESCRIPTION
Adds a "microsoft.graph.deviceComplianceActionItem" object to the "scheduledActionConfigurations" collection.
The list of scheduled action configurations for this compliance policy.
Graph call: POST ~/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}/scheduledActionsForRule/{de
viceComplianceScheduledActionForRuleId}/scheduledActionConfigurations
PARAMETERS
-deviceCompliancePolicyId <string>
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-deviceComplianceScheduledActionForRuleId <string>
A required ID for referencing a "microsoft.graph.deviceComplianceScheduledActionForRule" object in the
"scheduledActionsForRule" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-gracePeriodHours <int>
The "gracePeriodHours" property, of type "Edm.Int32".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
Number of hours to wait till the action will be enforced. Valid values 0 to 8760
Required? false
Position? named
Default value 0
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-actionType <string>
The "actionType" property, of type "microsoft.graph.deviceComplianceActionType".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
What action to take
Valid values: 'noAction', 'notification', 'block', 'retire', 'wipe', 'removeResourceAccessProfiles',
'pushNotification'
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-notificationTemplateId <string>
The "notificationTemplateId" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
What notification Message template to use
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-notificationMessageCCList <string[]>
The "notificationMessageCCList" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
A list of group IDs to speicify who to CC this notification message to.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-ODataType <string>
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-@odata.type <string>
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
This is an alias of the ODataType parameter.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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
System.String
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" collection.
System.String
A required ID for referencing a "microsoft.graph.deviceComplianceScheduledActionForRule" object in the
"scheduledActionsForRule" collection.
System.Int32
The "gracePeriodHours" property, of type "Edm.Int32".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
Number of hours to wait till the action will be enforced. Valid values 0 to 8760
System.String
The "actionType" property, of type "microsoft.graph.deviceComplianceActionType".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
What action to take
Valid values: 'noAction', 'notification', 'block', 'retire', 'wipe', 'removeResourceAccessProfiles',
'pushNotification'
System.String
The "notificationTemplateId" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
What notification Message template to use
System.String[]
The "notificationMessageCCList" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceComplianceActionItem" type.
A list of group IDs to speicify who to CC this notification message to.
System.String
The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK