Removes a junction.
Remove-Junction [[-Path] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-Junction
removes an existing junction. You'll get errors if Path
doesn't exist, is a file, or is a directory.
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 . |
Remove-Junction -Path 'C:\I\Am\A\Junction'
Removes the C:\I\Am\A\Junction