Update-TPUser

243 views 0

Description

This allows disabling ThinPrint users (temporarily) and enabling them (again).

 removing or disabling a user: the license becomes free

removing or disabling a user: the license becomes free

Syntax

Update-TPUser -UserIds <Strings> [-Disable|-Enable]

Parameter Description
-UserIds a list of AD users which can contain the following information:

• user account name (UPN)
or
• Security Account Manager name (SAM)
or
• security identifier (SID)

-Disable disable user(s)
-Enable enable user(s)

Example 1

Variable values are indicated in orange.

Update-TPUser -UserIds [email protected], [email protected] -Disable

user5 and user6 disabled (temporarily)

user5 and user6 disabled (temporarily)

Example 2

$users = $()
$user5 = "ourdomain\user5"
$user6 = "u[email protected]"
$users = $user5,$user6
Update-TPUser -UserIds $users -Enable

 user5 and user6 disabled and then re-enabled

user5 and user6 disabled and then re-enabled

Previous Page
Next Page

Was this helpful?