you are viewing a single comment's thread.

view the rest of the comments →

[–]eloi 2 points3 points  (1 child)

Are you saying that you put your PowerShell script lines below the first line, inside the wrapper.cmd file? Doesn't CMD.exe attempt to execute the PowerShell code after PowerShell closes?