Update-TPUser

97 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 user5@ourdomain.local, user6@ourdomain.local -Disable

user5 and user6 disabled (temporarily)

user5 and user6 disabled (temporarily)

Example 2

$users = $()
$user5 = "ourdomain\user5"
$user6 = "user6@ourdomain.local"
$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?