Copy-WssClientRecoveryImage
Copy-WssClientRecoveryImage
Copies files needed to build a client recovery image to a USB device.
Syntax
Parameter Set: Default
Copy-WssClientRecoveryImage [-Target] <String> [ <CommonParameters>]
Detailed 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 DiskPart (https://technet.microsoft.com/en-us/library/cc770877.aspx).
Parameters
-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.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
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:"