power-bi-diagnosticslisted
Install: claude install-skill mudassir09/pbi-enterprise-cli
# power-bi-diagnostics
`pbi doctor`, connection troubleshooting, pythonnet/AMO resolution, and error playbooks.
## Quick Reference
```bash
# Full setup check
pbi doctor
pbi --backend mock doctor # test CLI works without Desktop
pbi --json doctor # machine-readable output for CI
# Port and connection scanning
pbi connect # auto-detect Desktop, show model info
pbi connect --port 52697 # explicit port
# Trace and benchmark (performance sub-commands)
pbi trace start --query "EVALUATE Sales" --duration 30s
pbi benchmark --measure "Total Revenue" --iterations 10
```
---
## Worked Example 1: Interpret pbi doctor output
```
pbi doctor
┌─────────────────────────┬──────────┬────────────────────────────────────��─────┐
│ Check │ Status │ Detail │
├─────────────────────────┼──────────┼──────────────────────────────────────────┤
│ Python version │ pass │ 3.11.9 │
│ pythonnet │ warn │ Not installed (Windows only) │
│ sqlalchemy [sources] │ warn │ Not installed (optional) │
│ fastapi [server] │ pass │ 0.136.3 │
│ Platform │ warn │ linux (TOM backend requires Windows) │
└─────────────────────────┴──────────┴──────────────────────────────────────────┘
```
**Reading the output:**
- `pass` �� dependency presen