Update-MgDeviceManagementDeviceConfigurationDeviceStateSummary

Update the properties of a deviceConfigurationDeviceStateSummary object.

Note

To view the beta release of this cmdlet, view Update-MgBetaDeviceManagementDeviceConfigurationDeviceStateSummary

Syntax

Update-MgDeviceManagementDeviceConfigurationDeviceStateSummary
      [-ResponseHeadersVariable <String>]
      [-AdditionalProperties <Hashtable>]
      [-CompliantDeviceCount <Int32>]
      [-ConflictDeviceCount <Int32>]
      [-ErrorDeviceCount <Int32>]
      [-Id <String>]
      [-NonCompliantDeviceCount <Int32>]
      [-NotApplicableDeviceCount <Int32>]
      [-RemediatedDeviceCount <Int32>]
      [-UnknownDeviceCount <Int32>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-MgDeviceManagementDeviceConfigurationDeviceStateSummary
      -BodyParameter <IMicrosoftGraphDeviceConfigurationDeviceStateSummary>
      [-ResponseHeadersVariable <String>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Update the properties of a deviceConfigurationDeviceStateSummary object.

Examples

Example 1: Code snippet

Import-Module Microsoft.Graph.DeviceManagement

$params = @{
	"@odata.type" = "#microsoft.graph.deviceConfigurationDeviceStateSummary"
	unknownDeviceCount = 2
	notApplicableDeviceCount = 8
	compliantDeviceCount = 4
	remediatedDeviceCount = 5
	nonCompliantDeviceCount = 7
	errorDeviceCount = 0
	conflictDeviceCount = 3
}

Update-MgDeviceManagementDeviceConfigurationDeviceStateSummary -BodyParameter $params

This example shows how to use the Update-MgDeviceManagementDeviceConfigurationDeviceStateSummary Cmdlet.

Parameters

-AdditionalProperties

Additional Parameters

Type:Hashtable
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BodyParameter

deviceConfigurationDeviceStateSummary To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Type:IMicrosoftGraphDeviceConfigurationDeviceStateSummary
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

-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

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

System.Collections.IDictionary

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphDeviceConfigurationDeviceStateSummary

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 <IMicrosoftGraphDeviceConfigurationDeviceStateSummary>: deviceConfigurationDeviceStateSummary

  • [(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
  • [ConflictDeviceCount <Int32?>]: Number of conflict devices
  • [ErrorDeviceCount <Int32?>]: Number of error devices
  • [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