Examples Scripts for Management Services

83 views 0

With each cmdlet description you’ll find a complete example script (see the Cmdlets section). Additionally, there are simple scripts in the Practice section which describe how to create a single printer or printer port.

The following table shows which of theses scripts gives an example for which option.

Option Example
address of Tpms.Agent Script containing New-TpmsObjSetupAgent

Initiating Tpms.Powershell

Script containing Start-TpmsQueryByAgent

Creating a printer on a Standard TCP/IP Port

address of Tpms.Service Script containing Set-TpmsServiceUrl• Initiating Tpms.Powershell
bandwidth control Script containing New-TpmsObjTpPortCon (for Native Printing)

script containing New-TpmsObjTpPortVcg (for Driver Free Printing)

Creating a native printer on an LPD type ThinPrint Port

certificates Script containing New-TpmsObjSetupAgent

Initiating Tpms.Powershell

credentials Script containing New-TpmsObjSetupAgent

Initiating Tpms.Powershell

Connection Service Script containing New-TpmsObjTpPortCon (for Native Printing)
Driver Free Printing script containing New-TpmsObjTpPortVcg (for Driver Free Printing)

script containing New-TpmsObjTpPortVcp (for both Native Printing and Driver Free Printing)

Creating multiple Output Gateway printers on a single ThinPrint Port

encryption Script containing New-TpmsObjTpPortTcp (for Native Printing)
logging level Script containing Set-TpmsLogLevel
LPR/LPD printing with Stan­dard TCP/IP Ports Script containing New-TpmsObjTcpIpPortLpr

Creating a printer on an LPR Port

LPR/LPD printing with Thin­Print Ports Script containing New-TpmsObjTpPortLpr

Creating a native printer on an LPD type ThinPrint Port

multiple ThinPrint Clients Script containing Start-TpmsQueryByAgent
multiple Tpms.Agents script containing New-TpmsObjTpPortVcp (for both Native Printing and Driver Free Printing)
Native Printing with Standard TCP/IP Ports Script containing New-TpmsObjTcpIpPortRaw

Creating a printer on a Standard TCP/IP Port

Native Printing with ThinPrint Ports Script containing New-TpmsObjTpPortTcp (for Native Printing)

Creating a native printer on an LPD type ThinPrint Port

port pooling script containing New-TpmsObjTpPortVcp (for both Native Printing and Driver Free Printing)
printer properties set with Tpms templates Script containing New-TpmsObjTpPortTcp (for Native Printing)

Creating a printer on a Standard TCP/IP Port

printer properties set with ThinPrint Clients Script containing Start-TpmsQueryByAgent

Creating multiple Output Gateway printers on a single ThinPrint Port

printer drivers Script containing New-TpmsObjDriver for printer driver installation
sharing printers Script containing Add-TpmsSharingInfo

Script containing New-TpmsObjTpPortTcp (for Native Printing)

Creating a printer on a Standard TCP/IP Port

Standard TCP/IP Ports Script containing New-TpmsObjTcpIpPortRaw

Creating a printer on a Standard TCP/IP Port

templates for printers created by AutoConnect Script containing Set-TpmsServiceUrl
templates for printers created be Tpms.Agent Script containing New-TpmsObjTpPortTcp (for Native Printing)

Creating a printer on a Standard TCP/IP Port

ThinPrint Clients Script containing Start-TpmsQueryByAgent

Creating multiple Output Gateway printers on a single ThinPrint Port

Virtual Channel Gateway print­ing (via RDP, ICA or PCoIP) script containing New-TpmsObjTpPortVcg (for Driver Free Printing)
V-Layer Script containing New-TpmsObjVLayerPair

Creating a V-Layer on a Standard TCP/IP Port

Creating a V-Layer on a ThinPrint Port

migrating a Windows Server 2003 print server to a newer one by creating each printer and port from scratch Migrating a Windows Server 2003 print server
Previous Page
Next Page

Was this helpful?