iPowerShell, by default, lets you run commands (cmdlets) via its Console. To execute a Script, you can create a notepad file with the script code, save it with a .ps1 file extension, and execute it via the PowerShell console. You can also directly paste the script onto the console for execution.
Related Articles
This post first appeared on MakeUseOf - Technology, Simplified, please read the originial post: here