Options for parameters in comment based help


my google broken today.  i can't find how make advanced function shows valid arguments parameters when 'get-help my-function'.  

for instance when 'get-help get-aduser' see several options under syntax.  one of them shows me -searchscope parameter takes "base" or "onelevel" or "subtree" argument.  how can make advanced function show that?  i can show <string> though allow values [validateset].  

tia!

that comes the "validateset" attribute.

\_(ツ)_/



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...