Open navigation

New-TpmsObjQueryAgent

Description

Requirements

Syntax

Example 1: cmdlet usage

Example 2: script



Description

Defines a Tpms.Agent computer which is to be retrieved printer information from ThinPrint Clients directly or via the Connection Service.


Requirements

  • ThinPrint Clients
  • Connection Service, if necessary


Syntax

New-TpmsObjQueryAgent -Name <string> -Port <uint16> [-ClientQueries <psobject[]>] 
ParameterDescription
-NameTpms.Agent address
-PortTCP port to connect to the Tpms.Agent (default: 5050)
-ClientQuerieslist of client or target machines


Example 1: cmdlet usage

The following example shows how to define the Tpms.Agent computer and how to store the information retrieved from ThinPrint Clients to a variable (here, to $allclients).

New-TpmsObjQueryAgent -Name "cps47.ourdomain.local" -Port 5050 -ClientQueries ($allclients)


Example 2: script

See Start-TpmsQueryByAgent.

Did you find it helpful? Yes No

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