Copy-WssClientRecoveryImage

Copy-WssClientRecoveryImage

Copies files needed to build a client recovery image to a USB device.

Sintaxis

Parameter Set: Default
Copy-WssClientRecoveryImage [-Target] <String> [ <CommonParameters>]

Descripción detallada

The Copy-WssClientRecoveryImage cmdlet copies files needed to build a client recovery image to a USB device. Specify the partition for the device.

Before you use this cmdlet, use the DiskPart utility to clean the USB device, create a primary partition, format that partition as NTFS, and activate the partition. For more information about the DiskPart utility, see DiskPart (https://technet.microsoft.com/en-us/library/cc770877.aspx).

Parámetros

-Target<String>

Specifies the target partition. The cmdlet copies the image to the root folder of the specified location. Specify the target partition by drive letter.

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

Example 1: Copy client recovery image

This command copies necessary files to the USB device specified as F:. Before you begin, use the DiskPart utility to prepare the device.

PS C:\> Copy-WssClientRecoveryImage -Target "F:"