This question (well, two questions) is about immediate commands not writing functions or scripts.
Question 1: In Learn PowerShell in a Month of lunches (4th ed) the authors mention that a shared parameter from two different parameter sets has the potential of producing two different outputs. I’m trying to find a good example of that without success so far. Does anyone know a good example.
Question 2: In an immediate command how would one specify that he or she wants it to run in one of the parameter sets other than the default one (assuming one is not using one of the unique parameters along with it)?