For the complete documentation index, see llms.txt. This page is also available as Markdown.

Read-RDMSession

Synopsis

Read RDM session from a file

Syntax

__AllParameterSets

Read-RDMSession [-Path] <string> [[-Group] <string>] [[-DuplicateAction] <string>]
 [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]

Description

Read RDM session from a file

Examples

PS C:\> $session = Read-RDMSession -Filename "C:\MyFile.rdm" -DuplicateAction "Add"; Set-RDMSession $session[0]

Parameters

-DuplicateAction

Action when a duplicate is found. Must be one of the following:

"Add", "Overwrite", "Ignore"

-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.

-Group

The group where the sessions will be saved.

-Path

Path where the file is loaded. Must be finish:

"RDM: .rdm", "XML: .xml"

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.

Notes

For more information, type "Get-Help Read-RDMSession -detailed". For technical information, type "Get-Help Read-RDMSession -full".

Last updated

Was this helpful?