I am trying to call a powershell script from HTML Application [HTA] as :
Set WshShell = CreateObject(\"WScript.Shell\") Set retVal = WshShell.Exec(\"powersh
This is another example showing you how to get the output result in a textarea while you execute a powhershell file with a HTA !
Execution a powershell file with HTA by Hackoo