Skip to content

Install Driver

Installs a driver using PnPUtil. You can specify either a single .inf file or a directory containing multiple .inf files. If a directory is specified, all .inf files within it will be installed recursively.

Required

Specifies the full path to the driver .inf file or a directory containing driver files. If a directory is specified, all .inf files within it will be installed recursively.\nSample: $PackageRoot\driver.inf or $PackageRoot \nRemember to include the [Download Content] PowerBrick when using $PackageRoot.

Required

Specify the return codes and their behavior Allowed values: Success, Retry Execution Later.

  • Category: Installer
  • Brick ID: Driver-Install
{
"category": "installer",
"description": "Installs a driver using PnPUtil. You can specify either a single .inf file or a directory containing multiple .inf files. If a directory is specified, all .inf files within it will be installed recursively.",
"developerVendor": "CapaSystems A/S",
"displayName": null,
"id": "Driver-Install",
"name": "Install Driver",
"parameters": [
{
"defaultValue": "",
"defaultValueObject": null,
"description": "Specifies the full path to the driver .inf file or a directory containing driver files. If a directory is specified, all .inf files within it will be installed recursively.\\nSample: $PackageRoot\\driver.inf or $PackageRoot \\nRemember to include the [Download Content] PowerBrick when using $PackageRoot.",
"id": "DriverPath",
"name": "Driver Path",
"regExValidation": "",
"required": true,
"type": "TextBox",
"value": null,
"values": [],
"valuesObject": null
},
{
"defaultValue": [
{
"code": 0,
"option": {
"name": "Success",
"id": "success"
}
},
{
"code": 3010,
"option": {
"name": "Success",
"id": "success"
}
},
{
"code": 1641,
"option": {
"name": "Success",
"id": "success"
}
}
],
"defaultValueObject": null,
"description": "Specify the return codes and their behavior",
"id": "Codehandle",
"name": "Return Code Handles",
"regExValidation": "",
"required": true,
"type": "CodeHandles",
"value": null,
"values": [],
"valuesObject": [
{
"id": "success",
"name": "Success"
},
{
"id": "retrylater",
"name": "Retry Execution Later"
}
]
}
],
"powershell": {
"base64Encoded": true,
"function": "ZnVuY3Rpb2..."
},
"type": "powerbrick",
"version": "2026.7.2.1"
}