Summary: Learn how to open the Windows PowerShell ISE from inside the Windows PowerShell console.
I ran a script in the Windows PowerShell console that generated an error, so how can I open the script in the Windows PowerShell ISE to edit it?
Type ISE and the path to the script, so to edit your Windows PowerShell console profile, type:
Ise $profile