< Back
Uninstall-CJunction
Post
NAME Uninstall-CJunction
SYNOPSIS
Uninstall a junction.
SYNTAX
Uninstall-CJunction [-Path] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Uninstall-CJunction -LiteralPath <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
The `Uninstall-CJunction` removes a junction that may or may not exist. If the junction exists, it is removed. If
a junction doesn't exist, nothing happens.
If the path to uninstall is not a direcory, you *will* see errors.
`Uninstall-CJunction` is new in Carbon 2.0.
Beginning in Carbon 2.2.0, you can uninstall junctions whose paths contain wildcard characters with the
`LiteralPath` parameter.
PARAMETERS
-Path <String>
The path to the junction to remove. Wildcards supported.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-LiteralPath <String>
The literal path to the junction to remove. Use this parameter if the junction's path contains wildcard
characters.
This parameter was added in Carbon 2.2.0.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Uninstall-CJunction -Path 'C:\\I\\Am\\A\\Junction'
Uninstall the `C:\\I\\Am\\A\\Junction`
RELATED LINKS
Install-CJunction
New-CJunction
Remove-CJunction
Test-CPathIsJunction
Remove-CJunction
SYNOPSIS
Uninstall a junction.
SYNTAX
Uninstall-CJunction [-Path] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Uninstall-CJunction -LiteralPath <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
The `Uninstall-CJunction` removes a junction that may or may not exist. If the junction exists, it is removed. If
a junction doesn't exist, nothing happens.
If the path to uninstall is not a direcory, you *will* see errors.
`Uninstall-CJunction` is new in Carbon 2.0.
Beginning in Carbon 2.2.0, you can uninstall junctions whose paths contain wildcard characters with the
`LiteralPath` parameter.
PARAMETERS
-Path <String>
The path to the junction to remove. Wildcards supported.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-LiteralPath <String>
The literal path to the junction to remove. Use this parameter if the junction's path contains wildcard
characters.
This parameter was added in Carbon 2.2.0.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Uninstall-CJunction -Path 'C:\\I\\Am\\A\\Junction'
Uninstall the `C:\\I\\Am\\A\\Junction`
RELATED LINKS
Install-CJunction
New-CJunction
Remove-CJunction
Test-CPathIsJunction
Remove-CJunction