I want to zip a file using PowerShell v2.0 as I am engineering this code for a legacy server.
On my local machine running PowerShell v5.0 it works fine, but does not on PS v2.
Any idea how to ZIP a file using PS v2?
Compress-Archive -Path $root_folder\temp-file.csv -Update -DestinationPath $root_folder\temp-file.zip
Again, this is for PowerShell v2.0!