Open navigation

Update-TPUser

Description

Syntax

Example 1

Example 2



Description

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

ThinPrint Management Console for comparison: Remove or disable a user: the license becomes free again

ThinPrint Management Console for comparison: Remove or disable a user: the license becomes free again


Syntax

Update-TPUser -UserIds <Strings> [-Disable|-Enable]
ParameterDescription
-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)

-Disabledisable user(s)
-Enableenable user(s)


Example 1

Variable values are indicated in orange.

Update-TPUser -UserIds user5@ourdomain.local, user6@ourdomain.local -Disable
 ThinPrint license server's PowerShell cmdlet Update-TPUser: users 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

ThinPrint license server's PowerShell cmdlet Update-TPUser: users disabled and then re-enabled

user5 and user6 disabled and then re-enabled


Did you find it helpful? Yes No

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