I am trying to retrieve all the PowerBI reports and their users of my organization using Powershell.
On running the following command, GET https://app.powerbi.com/v1.0/myorg/admin/groups?%24top=50, i get the following error.
GET : The term 'GET' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ GET https://api.powerbi.com/v1.0/myorg/admin/groups?%24top=50
+ CategoryInfo : ObjectNotFound: (GET:String) , CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Can someone please help me get this resolved ?