New-MgDeviceManagementImportedWindowsAutopilotDeviceIdentity

Create a new importedWindowsAutopilotDeviceIdentity object.

Note

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

Syntax

New-MgDeviceManagementImportedWindowsAutopilotDeviceIdentity
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-AssignedUserPrincipalName <String>]
   [-GroupTag <String>]
   [-HardwareIdentifierInputFile <String>]
   [-Id <String>]
   [-ImportId <String>]
   [-ProductKey <String>]
   [-SerialNumber <String>]
   [-State <IMicrosoftGraphImportedWindowsAutopilotDeviceIdentityState>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgDeviceManagementImportedWindowsAutopilotDeviceIdentity
   -BodyParameter <IMicrosoftGraphImportedWindowsAutopilotDeviceIdentity>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create a new importedWindowsAutopilotDeviceIdentity object.

Parameters

-AdditionalProperties

Additional Parameters

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

-AssignedUserPrincipalName

UPN of the user the device will be assigned

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

-BodyParameter

Imported windows autopilot devices. To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

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

-GroupTag

Group Tag of the Windows autopilot device.

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

-HardwareIdentifierInputFile

Input File for HardwareIdentifier (Hardware Blob of the Windows autopilot device.)

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

-ImportId

The Import Id of the Windows autopilot device.

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

-ProductKey

Product Key of the Windows autopilot device.

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

-SerialNumber

Serial number of the Windows autopilot device.

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

-State

importedWindowsAutopilotDeviceIdentityState To construct, see NOTES section for STATE properties and create a hash table.

Type:IMicrosoftGraphImportedWindowsAutopilotDeviceIdentityState
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.IMicrosoftGraphImportedWindowsAutopilotDeviceIdentity

System.Collections.IDictionary

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphImportedWindowsAutopilotDeviceIdentity

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 <IMicrosoftGraphImportedWindowsAutopilotDeviceIdentity>: Imported windows autopilot devices.

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [AssignedUserPrincipalName <String>]: UPN of the user the device will be assigned
  • [GroupTag <String>]: Group Tag of the Windows autopilot device.
  • [HardwareIdentifier <Byte- []>]: Hardware Blob of the Windows autopilot device.
  • [ImportId <String>]: The Import Id of the Windows autopilot device.
  • [ProductKey <String>]: Product Key of the Windows autopilot device.
  • [SerialNumber <String>]: Serial number of the Windows autopilot device.
  • [State <IMicrosoftGraphImportedWindowsAutopilotDeviceIdentityState>]: importedWindowsAutopilotDeviceIdentityState
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [DeviceErrorCode <Int32?>]: Device error code reported by Device Directory Service(DDS).
    • [DeviceErrorName <String>]: Device error name reported by Device Directory Service(DDS).
    • [DeviceImportStatus <ImportedWindowsAutopilotDeviceIdentityImportStatus?>]: importedWindowsAutopilotDeviceIdentityImportStatus
    • [DeviceRegistrationId <String>]: Device Registration ID for successfully added device reported by Device Directory Service(DDS).

STATE <IMicrosoftGraphImportedWindowsAutopilotDeviceIdentityState>: importedWindowsAutopilotDeviceIdentityState

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [DeviceErrorCode <Int32?>]: Device error code reported by Device Directory Service(DDS).
  • [DeviceErrorName <String>]: Device error name reported by Device Directory Service(DDS).
  • [DeviceImportStatus <ImportedWindowsAutopilotDeviceIdentityImportStatus?>]: importedWindowsAutopilotDeviceIdentityImportStatus
  • [DeviceRegistrationId <String>]: Device Registration ID for successfully added device reported by Device Directory Service(DDS).