New-PartnerCustomerDeviceBatch
Creates a new device batch for the specified customer.
Sintaxis
Default (Es el valor predeterminado).
New-PartnerCustomerDeviceBatch
-BatchId <String>
-CustomerId <String>
-Devices <PSDevice[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Creates a new device batch for the specified customer. The following combinations of populated properties are required at a minimum for identifying each device: HardwareHash + ProductKey, HardwareHash + SerialNumber, HardwareHash + ProductKey + SerialNumber, HardwareHash only, ProductKey only, or SerialNumber + OemManufacturerName + ModelName.
Ejemplos
Example 1
PS C:\> $device = New-Object -TypeName Microsoft.Store.PartnerCenter.PowerShell.Models.DevicesDeployment.PSDevice
PS C:\> $device.HardwareHash = 'HardwareHas1234'
PS C:\> $device.ProductKey = '00329-00000-0003-AA606'
PS C:\> $device.SerialNumber = '1R9-ZNP67'
PS C:\>
PS C:\> New-PartnerCustomerDeviceBatch -BatchId 'TestDeviceBatch' -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08' -Devices $device
Creates a new device batch for the specified customer.
Parámetros
-BatchId
The identifier for the batch.
Propiedades del parámetro
Tipo: | String |
Valor predeterminado: | None |
Admite caracteres comodín: | False |
DontShow: | False |
Conjuntos de parámetros
(All)
Posición: | Named |
Mandatory: | True |
Valor de la canalización: | False |
Valor de la canalización por nombre de propiedad: | False |
Valor de los argumentos restantes: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Propiedades del parámetro
Tipo: | SwitchParameter |
Valor predeterminado: | None |
Admite caracteres comodín: | False |
DontShow: | False |
Alias: | cf |
Conjuntos de parámetros
(All)
Posición: | Named |
Mandatory: | False |
Valor de la canalización: | False |
Valor de la canalización por nombre de propiedad: | False |
Valor de los argumentos restantes: | False |
-CustomerId
The identifier for the customer.
Propiedades del parámetro
Tipo: | String |
Valor predeterminado: | None |
Admite caracteres comodín: | False |
DontShow: | False |
Conjuntos de parámetros
(All)
Posición: | Named |
Mandatory: | True |
Valor de la canalización: | False |
Valor de la canalización por nombre de propiedad: | False |
Valor de los argumentos restantes: | False |
-Devices
The devices to be included in the device batch.
Propiedades del parámetro
Tipo: | PSDevice[] |
Valor predeterminado: | None |
Admite caracteres comodín: | False |
DontShow: | False |
Conjuntos de parámetros
(All)
Posición: | Named |
Mandatory: | True |
Valor de la canalización: | False |
Valor de la canalización por nombre de propiedad: | False |
Valor de los argumentos restantes: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Propiedades del parámetro
Tipo: | SwitchParameter |
Valor predeterminado: | None |
Admite caracteres comodín: | False |
DontShow: | False |
Alias: | wi |
Conjuntos de parámetros
(All)
Posición: | Named |
Mandatory: | False |
Valor de la canalización: | False |
Valor de la canalización por nombre de propiedad: | False |
Valor de los argumentos restantes: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.