![]() ![]() 'MsgBox "Please enter something in the input form" SDate = document.getElementByID("choose").Value ![]() SDesc = document.getElementByID("TextBox3").Value SLast = document.getElementByID("TextBox2").Value SSvr = document.getElementByID("TextBox1").Value ĭim oShell, appCmd, sSvr, sLast, sDesc, sDate (Huge thanks to this for the basic code I adapted to my specific needs). Here's the HTA code, as it can be seen, the VBScript has hard coded references to the various PowerShell scripts. I really do appreciate any assistance! I'm trying to provide this to co-workers who want things as simple as can be! The PowerShell scripts are hard coded to a certain directory and I was wondering if there's a better way to accomplish this task/goal. I've put some code together that helps me search an internal ticket system using an HTA application with some TextBoxes and some embedded VBScript that runs PowerShell scripts. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |