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