When trying to generate a Powershell script, it quickly opens Windows Powershell then crashes quickly without errors.
This is caused by the file association of ps1. Some other program is trying to launch the script instead of Notepad. For example, Windows PowerShell ISE or PowerGui.
Check the file association for .ps1. Make sure that it opens up in Notepad and not directly in a program like Windows PowerShell or PowerGui.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center