Add-HpcDriver

Add-HpcDriver

Adds device drivers to all of the operating system images in an HPC cluster.

Syntax

Parameter Set: Default
Add-HpcDriver [-Path] <String[]> [-ClusterConnectionString <String[]> ] [-Scheduler <String[]> ] [ <CommonParameters>]




Detailed Description

The Add-HpcDriver cmdlet adds one or more specified device drivers into all of the operating system images in an HPC cluster.

Parameters

-ClusterConnectionString<String[]>

Specifies an array of cluster connection strings for the cluster on which you perform the operation. The value format is host1, host2, host3. If you do not specify the ClusterConnectionString parameter, this cmdlet uses the connection string on the head node that the CCP_CONNECTIONSTRING environment variable specifies. To set this environment variable, run the following cmdlet: Set-Content Env: CCP_CONNECTIONSTRING <head_node_name>

This parameter was introduced in HPC Pack 2016.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Path<String[]>

Specifies an array of file names and paths for the setup information (.inf) files for the device drivers that you want to add to the device driver store and the operating system images for the HPC cluster. Include relative or full paths for the files if the files are not in the current working directory.


Aliases

none

Required?

true

Position?

1

Default Value

none

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 device drivers. 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

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. 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.

  • HpcDriver[]

Notes

  • The Add-HpcDriver cmdlet adds folders and copies of the setup information (.inf) files for the device drivers to the Data\InstallShare\Drivers subfolder of the folder where you have HPC Pack installed.

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

Examples

Example 1: Add a driver to all operating system images in a cluster

This command adds the device driver with a setup information (.inf) file located at C:\MyDrivers\MyDriver.inf to all of the operating system images in the HPC cluster.


PS C:\> Add-HpcDriver -Path "C:\MyDrivers\MyDriver.inf"

Example 2: Add drivers to operating system images in a specified head node

This command adds the device drivers with setup information (.inf) files located at C:\MyDrivers\Driver1.inf and C:\MyDrivers\Driver2.inf to all of the operating system images in the HPC cluster with a head node named HeadNode.


PS C:\> Add-HpcDriver -Scheduler "HeadNode" -Path "C:\MyDrivers\Driver1.inf,C:\MyDrivers\Driver2.inf"

Related topics

Community Additions

ADD
Show: