So I've got a script located here: https://bpa.st/NXFA
The desired end result is to call this .py from a powershell script but to include the variables from powershell as arguments for python.
For example the powershell side collects variables via a number of: $username = write-host "Enter User name"
So I want to then pass $username
to the line calling Python like:
start-process python -ArgumentList '-u ".\Create_mailbox.py -user $username -fname $fname -lname $lname -password $password -dname $displayname"' -NoNewWindow -Wait