Get-HpcDriver

Get-HpcDriver

Gets device drivers.

Syntax

Parameter Set: Default
Get-HpcDriver [[-Name] <String[]> ] [-ClusterConnectionString <String[]> ] [-Scheduler <String[]> ] [ <CommonParameters>]




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

Parameters

-ClusterConnectionString<String[]>

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.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String[]>

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.


Aliases

none

Required?

false

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


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

    This cmdlet returns one or more HpcDriver objects.


Notes

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

Examples

Example 1: Get a device driver by name

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


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

Example 2: Get device drivers by head node

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.


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

Related topics

Community Additions

ADD
Show: