Nowy-PSDrive nie obsługuje poświadczeń?

Próbuję zmapować dysk w programie PowerShell 2.0 i uzyskać ten błąd?

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.

Jednak,Get-Help New-PSDrive przedstawia-Credential jako ważna opcja?

Czy to kwestia wersji w PS? Czy istnieje alternatywny sposób na zrobienie tego samego ... Wolałbym zachować to w PS (ponieważ dysk jest tylko PS) i nie wpadłNET USE - NET USE /d ale musi!

questionAnswers(3)

yourAnswerToTheQuestion