Get-RDMEntryDocumentation

    2024-12-11

    Get-RDMEntryDocumentation

    SYNOPSIS

    Get documentation pages of entries

    SYNTAX

    Name (Default)

    Get-RDMEntryDocumentation [-InputObject] <PSConnection[]> [[-Name] <string[]>] [-Data <string[]>]
     [-CaseSensitive] [-Default] [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]
    

    Literal

    Get-RDMEntryDocumentation [-InputObject] <PSConnection[]> [[-LiteralName] <string[]>]
     [-Data <string[]>] [-CaseSensitive] [-Default] [-ForcePromptAnswer <DialogResult[]>]
     [<CommonParameters>]
    

    ALIASES

    This cmdlet has the following aliases,

    DESCRIPTION

    Get documentations pages of entries. The entries must be fetched by Get-RDMEntry. There is two possibility to filter the pages: by their name and by their data (content). The data source must support the documentation feature and be online. The user must have the rights to access the documentation.

    EXAMPLES

    EXAMPLE 1

    PS C:> $page = Get-RDMEntry -Name EntryA | Get-RDMEntryDocumentation -Name PageA; $page.Data

    Get the documentation page named 'PageA' of the entry named 'EntryA' and see its content.

    EXAMPLE 2

    PS C:> $defaultPages = Get-RDMEntry -VaultMode Global | Get-RDMEntryDocumentation -Default; foreach ($defaultPage in $defaultPages) { $defaultPage.Default = $false } Set-RDMEntryDocumentation -InputObject $defaultPages

    Remove the default status of the default documentation page of each entries in the system vault.

    EXAMPLE 3

    PS C:> Get-RDMEntry -Name EntryA | Get-RDMEntryDocumentation -Data 'Temporary' -CaseSensitive | Remove-RDMEntryDocumentation

    Delete all documentation pages of the entry 'EntryA' that contains the word 'Temporary'

    PARAMETERS

    -CaseSensitive

    Filtering will be case sensitive.

    Type: System.Management.Automation.SwitchParameter
    DefaultValue: ''
    SupportsWildcards: false
    ParameterValue: []
    Aliases: []
    ParameterSets:
    - Name: (All)
      Position: Named
      IsRequired: false
      ValueFromPipeline: false
      ValueFromPipelineByPropertyName: false
      ValueFromRemainingArguments: false
    DontShow: false
    AcceptedValues: []
    HelpMessage: ''
    

    -Data

    Filter the handbook pages by their content.

    Type: System.String[]
    DefaultValue: ''
    SupportsWildcards: false
    ParameterValue: []
    Aliases: []
    ParameterSets:
    - Name: (All)
      Position: Named
      IsRequired: false
      ValueFromPipeline: false
      ValueFromPipelineByPropertyName: false
      ValueFromRemainingArguments: false
    DontShow: false
    AcceptedValues: []
    HelpMessage: ''
    

    -Default

    Obtain only the default page. Maximum one default page per entry.

    Type: System.Management.Automation.SwitchParameter
    DefaultValue: ''
    SupportsWildcards: false
    ParameterValue: []
    Aliases: []
    ParameterSets:
    - Name: (All)
      Position: Named
      IsRequired: false
      ValueFromPipeline: false
      ValueFromPipelineByPropertyName: false
      ValueFromRemainingArguments: false
    DontShow: false
    AcceptedValues: []
    HelpMessage: ''
    

    -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 not an option No.
    • Cancel: Cancel the yes/no/cancel prompt. No is the fallback option if there is not an option Cancel.
    Type: System.Windows.Forms.DialogResult[]
    DefaultValue: ''
    SupportsWildcards: false
    ParameterValue: []
    Aliases: []
    ParameterSets:
    - Name: (All)
      Position: Named
      IsRequired: false
      ValueFromPipeline: false
      ValueFromPipelineByPropertyName: false
      ValueFromRemainingArguments: false
    DontShow: false
    AcceptedValues: []
    HelpMessage: ''
    

    -InputObject

    Entry from which to extract the documentation.

    Type: RemoteDesktopManager.PowerShellModule.PSOutputObject.PSConnection[]
    DefaultValue: ''
    SupportsWildcards: false
    ParameterValue: []
    Aliases: []
    ParameterSets:
    - Name: (All)
      Position: 1
      IsRequired: true
      ValueFromPipeline: true
      ValueFromPipelineByPropertyName: false
      ValueFromRemainingArguments: false
    DontShow: false
    AcceptedValues: []
    HelpMessage: ''
    

    -LiteralName

    Filter the handbook pages by their name. No characters are interpreted as

    Type: System.String[]
    DefaultValue: ''
    SupportsWildcards: false
    ParameterValue: []
    Aliases: []
    ParameterSets:
    - Name: Literal
      Position: 2
      IsRequired: false
      ValueFromPipeline: false
      ValueFromPipelineByPropertyName: false
      ValueFromRemainingArguments: false
    DontShow: false
    AcceptedValues: []
    HelpMessage: ''
    

    -Name

    Filter the handbook pages by their name.

    Type: System.String[]
    DefaultValue: ''
    SupportsWildcards: false
    ParameterValue: []
    Aliases: []
    ParameterSets:
    - Name: Name
      Position: 2
      IsRequired: false
      ValueFromPipeline: false
      ValueFromPipelineByPropertyName: false
      ValueFromRemainingArguments: false
    DontShow: false
    AcceptedValues: []
    HelpMessage: ''
    

    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

    RemoteDesktopManager.PowerShellModule.PSOutputObject.PSConnection

    Entries, obtained from Get-RDMEntry, containing the documentation.

    OUTPUTS

    RemoteDesktopManager.PowerShellModule.PSOutputObject.PSHandbookPage

    NOTES

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