Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

Default values set for $param in advanced function

$
0
0
How can I specify a list of values for an advanced function?
For example, I want to write a function with a parameter called $ReportingPeriod. I only want to allow 5 selections to be allowed.
More to the point, I'd like them to be selectable in a

Viewing all articles
Browse latest Browse all 467

Trending Articles