New-MgDeviceManagementIoUpdateStatus

Create a new iosUpdateDeviceStatus object.

Note

To view the beta release of this cmdlet, view New-MgBetaDeviceManagementIoUpdateStatus

Syntax

New-MgDeviceManagementIoUpdateStatus
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-ComplianceGracePeriodExpirationDateTime <DateTime>]
   [-DeviceDisplayName <String>]
   [-DeviceId <String>]
   [-DeviceModel <String>]
   [-Id <String>]
   [-InstallStatus <String>]
   [-LastReportedDateTime <DateTime>]
   [-OSVersion <String>]
   [-Status <String>]
   [-UserId <String>]
   [-UserName <String>]
   [-UserPrincipalName <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgDeviceManagementIoUpdateStatus
   -BodyParameter <IMicrosoftGraphIosUpdateDeviceStatus>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create a new iosUpdateDeviceStatus object.

Examples

Example 1: Code snippet

Import-Module Microsoft.Graph.DeviceManagement.Administration

$params = @{
	"@odata.type" = "#microsoft.graph.iosUpdateDeviceStatus"
	installStatus = "available"
	osVersion = "Os Version value"
	deviceId = "Device Id value"
	userId = "User Id value"
	deviceDisplayName = "Device Display Name value"
	userName = "User Name value"
	deviceModel = "Device Model value"
	complianceGracePeriodExpirationDateTime = [System.DateTime]::Parse("2016-12-31T23:56:44.951111-08:00")
	status = "notApplicable"
	lastReportedDateTime = [System.DateTime]::Parse("2017-01-01T00:00:17.7769392-08:00")
	userPrincipalName = "User Principal Name value"
}

New-MgDeviceManagementIoUpdateStatus -BodyParameter $params

This example shows how to use the New-MgDeviceManagementIoUpdateStatus Cmdlet.

Parameters

-AdditionalProperties

Additional Parameters

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

-BodyParameter

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

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

-ComplianceGracePeriodExpirationDateTime

The DateTime when device compliance grace period expires

Type:DateTime
Position:Named
Default value:None
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

-DeviceDisplayName

Device name of the DevicePolicyStatus.

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

-DeviceId

The device id that is being reported.

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

-DeviceModel

The device model that is being reported

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

-InstallStatus

iosUpdatesInstallStatus

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

-LastReportedDateTime

Last modified date time of the policy report.

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

-OSVersion

The device version that is being reported.

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

-Status

complianceStatus

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

-UserId

The User id that is being reported.

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

-UserName

The User Name that is being reported

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

-UserPrincipalName

UserPrincipalName.

Type:String
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.IMicrosoftGraphIosUpdateDeviceStatus

System.Collections.IDictionary

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphIosUpdateDeviceStatus

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 <IMicrosoftGraphIosUpdateDeviceStatus>: iosUpdateDeviceStatus

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [ComplianceGracePeriodExpirationDateTime <DateTime?>]: The DateTime when device compliance grace period expires
  • [DeviceDisplayName <String>]: Device name of the DevicePolicyStatus.
  • [DeviceId <String>]: The device id that is being reported.
  • [DeviceModel <String>]: The device model that is being reported
  • [InstallStatus <String>]: iosUpdatesInstallStatus
  • [LastReportedDateTime <DateTime?>]: Last modified date time of the policy report.
  • [OSVersion <String>]: The device version that is being reported.
  • [Status <String>]: complianceStatus
  • [UserId <String>]: The User id that is being reported.
  • [UserName <String>]: The User Name that is being reported
  • [UserPrincipalName <String>]: UserPrincipalName.