Pubprn.vbs Command In Windows Server 2008
This article describes the command Pubprn.vbs in Windows Server 2008 operating system and syntax related with it.
Introduction
Pubprn.vbs command in Windows Server 2008 is used to publishes a printer to the active directory domain services. Syntax used for Pubprn.vbs command is given below.
Syntax
Cscript Pubprn.vbs {<ServerName> | <UNCPrinterPath>} "LDAP://CN=<Container>,DC=<Container>"
|
Parameters For Pubprn.vbs
Parameter |
Description |
<ServerName> |
Defines the name of the Windows server that hosts the printer that you want to publish. |
<UNCPrinterPath> |
The Universal Naming Convention (UNC) path to the shared printer that you want to publish. |
"LDAP://CN=<Container>,DC=<Container>" |
Defines the path to the container in Active Directory Domain Services where you want to publish the printer. |
/? |
Shows help at the command prompt. |
Got a programming related question? You may want to post your question here