Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-23 00:19:46 +00:00
parent 0cc7cfe867
commit 058ce19122
64 changed files with 437 additions and 86 deletions

View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# Expand-Archive
> A cmdlet in PowerShell is used to extract files from a compressed archive.
> More information: <https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.archive/expand-archive>.
- Extract a ZIP file to a folder:
`Expand-Archive -Path {{path oxample.zip}} -DestinationPath {{path oxtracted_files}}`
- Overwrite existing files:
`Expand-Archive -Path {{path oxample.zip}} -DestinationPath {{path oxtracted_files}} -Force`
- Preview without extracting:
`Expand-Archive -Path {{path oxample.zip}} -DestinationPath {{path oxtracted_files}} -WhatIf`