Windows Forms look different in Powershell and Powershell ISE. Why? Windows Forms look different in Powershell and Powershell ISE. Why? powershell powershell

Windows Forms look different in Powershell and Powershell ISE. Why?


Add the following line in your script before you show the form:

[System.Windows.Forms.Application]::EnableVisualStyles();