Uninstall a junction.
Uninstall-Junction [[-Path] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
Uninstall-Junction
removes a junction that may or may not exist, without errors.
If Path
is not a direcory, you will see errors.
Uninstall-Junction
is new in Carbon 2.0.
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 . |
Uninstall-Junction -Path 'C:\I\Am\A\Junction'
Uninstall the C:\I\Am\A\Junction