win_script: add support for become and centralise exec wrapper builder (#45582)

* win_script: add support for become and centralise exec wrapper builder

* satisfying the pep8 gods

* do not scan for module dependencies when running as a script
This commit is contained in:
Jordan Borean
2018-09-13 08:50:13 +10:00
committed by GitHub
parent 03dbb1d9c4
commit d81249994e
7 changed files with 101 additions and 73 deletions

View File

@@ -0,0 +1,2 @@
whoami.exe
Write-Output "finished"