jq takes JSON as input and transforms it according to the filters you supply. Since it’s a command-line tool, you can pipe ...
Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.