我正在尝试按照这些说明在Azure中使用Azure Powershell创build虚拟机。
http://www.windowsazure.com/en-us/manage/services/networking/active-directory-forest/
Cmdlet#1
Set-ExecutionPolicy RemoteSigned
Cmdlet#2
Import-Module 'C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\Azure\Azure.psd1'
Cmdlet#3
Get-AzurePublishSettingsFile
Cmdlet#3导致以下错误:
Get-AzurePublishSettingsFile : Could not find publish settings. Please run Import-AzurePublishSettingsFile. At line:1 char:1 + Get-AzurePublishSettingsFile + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : CloseError: (:) [Get-AzurePublishSettingsFile], FileNotFoundException + FullyQualifiedErrorId : Microsoft.WindowsAzure.Management.Subscription.GetAzurePublishSettingsFileCommand
到目前为止MS已经推荐了下面这些没有任何作用的东西:
我确实看到至less有另外一个人能够在这里得到这个URL为他们工作: http : //connectedpawns.wordpress.com/2013/06/11/get-azurepublishsettingsfile-could-not-find-publish-settings -请-运行-input- azurepublishsettingsfile /
预先感谢您提供修补程序的其他build议
您在publishprofile url中有错字 – 以aspx结尾:
https://windows.azure.com/download/publishprofile.aspx
一旦你解决了这个问题,你就可以下载你的configuration文件并导入它。