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

Get-UserLockServer Cmdlet

Synopsis

Gets the UserLockServer object.

Syntax

Get-UserLockServer [-UserLockServerName <string>][<CommonParameters>]

Description

The Get-UserLockServer cmdlet gets the UserLockServer object connected to the server passed by parameter (localhost if there is no parameter). Caution: PowerShell 3.0 is required.

Parameters

-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

None

Return Type

ISDecisions.UserLockLibrary.UserLockServer

Notes

You can also refer to Get-UserLockServer by its alias, "gulsrv". For more information, see about_Aliases. You should have some UserLock administrative access right, otherwise you will have no UserLock server reliable object.

Examples

Example 1

C:\PS>Get-UserLockServer

Gets the UserLockServer object of the localhost UserLock server.

Example 2

C:\PS>Get-UserLockServer -UserLockServerName 'MyUlSrv'

Gets the UserLockServer object of the 'MyUlSrv' UserLock server.

Related Links

Get-UserLockServerConfiguration

Set-UserLockServerConfiguration

Get-UserLockCommand