Windows Server: How to Run SDDC Diagnostics in PowerShell and Windows Admin Center
Summary: This article gives steps for running the Software-Defined Datacenter (SDDC) Diagnostics tool in PowerShell and Windows Admin Center (WAC).
Instructions
SDDC Diagnostics is a powerful tool for collecting configuration information from a Windows failover cluster, including Storage Spaces Direct (S2D) and Azure Stack HCI (ASHCI) clusters.
Running SDDC Diagnostics in PowerShell
Copy the following command into an elevated PowerShell window to run SDDC Diagnostics tool in PowerShell.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;Invoke-Expression('$module="SDDC";$repo="PowershellScripts"'+(new-object net.webclient).DownloadString('https://raw.githubusercontent.com/DellProSupportGse/Tools/main/RunSDDC.ps1'));Invoke-RunSDDC
This command checks for an existing installation of the SDDC Diagnostics tool on one or more nodes. If an existing installation is found, it removes and replaces that version with the latest version of the tool.
The SDDC Diagnostics tool takes several minutes to run. It generates a .zip file inside the C:\Users\<current account> folder with a name beginning with HealthTest. This file may be several hundred MB in size, depending on the number of nodes in the cluster.
Running SDDC Diagnostics in Windows Admin Center (WAC)
-
From All connections, click the cluster to bring it up in Cluster Manager.
-
Click Diagnostics in the left pane, then click Yes to enable CredSSP.
-
Under the header Collect diagnostic information, click the Collect button. The data-collection process takes several minutes to complete.
-
When data collection has completed, click the dropdown menu under View collected diagnostic information.
-
Select the wanted file (typically the most recent) and click Download (.zip) to download it.
-
Disabling CredSSP is recommended for security reasons. To do so, perform these steps:
-
Click Cluster Manager on the top bar of WAC and select Server Manager from the dropdown menu.
-
Click the node on which CredSSP is enabled in step 2.
-
On the Overview screen of the node, click Disable CredSSP. Click Yes to confirm.
-