Export (0) Print
Expand All

Add-HpcImage

Loads one or more specified Windows image (.wim) files, and adds the operating system images from those files to the image store for the HPC cluster.

Syntax

Add-HpcImage [-Scheduler <string>] [-Path] <string[]> [<CommonParameters>]

Detailed Description

Loads one or more specified Windows image (.wim) files, and adds the operating system images from those files to the image store for the HPC cluster.

Parameters

-Path <string[]>

Specifies a list of file names and paths for the .wim files from which you want to load the operating system images. A .wim file can contain more than one image, and the Add-HpcImage cmdlet adds all of the images in the .wim file to the image store for the HPC cluster.

 

Required?

true

Position?

1

Default Value

no default

Accept Pipeline Input?

false

Accept Wildcard Characters?

true

-Scheduler <string>

Specifies the host name or IP address of the head node for the cluster to which you want to add the images. The value must be a valid computer name or IP address. If you do not specify the Scheduler parameter, this cmdlet uses the scheduler on the head node that the CCP_SCHEDULER environment variable specifies. To set this environment variable, run the following cmdlet:

Set-Content Env:CCP_SCHEDULER <head_node_name>

 

Required?

false

Position?

named

Default Value

%CCP_SCHEDULER%

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.

Input and Return Types

The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.

 

Input Type

None.

Return Type

One or more HpcImage objects.

Notes

Use the New-HpcImage cmdlet instead of the Add-HpcImage cmdlet if you do not already have a .wim file, but want to create a .wim file from the installation files for the operating system and then add the operating system images in that new .wim file to the image store for the HPC cluster.

The Add-HpcImage cmdlet saves a copy of the .wim files in the Data\InstallShare\Images subfolder of the installation folder for Microsoft HPC Pack.

Example 1

C:\PS>Add-HpcImage -Path C:\MyImages\ImageFile1.wim -Scheduler 172.25.212.201

Loads the operating system images from the file at C:\MyImages\ImageFile1.wim, and adds them to the image store for the HPC cluster that has a head node with an IP address of 172.25.212.201.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft