Problem When PowerShell Drive's Root has Same Name as Object Within Drive - by DeviantSpark

Status : 


Sign in
to vote
ID 783089 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 4/5/2013 1:15:31 PM
Access Restriction Public


If your current location is within a PowerShell drive and in this location there is an object whose name starts with the "Root" name of the PowerShell provider you can get an error when trying to access it. PowerShell will state that the object does not exist and in the error you can see that PowerShell parsed the root name out of the object name so its not actually looking for the correct path. This seems to only be possible using PowerShell drives that support a root that does not contain special characters such as the "Registry Provider" or a custom provider.

Sign in to post a comment.