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.
[ValidateSet(‘Computer’, ‘ComputerIT’, ‘ComputerWhiteList’, ‘Laptops’)]
[String]$SubOU = ‘Computer’
SNIP FROM THE MD FILE
One of the parameters
Parameter Sets: (All)
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.