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

Set-RDMSessionDocumentation

Synopsis

Set the documentation on a session.

Syntax

NameHandbook (Default)

Set-RDMSessionDocumentation [[-Name] <string>] [-Handbook] <PSHandbook> [-AsLastPage] [-Force]
 [-Refresh] [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

IDHandbook

Set-RDMSessionDocumentation [-ID] <guid> [-Handbook] <PSHandbook> [-AsLastPage] [-Force] [-Refresh]
 [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

SessionHandbook

Set-RDMSessionDocumentation [-Session] <PSConnection> [-Handbook] <PSHandbook> [-AsLastPage]
 [-Force] [-Refresh] [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

IDDefaultPage

Set-RDMSessionDocumentation [-ID] <guid> [[-DefaultPage] <string>] [-Force] [-Refresh]
 [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

NameDefaultPage

SessionDefaultPage

Description

Must have the right to add and edit. Documentation must be first fetch via the Get-RDMSessionDocumentation cmdlet. If the documentation comes from another session, all pages will be created. Only before updating pages will the user be prompted to confirm.

Examples

Example 1

Copy the documentation from the current workspace's root to the session "ASession".

Example 2

Copy the documentation from the root session of "AnotherWorkspace" to the session "ASession" of the previous workspace.

Example 3

Change the default documentation page of the session ASession to NewDefaultPage.

Parameters

-AsLastPage

Append the created pages to the end.

-Confirm

Prompts you for confirmation before running the cmdlet.

-DefaultPage

Define a new default page in the documentation.

-Force

Update the documentation without confirmation.

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

-Handbook

Specifies the documentation to set.

-ID

Current workspace session`s ID where the documentation will be set.

-Name

Current workspace session`s name where the documentation will be set.

-Refresh

Send refresh notification to Remote Desktop Manager application.

-Session

Session where the documentation will be set.

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

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 Set-RDMSessionDocumentation -detailed". For technical information, type "Get-Help Set-RDMSessionDocumentation -full".

Last updated

Was this helpful?