Add-HpcDriver
Adds device drivers to all of the operating system images in an HPC cluster.
Syntax
Add-HpcDriver
[-Path] <String[]>
[-ClusterConnectionString <String[]>]
[-Scheduler <String[]>]
[<CommonParameters>]
Description
The Add-HpcDriver cmdlet adds one or more specified device drivers into all of the operating system images in an HPC cluster.
Examples
Example 1: Add a driver to all operating system images in a cluster
PS C:\>Add-HpcDriver -Path "C:\MyDrivers\MyDriver.inf"
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.
Example 2: Add drivers to operating system images in a specified head node
PS C:\>Add-HpcDriver -Scheduler "HeadNode" -Path "C:\MyDrivers\Driver1.inf,C:\MyDrivers\Driver2.inf"
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.
Parameters
-ClusterConnectionString
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.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Path
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.
Type: | String[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Scheduler
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\>
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
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.