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)
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