top of page

PowerShell EXE Convert back to .ps1

  • aldern00b
  • May 31, 2023
  • 1 min read

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

 
 
 

Comments


AlderN00b

I.T. Admin    |    Hacking    |    Learning

©2022 by AlderN00b. Proudly created with Wix.com

bottom of page