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
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) |
-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)
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