< Back
New-DeviceCompliancePolicySettingStateObject
Post
NAME New-DeviceCompliancePolicySettingStateObject
SYNOPSIS
Creates a new object which represents a "microsoft.graph.deviceCompliancePolicySettingState" (or one of its
derived types).
SYNTAX
New-DeviceCompliancePolicySettingStateObject [-currentValue <string>] [-errorCode <long>] [-errorDescription
<string>] [-instanceDisplayName <string>] [-setting <string>] [-settingName <string>] [-sources <object[]>]
[-state <string>] [-userEmail <string>] [-userId <string>] [-userName <string>] [-userPrincipalName <string>]
[<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.deviceCompliancePolicySettingState" (or one of its
derived types).
PARAMETERS
-setting <string>
The "setting" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceCompliancePolicySettingState" type.
The setting that is being reported
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.deviceCompliancePolicySettingState" type.
Localized/user friendly setting name that is being reported
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-instanceDisplayName <string>
The "instanceDisplayName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceCompliancePolicySettingState" type.
Name of setting instance 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.deviceCompliancePolicySettingState" 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
-errorCode <long>
The "errorCode" property, of type "Edm.Int64".
This property is on the "microsoft.graph.deviceCompliancePolicySettingState" type.
Error code for the setting
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-errorDescription <string>
The "errorDescription" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceCompliancePolicySettingState" type.
Error description
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.deviceCompliancePolicySettingState" type.
UserId
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.deviceCompliancePolicySettingState" type.
UserName
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.deviceCompliancePolicySettingState" type.
UserEmail
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.deviceCompliancePolicySettingState" type.
UserPrincipalName.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-sources <object[]>
The "sources" property, of type "microsoft.graph.settingSource".
This property is on the "microsoft.graph.deviceCompliancePolicySettingState" type.
Contributing policies
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-currentValue <string>
The "currentValue" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceCompliancePolicySettingState" type.
Current value of setting on device
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
SYNOPSIS
Creates a new object which represents a "microsoft.graph.deviceCompliancePolicySettingState" (or one of its
derived types).
SYNTAX
New-DeviceCompliancePolicySettingStateObject [-currentValue <string>] [-errorCode <long>] [-errorDescription
<string>] [-instanceDisplayName <string>] [-setting <string>] [-settingName <string>] [-sources <object[]>]
[-state <string>] [-userEmail <string>] [-userId <string>] [-userName <string>] [-userPrincipalName <string>]
[<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.deviceCompliancePolicySettingState" (or one of its
derived types).
PARAMETERS
-setting <string>
The "setting" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceCompliancePolicySettingState" type.
The setting that is being reported
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.deviceCompliancePolicySettingState" type.
Localized/user friendly setting name that is being reported
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-instanceDisplayName <string>
The "instanceDisplayName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceCompliancePolicySettingState" type.
Name of setting instance 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.deviceCompliancePolicySettingState" 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
-errorCode <long>
The "errorCode" property, of type "Edm.Int64".
This property is on the "microsoft.graph.deviceCompliancePolicySettingState" type.
Error code for the setting
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-errorDescription <string>
The "errorDescription" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceCompliancePolicySettingState" type.
Error description
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.deviceCompliancePolicySettingState" type.
UserId
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.deviceCompliancePolicySettingState" type.
UserName
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.deviceCompliancePolicySettingState" type.
UserEmail
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.deviceCompliancePolicySettingState" type.
UserPrincipalName.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-sources <object[]>
The "sources" property, of type "microsoft.graph.settingSource".
This property is on the "microsoft.graph.deviceCompliancePolicySettingState" type.
Contributing policies
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-currentValue <string>
The "currentValue" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceCompliancePolicySettingState" type.
Current value of setting on device
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