Management Services – Cmdlets

666 views 0

Cmdlet types

The following table shows the cmdlets of Tpms.Powershell according to their dependency of ThinPrint Engine components. The left column contains the cmdlets which can be used without any ThinPrint Engine compo­nent. However, the cmdlets on the right require a ThinPrint Engine, the Connection Service or a ThinPrint Client.

 

Common cmdlets ThinPrint cmdlets
Set-TpmsServiceUrl

sets the Tpms.Service address

Get-TpmsServiceUrl

reads the Tpms.Service address

New-TpmsObjSetupAgent

sets a Tpms.Agent address

New-TpmsObjTpClient

sets a ThinPrint Client or Connection Service address

Start-TpmsSetupByAgent

retrieves the Tpms.Agent certificates

Set-TpmsLogLevel

sets the log level

Format-TpmsDispatch

sets the format of PowerShell’s information output

Set-TpmsCachingBehaviour

sets when Tpms.Agent is to be cleared its cache

Set-TpmsDriverRepositoryOptions

sets the printer driver repository address

Get-TpmsDriverRepositoryOptions

reads the printer driver repository address

New-TpmsObjDriver
specifies a printer driver (model)
Import-TpmsDriverArchive

loads a printer driver (model) into the repository

Find-TpmsDriverArchive

searches for a driver in the repository

Remove-TpmsDriverArchive

removes a printer driver from the repository

New-TpmsObjTcpIpPortRaw

sets a common Standard TCP/IP Port

New-TpmsObjTpPortTcp

sets a ThinPrint TCP/IP Port

Add-TpmsSnmpInfo

enables retrieving SNMP information with a Stan­dard TCP/IP Port

New-TpmsObjTcpIpPortLpr

specifies a Standard TCP/IP Port (model) config­ured as an LPR/LPD port

New-TpmsObjTpPortLpr

specifies a ThinPrint LPR/LPD Port (model)

New-TpmsObjTpPortCon

specifies a ThinPrint Connection Service Port (model)

New-TpmsObjTpPortVcg

specifies a ThinPrint Virtual Channel Gateway Port (model)

New-TpmsObjTpPortVcp

specifies a ThinPrint RDP/ICA Port (model)

New-TpmsObjPrinter

specifies a printer (model) with a native driver

New-TpmsObjPrinterTpog

specifies an Output Gateway printer (model)

Add-TpmsSharingInfo

shares a printer

Add-TpmsClientInfo

transfers properties from a native printer to an Out­put Gateway printer

New-TpmsObjVLayerPair

specifies a V-Layer pair (model)

(containing a native printer and an Output Gate­way printer)

New-TpmsObjApplyAgent

sets a target machine (print server or workstation)

New-TpmsObjQueryAgent

sets a target machine to retrieve printer informa­tion from ThinPrint Clients directly or via the Con­nection Service

Start-TpmsApplyByAgent

sends the settings to the target machines

Start-TpmsQueryByAgent

sends a query to retrieve printer information from target machines

ConvertTo-TpmsMigrationScript

converts export files from Microsoft Printbrm to Tpms.Powershell scripts

ConvertTo-TpmsMigrationScript

converts export files from ThinPrint Port Manager to Tpms.Powershell scripts

 

Cmdlet verbs

The following table shows groups of cmdlets according to their mode of operation.

 

Verb Mode of operation
Add • adds optional settings to those specified by New cmdlets

• doesn’t make any changes on the target machine(s) directly

ConvertTo • converts export files from Microsoft Printbrm or ThinPrint Port Manager to Tpms.Powershell scripts

• doesn’t make any changes on the target machine(s) directly

Find • searches for entries in a repository, file or database directly

• doesn’t make any changes on the target machine(s)

Format • specifies the layout of the information output by Tpms.Powershell directly

• doesn’t make any changes on the target machine(s)

Get • reads settings directly specified by a Set cmdlet

• doesn’t make any changes on the target machine(s)

Import • imports data to repository, file or database directly
New • specifies settings

• doesn’t make any changes on the target machine(s) directly

Remove • removes entries from a repository, file or database directly
Set • specifies settings directly
Start • sends the respective job to Tpms.Service and – as a result – starts the operation on the target or Tpms.Agent machine(s)

• makes changes on the target machine(s)

Previous Page
Next Page

Was this helpful?