I cannot tell nothing about Python but when you run
in a CMD or PowerShell console it will tell you the proper syntax to call PowerShell with a script file.
BTW: When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.
Thanks in advance How to format code in PowerShell.org
Please I tried adding users to an organization unit using PowerShell script it worked but the users are not showing on the organization unit. PowerShell scripts. it was created on my member server .What do I do
Please do not hijack other members threads - especially when they are actually unrelated to your issue. Instead create a new question for yourself an place a link to the question you think is related in your question.