< Back

New-DeviceComplianceActionItemObject

Sat Jan 18, 2020 12:19 pm

NAME New-DeviceComplianceActionItemObject



SYNOPSIS

Creates a new object which represents a "microsoft.graph.deviceComplianceActionItem" (or one of its derived types).





SYNTAX

New-DeviceComplianceActionItemObject [-actionType <string>] [-gracePeriodHours <int>] [-notificationMessageCCList

<string[]>] [-notificationTemplateId <string>] [<CommonParameters>]





DESCRIPTION

Creates a new object which represents a "microsoft.graph.deviceComplianceActionItem" (or one of its derived types).



Scheduled Action Configuration





PARAMETERS

-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? false

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? false

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? false

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? 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