Skip to content

Remove-MountPoint

SYNOPSIS

PSCX Cmdlet: Removes a mount point, dismounting the current media if any. If used against the root of a fixed drive, removes the drive letter assignment.

SYNTAX

Path (Default)

Remove-MountPoint [-Path] <PscxPathInfo[]> [<CommonParameters>]

LiteralPath

Remove-MountPoint [-LiteralPath] <PscxPathInfo[]> [<CommonParameters>]

DESCRIPTION

Removes a mount point, dismounting the current media if any. If used against the root of a fixed drive, removes the drive letter assignment.

EXAMPLES

EXAMPLE 1

PS C:\>


PARAMETERS

-LiteralPath

@{Text=}

Type: Pscx.IO.PscxPathInfo[]
Parameter Sets: LiteralPath
Aliases: PSPath

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Path

@{Text=}

Type: Pscx.IO.PscxPathInfo[]
Parameter Sets: Path
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

New-Hardlink

New-Junction

Get-MountPoint

Get-ReparsePoint

Remove-ReparsePoint

New-Symlink

Back to top