< Back

New-DeviceManagement_DeviceConfigurations_Assignments

Sat Jan 18, 2020 12:23 pm

NAME New-DeviceManagement_DeviceConfigurations_Assignments



SYNOPSIS

Creates a "microsoft.graph.deviceConfigurationAssignment" object.





SYNTAX

New-DeviceManagement_DeviceConfigurations_Assignments -deviceConfigurationId <string> [-target <object>]

[<CommonParameters>]



New-DeviceManagement_DeviceConfigurations_Assignments -deviceConfigurationId <string> -ODataType <string> [-target

<object>] [<CommonParameters>]





DESCRIPTION

Adds a "microsoft.graph.deviceConfigurationAssignment" object to the "assignments" collection.



The list of assignments for the device configuration profile.



Graph call: POST ~/deviceManagement/deviceConfigurations/{deviceConfigurationId}/assignments





PARAMETERS

-deviceConfigurationId <string>

A required ID for referencing a "microsoft.graph.deviceConfiguration" object in the "deviceConfigurations"

collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-target <object>

The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".



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



The assignment target for the device configuration.



Required? false

Position? named

Default value

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.deviceConfiguration" object in the "deviceConfigurations"

collection.



System.Object

The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".



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



The assignment target for the device configuration.



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