- Check whether file is encoded in **UTF-8 with BOM** and run it through powershell.exe.
or
- Check whether file is encoded in **UTF-8 with BOM** and run it through powershell.exe;
- PowerShell must be run with elevated privileges;
- Set PowerShell execution policy <code>Set-ExecutionPolicy -ExecutionPolicy Bypass -Force</code> to be able to run .ps1 files.
- Read more about [execution policy](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies)
- Copy the script code and paste it into [PowerShell ISE](https://docs.microsoft.com/en-us/powershell/scripting/components/ise/windows-powershell-integrated-scripting-environment--ise-).
## Supported Windows versions
|Version|Code name| Marketing name |Build| Arch | Editions |
| 1903 | 19H1 | May 2019 Update |18362|x64 only|Pro/Enterprise|
## FAQ
Read the code you run carefully. Some functions are presented as an example only. You must be aware of the meaning of the functions in the code. **If you're not sure what the script does, do not run it**.