< Back

New-DeviceComplianceSettingStateObject

Sat Jan 18, 2020 12:20 pm

NAME New-DeviceComplianceSettingStateObject



SYNOPSIS

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

types).





SYNTAX

New-DeviceComplianceSettingStateObject [-complianceGracePeriodExpirationDateTime <DateTimeOffset>] [-deviceId

<string>] [-deviceModel <string>] [-deviceName <string>] [-setting <string>] [-settingName <string>] [-state

<string>] [-userEmail <string>] [-userId <string>] [-userName <string>] [-userPrincipalName <string>]

[<CommonParameters>]





DESCRIPTION

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

types).



Device compliance setting State for a given device.





PARAMETERS

-setting <string>

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



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



The setting class name and property name.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-settingName <string>

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



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



The Setting Name that is being reported



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-deviceId <string>

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



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



The Device Id that is being reported



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-deviceName <string>

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



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



The Device Name that is being reported



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-userId <string>

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



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



The user Id that is being reported



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-userEmail <string>

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



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



The User email address that is being reported



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-userName <string>

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



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



The User Name that is being reported



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-userPrincipalName <string>

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



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



The User PrincipalName that is being reported



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-deviceModel <string>

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



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



The device model that is being reported



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-state <string>

The "state" property, of type "microsoft.graph.complianceStatus".



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



The compliance state of the setting



Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict',

'notAssigned'



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-complianceGracePeriodExpirationDateTime <DateTimeOffset>

The "complianceGracePeriodExpirationDateTime" property, of type "Edm.DateTimeOffset".



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



The DateTime when device compliance grace period expires



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

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