Get Version History
Gets the version history for an item.
- Connect to the configuration web service.
Code Sample
# Get the version history.
$itemIdentifier = 1000;
$versionHistory = $xia.GET_VersionHistory($itemIdentifier);
foreach ($versionRecord in $versionHistory.VersionRecord)
{
Write-Host "Version $($versionRecord.VersionIdentifier)";
Write-Host " Created: $($versionRecord.CreationDate)";
Write-Host " Description: $($versionRecord.Description)";
Write-Host " Username: $($versionRecord.Username)";
}