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

ADCS Policy Web Service - Access was denied by the remote endpoint. 0x803d0005 (-2143485947)

File Share Witness is not a valid File share path