MIM Sync Service
Documentation Home
  • Home
  • Disclaimer
  • Installation
    • Getting Started
    • Downloads
  • Usage
    • Cmdlet Reference
      • Clear-RunHistory
      • Clear-FullSyncWarning
      • Disconnect-CSObject
      • Export-MetaverseConfiguration
      • Export-ManagementAgent
      • Get-Connectors
      • Get-CSObject
      • Get-Disconnectors
      • Get-LastRunDetails
      • Get-MAStatistics
      • Get-MVSchema
      • Get-MVObject
      • Get-MVConfiguration
      • Get-ManagementAgent
      • Get-PendingImports
      • Get-PendingImportAdds
      • Get-PendingImportDeletes
      • Get-PendingImportUpdates
      • Get-PendingExports
      • Get-PendingExportAdds
      • Get-PendingExportDeletes
      • Get-PendingExportRenames
      • Get-PendingExportUpdates
      • Get-RunProfiles
      • Get-RunProfileNames
      • Join-CSObject
      • New-MVObject (Project-MVObject)
      • New-MVQuery
      • Set-DisconnectorState
      • Set-MVProvisioningRulesExtension
      • Start-ManagementAgent
      • Stop-ManagementAgent
      • Sync-CSObject
      • Wait-ManagementAgent
Powered by GitBook
On this page
  • Synopsis
  • Syntax
  • Description
  • Parameters
  • Examples
  • Get the most recent run details
  • Get the details of the last 5 runs
  1. Usage
  2. Cmdlet Reference

Get-LastRunDetails

Synopsis

Gets the details of the last run or runs of specified management agent

Syntax

Get-LastRunDetails  [-MA] <String> [[-Count] <Int32>] [<CommonParameters>]

Description

Gets the first, or the specified number of run history items for the management agent, starting with the most recent item.

Parameters

-MA <string>

The management agent to get the run details from

Required?

true

Position?

1

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Count <Int32>

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

<CommonParameters>

Examples

Get the most recent run details

PS C:\> Get-LastRunDetails -MA ADMA

Get the details of the last 5 runs

PS C:\> Get-LastRunDetails -MA ADMA -Count 5
PreviousGet-DisconnectorsNextGet-MAStatistics

Last updated 2 years ago

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see .

about CommonParameters