
Recently I had a requirement to run a PowerShell script from python and also pass parameters to the script.
I also want to capture the output from the PowerShell script and use it in python script. So thought of sharing it here.
Python Script
This python script runs the PowerShell script using…