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

New-DSEntryDocumentation

Synopsis

Creates a documentation page.

Syntax

__AllParameterSets

New-DSEntryDocumentation [-ID] <guid> [-Type] <DocumentationType> [-Name] <string> [-Data] <string>
 [-AsLastPage] [-AsNewDefault] [-AsLegacyResponse] [<CommonParameters>]

Description

Creates a documentation page.

Examples

Example 1

PS C:\> New-DSEntryDocumentation $entryId -Type Markdown -Name NewPage -Data "My new documentation"

Create a new documentation page for the entry identified by $entryId.

Parameters

-AsLastPage

Set the page as the last page in the priority ordering.

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

-Data

Content of the documentation page.

-ID

ID of the entry where the documentation page will be.

-Name

Name of the documentation page.

-Type

Type of the page. The supported types are Markdown and PlainText.

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

System.Guid

Notes

For more information, type "Get-Help New-DSEntryDocumentation -detailed". For technical information, type "Get-Help New-DSEntryDocumentation -full".

Last updated

Was this helpful?