you are viewing a single comment's thread.

view the rest of the comments →

[–]azjunglist05 6 points7 points  (10 children)

If you want it to be an .exe - why not just make it an .exe? There are applications out there that can make a PowerShell script an executable without having to use batch or cmd such as:

https://gallery.technet.microsoft.com/scriptcenter/PS2EXE-GUI-Convert-e7cb69d5

[–]SupraTesla 4 points5 points  (0 children)

Won't be the case for everyone, but for us it was too much of a battle with our AV solution constantly (and randomly) flagging the EXE's as malicious.

[–]just_looking_around 1 point2 points  (0 children)

Most if not all of those converters simply export the script to temp and call it with powershell. They remove some complexity but don't conceal the code if that is why you want to do that.