Paylaşım İle Eklenen Yazıcıyı Kaldırıyoruz (Script)

% Scriptler Yorum Ekle

Option Explicit
On Error Resume Next
Dim objNetwork, strUNCPrinter
strUNCPrinter = "\\PrintServer03\Canon i250"

Set objNetwork = CreateObject("WScript.Network")
objNetwork.RemovePrinterConnection strUNCPrinter

Wscript.Quit

\\PrintServer03\Canon i250 -> Paylaşımdan gelen yazıcının yolu. Uygun şekilde düzenleyip, logon script olarak atayabiliriz.

Yorum Ekle

Wordpress - License / GPLv2
Entries RSS Comments RSS Log in