mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 16:00:46 +00:00
Update cheatsheets
This commit is contained in:
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# chkdsk
|
||||
|
||||
> Check file system and volume metadata for errors.
|
||||
> Check filesystem and volume metadata for errors.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/chkdsk>.
|
||||
|
||||
- Specify the drive letter (followed by a colon), mount point, or volume name to check:
|
||||
|
||||
@@ -5,18 +5,18 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# fsutil
|
||||
|
||||
> Display information about file system volumes.
|
||||
> Display information about filesystem volumes.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/fsutil>.
|
||||
|
||||
- Display a list of volumes:
|
||||
|
||||
`fsutil volume list`
|
||||
|
||||
- Display information about a volume's file system:
|
||||
- Display information about a volume's filesystem:
|
||||
|
||||
`fsutil fsInfo volumeInfo {{drive_letter|volume_path}}`
|
||||
|
||||
- Display the current state of the file system auto-repair for all volumes:
|
||||
- Display the current state of the filesystem auto-repair for all volumes:
|
||||
|
||||
`fsutil repair state`
|
||||
|
||||
|
||||
@@ -5,15 +5,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# Set-Volume
|
||||
|
||||
> Set or change the file system label of an existing volume.
|
||||
> Set or change the filesystem label of an existing volume.
|
||||
> Note: This command can only be used through PowerShell.
|
||||
> More information: <https://learn.microsoft.com/powershell/module/storage/set-volume>.
|
||||
|
||||
- Change the file system label of a volume identified by drive letter:
|
||||
- Change the filesystem label of a volume identified by drive letter:
|
||||
|
||||
`Set-Volume -DriveLetter "D" -NewFileSystemLabel "DataVolume"`
|
||||
|
||||
- Change the file system label of a volume identified by the system label:
|
||||
- Change the filesystem label of a volume identified by the system label:
|
||||
|
||||
`Set-Volume -FileSystemLabel "OldLabel" -NewFileSystemLabel "NewLabel"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user