尋找您的雲端標識碼
本文說明如何使用系統管理員入口網站或特殊許可權端點 (PEP) 取得您的雲端標識碼。 雲端標識碼是追蹤從特定縮放單位上傳之支持數據的唯一標識碼。 上傳診斷記錄以進行支援分析時,雲端標識符會將記錄與該縮放單位產生關聯。
使用系統管理員入口網站
開啟系統管理員入口網站。
選取 區域管理。
選取 [屬性],然後複製 [戳記雲端識別碼]。
使用具特殊許可權的端點
開啟具有提升權限的 PowerShell 視窗,然後執行以下的腳本。 視您的環境需求替換 PEP VM 的 IP 位址和雲端管理員的憑證:
$ipAddress = "<IP ADDRESS OF THE PEP VM>" # You can also use the machine name instead of IP here. $password = ConvertTo-SecureString "<CLOUD ADMIN PASSWORD>" -AsPlainText -Force $cred = New-Object -TypeName System.Management.Automation.PSCredential ("<DOMAIN NAME>\CloudAdmin", $password) $session = New-PSSession -ComputerName $ipAddress -ConfigurationName PrivilegedEndpoint -Credential $cred -SessionOption (New-PSSessionOption -Culture en-US -UICulture en-US) $stampInfo = Invoke-Command -Session $session { Get-AzureStackStampInformation } if ($session) { Remove-PSSession -Session $session } $stampInfo.CloudID