Remove-Junction

Removes a junction.

Syntax

Remove-Junction [[-Path] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Description

Remove-Junction removes an existing junction. You'll get errors if Path doesn't exist, is a file, or is a directory.

Related Commands

Parameters

Name Type Description Required? Pipeline Input Default Value
Path String

The path to the junction to remove.

false false
WhatIf SwitchParameter false false
Confirm SwitchParameter false false
CommonParameters This cmdlet supports common parameters. For more information type
Get-Help about_CommonParameters.

EXAMPLE 1

Remove-Junction -Path 'C:\I\Am\A\Junction'

Removes the C:\I\Am\A\Junction