Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Filesystem Provider, UNC Paths & Double Backslash #13633

Copy link
Copy link
@FriedrichWeinmann

Description

@FriedrichWeinmann
Issue body actions

Steps to reproduce

Run Remove-Item with a UNC path that contains a doubled backslash before the last item and including -WhatIf.
After confirming that you want to delete multiple items even though you didn't specify recurse, check the path it would have deleted.

Remove-Item \\localhost\C$\temp\\ADMF -WhatIf

Expected behavior

What if: Performing the operation "Remove Directory" on target "\\localhost\C$\temp\ADMF"

Actual behavior

What if: Performing the operation "Remove Directory" on target "\\localhost\C$\temp\"

Environment data

Name                           Value
----                           -----
PSVersion                      7.1.0-preview.6
PSEdition                      Core
GitCommitId                    7.1.0-preview.6
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Engine-Providersbuilt-in PowerShell providers such as FileSystem, Certificates, Registry, etc.built-in PowerShell providers such as FileSystem, Certificates, Registry, etc.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.