Comment on page
Get-LastRunDetails
Gets the details of the last run or runs of specified management agent
Get-LastRunDetails [-MA] <String> [[-Count] <Int32>] [<CommonParameters>]
Gets the first, or the specified number of run history items for the management agent, starting with the most recent item.
The management agent to get the run details from
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
The number of run history items to return (starting from the most recent). Leaving this value unspecified will return the last run history item
Required? | false |
Position? | 2 |
Default value | 1 |
Accept pipeline input? | false |
Accept wildcard characters? | false |
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about CommonParameters.
PS C:\> Get-LastRunDetails -MA ADMA
PS C:\> Get-LastRunDetails -MA ADMA -Count 5
Last modified 1yr ago