New-PSDrive does not support credentials?
问题 I am trying to map a drive in PowerShell 2.0 and getting this error? New-PSDrive –Name ftp –PSProvider FileSystem –Root “\\server\folder” -Credential $credential The provider does not support the use of credentials. Perform the operation again without specifying credentials. However, Get-Help New-PSDrive shows -Credential as a valid option? Is this a version issue in PS? Is there an alternative way to do the same...I would prefer to keep this within PS (since the drive is PS only then) and