Expand-Archive
安全ZIP展開(PS標準)
Expand-Archive <zip> -DestinationPath <dir>
ZIPを展開。-Forceで上書き。スクリプトでの配布物展開の標準手段。
実行例
Expand-Archive release.zip -DestinationPath C:\app -Force上書きで展開
書式
Expand-Archive <zip> [-DestinationPath dir] [-Force]
実行前の注意
-Forceは同名を上書き。
関連コマンド
- Compress-ArchiveZIP圧縮(PS標準)
- unzipZIP展開