Copilot vs Claude to create ps1 scripts for EntraID and M365
Lately, I often find myself having to query Active Directory, and especially Entra ID and M365, using PowerShell scripts—sometimes quite complex ones—to retrieve information and generate reports.
With Copilot, it's a pain; before getting to something that actually works, it takes at least 5-6 prompts to fix errors in the script's construction.
With Claude, for some reason, everything feels much more instantaneous, and generally, everything runs correctly on the first try.
Is it just my impression? Am I prompting Copilot incorrectly while Claude just digests everything? What is your experience?