Get-AzStackHCIRemoteSupportAccess
取得遠端支援存取權。
語法
Default (預設值)
Get-AzStackHCIRemoteSupportAccess
[-Cluster]
[-IncludeExpired]
[<CommonParameters>]
Description
獲得遠程支持訪問權限。
範例
範例 1:
Get-AzStackHCIRemoteSupportAccess -Cluster
Microsoft.AzureStack.Deployment.RemoteSupport is loaded already ...
Getting RemoteSupport Access on this node
Retrieving Remote Support access. IncludeExpired is set to 'False'
State : Active
CreatedAt : 3/29/2022 10:30:55 AM +00:00
UpdatedAt : 3/29/2022 10:30:55 AM +00:00
TargetService : PowerShell
AccessLevel : Diagnostics
ExpiresAt : 3/30/2022 10:30:55 AM +00:00
SasCredential :
取得叢集的遠端存取
範例2:
Get-AzStackHCIRemoteSupportAccess -Cluster -IncludeExpired
Microsoft.AzureStack.Deployment.RemoteSupport is loaded already ...
Getting RemoteSupport Access on this node
Retrieving Remote Support access. IncludeExpired is set to 'True'
State : Active
CreatedAt : 3/29/2022 10:30:55 AM +00:00
UpdatedAt : 3/29/2022 10:30:55 AM +00:00
TargetService : PowerShell
AccessLevel : Diagnostics
ExpiresAt : 3/30/2022 10:30:55 AM +00:00
SasCredential :
取得跨具有過期項目的叢集的遠端存取
參數
-Cluster
Optional. 預設為 False。 指出是否要跨叢集顯示遠端支援工作階段。
參數屬性
| 類型: | SwitchParameter |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | Named |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-IncludeExpired
Optional. 預設為 False。 指出是否包含過去過期的項目。
參數屬性
| 類型: | SwitchParameter |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | Named |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
CommonParameters
此 Cmdlet 支援常見參數: -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。