Summary
Retrieves an existing history entry.
Get-HistoryEntry
-Id
Returns a history entry object.
Parameters
Parameter | Type | Required? | Notes |
---|---|---|---|
Id | Int32 | Yes | The history entry id. |
Heads up!
The history entry object contains the following two fields that contain GZip-compressed binary data:
NewObjectCompressed
OldObjectCompressed
To extract the object states from these fields, pipe the
ConvertFrom-GZipCompressedData
utility cmdlet:$newObjectState = $historyEntry.NewObjectCompressed | ConvertFrom-GZipCompressedData
Examples
Get an existing history entry
This example retrieves a specific history entry and outputs it as JSON.
# TODO