Convert a legacy Website entry to the modern Website entry type.
ConvertFrom-RDMWebsiteLegacyEntry -InputObject <PSConnection> [-ForcePromptAnswer <Cancel | No | Yes>] [<CommonParameters>]
Convert a legacy Website entry to the modern Website entry type. The converted entry is returned but not saved — pipe the result to Set-RDMEntry to persist the change.
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 not an option No.
Cancel: Cancel the yes/no/cancel prompt. No is the fallback option if there is not an option Cancel.
Required? false
Position? named
Default value
Accept pipeline input? false
Aliases Accept wildcard characters? false
PSConnection object containing the legacy Website entry to convert.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Aliases
Accept wildcard characters? false
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.
Inputs
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSConnection Legacy Website entry to convert, obtained from Get-RDMEntry.
Outputs
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSConnection Converted Website entry.
Notes
For more information, type "Get-Help ConvertFrom-RDMWebsiteLegacyEntry -detailed". For technical information, type "Get-Help ConvertFrom-RDMWebsiteLegacyEntry -full".
Example
Get-RDMEntry -Type DataEntry |
Where-Object { $_.DataEntry.ConnectionTypeInfos | Where-Object { $_.DataEntryConnectionType -eq 'Web' } } |
ConvertFrom-RDMWebsiteLegacyEntry |
Set-RDMEntry
Convert all legacy Website entries in the current vault to the modern Website type and save them. The Where-Object filter is needed because -Type DataEntry retrieves all entries under the 'Information' category — the filter narrows to legacy Website entries specifically, skipping other sub-types (Credential, Secure Note, etc.). The converted entry keeps the original ID, so Set-RDMEntry overwrites the legacy entry in place.
Related links