top of page
  • aldern00b

PowerShell EXE Convert back to .ps1

those pesky programmers putting their powershell scripts into exe's so you can't validate the code before running it on your local machine. Well... if they used ps2exe to put it into an exe we can pretty easily revert it back with the same tool:


Simply run an administrative powershell command line and use this syntax on the file you're trying to extract. I'm using "Remove-SCCM-v3.2.exe" in this example.


.\Remove-SCCM-v3.2.exe -extract:C:\file.ps1

80 views0 comments

Recent Posts

See All

Comments


bottom of page