简体   繁体   English

Azure文件-如何获取Microsoft.WindowsAzure.Commands.Storage.File.dll?

[英]Azure Files - How to obtain Microsoft.WindowsAzure.Commands.Storage.File.dll?

I want to try the new Azure Files service ( http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/11/introducing-microsoft-azure-file-service.aspx ), and the PowerShell example starts with this line 我想尝试新的Azure文件服务( http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/11/introducing-microsoft-azure-file-service.aspx ),然后启动PowerShell示例用这条线

import-module .\Microsoft.WindowsAzure.Commands.Storage.File.dll 

This fails for me, even though I have just installed the most recent version of Azure PowerShell. 即使我刚刚安装了最新版本的Azure PowerShell,这对我来说还是失败的。

import-module : The specified module '.\\Microsoft.WindowsAzure.Commands.Storage.File.dll' was not loaded because no valid module file was found in any module directory. import-module:未加载指定的模块'。\\ Microsoft.WindowsAzure.Commands.Storage.File.dll',因为在任何模块目录中均未找到有效的模块文件。 At line:1 char:1 + import-module .\\Microsoft.WindowsAzure.Commands.Storage.File.dll + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (.\\Microsoft.Win...torage.File.dll:String) [Import-Module], FileNotFoundException + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand 在第1行:char:1 + import-module。\\ Microsoft.WindowsAzure.Commands.Storage.File.dll + ~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo:ResourceUnavailable:(。\\ Microsoft.Win ... torage.File.dll:String)[导入模块],FileNotFoundException + FullyQualifiedErrorId:Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

Where can I obtain this file? 在哪里可以获得此文件? I searched google, and the only place this one is mentioned is the aforementioned tutorial. 我搜索了google,提到的唯一一个地方就是上述教程。

Please download the zip file containing this and other files from here: http://go.microsoft.com/fwlink/?LinkID=398183 请从此处下载包含此文件和其他文件的zip文件: http : //go.microsoft.com/fwlink/?LinkID=398183

You may need to unblock the cmdlet using: 您可能需要使用以下命令解除阻止该cmdlet:

unblock-file .\Microsoft.WindowsAzure.Commands.Storage.File.dll     

From what I have been told, Azure Storage team missed out this link in the blog post which they will be updating soon. 据我所知,Azure存储团队错过了博客文章中的此链接,他们将很快对其进行更新。

博客文章现已更新,其中包含有关如何安装cmdlet的详细信息: http : //blogs.msdn.com/b/windowsazurestorage/archive/2014/05/11/introducing-microsoft-azure-file-service.aspx#faq7

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 powershell 脚本中添加 Microsoft.WindowsAzure.Storage 程序集 - how to add Microsoft.WindowsAzure.Storage assembly in powershell script Get-AzStorageBlob:容器名称“Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageContainer”无效 - Get-AzStorageBlob: Container name 'Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageContainer' is invalid 将文件上传到Azure文件存储的Powershell脚本 - Powershell Script That uploads files to Azure File Storage 当包含“ Microsoft.WindowsAzure.Storage”时,C#的Powershell代码不起作用 - Powershell code from C# doesn't work when “Microsoft.WindowsAzure.Storage” is included Microsoft Azure Blob存储更新 - Microsoft Azure Blob storage update 如何使用Powershell在Microsoft Azure中获取存储帐户的使用情况 - How to get the usage for an storage account in Microsoft azure using powershell 在 Azure 存储资源管理器中的文件共享中移动/删除文件的功能? - Function to move/delete files within file share in Azure Storage Explorer? 使用 Powershell/AzCopy 将文件从 Azure 文件存储移动到 Dropbox - Move files from Azure File Storage to Dropbox using Powershell/AzCopy 如何使用 azure 逻辑应用程序、function 应用程序从 azure 存储(文件共享或 BLOB)读取、写入、删除文件 - how to use azure logic apps, function aps to read, write, delete files from an azure storage(file share or BLOB) 监视存储帐户中的Azure文件是否发生事件:文件创建 - Monitor Azure Files in Storage Account for event : file creation
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM