I'm looking for a way to use push-location with a function's parameter. My goal is that a user will type "Import-SomeFile -Path ". When the user hits tab, then -Path would push-location to a network share to recurse through that directory. Is this possible/feasible/advisable?
Liam, thanks for the heads up! This is my first experience with Dynamic Parameters and they do seem to have a lot of code around them for this functionality to work, so it'll be exciting to see that get folded in and make it more succinct. I'll keep an eye out.