# Start-ManagementAgent

## Synopsis

Starts a management agent run profile

## Syntax

```
Start-ManagementAgent [-RunProfileName] <String> [[-Async] <SwitchParameter>] [[-ResumeLastRun] <SwitchParameter>] [[-NoProgress] <SwitchParameter>] [-MA] <Object> [<CommonParameters>]
```

## Description

The [Start-Management agent](https://docs.lithnet.io/mim-sync-service/usage/cmdlet-reference/start-managementagent) cmdlet allows you to start a management run profile, either synchronously or asynchronously. The cmdlet also provides progress estimation for full import, delta sync, full sync and export profiles.

## Parameters

#### -MA \<Object>

The management agent to start

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

#### -RunProfileName \<String>

The name of the run profile to execute

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

#### -Async \<SwitchParameter>

Starts the specified run profile asynchronously. The cmdlet will return immediately and not wait for the run to finish

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

#### -ResumeLastRun \<SwitchParameter>

Where supported, specifies that the last run should be resumed

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

#### -NoProgress \<SwitchParameter>

Specifies that the progress bar should not be displayed

|                             |       |
| --------------------------- | ----- |
| Required?                   | False |
| Position?                   | 5     |
| 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

### Start a management agent

```
PS C:\> Start-ManagementAgent -MA ACMA -RunProfileName FI
```

### Start a management agent asynchronously

```
PS C:\> Start-ManagementAgent -MA ACMA -RunProfileName FI -Async
```

### Start a management agent, without displaying progress information

```
PS C:\> Start-ManagementAgent -MA ACMA -RunProfileName FI -NoProgress
```
