Open navigation

Example scripts for Management Services

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.

OptionExample
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
• script containing New-TpmsObjTpPortVcg
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 
Driver Free Printing

• script containing New-TpmsObjTpPortVcg
• script containing New-TpmsObjTpPortVcp
creating multiple Output Gateway printers on a single ThinPrint Port

encryption• script containing New-TpmsObjTpPortTcp
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
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
creating a native printer on an LPD type ThinPrint Port

port pooling• script containing New-TpmsObjTpPortVcp
printer properties set with Tpms templates

• script containing New-TpmsObjTpPortTcp
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
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
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
V-Layer

• script containing New-TpmsObjVLayerPair
creating a V-Layer on a Standard TCP/IP Port
creating a V-Layer on a ThinPrint Port
• creating a V-Layer in which both printer objects are shared

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.