Get-HpcDriver
Gets device drivers.
Syntax
Default (Default)
Get-HpcDriver
[[-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.
Parameter properties
| Type: | String[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | 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.
Parameter properties
| Type: | String[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 1 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | 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\>
Parameter properties
| Type: | String[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
None
Outputs
HpcDriver
This cmdlet returns one or more HpcDriver objects.
Notes
- You must be a cluster administrator to run this cmdlet successfully.