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