CmdID

CmdID / Commands

expand-archive

A cmdlet in PowerShell is used to extract files from a compressed archive. tldr-pages

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from tldr-pages, CC BY 4.0

Extract a ZIP file to a folder

Expand-Archive -Path path\to\example.zip -DestinationPath path\to\extracted_filesIdentify

Overwrite existing files

Expand-Archive -Path path\to\example.zip -DestinationPath path\to\extracted_files -ForceIdentify

Simulate extracting an archive without extracting anything

Expand-Archive -Path path\to\example.zip -DestinationPath path\to\extracted_files -WhatIfIdentify