Admin Script Engine: PowerShell forms defaulting to KixForms
I am trying to create a PowerShell form, this has worked for me in the past selecting PowerShell .Net however this option seems to have been overwritten. I only have the following choices in the ScriptForm Designer under File/New/PowerShell
- Windows Native Form
- KixForms (.net)
- KixForms (COM)
Under Tools/Designer Options/PowerShell Default Mode I have selected PowerShell .Net Form but it never seems to create this form type. The resulting scripts does launch and show a form but my code within the click function doesn't seem to do anything. The same code works outside the form. Only rework done to the code is to set my variables equal to the .text property of my form fields instead of using Read-Host.
How do I get rid of KixForms? I don't use Kix. Has my installation become corrupt? Thank you.