It's pretty simple, just launch PowerShell, install, and execute the Get-AutopilotDiagnosticsCommunity
script.
powershell.exe
Set-ExecutionPolicy -Scope 'Process' -ExecutionPolicy 'Unrestricted'
Install-Script -Name Get-AutopilotDiagnosticsCommunity
Get-AutopilotDiagnosticsCommunity.ps1 -Online