Copy-WssClientRecoveryImage

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

Syntax

Copy-WssClientRecoveryImage
    [-Target] <String>
    [<CommonParameters>]

Description

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 DiskParthttp://technet.microsoft.com/en-us/library/cc770877.aspx (http://technet.microsoft.com/en-us/library/cc770877.aspx).

Examples

Example 1: Copy client recovery image

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

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

Parameters

-Target

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

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