The default for the -$saveXML switch is false. The $outFile parameter is not used unless the -saveXML switch is present. It is a tendency of the user to enter only the -outFile parameter when a custom output name is desired.
I looked at using ParameterNameSets to only allow the -outFIle option if -saveXML is set, but no luck.
Look at ways of clarifying.
The default for the -$saveXML switch is false. The $outFile parameter is not used unless the -saveXML switch is present. It is a tendency of the user to enter only the -outFile parameter when a custom output name is desired.
I looked at using ParameterNameSets to only allow the -outFIle option if -saveXML is set, but no luck.
Look at ways of clarifying.