Summary
Retrieves an existing history entry.
Get-HistoryEntry
-IdReturns 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
OldObjectCompressedTo extract the object states from these fields, pipe the
ConvertFrom-GZipCompressedDatautility 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