Windows PowerShell Home
v3 bug: new-psdrive allows duplicate drive names/letters
5/8/2013 7:01:59 PM
User(s) can reproduce this bug
powershell v3 - tested on win8 rtm - allows duplicate psdrives for cdrom and virtual cdroms. I have not tested other drives like removable USB keys. I did try with C, but it would not allow the duplicate. It looks to be some glitch with autoloading perhaps.
How often does this happen?
Have you seen this problem before in this product?
I do not know if this issue existed previously
1) start powershell 3
2) run: new-psdrive d filesystem c:\
3) run: get-psdrive
Assuming D exists already as a cdrom or virtual cdrom, you'll see both "d" and "D" drives, the former pointing at c:\, the latter at d:\. Accessing d:\ or D:\ will both go to c:\, the new mapping.
It should not allow a duplicate drive name, assuming case insensitivity.
to post a comment.
Please enter a comment.
to post a workaround.
Please enter a workaround.
© 2013 Microsoft