Export (0) Print
Expand All
Expand Minimize

Add-HpcImage

Updated: January 10, 2014

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

Parameter Set: Default
Add-HpcImage [-Path] <String[]> [-Scheduler <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.


Aliases

none

Required?

true

Position?

1

Default Value

no default

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-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>


Aliases

none

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

Inputs

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

  • None.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • 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.

  • You must be a cluster administrator to run this cmdlet successfully.

Examples

EXAMPLE 1

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.


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

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft