I have a number of custom Powershell scripts that add users to Teams, groups, etc. I re-use these scripts dozens of times for different conditions and only change one line of code for each different scenario. Is it possible to convert this script to a custom command and pass parameters to it instead?