Questions tagged [parameter-sets]
33 questions
0
votes
0 answers
How to increase parameter set limit in TFS?
We have about 200 parameter sets, if i add another parameter set the last parameter set will disapear from the "All parameter sets" list.
How can we increase the max parameter set limit in TFS 2018?
Im referring to the parameter sets you create in…

user7459611
- 41
- 3
0
votes
2 answers
Parameter sets - ensure parameters exist
I'm trying to use Parameter Sets to replicate this functionality:
if (($hostName) -or ($databaseName) -and (!$databasePassword)) {
throw "If hostName or databaseName specified, you must use databasePassword parameter."
}
Simple example of what…

LightningWar
- 915
- 1
- 19
- 35
0
votes
1 answer
Using parametersets to constrain more than one mutually exclusive dependency
When a script's signature is differentiated (singularly) by an argument, parameter sets make sense to me.
Example:
.\myscript.ps1 -InputFile [-Optional1] [-Optional2]...
.\myscript.ps1 -ArrayOfNames [-Optional1] [-Optional2]...
My question is: Are…

Keith
- 3
- 2