Links
Comment on page

Stop-ManagementAgent

Synopsis

Stops the execution of a management agent run profile

Syntax

Stop-ManagementAgent [[-Async] <SwitchParameter>] [-MA] <Object> [<CommonParameters>]

Description

The Stop-ManagementAgent cmdlet stops any run in progress on the specified management agent

Parameters

-MA <string>

The name of the management agent to stop
Required?
true
Position?
1
Default value
Accept pipeline input?
false
Accept wildcard characters?
false

-Async <SwitchParameter>

Specifies that the cmdlet should not wait for the stop operation to complete before returning
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.

Examples

Stop a management agent

PS C:\> Stop-ManagementAgent ACMA