Remove all network printers from a workstation

The script allows you to delete all network printers on a workstation / server. ' ' RDR REMOVE NETWORK PRINTER ' ' ' Dim strComputer strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colInstalledPrinters = objWMIService.ExecQuery ("Select * from Win32_Printer") Set WshNetwork = WScript.CreateObject("WScript.Network") 'msgbox "open script" ' Boucle sur les …

Read moreRemove all network printers from a workstation

FOG agent installation script

The following script installs the FOG agent on fixed workstations at startup. The script must be placed in a group policy (GPO), which executes the script when the computer starts. Edit lines 8 and 9 by replacing fqdn with the URL to access the FOG server.