< Back
Update-DeviceManagement_DeviceCompliancePolicies_Assignments
Post
NAME Update-DeviceManagement_DeviceCompliancePolicies_Assignments
SYNOPSIS
Updates a "microsoft.graph.deviceCompliancePolicyAssignment".
SYNTAX
Update-DeviceManagement_DeviceCompliancePolicies_Assignments -deviceCompliancePolicyAssignmentId <string>
-deviceCompliancePolicyId <string> [-target <object>] [<CommonParameters>]
Update-DeviceManagement_DeviceCompliancePolicies_Assignments -deviceCompliancePolicyAssignmentId <string>
-deviceCompliancePolicyId <string> -ODataType <string> [-target <object>] [<CommonParameters>]
DESCRIPTION
Updates a "microsoft.graph.deviceCompliancePolicyAssignment" object in the "assignments" collection.
The collection of assignments for this compliance policy.
Graph Call: PATCH ~/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}/assignments
PARAMETERS
-deviceCompliancePolicyAssignmentId <string>
The ID for a "microsoft.graph.deviceCompliancePolicyAssignment" object in the "assignments" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-deviceCompliancePolicyId <string>
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" 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.deviceCompliancePolicyAssignment" type.
Target for the compliance policy assignment.
Required? false
Position? named
Default value
Accept pipeline input? false
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
The ID for a "microsoft.graph.deviceCompliancePolicyAssignment" object in the "assignments" collection.
System.String
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" collection.
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
SYNOPSIS
Updates a "microsoft.graph.deviceCompliancePolicyAssignment".
SYNTAX
Update-DeviceManagement_DeviceCompliancePolicies_Assignments -deviceCompliancePolicyAssignmentId <string>
-deviceCompliancePolicyId <string> [-target <object>] [<CommonParameters>]
Update-DeviceManagement_DeviceCompliancePolicies_Assignments -deviceCompliancePolicyAssignmentId <string>
-deviceCompliancePolicyId <string> -ODataType <string> [-target <object>] [<CommonParameters>]
DESCRIPTION
Updates a "microsoft.graph.deviceCompliancePolicyAssignment" object in the "assignments" collection.
The collection of assignments for this compliance policy.
Graph Call: PATCH ~/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}/assignments
PARAMETERS
-deviceCompliancePolicyAssignmentId <string>
The ID for a "microsoft.graph.deviceCompliancePolicyAssignment" object in the "assignments" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-deviceCompliancePolicyId <string>
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" 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.deviceCompliancePolicyAssignment" type.
Target for the compliance policy assignment.
Required? false
Position? named
Default value
Accept pipeline input? false
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
The ID for a "microsoft.graph.deviceCompliancePolicyAssignment" object in the "assignments" collection.
System.String
A required ID for referencing a "microsoft.graph.deviceCompliancePolicy" object in the
"deviceCompliancePolicies" collection.
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