<human>:  Is there a way to run powershell code in python
<bot>: Here is some code to execute script 'script.ps1' using 'powershell.exe' shell

os.system('powershell.exe', 'script.ps1')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.