Quantcast
Channel: How to handle command-line arguments in PowerShell - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by naivists for How to handle command-line arguments in PowerShell

You are reinventing the wheel. Normal PowerShell scripts have parameters starting with -, like script.ps1 -server http://devserverThen you handle them in a param section (note that this must begin at...

View Article


How to handle command-line arguments in PowerShell

What is the "best" way to handle command-line arguments?It seems like there are several answers on what the "best" way is and as a result I am stuck on how to handle something as simple as:script.ps1...

View Article
Browsing all 2 articles
Browse latest View live


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