Please feel free to provide feedback or file bugs here.

Powershell AD: drive tab completion broken in windows server 2016

In Windows Server 2012, when in the default AD: drive.
when I start typing 'cd DC=' then hit tab, autocomplete resolves the following (works)

cd '.\DC=monitor,DC=org'

In windows server 2016, tab completion resolves with an extra \ at the end, and the command fails

PS AD:\> cd '.\DC=monitor,DC=org\'
cd : Cannot find path 'AD:\DC=monitor,DC=org\' because it does not exist.
At line:1 char:1
+ cd '.\DC=monitor,DC=org\'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (AD:\DC=monitor,DC=org\:String) [Set-Location], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

2 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Miikka Johnson shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base