gpo,rmm,intune + cert
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
"DriverName"
|
||||||
|
"Canon iPR Svr G100 C600 v1.1"
|
||||||
|
"Canon iPF750"
|
||||||
|
|
||||||
|
|
||||||
|
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
powershell.exe -executionpolicy bypass -file .\add_printers.ps1
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#Read printers.csv as input
|
||||||
|
$Printers = Import-Csv .\drivers.csv
|
||||||
|
|
||||||
|
#Remove drivers from the system
|
||||||
|
foreach ($driver in $printers.drivername | Select-Object -Unique) {
|
||||||
|
$PrinterDriverRemoveOptions = @{
|
||||||
|
Confirm = $false
|
||||||
|
Computername = $env:COMPUTERNAME
|
||||||
|
Name = $driver
|
||||||
|
RemoveFromDriverStore = $true
|
||||||
|
}
|
||||||
|
Remove-PrinterDriver @PrinterDriverRemoveOptions
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
powershell.exe -executionpolicy bypass -file .\remove_printers.ps1
|
||||||
Reference in New Issue
Block a user