Microsoft.PowerShell.Archive
Microsoft.PowerShell.Archive copied to clipboard
Archive PowerShell module contains cmdlets for working with ZIP archives
Modified script to process hidden files. Added **-Force** switch to the (only) **Get-ChildItem** cmdlet and the **Get-Item** cmdlet with the **LastWriteTime** member property.
This only addresses the partial root cause where a provided file is inaccessible among a set of otherwise successful files.
ShouldProcess dosn't work correctly added $isWhatIf on all Calls with -Confirm Parameter $isVerbose, $isConfirm reflected only, if they are present, not the real value (e.g. -Confirm:$false --> $isConfirm was wrongly...
Originally posted on Connect by Mark Wilson and [now on UserVoice](http://windowsserver.uservoice.com/forums/301869-powershell/suggestions/11088558-add-functionality-to-expand-archive-so-that-it-can): > Please add a -Password switch to Expand-Archive so that it can open password-protected archive files. These files can...
Advanced functions in PowerShell do not report errors the same way that cmdlets do unless you wrap the contents of each begin, process, and end block in a large try/catch{$PSCmdlet.ThrowTerminatingError($_)}...
Expand-File extracts all the files in an archive. Sometime you just want one or a few files. Please add a parameter to select which files to extract. Preferably something that...
When I run ```posh Compress-Archive $pwd -Destination ..\Compressed.zip ``` I always get a (redundant) single top-level folder in the zip We need an option to **not** create that top level...
When running compress-archive on a Linux system with symlinks, the symlinks are not preserved when you use expand-archive on a Linux system. Perhaps this command should just fail politely when...
This is the error I see on a symlink ending with a `.`: ``` ZipArchiveHelper : Could not find file '/home/bld/builds/jo/develop-Complete-RedHat/out/Linux-x64-Debug/lib/libgasl.so.'. At /opt/microsoft/powershell/6.0.1/Modules/Microsoft.PowerShell.Archive/1.1.0.0/Microsoft.PowerShell.Archive.psm1:713 char:30 + ... sArchived = ZipArchiveHelper $subDirFiles.ToArray()...
# Summary of the new feature/enhancement Compress-Archive should be able to compress files in symbolic link directories. Currently, if you have a directory structure like: ``` folder_to_compress |--regular_subdir | |--regular_file...