3
How can I create a Powershell script to compress files from a specific folder?
3
How can I create a Powershell script to compress files from a specific folder?
4
Using Compress-Archive
Compress-Archive C:\Origem -DestinationPath ('C:\Destino\arquivo.zip')
Or using the class ZipFile
of the . NET Framework
Add-Type -Assembly "System.IO.Compression.FileSystem"
[System.IO.Compression.ZipFile]::CreateFromDirectory("C:\Origem", "C:\Destino\arquivo.zip")
Browser other questions tagged powershell
You are not signed in. Login or sign up in order to post.