2014-06-17 128 views
1

我是Microsoft Azure新預覽門戶用戶。我正在考慮運行Microsoft Windows Server 2012 R2 Datacenter。我將使用我的虛擬機來支持Boinc Grid Project。Azure舊門戶虛擬機遠程連接登錄失敗

我已將Microsoft Windows Server添加到我的Microsoft Azure。但是,我無法連接到我的Microsoft Azure的遠程桌面。它會導致登錄失敗。我嘗試了我的Microsoft Azure密碼和Windows Server帳戶的密碼。但是,它沒有改變...

我沒有嘗試在Microsoft PowerShell上進行連接。我已經記錄了我的協議,私人端口和網站名稱。如果他們需要,我可以給他們。

你能幫我連接遠程桌面嗎?

順便說一句,我的虛擬機網站是;

boincgrid.cloudapp.net

等待你的幫助,有一個很好的和Ideaflow天。

使用的指令由@湯姆凡Gramberen

我採納了你的指示後,在2019年6月22日編輯。但是,我一步一步堆積起來;

我完成了http://blogs.technet.com/b/keithmayer/archive/2014/04/03/microsoft-azure-virtual-machines-reset-forgotten-admin-password-with-windows-powershell.aspx中的所有指令。但是,連接到我的Microsoft Azure虛擬機後,我無法Get-AzureVM ...

我在PowerShell中的輸出是;

PS C:\> Get-Module Azure 

PS C:\> Set-ExecutionPolicy RemoteSigned 

PS C:\> Import-Module Azure 

PS C:\> Add-AzureAccount 

PS C:\> Get-AzureSubsription | Format-Table -Property SubsriptionName 
Get-AzureSubsription : The term 'Get-AzureSubsription' is not recognized as the name of a cm 
dlet, function, script file, or operable program. Check the spelling of the name, or if a pa 
th was included, verify that the path is correct and try again. 
At line:1 char:1 
+ Get-AzureSubsription | Format-Table -Property SubsriptionName 
+ ~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : ObjectNotFound: (Get-AzureSubsription:String) [], CommandNotF 
    oundException 
    + FullyQualifiedErrorId : CommandNotFoundException 


PS C:\> Get-AzureSubscription | Format-Table -Property SubscriptionName 

SubscriptionName                    
----------------                    
Pay-As-You-Go                    
Pay-As-You-Go                    
Pay-As-You-Go                    
Pay-As-You-Go                    
Pay-As-You-Go                    
Pay-As-You-Go                    
Pay-As-You-Go                    



PS C:\> $subsription = "Pay-As-You-Go" 

PS C:\> Select-AzureSubscription -Default $subscription 
Select-AzureSubscription : Cannot validate argument on parameter 'SubscriptionName'. The arg 
ument is null or empty. Provide an argument that is not null or empty, and then try the comm 
and again. 
At line:1 char:35 
+ Select-AzureSubscription -Default $subscription 
+         ~~~~~~~~~~~~~ 
    + CategoryInfo   : InvalidData: (:) [Select-AzureSubscription], ParameterBinding 
    ValidationException 
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.WindowsAzure.Comma 
    nds.Profile.SelectAzureSubscriptionCommand 


PS C:\> Select-AzureSubscription -Default $subscription 
Select-AzureSubscription : Cannot validate argument on parameter 'SubscriptionName'. The arg 
ument is null or empty. Provide an argument that is not null or empty, and then try the comm 
and again. 
At line:1 char:35 
+ Select-AzureSubscription -Default $subscription 
+         ~~~~~~~~~~~~~ 
    + CategoryInfo   : InvalidData: (:) [Select-AzureSubscription], ParameterBinding 
    ValidationException 
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.WindowsAzure.Comma 
    nds.Profile.SelectAzureSubscriptionCommand 


PS C:\> $subscription = 「ENTER YOUR SUBSCRIPTION NAME HERE」 

Select-AzureSubscription –Default $subscription 
Select-AzureSubscription : The subscription named 'ENTER YOUR SUBSCRIPTION NAME HERE' cannot 
be found. Use Set-AzureSubscription to initialize the subscription data. 
At line:3 char:1 
+ Select-AzureSubscription –Default $subscription 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : CloseError: (:) [Select-AzureSubscription], Exception 
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.SelectAzureSubscripti 
    onCommand 


PS C:\> $subscription = 「Pay-As-You-Go」 

Select-AzureSubscription –Default $subscription 

PS C:\> $adminCredentials = Get-Credential -Message "Message new Admin credentals" 

PS C:\> 
Get-AzureVM | 
Where-Object -Property Status -EQ "ReadyRole" | 
Out-GridView -Title "Select a VM …" -PassThru | 
ForEach-Object { 
    $VM = Get-AzureVM -Name $_.Name -ServiceName $_.ServiceName 
    If ($VM.VM.ProvisionGuestAgent) { 
     Set-AzureVMAccessExtension -VM $VM ` 
      -UserName $adminCredentials.UserName ` 
      -Password $adminCredentials.GetNetworkCredential().Password ` 
      -ReferenceName "VMAccessAgent" | 
     Update-AzureVM 
     Restart-AzureVM -ServiceName $VM.ServiceName -Name $VM.Name 
    } else { 
     Write-Output "$($VM.Name): VM Agent Not Installed" 
    } 
} 

PS C:\> Get-AzureVm -ServiceName "boincgrid" ' | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
The string is missing the terminator: '. 
    + CategoryInfo   : ParserError: (:) [], ParentContainsErrorRecordException 
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString 


PS C:\> Get-AzureVm -ServiceName "boincgrid" ' | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus"; 
The string is missing the terminator: '. 
    + CategoryInfo   : ParserError: (:) [], ParentContainsErrorRecordException 
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString 


PS C:\> Get-AzureVm -ServiceName "boincgrid" ' | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
The string is missing the terminator: '. 
    + CategoryInfo   : ParserError: (:) [], ParentContainsErrorRecordException 
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString 


PS C:\> Get-AzureVm -ServiceName "boincgrid" ' | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus"; 
The string is missing the terminator: '. 
    + CategoryInfo   : ParserError: (:) [], ParentContainsErrorRecordException 
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString 


PS C:\> Get-AzureVm -ServiceName "boincgrid" ' | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"} 
The string is missing the terminator: '. 
    + CategoryInfo   : ParserError: (:) [], ParentContainsErrorRecordException 
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString 


PS C:\> Get-AzureVm -ServiceName "boincgrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
WARNING: No deployment found in service: 'boincgrid'. 

PS C:\> Get-AzureVm -ServiceName "VIRTUAL MACHINES" -Name "BoincGrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
Get-AzureVm : BadRequest: The hosted service name is invalid. 
At line:1 char:1 
+ Get-AzureVm -ServiceName "VIRTUAL MACHINES" -Name "BoincGrid" | Format-Table -au ... 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : CloseError: (:) [Get-AzureVM], CloudException 
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzu 
    reVMCommand 


PS C:\> Get-AzureVm -ServiceName "VIRTUAL MACHINE" -Name "BoincGrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
Get-AzureVm : BadRequest: The hosted service name is invalid. 
At line:1 char:1 
+ Get-AzureVm -ServiceName "VIRTUAL MACHINE" -Name "BoincGrid" | Format-Table -aut ... 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : CloseError: (:) [Get-AzureVM], CloudException 
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzu 
    reVMCommand 


PS C:\> Get-AzureVm -ServiceName "Virtual Machine" -Name "BoincGrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
Get-AzureVm : BadRequest: The hosted service name is invalid. 
At line:1 char:1 
+ Get-AzureVm -ServiceName "Virtual Machine" -Name "BoincGrid" | Format-Table -aut ... 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : CloseError: (:) [Get-AzureVM], CloudException 
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzu 
    reVMCommand 


PS C:\> Get-AzureVm -ServiceName "VIRTUAL MACHINE" -Name "boincgrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
Get-AzureVm : BadRequest: The hosted service name is invalid. 
At line:1 char:1 
+ Get-AzureVm -ServiceName "VIRTUAL MACHINE" -Name "boincgrid" | Format-Table -aut ... 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : CloseError: (:) [Get-AzureVM], CloudException 
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzu 
    reVMCommand 


PS C:\> Get-AzureVm -ServiceName "Boincgrid" -Name "boincgrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
WARNING: No deployment found in service: 'Boincgrid'. 

PS C:\> Get-AzureVm -ServiceName "boincgrid" -Name "boincgrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
WARNING: No deployment found in service: 'boincgrid'. 

PS C:\> 

我的虛擬機和雲服務名稱是BoincGrid。

我已經編輯在的Microsoft Developer Network自己定的命令......

http://msdn.microsoft.com/en-us/library/dn495236.aspx

他們的榜樣命令是:

Get-AzureVm -ServiceName "MySvc1" ' | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 

我的編輯命令;

Get-AzureVm -ServiceName "boincgrid" -Name "boincgrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 

並且輸出是;

警告:在服務中找不到部署:'boincgrid'。

我無法連接我的虛擬機...

等待你的幫助,有一個很好的和Ideaflow天。

+0

如果您可以登錄到管理門戶,那麼您可以更改RDP密碼。服務 - >配置 - >遠程(在底部) - >給新的密碼。 – sudhAnsu63

+0

sudhAnsu63,我找不到在哪裏更改RDP服務的密碼。 我正在使用舊門戶,並且無法在Azure門戶中找到服務部分。 我認爲很難在舊門戶中更改RDP的密碼。 謝謝。 –

+0

@sarialp_mustafa,我在我的Azure虛擬機上安裝了BOINC,但它永遠不會連接抓取新單元。我錯過了什麼? – JoshYates1980

回答

0

我按照你的指示。但是,我一步一步堆積起來;

我完成了http://blogs.technet.com/b/keithmayer/archive/2014/04/03/microsoft-azure-virtual-machines-reset-forgotten-admin-password-with-windows-powershell.aspx中的所有指令。但是,連接到我的Microsoft Azure虛擬機後,我無法Get-AzureVM ...

我在PowerShell中的輸出是;

PS C:\> Get-Module Azure 

PS C:\> Set-ExecutionPolicy RemoteSigned 

PS C:\> Import-Module Azure 

PS C:\> Add-AzureAccount 

PS C:\> Get-AzureSubsription | Format-Table -Property SubsriptionName 
Get-AzureSubsription : The term 'Get-AzureSubsription' is not recognized as the name of a cm 
dlet, function, script file, or operable program. Check the spelling of the name, or if a pa 
th was included, verify that the path is correct and try again. 
At line:1 char:1 
+ Get-AzureSubsription | Format-Table -Property SubsriptionName 
+ ~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : ObjectNotFound: (Get-AzureSubsription:String) [], CommandNotF 
    oundException 
    + FullyQualifiedErrorId : CommandNotFoundException 


PS C:\> Get-AzureSubscription | Format-Table -Property SubscriptionName 

SubscriptionName                    
----------------                    
Pay-As-You-Go                    
Pay-As-You-Go                    
Pay-As-You-Go                    
Pay-As-You-Go                    
Pay-As-You-Go                    
Pay-As-You-Go                    
Pay-As-You-Go                    



PS C:\> $subsription = "Pay-As-You-Go" 

PS C:\> Select-AzureSubscription -Default $subscription 
Select-AzureSubscription : Cannot validate argument on parameter 'SubscriptionName'. The arg 
ument is null or empty. Provide an argument that is not null or empty, and then try the comm 
and again. 
At line:1 char:35 
+ Select-AzureSubscription -Default $subscription 
+         ~~~~~~~~~~~~~ 
    + CategoryInfo   : InvalidData: (:) [Select-AzureSubscription], ParameterBinding 
    ValidationException 
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.WindowsAzure.Comma 
    nds.Profile.SelectAzureSubscriptionCommand 


PS C:\> Select-AzureSubscription -Default $subscription 
Select-AzureSubscription : Cannot validate argument on parameter 'SubscriptionName'. The arg 
ument is null or empty. Provide an argument that is not null or empty, and then try the comm 
and again. 
At line:1 char:35 
+ Select-AzureSubscription -Default $subscription 
+         ~~~~~~~~~~~~~ 
    + CategoryInfo   : InvalidData: (:) [Select-AzureSubscription], ParameterBinding 
    ValidationException 
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.WindowsAzure.Comma 
    nds.Profile.SelectAzureSubscriptionCommand 


PS C:\> $subscription = 「ENTER YOUR SUBSCRIPTION NAME HERE」 

Select-AzureSubscription –Default $subscription 
Select-AzureSubscription : The subscription named 'ENTER YOUR SUBSCRIPTION NAME HERE' cannot 
be found. Use Set-AzureSubscription to initialize the subscription data. 
At line:3 char:1 
+ Select-AzureSubscription –Default $subscription 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : CloseError: (:) [Select-AzureSubscription], Exception 
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.SelectAzureSubscripti 
    onCommand 


PS C:\> $subscription = 「Pay-As-You-Go」 

Select-AzureSubscription –Default $subscription 

PS C:\> $adminCredentials = Get-Credential -Message "Message new Admin credentals" 

PS C:\> 
Get-AzureVM | 
Where-Object -Property Status -EQ "ReadyRole" | 
Out-GridView -Title "Select a VM …" -PassThru | 
ForEach-Object { 
    $VM = Get-AzureVM -Name $_.Name -ServiceName $_.ServiceName 
    If ($VM.VM.ProvisionGuestAgent) { 
     Set-AzureVMAccessExtension -VM $VM ` 
      -UserName $adminCredentials.UserName ` 
      -Password $adminCredentials.GetNetworkCredential().Password ` 
      -ReferenceName "VMAccessAgent" | 
     Update-AzureVM 
     Restart-AzureVM -ServiceName $VM.ServiceName -Name $VM.Name 
    } else { 
     Write-Output "$($VM.Name): VM Agent Not Installed" 
    } 
} 

PS C:\> Get-AzureVm -ServiceName "boincgrid" ' | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
The string is missing the terminator: '. 
    + CategoryInfo   : ParserError: (:) [], ParentContainsErrorRecordException 
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString 


PS C:\> Get-AzureVm -ServiceName "boincgrid" ' | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus"; 
The string is missing the terminator: '. 
    + CategoryInfo   : ParserError: (:) [], ParentContainsErrorRecordException 
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString 


PS C:\> Get-AzureVm -ServiceName "boincgrid" ' | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
The string is missing the terminator: '. 
    + CategoryInfo   : ParserError: (:) [], ParentContainsErrorRecordException 
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString 


PS C:\> Get-AzureVm -ServiceName "boincgrid" ' | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus"; 
The string is missing the terminator: '. 
    + CategoryInfo   : ParserError: (:) [], ParentContainsErrorRecordException 
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString 


PS C:\> Get-AzureVm -ServiceName "boincgrid" ' | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"} 
The string is missing the terminator: '. 
    + CategoryInfo   : ParserError: (:) [], ParentContainsErrorRecordException 
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString 


PS C:\> Get-AzureVm -ServiceName "boincgrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
WARNING: No deployment found in service: 'boincgrid'. 

PS C:\> Get-AzureVm -ServiceName "VIRTUAL MACHINES" -Name "BoincGrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
Get-AzureVm : BadRequest: The hosted service name is invalid. 
At line:1 char:1 
+ Get-AzureVm -ServiceName "VIRTUAL MACHINES" -Name "BoincGrid" | Format-Table -au ... 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : CloseError: (:) [Get-AzureVM], CloudException 
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzu 
    reVMCommand 


PS C:\> Get-AzureVm -ServiceName "VIRTUAL MACHINE" -Name "BoincGrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
Get-AzureVm : BadRequest: The hosted service name is invalid. 
At line:1 char:1 
+ Get-AzureVm -ServiceName "VIRTUAL MACHINE" -Name "BoincGrid" | Format-Table -aut ... 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : CloseError: (:) [Get-AzureVM], CloudException 
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzu 
    reVMCommand 


PS C:\> Get-AzureVm -ServiceName "Virtual Machine" -Name "BoincGrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
Get-AzureVm : BadRequest: The hosted service name is invalid. 
At line:1 char:1 
+ Get-AzureVm -ServiceName "Virtual Machine" -Name "BoincGrid" | Format-Table -aut ... 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : CloseError: (:) [Get-AzureVM], CloudException 
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzu 
    reVMCommand 


PS C:\> Get-AzureVm -ServiceName "VIRTUAL MACHINE" -Name "boincgrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
Get-AzureVm : BadRequest: The hosted service name is invalid. 
At line:1 char:1 
+ Get-AzureVm -ServiceName "VIRTUAL MACHINE" -Name "boincgrid" | Format-Table -aut ... 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : CloseError: (:) [Get-AzureVM], CloudException 
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzu 
    reVMCommand 


PS C:\> Get-AzureVm -ServiceName "Boincgrid" -Name "boincgrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
WARNING: No deployment found in service: 'Boincgrid'. 

PS C:\> Get-AzureVm -ServiceName "boincgrid" -Name "boincgrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 
WARNING: No deployment found in service: 'boincgrid'. 

PS C:\> 

我的虛擬機和雲服務名稱是BoincGrid。

我已經編輯在的Microsoft Developer Network自己定的命令......

http://msdn.microsoft.com/en-us/library/dn495236.aspx

他們的榜樣命令是:

Get-AzureVm -ServiceName "MySvc1" ' | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 

我editedcommand是;

Get-AzureVm -ServiceName "boincgrid" -Name "boincgrid" | Format-Table -auto "Name",@{Expression={$_.InstanceUpgradeDomain};Label="UpgDom";Align="Right"},"InstanceStatus" 

並且輸出是;

警告:在服務中找不到部署:'boincgrid'。

我無法連接我的虛擬機...

等待你的幫助,有一個很好的和Ideaflow天。

0

您可以在New Azure管理門戶上嘗試以下步驟以更改密碼。 我已無法再訪問舊門戶,因此在新窗口提供幫助。 我認爲你可以切換到新門戶。

Step 1& 2 Choose your Service Step 3 Configure Step 4 Choose Remote Option Step 5 Change Password Here

+0

我試過新的預覽門戶,它說我必須使用舊的完整門戶虛擬機。 –

+0

我嘗試了新的預覽門戶,它說我必須爲虛擬機使用老式門戶。 @ sudhAnsu63建議您添加新的遠程桌面,或使用新密碼重新配置它。但我找不到應該在哪裏做。我找不到配置遠程桌面窗口。你能幫助我如何打開這個遠程桌面配置窗口。看來,該系統有RDP密碼的錯誤。 不錯的ideaflow天。 –