Platyps markdown help

This topic contains 1 reply, has 2 voices, and was last updated by  Don Jones 5 days, 23 hours ago.

  • Author
    Posts
  • #100013

    Kevin Greer
    Participant

    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

    Don Jones
    Keymaster

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

You must be logged in to reply to this topic.