---
locale: "en"
updated_at: "2025-10-30T13:59:50.624Z"
canonical: "https://www.isdecisions.com/en/userlock/docs/build-with-userlock/powershell/cmdlet-reference/get-userlockagentdistributionconfiguration"
---

# Get-UserLockAgentDistributionConfiguration

## Synopsis

Gets the UserLock deployer options and the configuration of the UserLock Desktop agent.

## Syntax

```powershell
Get-UserLockAgentDistributionConfiguration [-UserLockServerName <string>] [-Property <string>][<CommonParameters>]
```

## Description

The Get-UserLockAgentDistributionConfiguration cmdlet gets the UserLock deployer options and the configuration of the UserLock Desktop agent. 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 | '.' |

### -Property <string>

Specifies the name of the property to get.

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

### <CommonParameters>

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

## Input Type

None

## Return Type

ISDecisions.UserLockLibrary.AgentDistributionProperties

## Notes

You can also refer to Get-UserLockAgentDistributionConfiguration by its alias, "guladc". For more information, see about_Aliases. To use Get-UserLockAgentDistributionConfiguration, you must have the "Agent distribution" UserLock administrative access right.

## Examples

### Example 1

```powershell
Get-UserLockAgentDistributionConfiguration -UserLockServerName MyUlSrv
```

Gets the UserLock deployer options and the configuration of the UserLock Desktop agent in the zone protected by the 'MyUlSrv' UserLock server.

### Example 2

```powershell
Get-UserLockAgentDistributionConfiguration -Property ForceReboot
```

Gets the ForceReboot property of the local UserLock server.

## Related Links

[Get-UserLockAgentDistribution](/userlock/docs/build-with-userlock/userlock-powershell/cmdlet-help/get-userlockagentdistribution)

[Set-UserLockAgentDistributionConfiguration](/userlock/docs/build-with-userlock/userlock-powershell/cmdlet-help/set-userlockagentdistributionconfiguration)

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