expand-archive - extracted date/time stamp on files

Topics: User Forum
Apr 17, 2010 at 4:27 AM


Take a zip file (for the sake of common ground take the zip file Pscx-2.0-Beta2.zip) and run:

Expand-Archive -format Zip -Path d:\downloads\*.zip -OutputPath .\Temp\ -ShowProgress

The contents of the files are date/time stamped with the time of extract. Folders are suppossed to be (as I understand it), but the files date/time stamp is not preserved.

Also... it seems that the cmdlet will show progress whether or not the flag is present.

Thank you.


By the way - love the xcopy deployment.  MUCH better.  Thank you!

Apr 27, 2010 at 5:59 AM

Yep, I can verify both issues.  Perhaps, rather than -ShowProgress, we make it -HideProgress so that it displays progress by default.

Apr 29, 2010 at 3:30 PM

Thank you for the confirmation.  HideProgress would seem to be in line with something like "powershell -nologo", but as long as it can be suppressed somehow, I have no preference.