Get-UserLockReportedUser

Gets the users reported in UserLock server.

Published May 31, 2025

Synopsis

Gets the users reported in UserLock server.

Syntax

powershell
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 (ByValue, 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

powershell
Get-UserLockReportedUser

Gets all the reported users registered in UserLock.

Example 2

powershell
Get-UserLockReportedUser -UserLockServerName MyUlSrv

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

Example 3

powershell
Get-UserLockReportedUser *TMP*

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

Get-UserLockReportedComputer

Get-UserLockCommand