Training: Reporting in SQL Monitor. Watch now.
SQL Monitor Powershell cmdlet issue
I'm having trouble setting up access to SQL Monitor via Powershell. I am getting the error "Invoke-RestMethod : Invalid URI: The hostname could not be parsed."
Here is what I have done to get this far:
- downloaded the Powershell module and used Import-Module to activate the command manifest
- generated an authentication token and initialised it
- ran the get-clusters and get-standalonemachines commands
- error is displayed
Any advice on what I need to do to get this working?
Thanks in advance.
0 · Share on Twitter