Export Online:
$DriverPath = "C:\Drivers"
if (-Not (Test-Path $DriverPath)) {New-Item -ItemType directory -Path $DriverPath}
Export-WindowsDriver -Online -Destination $DriverPath
Export Offline:
$DriverPath = "C:\Drivers"
if (-Not (Test-Path $DriverPath)) {New-Item -ItemType directory -Path $DriverPath}
Export-WindowsDriver -Path C:\ -Destination $DriverPath
Install Offline:
$DriverPath = "C:\Drivers" Add-WindowsDriver -Path "X:\" -Driver $DriverPath -Recurse
DISM Install Offline:
$DriverPath = "C:\Drivers" Dism /Image:X:\ /Add-Driver /Driver:$DriverPath /Recurse
List all installed Drivers:
Dism /online /get-drivers