Use this cmdlet to get item tracking detail about synchronized items
PowerShell
Get-ItemTrackingDetail
- -SyncTrackingID
- [-FolderID]
- [-ShowTokenizedPaths]
Description
The Get-ItemTrackingDetail cmdlet can be used to review synchronized items from prior sync task executions.
Note: a store may have many 100s or even many 1000s of items. Using cmdlets such as Select-Object and Where-Object can help limit the number of objects returned. The ‘More’ command can also provide a paginated output.
Examples
Example 1
PowerShell
Get-ItemTrackingDetail -SyncTrackingID 'AE53546966C54188=1C4F17EF8D6454A8'
This example retrieves the entire list of synchronized items for the tracking ID provided.
Example 2
PowerShell
Get-ItemTrackingDetail -SyncTrackingID 'AE53546966C54188=1C4F17EF8D6454A8' -FolderID 1234567812345678123456781234567800001234
This example will get all the items related to the tracking ID, and that are contained by the FolderID provided.
The FolderID value can be retrieved from Get-FolderTrackingDetail
Example 3
PowerShell
Get-TrackingInfo | Select -First 1 | Get-ItemTrackingDetail
This example uses the pipeline to select the first tracking info object and passes it to the Get-ItemTrackingDetail cmdlet.
Parameters
-SyncTrackingID
This parameter uniquely identifies tracking info between a source and target store. Values of this type can be retrieved using the Get-TrackingInfo cmdlet.
-FolderID
This parameter uniquely identifies a folder contained within either the source or target store. This cmdlet will search both stores for a matching folder ID.
-ShowTokenizedPaths
This switch parameter determines whether folder path strings are returned as a TokenizedPath value. See TokenizedPath in the glossary for more detail.
Output
This cmdlet places one or more PSObject objects on the pipeline, each one representing an item that has been synchronized. The following properties exist on each returned object:
| FolderPath | The parent path of the item. |
| Subject | The subject of the item |
| MessageClass | The message class of the item. See MessageClass in the glossary for more detail. |
| LastAction | The last action performed against the item at the last sync. |
| LastState | The last WorkStatus value applied to the item from the last sync. |
| SourceModified | The date and time of the last modification to the item. Note, Microsoft Exchange uses dates in UTC time. This value is not converted to local time. |
| TargetModified | The date and time of the last modification to the item. Note, Microsoft Exchange uses dates in UTC time. This value is not converted to local time. |
| SourceItemID | The unique identifier of the source item |
| SourceParentID | The unique identifier of the source item’s parent folder |
| TargetItemID | The unique identifier of the target item |
| TargetParentID | The unique identifier of the target item’s parent folder |
