gpo,rmm,intune + cert

This commit is contained in:
2024-08-09 18:47:45 +02:00
parent 1310dc29d6
commit 507f405a23
5 changed files with 20 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
"DriverName"
"Canon iPR Svr G100 C600 v1.1"
"Canon iPF750"
1 DriverName
2 Canon iPR Svr G100 C600 v1.1
3 Canon iPF750
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
powershell.exe -executionpolicy bypass -file .\add_printers.ps1
+13
View File
@@ -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
}
+1
View File
@@ -0,0 +1 @@
powershell.exe -executionpolicy bypass -file .\remove_printers.ps1