Share via


Copy-WdsInstallImage

Copy-WdsInstallImage

Copies install images within an image group.

Sintassi

Parameter Set: SingleImage
Copy-WdsInstallImage -ImageName <String> -NewFileName <String> -NewImageName <String> [-AsJob] [-CimSession <CimSession[]> ] [-FileName <String> ] [-ImageGroup <String> ] [-NewDescription <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: SingleImageAutoStart
Copy-WdsInstallImage -ImageName <String> -Multicast -NewFileName <String> -NewImageName <String> [-AsJob] [-CimSession <CimSession[]> ] [-ClientCount <UInt32> ] [-FileName <String> ] [-ImageGroup <String> ] [-NewDescription <String> ] [-StartTime <DateTime> ] [-ThrottleLimit <Int32> ] [-TransmissionName <String> ] [ <CommonParameters>]

Parameter Set: SingleImageManualStart
Copy-WdsInstallImage -ImageName <String> -ManualStart -Multicast -NewFileName <String> -NewImageName <String> [-AsJob] [-CimSession <CimSession[]> ] [-FileName <String> ] [-ImageGroup <String> ] [-NewDescription <String> ] [-ThrottleLimit <Int32> ] [-TransmissionName <String> ] [ <CommonParameters>]

Descrizione dettagliata

The Copy-WdsInstallImage cmdlet copies install images within an image group. You can only copy images that are within the same image group. To copy images between image groups, use the Export-WdsInstallImage and Import-WdsInstallImage cmdlets.

When you work with multicast transmissions that use an install image as content you can do the following:

-- Create and name an AutoCast transmission.
-- Create and name a ScheduledCast transmission which begins when a preset number of clients are ready to start, at a specific time, or both.
-- Create a ScheduledCast transmission that must be manually started.

An AutoCast transmission is a multicast transmission. When a client requests an install image, the multicast transmission begins. Clients that request the same image are joined to the multicast transmission.

A ScheduledCast transmission is a multicast transmission. When a specified number of clients request an image, or a specified time of day is reached, the multicast transmission begins. If you do not specify either of these conditions, you must manually start the transmission.

When you copy an image, specify the install image by the image name and image group name. You must specify the file name if the image name and image group name do not uniquely identify the install image.

Parametri

-AsJob

Alias

nessuno

Obbligatorio?

false

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-CimSession<CimSession[]>

Esegue il cmdlet in una sessione remota o in un computer remoto. Immettere un nome di computer o un oggetto di sessione, ad esempio l'output del cmdlet New-CimSession o Get-CimSession. Il valore predefinito è la sessione corrente nel computer locale.

Alias

Session

Obbligatorio?

false

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-ClientCount<UInt32>

Specifies the number of clients that must connect to a transmission. If you also specify MulticastTransmission, this parameter specifies the number of clients that must connect to the ScheduledCast transmission in order for it to begin. The StartScheduledCast parameter can start a transmission before reaching the client count. If you specify the ClientCount parameter with the StartTime parameter, the transmission begins when either a sufficient number of clients connect, or at the time specified by the StartTime parameter.

You may not use this parameter together with the ManualStart parameter.

Alias

nessuno

Obbligatorio?

false

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-FileName<String>

Specifies a file name. This is the file name of the install image. Use this parameter to specify the file name for the install image if the install image name does not uniquely identify the image.

Alias

nessuno

Obbligatorio?

false

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

True (ByPropertyName)

Accetta caratteri jolly?

false

-ImageGroup<String>

Specifies the name of an image group. This image group contains the image to copy. If you do not specify an image group, and only one image group exists on the server, that image group will be used by default. If more than one image group exists on the server, then you must specify an image group.

Alias

nessuno

Obbligatorio?

false

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

True (ByPropertyName)

Accetta caratteri jolly?

false

-ImageName<String>

Specifies the name of an image. This is the name of the image to copy. You must provide a new image name.

Alias

nessuno

Obbligatorio?

true

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

True (ByPropertyName)

Accetta caratteri jolly?

false

-ManualStart

Indicates that the transmission uses a manual start. If you also specify the MulticastTransmission parameter with this parameter, the cmdlet creates a ScheduledCast transmission that does not begin until a StartScheduledCast command is given.

Alias

nessuno

Obbligatorio?

true

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Multicast

Indicates that the cmdlet enables an AutoCast transmission on the image. If you do not specify a name by using the TransmissionName parameter, the multicast transmission uses the image name.

Alias

nessuno

Obbligatorio?

true

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-NewDescription<String>

Specifies a new description for the install image to create in the copy operation.

Alias

nessuno

Obbligatorio?

false

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-NewFileName<String>

Specifies a new name for the image file to create in the copy operation.

Alias

nessuno

Obbligatorio?

true

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-NewImageName<String>

Specifies a new name for the image to create in the copy operation.

Alias

nessuno

Obbligatorio?

true

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-StartTime<DateTime>

Specifies a day and time, in MM/DD/YYYY.hh:mm:ss format, that denotes the start time. When you specify the MulticastTransmission parameter, this parameter denotes the time the ScheduledCast transmission begins. The StartScheduledCast command can start a transmission before reaching the client count. If you specify both the StartTime parameter and the ClientCount parameter, the transmission begins when either a sufficient number of clients connect, or the time specified in this parameter is reached. Do not specify this parameter together with the ManualStart parameter.

Alias

nessuno

Obbligatorio?

false

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-ThrottleLimit<Int32>

Specifica il numero massimo di operazioni simultanee che è possibile stabilire per eseguire il cmdlet. Se il parametro viene omesso o si specifica il valore 0, Windows PowerShell® calcola un valore limite ottimale per il cmdlet basato sul numero di cmdlet CIM in esecuzione nel computer. Questo valore limite si applica solo al cmdlet corrente, non alla sessione o al computer.

Alias

nessuno

Obbligatorio?

false

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-TransmissionName<String>

Specifies a name for the multicast transmission.

Alias

nessuno

Obbligatorio?

false

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

<CommonParameters>

Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere   about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Input

Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.

Output

Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.

  • Microsoft.Management.Infrastructure.CimInstance#MSFT_WdsInstallImage

Esempi

Example 1: Copy an install image

This command copies an install image.

PS C:\> Copy-WdsInstallImage -ImageName "Fabrikam Latest with LOB apps" -ImageGroup "Fabrikam Latest Images" -FileName install-3.wim -NewImageName "Fabrikam Latest with LOB v2.0 apps" -NewDescription "This Fabrikam Latest image contains the second wave of our line of business applications." -NewFileName install-4.wim

Example 2: Copy an install image as a multicast transmission

PS C:\> Copy-WdsInstallImage -ImageName "Fabrikam Latest with LOB apps" -ImageGroup "Fabrikam Latest Images" -FileName install-3.wim -NewImageName "Fabrikam Latest with LOB v2.0 apps" -Multicast -TransmissionName "Fabrikam Latest AutoCast"

Example 3:Copy an install image as a multicast transmission with a client count and start time

PS C:\> Copy-WdsInstallImage -ImageName "Fabrikam Latest with LOB apps" -ImageGroup "Fabrikam Latest Images" -FileName install-3.wim -NewImageName "Fabrikam Latest with LOB v2.0 apps" -Multicast -ClientCount 50 -StartTime 2014/12/01:11:00 -TransmissionName "Fabrikam Latest ScheduledCast with automatic start"

Example 4: Copy an install image as a multicast transmission with a manual start

PS C:\> Copy-WdsInstallImage -ImageName "Fabrikam Latest with LOB apps" -ImageGroup "Fabrikam Latest Images" -FileName install-3.wim -NewImageName "Fabrikam Latest with LOB v2.0 apps" -Multicast -ManualStart -TransmissionName "Fabrikam Latest ScheduledCast with manual start"

Argomenti correlati

Disable-WdsInstallImage

Enable-WdsInstallImage

Export-WdsInstallImage

Get-WdsInstallImage

Import-WdsInstallImage

Remove-WdsInstallImage

Set-WdsInstallImage