UserLock Documentation
UserLock Documentation
You are here: Reference > UserLock PowerShell > Cmdlet Help > Get-UserLockReportedUser

Get-UserLockReportedUser Cmdlet

Synopsis

Gets the users reported in UserLock server.

Syntax

Get-UserLockReportedUser [-Name <string[]>] [-UserLockServerName <string>][<CommonParameters>]

Description

The Get-UserLockReportedUser cmdlet gets the users reported in UserLock server, this user object represents a user with all the interactive sessions he opened. Caution: PowerShell 3.0 is required.

Parameters

-Name <string[]>

Gets information only about the users with the specified name. The String represents all or part of the name of the user. Wildcards are permitted.

Required false
Position 1
Accepts pipeline input true (ByPropertyName)
Accepts wildcard characters true

-UserLockServerName <string>

Specifies the name of the UserLock server. The default is the localhost name.

Required false
Position named
Accepts pipeline input false
Accepts wildcard characters false
Default Value '.'

<CommonParameters>

For more information about common parameters, type "Get-Help about_commonparameters".

Input Type

System.String

Return Type

ISDecisions.UserLockLibrary.ReportedUser

Notes

You can also refer to Get-UserLockReportedUser by its alias, "gulru". For more information, see about_Aliases. To use Get-UserLockReportedUser, you must have the "User sessions" UserLock administrative access right.

Examples

Example 1

C:\PS>Get-UserLockReportedUser

Gets all the reported users registered in UserLock.

Example 2

C:\PS>Get-UserLockReportedUser -UserLockServerName MyUlSrv

Gets all the reported users registered in the 'MyUlSrv' UserLock server.

Example 3

C:\PS>Get-UserLockReportedUser *TMP*

Gets all the reported users which name contains the 'TMP' string.

Related Links

Get-UserLockReportedComputer

Get-UserLockCommand