【发布时间】:2017-10-11 08:04:51
【问题描述】:
我关注了this document,并且能够启动虚拟机。
现在我正在尝试挂载文件共享,以便可以使用此 article 从仪表板添加文件。
我在 Windows 虚拟机的 powershell 上执行了Connect 命令:
net use c \\userone.file.core.windows.net\windows /u:AZURE\userone 761lb852i305joijOIJAOIJWOIVJWAORIJVklmvlkmlksrvjjksss5Djt2yJnFcS0Lg7i1fO3iY4u+rS7ti9ct5g1RlERCSPzC9nQ==
和c,以便我希望在虚拟机的该驱动器上共享文件。
但我收到以下错误:
PS C:\Users\userwindow> net use c \\userone.file.core.windows.net\windows /u:AZURE\userone 761lb852i305joijOIJAOIJWOIVJWAORIJVklmvlkmlksrvjjksss5Djt2yJnFcS0Lg7i1fO3iY4u+rS7ti9ct5g1RlERCSPzC9nQ==
net : The syntax of this command is:
At line:1 char:2
+ net use c \\userone.file.core.windows.net\windows /u:AZURE\user ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (The syntax of this command is::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]
NET USE {devicename | *} [password | *] /HOME
NET USE [/PERSISTENT:{YES | NO}]
我做错了什么?
【问题讨论】:
标签: windows powershell azure virtual-machine fileshare