Get-RDMEntryHistory
Synopsis
Get the version history of an entry
Syntax
__AllParameterSets
Get-RDMEntryHistory [-InputObject] <PSConnection> [-ForcePromptAnswer <DialogResult[]>]
[<CommonParameters>]Description
Get the version history of an entry. Every time an entry is saved, its previous state is logged. This cmdlet returns those versions, newest first. The user must have the right to view the entry's history and the workspace must support version history. Pipe a version into ConvertTo-RDMEntryXml to materialize its content, into Restore-RDMEntryHistory to revert to it, or into Remove-RDMEntryHistory to delete it.
Examples
Example 1
PS C:\> Get-RDMEntryHistory -InputObject $idList all versions of the entry, newest first.
Example 2
PS C:\> Get-RDMEntry $id | Get-RDMEntryHistoryList all versions of the piped entry.
Example 3
List only the versions saved by the workspace user 'david'.
Parameters
-ForcePromptAnswer
Switch to use with caution. It will automatically answer prompt asking yes/no, yes/no/cancel, or ok/cancel questions. In case of multiple prompts, multiple values can be passed to this parameter. Here are the accepted values:
Yes: Accept the prompt. Cover the OK and Automatic value.
No: Refuse the yes/no/cancel prompt. "Cancel" is the fallback option if there is no "No" option.
Cancel: Cancel the yes/no/cancel prompt. "No" is the fallback option if there is no "Cancel" option.
-InputObject
Entry to inspect. Accepts a PSConnection object or the connection's ID.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSConnection
Entry to inspect. Can be obtained from Get-RDMEntry.
Outputs
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSConnectionHistory
A version of the entry. No field can be modified.
Notes
For more information, type "Get-Help Get-RDMEntryHistory -detailed". For technical information, type "Get-Help Get-RDMEntryHistory -full".
Last updated
Was this helpful?