- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- Thomas Lee
- 48字
- 2021-07-02 18:15:42
Microsoft.PowerShell.Archive module
The Microsoft.Powershell.Archive module contains two useful functions: Compress-Archive and Expand-Archive. These enable you to create and extract ZIP files. With previous versions of PowerShell versions, you managed archives by using the System.IO.Compression namespace from the .Net framework, the Shell.Application com object or software like 7-Zip.