Get-HpcDriver

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.

Syntax

Copy Code
Parameter Set: Default

Get-HpcDriver [[-Name] <String[]> ] [-Scheduler <String> ] [ <CommonParameters>]


Detailed Description

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

-Name<String[]>

Specifies a list 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

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

%CCP_SCHEDULER%

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

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.

  • One or more HpcDriver objects.

Notes

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

Examples

EXAMPLE 1

Gets the device driver with a file name of MyDriver.inf.


  Copy Code
Get-HpcDriver -Name MyDriver.inf

EXAMPLE 2

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


  Copy Code
Get-HpcDriver -Name Driver1.inf,Driver2.inf -Scheduler HeadNode

Related topics