Open navigation

Start-TpmsApplyByAgent

Description

Syntax

Example 1: cmdlet usage

Examples 2 and 3: scripts



Description

Applies the configuration to the given target machines.


Syntax

Start-TpmsApplyByAgent -Servers <psobject[]> [-Action <WorkerAction>]
ParameterDescription
-Servers

applies the configuration to the given target machines, examples:

$srv1 or ($srv1)

($srv1,$srv2,$srv3)

-Action

Deploy: creates printers, printer ports, drivers etc. (default)

Remove: deletes them


Example 1: cmdlet usage

Start-TpmsApplyByAgent -Action Deploy -Servers ($srva,$srvb) | Format-TpmsDispatch

Applies the configuration from the variables $srva and $srvb to the target machines in question.

See also New-TpmsObjApplyAgent for creating the variables $srva and $srvb.


Examples 2 and 3: scripts

See New-TpmsObjTpPortVcp and New-TpmsObjPrinter for complete scripts.

Did you find it helpful? Yes No

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