A new guide has been published: How to create and run a PowerShell script file on Windows 10
You can find instructions on how to create and successfully execute your first PowerShell script file on Windows 10 in a tutorial published by Windows Central.
Read more @ Linux Compatible