You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding Remote Support cmdlets for Stack HCI (#16819)
* Adding Remote Support cmdlet to install, remove, enable, disable, get access and get session history.
* Adding logging setup and removing -ListAvailable flag for checking module
* Added cmdlet help, fixed signature issues, made SasCredential optional parameter
* Updating help for cmdlet
* Output type of cmdlet to Boolean
* Updated release notes for Remote Support cmdlet change
* Moving DownloadCacheDirectory and RemoteSupportPAckageUri variables to required function.
Co-authored-by: Yunchi Wang <[email protected]>
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
Enables Remote Support allows authorized Microsoft Support users to remotely access the device for diagnostics or repair depending on the access level granted.
4638
+
4639
+
.PARAMETERAccessLevel
4640
+
Controls the remote operations that can be performed. This can be either Diagnostics or DiagnosticsAndRepair.
4641
+
4642
+
.PARAMETERExpireInDays
4643
+
Optional. Defaults to 8 hours.
4644
+
4645
+
.PARAMETERSasCredential
4646
+
Hybrid Connection SAS Credential.
4647
+
4648
+
.PARAMETERAgreeToRemoteSupportConsent
4649
+
Optional. If set to true then records user consent as provided and proceeds without prompt.
4650
+
4651
+
.EXAMPLE
4652
+
The example below enables remote support for diagnostics only for 1 day. After expiration no more remote access is allowed.
Disable Remote Support revokes all access levels previously granted. Any existing support sessions will be terminated, and new sessions can no longer be established.
Session history represents all remote accesses made by Microsoft Support for either Diagnostics or DiagnosticsRepair based on the Access Level granted.
4751
+
4752
+
.PARAMETERSessionId
4753
+
Optional. Session Id to get details for a specific session. If omitted then lists all sessions starting from date 'FromDate'.
4754
+
4755
+
.PARAMETERIncludeSessionTranscript
4756
+
Optional. Defaults to false. Indicates whether to include complete session transcript. Transcript provides details on all operations performed during the session.
4757
+
4758
+
.PARAMETERFromDate
4759
+
Optional. Defaults to last 7 days. Indicates date from where to start listing sessions from until now.
4760
+
4761
+
.EXAMPLE
4762
+
The example below retrieves session history with transcript details for the specified session.
Register-AzStackHCI creates a Microsoft.AzureStackHCI cloud resource representing the on-premise cluster and registers the on-premise cluster with Azure.
0 commit comments