The Import-WdsInstallImage cmdlet imports an install image to an image store.
You can import a single image from a WIM file, all images from a WIM file, or a VHD image.
If you add a single image, you can also specify a new name, description, and file name for the image.
When you work with multicast transmissions that use a single install image as content you can do any of the following:
Create and name an AutoCast transmission.
Create and name a ScheduledCast transmission which starts when a preset number of clients are ready to start, at a specific time, or both.
Create a manually started ScheduledCast transmission.
An AutoCast transmission is a multicast transmission.
When a client requests an install image, the multicast transmission starts.
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 starts.
If you do not specify either of these conditions, you must manually start the transmission.
If you add multiple images, they will be added to the same image group.
You can associate an answer file for unattended install with the images that you import.
Specify the image to import by using the full path of the image file.
This command imports an install image and creates a multicast transmission with a manual start.
Parameters
-AsJob
Runs the cmdlet as a background job.
Use this parameter to run commands that take a long time to complete.
The cmdlet immediately returns an object that represents the job and then displays the command prompt.
You can continue to work in the session while the job completes.
To manage the job, use the *-Job cmdlets.
To get the job results, use the Receive-Job cmdlet.
For more information about Windows PowerShell® background jobs, see about_Jobs.
Parameter properties
Type:
SwitchParameter
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-CimSession
Runs the cmdlet in a remote session or on a remote computer.
Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet.
The default is the current session on the local computer.
Parameter properties
Type:
CimSession[]
Default value:
None
Supports wildcards:
False
DontShow:
False
Aliases:
Session
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ClientCount
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 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 starts when either a sufficient number of clients connect, or at the time specified by the StartTime parameter.
D not use this parameter together with the ManualStart parameter.
Parameter properties
Type:
UInt32
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
SingleImageAutoStart
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-DisplayOrder
Specifies the order in which images appear in the boot menu on Pre-Boot Execution Environment (PXE) clients.
The menu lists the boot images in ascending order, smallest number to largest number.
Parameter properties
Type:
UInt32
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ImageGroup
Specifies the name of an image group.
This image group contains the image to import.
If you do not specify an image group, and only one image group exists on the server, the cmdlet uses that image group by default.
If more than one image group exists on the server, you must specify the image group.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ImageName
Specifies the name of an image.
This is the name of the image to import.
This parameter does not support VHD images.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ManualStart
Indicates that the transmission uses a manual start.
If you also specify the MulticastTransmission parameter, the cmdlet creates a ScheduledCast transmission that does not begin until a StartScheduledCast command is given.
Parameter properties
Type:
SwitchParameter
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
SingleImageManualStart
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
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.
Parameter properties
Type:
SwitchParameter
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
SingleImageManualStart
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
SingleImageAutoStart
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-NewDescription
Specifies a new description for the install image to create in the import operation.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-NewFileName
Specifies a new file name for the install image to create in the import operation.
If you do not specify a name, the cmdlet uses the display name of the source image.
The file name must be unique.
If you add more than one image, a number is appended to the file name.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-NewImageName
Specifies a new name for the image file to create in the import operation.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Path
Specifies a fully-qualified path that is available to the Windows Deployment Services server.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
True
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-SkipVerify
Indicates that Windows Deployment Services does not verify the source image file before it adds it to the image store.
Parameter properties
Type:
SwitchParameter
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-StartTime
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 starts.
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 starts 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.
Parameter properties
Type:
DateTime
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
SingleImageAutoStart
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ThrottleLimit
Specifies the maximum number of concurrent operations that can be established to run the cmdlet.
If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer.
The throttle limit applies only to the current cmdlet, not to the session or to the computer.
Parameter properties
Type:
Int32
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-TransmissionName
Specifies a name for the multicast transmission.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
SingleImageManualStart
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
SingleImageAutoStart
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-UnattendFile
Specifies the full path of the answer file associated with the image.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
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.