< Back

Invoke-DeviceManagement_DeviceCompliancePolicies_Assign

Sat Jan 18, 2020 12:04 pm

NAME Invoke-DeviceManagement_DeviceCompliancePolicies_Assign



SYNOPSIS





SYNTAX

Invoke-DeviceManagement_DeviceCompliancePolicies_Assign -deviceCompliancePolicyId <string> [-assignments

<object[]>] [<CommonParameters>]





DESCRIPTION

The action "microsoft.graph.assign", which exists on the type "microsoft.graph.deviceCompliancePolicy".



This action returns a collection of "microsoft.graph.deviceCompliancePolicyAssignment" objects.



Graph Call: POST ~/deviceManagement/deviceCompliancePolicies/assign





PARAMETERS

-assignments <object[]>

The "assignments" action parameter of type "microsoft.graph.deviceCompliancePolicyAssignment".



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-deviceCompliancePolicyId <string>

The ID for a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection.



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.Object[]

The "assignments" action parameter of type "microsoft.graph.deviceCompliancePolicyAssignment".



System.String

The ID for a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK