Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Set-VolumeLabel

Set-VolumeLabel

pscx.dll

Synopsis

PSCX Cmdlet: Modifies the label shown in Windows Explorer for a particular disk volume.

Syntax

Set-VolumeLabel [-Path] [-Label] [<CommonParameters>]

Detailed Description

Modifies the label shown in Windows Explorer for a particular disk volume.

Parameters

-Path <String>

Path to the root directory of a file system volume. This can be a folder where a volume is mounted. If not specified, defaults to the root of the current FileSystem location.

Aliases

None

Required?

false

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Label <String>

New volume label. If not specified, the volume label will be blank.

Aliases

None

Required?

false

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- EXAMPLE 1 --------------------------