Add GetDiagnostics command support