< Back
New-DeviceConfigurationStateObject
Post
NAME New-DeviceConfigurationStateObject
SYNOPSIS
Creates a new object which represents a "microsoft.graph.deviceConfigurationState" (or one of its derived types).
SYNTAX
New-DeviceConfigurationStateObject [-displayName <string>] [-platformType <string>] [-settingCount <int>]
[-settingStates <object[]>] [-state <string>] [-version <int>] [<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.deviceConfigurationState" (or one of its derived types).
Device Configuration State for a given device.
PARAMETERS
-settingStates <object[]>
The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState".
This property is on the "microsoft.graph.deviceConfigurationState" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-displayName <string>
The "displayName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceConfigurationState" type.
The name of the policy for this policyBase
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-version <int>
The "version" property, of type "Edm.Int32".
This property is on the "microsoft.graph.deviceConfigurationState" type.
The version of the policy
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-platformType <string>
The "platformType" property, of type "microsoft.graph.policyPlatformType".
This property is on the "microsoft.graph.deviceConfigurationState" type.
Platform type that the policy applies to
Valid values: 'android', 'iOS', 'macOS', 'windowsPhone81', 'windows81AndLater', 'windows10AndLater',
'androidWorkProfile', 'all'
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.deviceConfigurationState" type.
The compliance state of the policy
Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict',
'notAssigned'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-settingCount <int>
The "settingCount" property, of type "Edm.Int32".
This property is on the "microsoft.graph.deviceConfigurationState" type.
Count of how many setting a policy holds
Required? false
Position? named
Default value 0
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.deviceConfigurationState" (or one of its derived types).
SYNTAX
New-DeviceConfigurationStateObject [-displayName <string>] [-platformType <string>] [-settingCount <int>]
[-settingStates <object[]>] [-state <string>] [-version <int>] [<CommonParameters>]
DESCRIPTION
Creates a new object which represents a "microsoft.graph.deviceConfigurationState" (or one of its derived types).
Device Configuration State for a given device.
PARAMETERS
-settingStates <object[]>
The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState".
This property is on the "microsoft.graph.deviceConfigurationState" type.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-displayName <string>
The "displayName" property, of type "Edm.String".
This property is on the "microsoft.graph.deviceConfigurationState" type.
The name of the policy for this policyBase
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-version <int>
The "version" property, of type "Edm.Int32".
This property is on the "microsoft.graph.deviceConfigurationState" type.
The version of the policy
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-platformType <string>
The "platformType" property, of type "microsoft.graph.policyPlatformType".
This property is on the "microsoft.graph.deviceConfigurationState" type.
Platform type that the policy applies to
Valid values: 'android', 'iOS', 'macOS', 'windowsPhone81', 'windows81AndLater', 'windows10AndLater',
'androidWorkProfile', 'all'
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.deviceConfigurationState" type.
The compliance state of the policy
Valid values: 'unknown', 'notApplicable', 'compliant', 'remediated', 'nonCompliant', 'error', 'conflict',
'notAssigned'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-settingCount <int>
The "settingCount" property, of type "Edm.Int32".
This property is on the "microsoft.graph.deviceConfigurationState" type.
Count of how many setting a policy holds
Required? false
Position? named
Default value 0
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