Add-HpcDriver
Syntax
![]() |
|
---|---|
Parameter Set: Default Add-HpcDriver [-Path] <String[]> [-Scheduler <String> ] [ <CommonParameters>] |
Detailed Description
Inserts one or more specified device drivers into all operating system images in the HPC cluster.
Parameters
-Path<String[]>
Specifies a list of one or more files 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.
Aliases |
none |
Required? |
true |
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 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>
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
-
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 Microsoft® HPC Pack 2008 installed.
-
You must be a cluster administrator to run this cmdlet successfully.
Examples
EXAMPLE 1
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.
![]() |
|
---|---|
Add-HpcDriver -Path C:\MyDrivers\MyDriver.inf |
EXAMPLE 2
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.
![]() |
|
---|---|
Add-HpcDriver -Scheduler HeadNode -Path C:\MyDrivers\Driver1.inf,C:\MyDrivers\Driver2.inf |