CmdID

CmdID / Commands

set-volume

Set or change the filesystem label of an existing volume. 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

Set or change the filesystem label of an existing volume. Note: This command can only be used through PowerShell.

Change the filesystem label of a volume identified by drive letter

Set-Volume -DriveLetter "D" -NewFileSystemLabel "DataVolume"Identify

Change the filesystem label of a volume identified by the system label

Set-Volume -FileSystemLabel "OldLabel" -NewFileSystemLabel "NewLabel"Identify

Modify the properties of a volume using a volume object

Set-Volume -InputObject $(Get-Volume -DriveLetter "E") -NewFileSystemLabel "Backup"Identify

Specify the Data Deduplication mode for the volume

Set-Volume -DriveLetter "D" -DedupMode BackupIdentify