Platyps markdown help

Welcome Forums General PowerShell Q&A Platyps markdown help

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
5 months, 4 weeks ago.

  • Author
    Posts
  • #100013

    Participant
    Points: 22
    Rank: Member

    I have a issue where platyps is not generating an accepted values list on parameters that are using validateset.

    This is what my parameters look like that have use validateset and it shows up in the functions MD file.
    PARAMETER
    [ValidateSet('Computer', 'ComputerIT', 'ComputerWhiteList', 'Laptops')]
    [String]$SubOU = 'Computer'

    SNIP FROM THE MD FILE
    One of the parameters
    Type: String
    Parameter Sets: (All)
    Aliases:
    Accepted values: Computer, ComputerIT, ComputerWhiteList, Laptop

    —————————
    The problem I'm having is other parameters that are using validate set do not have the Accepted Values section in the MD file.
    I tried running update-markdownhelp and deleting the md file and running new-markdownhelp. Maybe I'm missing something.

  • #100882

    Keymaster
    Points: 1,624
    Helping HandTeam Member
    Rank: Community Hero

    Have you looked into opening an issue on the PlatyPS project itself?

The topic ‘Platyps markdown help’ is closed to new replies.