---
locale: "en"
updated_at: "2025-10-27T19:55:42.499Z"
canonical: "https://www.isdecisions.com/en/userlock/docs/build-with-userlock/powershell/cmdlet-reference/get-userlockreportedcomputer"
---

# Get-UserLockReportedComputer

## Synopsis

Gets the computers reported in UserLock server.

## Syntax

```powershell
Get-UserLockReportedComputer [-Name <string[]>] [-OnlyWorkstation] [-UserLockServerName <string>][<CommonParameters>]
```

## Description

The Get-UserLockReportedComputer cmdlet gets the computers reported in UserLock server, this computer object represents a computer with all the interactive sessions opened on it. Caution: PowerShell 3.0 is required.

## Parameters

#### -Name <string[]>

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

|  |  |
| --- | --- |
| Required | false |
| Position | 1 |
| Accepts pipeline input | true (ByValue, ByPropertyName) |
| Accepts wildcard characters | true |

#### -OnlyWorkstation <SwitchParameter>

Returns only workstation computers (server computers will not be returned). By default, workstation and server computers are returned.

|  |  |
| --- | --- |
| Required | false |
| Position | named |
| Accepts pipeline input | false |
| Accepts wildcard characters | false |

#### -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.ReportedMachine

## Notes

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

## Examples

#### Example 1

```powershell
Get-UserLockReportedComputer
```

Gets all the reported computers registered in UserLock.

#### Example 2

```powershell
Get-UserLockReportedComputer -OnlyWorkstation -UserLockServerName MyUlSrv
```

Gets all the reported workstation (not servers) computers registered in the 'MyUlSrv' UserLock server.

#### Example 3

```powershell
Get-UserLockReportedComputer *TMP*
```

Gets all the reported computers (workstations and servers) which name contains the 'TMP' string.

## Related Links

[Get-UserLockReportedUser](/userlock/docs/build-with-userlock/userlock-powershell/cmdlet-help/get-userlockreporteduser)

[Get-UserLockCommand](/userlock/docs/build-with-userlock/userlock-powershell/cmdlet-help/get-userlockcommand)
