/
Net_DeletePrinter
Net_DeletePrinter
Description
Removes a network printer from the local computer
Syntax
Net_DeletePrinter(sPrinterShare) As Boolean
Parameters
sPrinterShare (String)
UNC path to the network printer that must be removed
Example
VBScript
If bStatus Then bStatus = Net_DeletePrinter("\\CAPAINSTALLER\PRINTERSHARE")
Related functions
Net_AddPrinter Net_SetDefaultPrinter Net_EnumPrinters Net_EnumPrinterPaths
, multiple selections available,
Related content
$cs.File_DelFile
$cs.File_DelFile
More like this
$cs.File_DeleteLineInFile
$cs.File_DeleteLineInFile
More like this
Log_RemoveLogs
Log_RemoveLogs
More like this
$cs.Reg_DelTree
$cs.Reg_DelTree
More like this
Net_Ping
More like this
$cs.UsrMgr_RemoveUserFromLocalGroup
$cs.UsrMgr_RemoveUserFromLocalGroup
More like this