Powershell docs (and using @docs in general)

i find most LLMs dont handle PowerShell perfectly.
my question is how best to have cursor use @docs of PowerShell.
just adding https://learn.microsoft.com/en-us/powershell/ seems off, mybe https://github.com/MicrosoftDocs/PowerShell-Docs ?
is there a way to track how docs are handling such scrapping effort?

most annoying is syntax issue like

$user:

instead of

$($user):