Skip to content

Instantly share code, notes, and snippets.

@benabrahamson
Last active January 30, 2018 19:19
Show Gist options
  • Save benabrahamson/8dc237425ad6fd6df2d2e343efa5ab66 to your computer and use it in GitHub Desktop.
Save benabrahamson/8dc237425ad6fd6df2d2e343efa5ab66 to your computer and use it in GitHub Desktop.
<html>
<body>
<a>Powershell ISE Launcher</a>
<br />
<button onclick="Run()">Launch</button>
<script type="text/javascript" language="javascript">
function Run() {
WshShell = new ActiveXObject("WScript.Shell");
WshShell.Run("powershell_ise.exe", 1, false);
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment