Microsoft’s Data Collection Tool SDP "Get-psSDP.ps1"
(Support Diagnostic Package) is now available to public on GitHub.
Since 2019 Microsoft CSS (Customer Support Services) is publishing and updating its Data Collection Tool (SDP) on GitHub. This Microsoft internal tool was first released at February 2019 to public. It’s the core Data Collection Tool at Microsoft CSS. This tool was previously send only to Microsoft’s Premier customers with an expire date or usage limitation.
Microsoft CSS was able to set the expire data before sending the Data Collection Tool to its customers to collect the required information for troubleshooting purposes.
Update 16.04.2021 :
Unfortunately, Microsoft has removed its "Get-psSDP.ps1"
Tool from Github and made it Internal Only again. I realized it today. I downloaded "TSS Tools (tss_tools.zip)"
a few month ago which includes “Get-psSDP.ps1” Tool too and sharing it from my Personal Ondrive Share for whom, who are interested in to use it.
TSS Tools Download (Includes Get-psSDP.ps1) : https://1drv.ms/u/s!AkvfHRy8YWW9gZcU4C7d7pm9xC0mHg?e=sLXjMv
Related Articles
1. Microsoft’s Ultimate All-In-One Tracing Tool TSS has been published to public
2. How to collect and analyze a SCOM (System Center Operation Manager) ETL Trace in depth
3. How to analyze Windows Server 2019 and Windows 10 Performance Problems and Bottlenecks
The released version of the SDP tool belongs to the Windows Core and SQL Team. Unfortunately Microsoft didn’t released the Support Diagnostic Package for System Center Products which is sad.
What is psSDP ?
psSDP is basically a collection of Powershell scripts to collect the needed information from the problematic environment. It’s my favorite tool which I use every day to collect the required information from customers environment because I don’t like to analyze events or logs on live production systems.
The usage of the tool is pretty easy.
More information about the usage can be found on GitHub.
Public download: https://github.com/CSS-Windows/WindowsDiag/blob/master/ALL/psSDP/
Usage :
Set-ExecutionPolicy -ExecutionPolicy Bypass -force -Scope Process
and verify with 'Get-ExecutionPolicy -List'
that no ExecutionPolicy with higher precedence is blocking execution of this script.
To start data collection, run in an elevated PowerShell window
.\get-psSDP.ps1 [Net|Dom|CTS|Print|HyperV|Setup|Cluster|Perf|SQLbase|Mini|Nano]
Example for SDP Networking Diagnostic:
.\get-psSDP.ps1 Net
Example for SDP Basic (mini) data collection:
.\get-psSDP.ps1 Mini
In the example below I run the SDP tool with the HyperV switch :
Set-ExecutionPolicy -ExecutionPolicy Bypass -force -Scope Process
.\get-psSDP.ps1 HyperV
The SDP tool creates a *.zip file inside its execution folder and the collected files with the HyperV switch are as follows. The file names are pretty selfdescribing and explains what kind of information it includes.
Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 2/8/2020 8:59 PM Images d----- 2/8/2020 9:00 PM msdbg.HPML310 d----- 2/8/2020 9:00 PM output d----- 2/8/2020 9:00 PM result ------ 2/8/2020 8:37 PM 115522 BPAResults.XML ------ 2/8/2020 8:33 PM 208 EVParseStdout.log -a---- 2/8/2020 9:02 PM 0 files.txt ------ 2/7/2020 10:54 PM 45664 HPML310_0CBC8401-AB31-4954-B2C7-4B4D9C50A26D.xml ------ 2/7/2020 10:26 PM 45566 HPML310_169375AD-29CB-4C0A-AAC1-EBD1ED50AE8D.xml ------ 12/9/2017 4:44 AM 44502 HPML310_8DF08069-4DB2-43E9-82AC-CCE26D55A562.xml ------ 2/8/2020 8:24 PM 20514 HPML310_BCDEdit.TXT ------ 2/8/2020 8:25 PM 177776 HPML310_DevCon.txt ------ 2/8/2020 8:25 PM 5481 HPML310_DhcpClient_reg_.TXT ------ 2/8/2020 8:23 PM 8054 HPML310_DiscoveryReport.xml ------ 2/8/2020 8:23 PM 187 HPML310_DiscoveryStatus.xml ------ 7/16/2016 4:21 PM 824 HPML310_DnsClient_HostsFile.TXT ------ 2/8/2020 8:25 PM 6700 HPML310_DnsClient_info_pscmdlets.TXT ------ 2/8/2020 8:25 PM 2108 HPML310_DnsClient_ipconfig-displaydns.TXT ------ 2/8/2020 8:25 PM 1298 HPML310_DnsClient_netsh_dnsclient-show-state.TXT ------ 2/8/2020 8:25 PM 3413 HPML310_DnsClient_reg_.TXT ------ 2/8/2020 8:33 PM 16273 HPML310_DOSDev.txt ------ 2/8/2020 8:36 PM 75546 HPML310_DumpReport.htm ------ 2/8/2020 8:36 PM 2706 HPML310_DumpReport.txt ------ 2/8/2020 8:36 PM 4121 HPML310_DumpReport.XML ------ 2/8/2020 8:24 PM 4641958 HPML310_evt_Application.csv ------ 2/8/2020 8:24 PM 9506816 HPML310_evt_Application.evtx ------ 2/8/2020 8:24 PM 5424907 HPML310_evt_Application.txt ------ 2/8/2020 8:33 PM 12987 HPML310_evt_HyperVCompute-Admin.csv ------ 2/8/2020 8:33 PM 69632 HPML310_evt_HyperVCompute-Admin.evtx ------ 2/8/2020 8:33 PM 17170 HPML310_evt_HyperVCompute-Admin.txt ------ 2/8/2020 8:33 PM 72302 HPML310_evt_HyperVCompute-Operational.csv ------ 2/8/2020 8:33 PM 1118208 HPML310_evt_HyperVCompute-Operational.evtx ------ 2/8/2020 8:33 PM 90345 HPML310_evt_HyperVCompute-Operational.txt ------ 2/8/2020 8:33 PM 18510 HPML310_evt_HyperVHypervisor-Admin.csv ------ 2/8/2020 8:33 PM 69632 HPML310_evt_HyperVHypervisor-Admin.evtx ------ 2/8/2020 8:33 PM 22533 HPML310_evt_HyperVHypervisor-Admin.txt ------ 2/8/2020 8:33 PM 20573 HPML310_evt_HyperVHypervisor-Operational.csv ------ 2/8/2020 8:33 PM 69632 HPML310_evt_HyperVHypervisor-Operational.evtx ------ 2/8/2020 8:33 PM 25953 HPML310_evt_HyperVHypervisor-Operational.txt ------ 2/8/2020 8:33 PM 321785 HPML310_evt_HyperVVMMS-Admin.csv ------ 2/8/2020 8:33 PM 1118208 HPML310_evt_HyperVVMMS-Admin.evtx ------ 2/8/2020 8:33 PM 388803 HPML310_evt_HyperVVMMS-Admin.txt ------ 2/8/2020 8:33 PM 3332 HPML310_evt_HyperVVMMS-Networking.csv ------ 2/8/2020 8:33 PM 69632 HPML310_evt_HyperVVMMS-Networking.evtx ------ 2/8/2020 8:33 PM 4479 HPML310_evt_HyperVVMMS-Networking.txt ------ 2/8/2020 8:33 PM 1159 HPML310_evt_HyperVVMMS-Operational.csv ------ 2/8/2020 8:33 PM 69632 HPML310_evt_HyperVVMMS-Operational.evtx ------ 2/8/2020 8:33 PM 1922 HPML310_evt_HyperVVMMS-Operational.txt ------ 2/8/2020 8:33 PM 537417 HPML310_evt_HyperVVmSwitch-Operational.csv ------ 2/8/2020 8:33 PM 1118208 HPML310_evt_HyperVVmSwitch-Operational.evtx ------ 2/8/2020 8:33 PM 604067 HPML310_evt_HyperVVmSwitch-Operational.txt ------ 2/8/2020 8:33 PM 114012 HPML310_evt_HyperVWorker-Admin.csv ------ 2/8/2020 8:33 PM 1118208 HPML310_evt_HyperVWorker-Admin.evtx ------ 2/8/2020 8:33 PM 117703 HPML310_evt_HyperVWorker-Admin.txt ------ 2/8/2020 8:26 PM 1956 HPML310_evt_SMBClient-Audit_evt_.csv ------ 2/8/2020 8:26 PM 69632 HPML310_evt_SMBClient-Audit_evt_.evtx ------ 2/8/2020 8:26 PM 2771 HPML310_evt_SMBClient-Audit_evt_.txt ------ 2/8/2020 8:26 PM 246406 HPML310_evt_SMBClient-Connectivity_evt_.csv ------ 2/8/2020 8:26 PM 1118208 HPML310_evt_SMBClient-Connectivity_evt_.evtx ------ 2/8/2020 8:26 PM 271639 HPML310_evt_SMBClient-Connectivity_evt_.txt ------ 2/8/2020 8:26 PM 206045 HPML310_evt_SMBServer-Operational_evt_.csv ------ 2/8/2020 8:26 PM 1118208 HPML310_evt_SMBServer-Operational_evt_.evtx ------ 2/8/2020 8:26 PM 227352 HPML310_evt_SMBServer-Operational_evt_.txt ------ 2/8/2020 8:26 PM 149586 HPML310_evt_SMBServer-Security_evt_.csv ------ 2/8/2020 8:26 PM 1118208 HPML310_evt_SMBServer-Security_evt_.evtx ------ 2/8/2020 8:26 PM 160062 HPML310_evt_SMBServer-Security_evt_.txt ------ 2/8/2020 8:24 PM 5402018 HPML310_evt_System.csv ------ 2/8/2020 8:24 PM 12652544 HPML310_evt_System.evtx ------ 2/8/2020 8:24 PM 7215293 HPML310_evt_System.txt ------ 2/8/2020 8:26 PM 569828 HPML310_evt_WindowsFirewallWithAdvancedSecurity-Firewall_evt_.csv ------ 2/8/2020 8:26 PM 1118208 HPML310_evt_WindowsFirewallWithAdvancedSecurity-Firewall_evt_.evtx ------ 2/8/2020 8:26 PM 586301 HPML310_evt_WindowsFirewallWithAdvancedSecurity-Firewall_evt_.txt ------ 2/8/2020 8:33 PM 0 HPML310_FCInfo.txt ------ 2/8/2020 8:25 PM 1782172 HPML310_Firewall_info_pscmdlets.TXT ------ 2/8/2020 8:25 PM 4372 HPML310_Firewall_netsh_advfirewall-consec-rules-active.TXT ------ 2/8/2020 8:25 PM 2176 HPML310_Firewall_netsh_advfirewall-consec-rules.TXT ------ 2/8/2020 8:25 PM 176128 HPML310_Firewall_netsh_advfirewall-export.wfw ------ 2/8/2020 8:25 PM 162608 HPML310_Firewall_netsh_advfirewall-firewall-rules-active.TXT ------ 2/8/2020 8:25 PM 407364 HPML310_Firewall_netsh_advfirewall-firewall-rules.TXT ------ 2/8/2020 8:25 PM 16668 HPML310_Firewall_netsh_advfirewall.TXT ------ 2/8/2020 8:25 PM 21820 HPML310_Firewall_netsh_firewall.TXT ------ 2/8/2020 8:25 PM 14692 HPML310_Firewall_netsh_wfp-show-boottimepolicy.XML ------ 2/8/2020 8:25 PM 1459813 HPML310_Firewall_netsh_wfp-show-filters.XML ------ 2/8/2020 8:25 PM 1445 HPML310_Firewall_netsh_wfp-show-netevents.XML ------ 2/8/2020 8:25 PM 2192 HPML310_Firewall_netsh_wfp-show-options.TXT ------ 2/8/2020 8:25 PM 2382 HPML310_Firewall_netsh_wfp-show-security-netevents.TXT ------ 2/8/2020 8:25 PM 1946726 HPML310_Firewall_netsh_wfp-show-state.XML ------ 2/8/2020 8:25 PM 484 HPML310_Firewall_netsh_wfp-show-sysports.XML ------ 2/8/2020 8:26 PM 344866 HPML310_Firewall_reg_.TXT ------ 2/8/2020 8:34 PM 30199 HPML310_Hotfixes.CSV ------ 2/8/2020 8:34 PM 35880 HPML310_Hotfixes.TXT ------ 2/8/2020 8:34 PM 3986 HPML310_HotfixRollups.TXT ------ 2/8/2020 8:31 PM 184362 HPML310_Hyper-VBasicInfo.txt ------ 2/8/2020 8:33 PM 2006 HPML310_HyperVNetworking_HNV.TXT ------ 2/8/2020 8:32 PM 352118 HPML310_HyperVNetworking_info_pscmdlets.TXT ------ 2/8/2020 8:31 PM 67962 HPML310_HyperVNetworking_reg_.TXT ------ 2/8/2020 8:33 PM 122 HPML310_HyperVReplica_info.TXT ------ 2/8/2020 8:37 PM 162021 HPML310_HyperV_BPAInfo.HTM ------ 2/8/2020 8:26 PM 2416 HPML310_IPsec_info_pscmdlets.TXT ------ 2/8/2020 8:26 PM 3940 HPML310_IPsec_netsh_dynamic.TXT ------ 2/8/2020 8:26 PM 8192 HPML310_IPsec_netsh_LocalPolicyExport.ipsec ------ 2/8/2020 8:26 PM 814 HPML310_IPsec_netsh_static.TXT ------ 2/8/2020 8:26 PM 4307 HPML310_IPsec_reg_.TXT ------ 2/8/2020 8:36 PM 3590 HPML310_MachineInfo.xml ------ 2/8/2020 8:25 PM 1638584 HPML310_msinfo32.nfo ------ 2/8/2020 8:25 PM 554672 HPML310_msinfo32.txt ------ 2/8/2020 8:36 PM 408122 HPML310_NetworkAdapters_info_pscmdlets.TXT ------ 2/8/2020 8:36 PM 116094 HPML310_NetworkAdapters_reg_output.TXT ------ 2/8/2020 8:26 PM 1148 HPML310_NetworkLBFO_info.TXT ------ 2/8/2020 8:36 PM 20643840 HPML310_Performance Counter.blg ------ 2/8/2020 8:36 PM 56860 HPML310_ProcessesPerfInfo.htm ------ 2/8/2020 8:36 PM 4252 HPML310_ProcessesPerfInfo.TXT ------ 2/8/2020 8:36 PM 15219 HPML310_ProcessesPerfInfo.XML ------ 2/8/2020 8:23 PM 293658 HPML310_PStat.txt ------ 2/8/2020 8:24 PM 22846 HPML310_reg_CurrentVersion.TXT ------ 2/8/2020 8:34 PM 380998 HPML310_reg_Enum.TXT ------ 2/8/2020 8:34 PM 654 HPML310_reg_iSCSI.TXT ------ 2/8/2020 8:34 PM 8192 HPML310_reg_MountedDevices.HIV ------ 2/8/2020 8:34 PM 4946 HPML310_reg_MountedDevices.TXT ------ 2/8/2020 8:24 PM 24016 HPML310_reg_Policies.txt ------ 2/8/2020 8:24 PM 28672 HPML310_reg_Print.HIV ------ 2/8/2020 8:33 PM 132541 HPML310_reg_Print.txt ------ 2/8/2020 8:24 PM 20207 HPML310_reg_Recovery.TXT ------ 2/8/2020 8:24 PM 1226 HPML310_reg_Startup.TXT ------ 2/8/2020 8:34 PM 654 HPML310_reg_Storage.TXT ------ 2/8/2020 8:24 PM 23041 HPML310_reg_TermServices.txt ------ 2/8/2020 8:24 PM 150628 HPML310_reg_TimeZone.txt ------ 2/8/2020 8:24 PM 49753 HPML310_reg_Uninstall.TXT ------ 2/8/2020 8:36 PM 856348 HPML310_report.html ------ 2/8/2020 8:26 PM 1736 HPML310_RPC_netsh_output.TXT ------ 2/8/2020 8:26 PM 4800 HPML310_RPC_reg.TXT ------ 2/8/2020 8:23 PM 155753 HPML310_schtasks.csv ------ 2/8/2020 8:23 PM 380435 HPML310_schtasks.txt ------ 2/8/2020 8:26 PM 5868 HPML310_SmbClient_info_net.TXT ------ 2/8/2020 8:26 PM 4786 HPML310_SmbClient_info_pscmdlets.TXT ------ 2/8/2020 8:26 PM 17897 HPML310_SmbClient_reg_output.TXT ------ 2/8/2020 8:26 PM 4688 HPML310_SmbServer_info_net.txt ------ 2/8/2020 8:26 PM 6738 HPML310_SmbServer_info_pscmdlets.TXT ------ 2/8/2020 8:26 PM 13381 HPML310_SmbServer_reg_output.TXT ------ 2/8/2020 8:33 PM 44964 HPML310_StorageEventLogs.htm ------ 2/8/2020 8:33 PM 62272 HPML310_StorageInfo.LOG ------ 2/8/2020 8:23 PM 127549 HPML310_sym_Drivers.CSV ------ 2/8/2020 8:23 PM 242749 HPML310_sym_Drivers.TXT ------ 2/8/2020 8:23 PM 3322 HPML310_sym_MS_iSCSI.CSV ------ 2/8/2020 8:23 PM 6504 HPML310_sym_MS_iSCSI.TXT ------ 2/8/2020 8:23 PM 19310 HPML310_sym_PrintSpool.CSV ------ 2/8/2020 8:23 PM 30994 HPML310_sym_PrintSpool.TXT ------ 2/8/2020 8:23 PM 1278960 HPML310_sym_Process.CSV ------ 2/8/2020 8:23 PM 1607808 HPML310_sym_Process.txt ------ 2/8/2020 8:23 PM 1096 HPML310_sym_ProgramFiles_SYS.CSV ------ 2/8/2020 8:23 PM 2334 HPML310_sym_ProgramFiles_SYS.TXT ------ 2/8/2020 8:23 PM 51138 HPML310_sym_RunningDrivers.CSV ------ 2/8/2020 8:23 PM 97640 HPML310_sym_RunningDrivers.TXT ------ 2/8/2020 8:24 PM 921202 HPML310_sym_System32_DLL.CSV ------ 2/8/2020 8:24 PM 1730039 HPML310_sym_System32_DLL.TXT ------ 2/8/2020 8:23 PM 183662 HPML310_sym_System32_EXE.CSV ------ 2/8/2020 8:23 PM 352176 HPML310_sym_System32_EXE.TXT ------ 2/8/2020 8:23 PM 1650 HPML310_sym_System32_SYS.CSV ------ 2/8/2020 8:23 PM 3380 HPML310_sym_System32_SYS.TXT ------ 2/8/2020 8:24 PM 752956 HPML310_sym_SysWOW64_DLL.CSV ------ 2/8/2020 8:24 PM 1412997 HPML310_sym_SysWOW64_DLL.TXT ------ 2/8/2020 8:23 PM 112059 HPML310_sym_SysWOW64_EXE.CSV ------ 2/8/2020 8:23 PM 215494 HPML310_sym_SysWOW64_EXE.TXT ------ 2/8/2020 8:23 PM 1351 HPML310_sym_SysWOW64_SYS.CSV ------ 2/8/2020 8:23 PM 2850 HPML310_sym_SysWOW64_SYS.TXT ------ 2/8/2020 8:26 PM 39530 HPML310_TCPIP_info.TXT ------ 2/8/2020 8:26 PM 6998 HPML310_TCPIP_info_pscmdlets_IPv6Transition.TXT ------ 2/8/2020 8:26 PM 35100 HPML310_TCPIP_info_pscmdlets_net.TXT ------ 2/8/2020 8:27 PM 80760 HPML310_TCPIP_netsh_info.TXT ------ 2/8/2020 8:26 PM 7446 HPML310_TCPIP_OFFLOAD.TXT ------ 2/8/2020 8:26 PM 20244 HPML310_TCPIP_reg_output.TXT ------ 7/16/2016 4:21 PM 17463 HPML310_TCPIP_ServicesFile.TXT ------ 2/8/2020 8:24 PM 74 HPML310_verifier.txt ------ 2/8/2020 8:34 PM 15586 HPML310_VSSAdmin.TXT ------ 2/8/2020 8:34 PM 758217 HPML310_WindowsUpdate.ETW_Converted.txt ------ 2/8/2020 8:34 PM 6393 HPML310_WinRM_WSMAN_Bin.CSV ------ 2/8/2020 8:34 PM 13199 HPML310_WinRM_WSMAN_Bin.TXT ------ 2/8/2020 8:27 PM 1708 HPML310_WinsClient_nbtstat-output.TXT ------ 2/8/2020 8:37 PM 254276 HPML310__SUMMARY__RTM_x64.txt ------ 2/8/2020 8:36 PM 3590 MachineInfo.xml ------ 2/8/2020 8:36 PM 125644 memsnap.txt ------ 2/8/2020 8:43 PM 42891596 msdbg.HPML310-2020.02.08_08.37.56.zip ------ 3/20/2019 4:31 PM 220 results.xml ------ 2/8/2020 8:43 PM 1168290 stdout.log ------ 2/8/2020 8:33 PM 4263936 SystemLogLast30days.evtx ------ 2/8/2020 8:23 PM 2088 _psSDP_DiagnosticVersion.TXT
Good luck !