Update-MgDeviceManagementDeviceCompliancePolicyDeviceStateSummary
Update the properties of a deviceCompliancePolicyDeviceStateSummary object.
Note
To view the beta release of this cmdlet, view Update-MgBetaDeviceManagementDeviceCompliancePolicyDeviceStateSummary
Syntax
Update-MgDeviceManagementDeviceCompliancePolicyDeviceStateSummary
[-ResponseHeadersVariable <String>]
[-AdditionalProperties <Hashtable>]
[-CompliantDeviceCount <Int32>]
[-ConfigManagerCount <Int32>]
[-ConflictDeviceCount <Int32>]
[-ErrorDeviceCount <Int32>]
[-Id <String>]
[-InGracePeriodCount <Int32>]
[-NonCompliantDeviceCount <Int32>]
[-NotApplicableDeviceCount <Int32>]
[-RemediatedDeviceCount <Int32>]
[-UnknownDeviceCount <Int32>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-MgDeviceManagementDeviceCompliancePolicyDeviceStateSummary
-BodyParameter <IMicrosoftGraphDeviceCompliancePolicyDeviceStateSummary>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Update the properties of a deviceCompliancePolicyDeviceStateSummary object.
Examples
Example 1: Code snippet
Import-Module Microsoft.Graph.DeviceManagement
$params = @{
"@odata.type" = "#microsoft.graph.deviceCompliancePolicyDeviceStateSummary"
inGracePeriodCount = 2
configManagerCount = 2
unknownDeviceCount = 2
notApplicableDeviceCount = 8
compliantDeviceCount = 4
remediatedDeviceCount = 5
nonCompliantDeviceCount = 7
errorDeviceCount = 0
conflictDeviceCount = 3
}
Update-MgDeviceManagementDeviceCompliancePolicyDeviceStateSummary -BodyParameter $params
This example shows how to use the Update-MgDeviceManagementDeviceCompliancePolicyDeviceStateSummary Cmdlet.
Parameters
-AdditionalProperties
Additional Parameters
Type: | Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BodyParameter
deviceCompliancePolicyDeviceStateSummary To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
Type: | IMicrosoftGraphDeviceCompliancePolicyDeviceStateSummary |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-CompliantDeviceCount
Number of compliant devices
Type: | Int32 |
Position: | Named |
Default value: | 0 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ConfigManagerCount
Number of devices that have compliance managed by System Center Configuration Manager
Type: | Int32 |
Position: | Named |
Default value: | 0 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ConflictDeviceCount
Number of conflict devices
Type: | Int32 |
Position: | Named |
Default value: | 0 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ErrorDeviceCount
Number of error devices
Type: | Int32 |
Position: | Named |
Default value: | 0 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Headers
Optional headers that will be added to the request.
Type: | IDictionary |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Id
The unique identifier for an entity. Read-only.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InGracePeriodCount
Number of devices that are in grace period
Type: | Int32 |
Position: | Named |
Default value: | 0 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NonCompliantDeviceCount
Number of NonCompliant devices
Type: | Int32 |
Position: | Named |
Default value: | 0 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NotApplicableDeviceCount
Number of not applicable devices
Type: | Int32 |
Position: | Named |
Default value: | 0 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ProgressAction
{{ Fill ProgressAction Description }}
Type: | ActionPreference |
Aliases: | proga |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RemediatedDeviceCount
Number of remediated devices
Type: | Int32 |
Position: | Named |
Default value: | 0 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResponseHeadersVariable
Optional Response Headers Variable.
Type: | String |
Aliases: | RHV |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UnknownDeviceCount
Number of unknown devices
Type: | Int32 |
Position: | Named |
Default value: | 0 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphDeviceCompliancePolicyDeviceStateSummary
System.Collections.IDictionary
Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphDeviceCompliancePolicyDeviceStateSummary
Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
BODYPARAMETER <IMicrosoftGraphDeviceCompliancePolicyDeviceStateSummary>
: deviceCompliancePolicyDeviceStateSummary
[(Any) <Object>]
: This indicates any property can be added to this object.[Id <String>]
: The unique identifier for an entity. Read-only.[CompliantDeviceCount <Int32?>]
: Number of compliant devices[ConfigManagerCount <Int32?>]
: Number of devices that have compliance managed by System Center Configuration Manager[ConflictDeviceCount <Int32?>]
: Number of conflict devices[ErrorDeviceCount <Int32?>]
: Number of error devices[InGracePeriodCount <Int32?>]
: Number of devices that are in grace period[NonCompliantDeviceCount <Int32?>]
: Number of NonCompliant devices[NotApplicableDeviceCount <Int32?>]
: Number of not applicable devices[RemediatedDeviceCount <Int32?>]
: Number of remediated devices[UnknownDeviceCount <Int32?>]
: Number of unknown devices