< Back

New-DeviceManagement_ManagedDevices_DeviceConfigurationStates

Sat Jan 18, 2020 12:25 pm

NAME New-DeviceManagement_ManagedDevices_DeviceConfigurationStates



SYNOPSIS

Creates a "microsoft.graph.deviceConfigurationState" object.





SYNTAX

New-DeviceManagement_ManagedDevices_DeviceConfigurationStates -managedDeviceId <string> [-displayName <string>]

[-platformType <string>] [-settingCount <int>] [-settingStates <object[]>] [-state <string>] [-version <int>]

[<CommonParameters>]



New-DeviceManagement_ManagedDevices_DeviceConfigurationStates -managedDeviceId <string> -ODataType <string>

[-displayName <string>] [-platformType <string>] [-settingCount <int>] [-settingStates <object[]>] [-state

<string>] [-version <int>] [<CommonParameters>]





DESCRIPTION

Adds a "microsoft.graph.deviceConfigurationState" object to the "deviceConfigurationStates" collection.



Device configuration states for this device.



Graph call: POST ~/deviceManagement/managedDevices/{managedDeviceId}/deviceConfigurationStates





PARAMETERS

-managedDeviceId <string>

A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-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? true (ByPropertyName)

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? true (ByPropertyName)

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? true (ByPropertyName)

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? true (ByPropertyName)

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? true (ByPropertyName)

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? 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.managedDevice" object in the "managedDevices" collection.



System.Object[]

The "settingStates" property, of type "microsoft.graph.deviceConfigurationSettingState".



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



System.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



System.Int32

The "version" property, of type "Edm.Int32".



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



The version of the policy



System.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'



System.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'



System.Int32

The "settingCount" property, of type "Edm.Int32".



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



Count of how many setting a policy holds



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