FileSystem Provider should support credentials - by Joel Bennett

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 334084 Comments
Status Closed Workarounds
Type Suggestion Repros 7
Opened 3/23/2008 4:19:31 PM
Access Restriction Public


It's not possible to supply alternate credentials when using any cmdlets with the FileSystem provider.  Even New-PSDrive, which accepts a -Credentials parameter, won't accept it with the FileSystem provider.

The bottom line here is that the ancient `NET USE` command has more power than PowerShell's New-PSDrive ...
Sign in to post a comment.
Posted by Jason Milczek on 9/5/2012 at 12:12 PM
BUMP...any plans to fix this on version 2?
Posted by Olathe Mike on 8/29/2011 at 5:02 AM
I just spent about 6 hours to get to the point that I now know it doesn't work. Ouch!
Posted by Ayth on 4/29/2011 at 10:15 AM
Just ran into this issue again. Can we get a fix?
Posted by hjoelr on 1/7/2011 at 6:14 AM
I spent multiple hours trying to figure out how to do this and finally realized that it's not possible. I need to be able to specify alternate credentials for file systems so I can connect to a domain file share from a local administrator account on computers. I'm trying to use PowerShell to help me automate my unattended install of Windows 7 computers.
Posted by lukit on 7/21/2010 at 6:09 AM
Really frakkin' frustratin' when you see -Credential and it's not working.
Posted by jfrmilner on 6/22/2010 at 12:34 PM
A much needed option for multi forest environments.
Posted by robertblixt on 5/6/2010 at 5:56 AM
+2 yrs and still no solution :-(
Posted by clark_michael on 1/21/2010 at 11:42 AM
Another vote, this is a no brainer guys.
Posted by Brock Hensley on 11/19/2009 at 9:02 AM
I agree - afterall the HELP for the command has -Credential included...
Posted by Thomas Lee on 12/28/2008 at 5:21 AM
I agree with Hal - this should be a no-brainer!
Posted by halr9000-me2 on 3/23/2008 at 4:45 PM
this is definitely one of those "no brainers".