Partager via


Update-MgDeviceManagementReport

Update the properties of a deviceManagementReports object.

Note

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

Syntax

Update-MgDeviceManagementReport
      [-ResponseHeadersVariable <String>]
      [-AdditionalProperties <Hashtable>]
      [-ExportJobs <IMicrosoftGraphDeviceManagementExportJob[]>]
      [-Id <String>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-MgDeviceManagementReport
      -BodyParameter <IMicrosoftGraphDeviceManagementReports>
      [-ResponseHeadersVariable <String>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Update the properties of a deviceManagementReports object.

Examples

Example 1: Code snippet

Import-Module Microsoft.Graph.Reports

$params = @{
	"@odata.type" = "#microsoft.graph.deviceManagementReports"
}

Update-MgDeviceManagementReport -BodyParameter $params

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

Parameters

-AdditionalProperties

Additional Parameters

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

-BodyParameter

Singleton entity that acts as a container for all reports functionality. To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Type:IMicrosoftGraphDeviceManagementReports
Position:Named
Default value:None
Required:True
Accept pipeline input:True
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

-ExportJobs

Entity representing a job to export a report To construct, see NOTES section for EXPORTJOBS properties and create a hash table.

Type:IMicrosoftGraphDeviceManagementExportJob[]
Position:Named
Default value:None
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

-ProgressAction

{{ Fill ProgressAction Description }}

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
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

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

System.Collections.IDictionary

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphDeviceManagementReports

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 <IMicrosoftGraphDeviceManagementReports>: Singleton entity that acts as a container for all reports functionality.

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [ExportJobs <IMicrosoftGraphDeviceManagementExportJob- []>]: Entity representing a job to export a report
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [ExpirationDateTime <DateTime?>]: Time that the exported report expires
    • [Filter <String>]: Filters applied on the report
    • [Format <DeviceManagementReportFileFormat?>]: Possible values for the file format of a report.
    • [LocalizationType <DeviceManagementExportJobLocalizationType?>]: Configures how the requested export job is localized.
    • [ReportName <String>]: Name of the report
    • [RequestDateTime <DateTime?>]: Time that the exported report was requested
    • [Select <String- []>]: Columns selected from the report
    • [SnapshotId <String>]: A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id.
    • [Status <DeviceManagementReportStatus?>]: Possible statuses associated with a generated report.
    • [Url <String>]: Temporary location of the exported report

EXPORTJOBS <IMicrosoftGraphDeviceManagementExportJob- []>: Entity representing a job to export a report

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [ExpirationDateTime <DateTime?>]: Time that the exported report expires
  • [Filter <String>]: Filters applied on the report
  • [Format <DeviceManagementReportFileFormat?>]: Possible values for the file format of a report.
  • [LocalizationType <DeviceManagementExportJobLocalizationType?>]: Configures how the requested export job is localized.
  • [ReportName <String>]: Name of the report
  • [RequestDateTime <DateTime?>]: Time that the exported report was requested
  • [Select <String- []>]: Columns selected from the report
  • [SnapshotId <String>]: A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id.
  • [Status <DeviceManagementReportStatus?>]: Possible statuses associated with a generated report.
  • [Url <String>]: Temporary location of the exported report