# Get-ManagementAgent

## Synopsis

Gets a management agent

## Syntax

```
Get-ManagementAgent [[-Name] <String>] [-Reload] [<CommonParameters>]
```

## Description

The [Get-ManagementAgent](https://docs.lithnet.io/mim-sync-service/usage/cmdlet-reference/get-managementagent) cmdlet gets the configuration details of the specified management agent

## Parameters

#### -Name \<String>

The name of the management agent

|                             |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | 1     |
| Default value               |       |
| Accept pipeline input?      | true  |
| Accept wildcard characters? | false |

#### -Reload \<SwitchParameter>

Forces the cmdlet discard any internal cached copy of the management agent, and reload it from the sync service

|                             |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | 2     |
| Default value               |       |
| Accept pipeline input?      | false |
| Accept wildcard characters? | false |

#### \<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see [about CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

## Examples

### Get a management agent

```
PS C:\> Get-ManagementAgent ADMA
```
