Get-CWControlUsers
Description
This script is intended to run on the Control Server. It will return a list of users and their respective properties.
Requirements
This script must be run on the Control Server. It returns all users and their respective properties for the ConnectWise Control server.
Usage
- A user object is configured.
- The location of the desired XML file that holds this information is determined.
- A new users object is created using the data from the XML.
- The results are outputted.
.\Get-CWControlUsers.ps1
This command returns all users and their respective properties for the ConnectWise Control server.
Object Property | Type |
---|---|
Name | String |
DisplayName | String |
Email | String |
Comment | String |
CreationDate | DateTime |
LastActivityDate | DateTime |
LastLockoutDate | DateTime |
LastPasswordChangedDate | DateTime |
PasswordAttemptWindowStartTime | DateTime |
InvalidPasswordWindowAttemptCount | Int |
InvalidPasswordAbsoluteAttemptCount | Int |
PasswordQuestion | String |
Roles | String[] |
PasswordHashHistory | String[] |
IsApproved | Bool |
IsLockedOut | Bool |
Output
- System Object
.\Get-CWControlUsers-Log.txt
.\Get-CWControlUsers.txt