Update-DSEntryDocumentation
Synopsis
Updates a documentation page.
Syntax
InputObject
Update-DSEntryDocumentation [-InputObject] <ConnectionHandbookPage> [-Name <string>]
[-Data <string>] [-AsLastPage] [-AsNewDefault] [-AsLegacyResponse] [<CommonParameters>]EntryID
Update-DSEntryDocumentation [-EntryID] <guid> [-PageID] <guid> [-Name <string>] [-Data <string>]
[-AsLastPage] [-AsNewDefault] [-AsLegacyResponse] [<CommonParameters>]Description
Updates a documentation page. Takes either a combination of entry and page IDs, or an input object (fetched with Get-DSEntryDocumentation).
Examples
Example 1
PS C:\> Update-DSEntryDocumentation -EntryID $entryId -PageID $pageId -Data "My new documentation"Update an existing documentation page's data.
Example 2
Update an existing documentation page's data, with the page being fetched with Get-DSEntryDocumentation.
Example 3
Update an existing documentation page's data, with the page being fetched with Get-DSEntryDocumentation and its fields being manually edited.
Parameters
-AsLastPage
Set the page as the last one.
-AsLegacyResponse
In versions prior to 2024.2, many DS cmdlets returned a ServerResponse object. Enabling this backward compatibility switch allows scripts developed for earlier versions to function correctly.
-AsNewDefault
Set the page as the new default one.
-Data
Content of the documentation page.
-EntryID
ID of the entry.
-InputObject
Documentation page obtained from Get-DSEntryDocumentation.
-Name
Name of the documentation page.
-PageID
ID of the documentation page.
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
Devolutions.RemoteDesktopManager.Business.ConnectionHandbookPage
Outputs
Devolutions.RemoteDesktopManager.Business.ConnectionHandbookPage
Notes
For more information, type "Get-Help Update-DSEntryDocumentation -detailed". For technical information, type "Get-Help Update-DSEntryDocumentation -full".
Last updated
Was this helpful?