< Back

New-DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule

Sat Jan 18, 2020 12:22 pm

NAME New-DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule



SYNOPSIS

Creates a "microsoft.graph.deviceComplianceScheduledActionForRule" object.





SYNTAX

New-DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule -deviceCompliancePolicyId <string>

[-ruleName <string>] [-scheduledActionConfigurations <object[]>] [<CommonParameters>]



New-DeviceManagement_DeviceCompliancePolicies_ScheduledActionsForRule -deviceCompliancePolicyId <string>

-ODataType <string> [-ruleName <string>] [-scheduledActionConfigurations <object[]>] [<CommonParameters>]





DESCRIPTION

Adds a "microsoft.graph.deviceComplianceScheduledActionForRule" object to the "scheduledActionsForRule" collection.



The list of scheduled action for this rule



Graph call: POST ~/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}/scheduledActionsForRule





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



-ruleName <string>

The "ruleName" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceComplianceScheduledActionForRule" type.



Name of the rule which this scheduled action applies to.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-scheduledActionConfigurations <object[]>

The "scheduledActionConfigurations" property, of type "microsoft.graph.deviceComplianceActionItem".



This property is on the "microsoft.graph.deviceComplianceScheduledActionForRule" type.



The list of scheduled action configurations for this compliance policy.



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

The "ruleName" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceComplianceScheduledActionForRule" type.



Name of the rule which this scheduled action applies to.



System.Object[]

The "scheduledActionConfigurations" property, of type "microsoft.graph.deviceComplianceActionItem".



This property is on the "microsoft.graph.deviceComplianceScheduledActionForRule" type.



The list of scheduled action configurations for this compliance policy.



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