Sample for getting Run History by providing details. Very useful for seeing the results of a specific MA, profile, etc.

### Load the FIM Sync PowerShell Module
Import-Module .\FimSyncPowerShellModule.psm1

### Get the Run History for:
### MA:          FIM 
### Run Profile: Export
### Since:       8/14
### Computer:    MyFavouriteSyncServer
Get-MIIS_RunHistory -MaName FIM -StartedAfter 8/14 -RunProfile Export -ComputerName MyFavouriteSyncServer | 

### Output as a Table
Format-Table RunProfile, RunStartTime, RunStatus -AutoSize

Results

RunProfile RunStartTime RunStatus
Export 2012-08-27 19:12:02.933 stopped-server
Export 2012-08-27 17:14:06.263 stopped-server
Export 2012-08-27 15:10:30.143 stopped-server
Export 2012-08-27 13:09:17.143 stopped-server
Export 2012-08-27 11:08:06.313 stopped-server
Export 2012-08-27 09:07:22.737 stopped-server

Last edited Aug 27, 2012 at 8:41 PM by CraigMartin, version 2

Comments

No comments yet.