File compression in powershell
-
Friday, March 08, 2013 3:53 PM
I'm writing a tool to compress evtx files and I'm trying to decide between makecab.exe and trying to use the system's built in compression. When I look at the posting here:
http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/6988d856-09ae-41c5-aa79-3d78a9e4d03a
It looks like there are some issues with shell.application and I'm lost with the various [System.IO.whatever] classes. Does anyone have a tool that creates zip/cab files just using a built in class? I am aware of how to use makecab.exe and it works pretty well, I was really hoping for something that didn't need an outside .exe
All Replies
-
Friday, March 08, 2013 4:01 PM
Native Zip compression in PowerShell
http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/9bbaa7fc-7407-4be1-a69f-8d4441ad7871
¯\_(ツ)_/¯
- Marked As Answer by R Jason Morgan Friday, March 08, 2013 4:58 PM
-
Friday, March 08, 2013 5:00 PM
Perfect, thanks.
I'll post the script here once I get it squared away.

