Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

New-HpcImage

Creates a new operating system image and adds it to the image store for the HPC cluster.

Syntax

New-HpcImage [-Scheduler <string>] -Path <string> [-WimFileName] <string> [<CommonParameters>]

Detailed Description

Creates a new operating system image from the installation directory or installation media for the operating system, and adds the image to the image store for the HPC cluster.

Parameters

-Path <string>

Specifies the directory on the installation media or installation folder that contains the Setup.exe file for installing the operating system. The New-HpcImage cmdlet generates the operating system image from the data at this location.

 

Required?

true

Position?

named

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

-WimFileName <string>

Specifies the name of the Windows Image (.wim) file that you want to create. One .wim file can contain multiple images. An error occurs if you specify a .wim file that already exists in the image store for the HPC cluster.

 

Required?

true

Position?

1

Default Value

no default

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

The New-HpcImage cmdlet creates a new .wim file for the operating system image, and saves it in the Data\InstallShare\Images subfolder of the installation folder for Microsoft HPC Pack.

If you already have an operating system image in a .wim file, use the Add-HpcImage cmdlet to add the image to the image store for the HPC cluster.

Example 1

C:\PS>New-HpcImage -Path D:\ -WimFileName NewImage.wim

Creates a new operating system image from the installation media in drive D, and saves the image in the NewImage.wim file. This example assumes that the root directory of the installation media contains the Setup.exe file for installing the operating system.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.