Get-HpcDriver - Gets device drivers for HPC cluster

Gets device drivers.

Syntax

Get-HpcDriver - Gets device drivers for HPC cluster
   [[-Name] <String[]>]
   [-ClusterConnectionString <String[]>]
   [-Scheduler <String[]>]
   [<CommonParameters>]

Description

The Get-HpcDriver cmdlet gets one or more specified device drivers, or gets all of the device drivers for the HPC cluster if you do not specify any device drivers. You specify the device drivers by using the file names of the setup information (.inf) files for the device drivers.

Examples

Example 1: Get a device driver by name

PS C:\>Get-HpcDriver -Name "MyDriver.inf"

This command gets the device driver with the file name MyDriver.inf.

Example 2: Get device drivers by head node

PS C:\>Get-HpcDriver -Name "Driver1.inf,Driver2.inf" -Scheduler "HeadNode"

This command gets the device drivers with the file names Driver1.inf and Driver2.inf for the HPC cluster that has a head node named HeadNode.

Parameters

-ClusterConnectionString

Specifies an array of cluster connection strings for the cluster to which you want to add the device drivers. 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

-Name

Specifies an array of the file names for the setup information (.inf) files for the device drivers that you want to get. Do not include the paths for the .inf files.

Type:String[]
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Scheduler

Specifies the host name or IP address of the head node for the cluster that includes 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

This cmdlet returns one or more HpcDriver objects.

Notes

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