Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

[Switch] parameter on script level

$
0
0

I can find how [Switch] parameters are defined and used in a function, but couldn’t find how to do it on the script level.
E.g. how would Recurse be handled in “dir -Recurse” if dir were written in PowerShell?
Thanks, Vilmos


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>