La Référence Absolue sur les Technologies Microsoft




Supprimer une imprimante réseau

Accueil > Script > imprimante > Supprimer une imprimante réseau

Supprimer une imprimante réseau

Par Nicolas MILBRAND, LABORATOIRE SUPINFO DES TECHNOLOGIES MICROSOFT
Publiée le 18/02/2005 vers 21h.

Description :
Ce script VBS permet de supprimer une imprimante réseau.

Script :

Set WshNetwork = WScript.CreateObject("WScript.Network")
PrinterPath = "\\Serveur\HPLaserJet"
WshNetwork.RemovePrinterConnection PrinterPath, true, true



Proposer un script

Notre avis :

Votre avis :

Réactions :
0

Votants :
14

Visites :
15891

1
2
3
4
5




Retrouvez ci-dessous les autres sections du Laboratoire Microsoft