calebmcelrath.com
Handle Arguments in a PowerShell Script
Learn ways to handle arguments sent to a PowerShell script