brianaddicks / PowerAlto

Palo Alto powershell
poweralto.com
MIT License
39 stars 15 forks source link

Invoke-WebRequest failed for Get-PaAddressGroup #17

Open Keksss888 opened 3 years ago

Keksss888 commented 3 years ago

I'm trying to get Object groups, but got an error. First I used Get-PaDevice and connection was established, but when I run Get-PaAddressGroup, I get an error about connection. Is there something wrong or am I using it incorrectly?

Invoke-WebRequest: C:\xxxxxx\PaloAltoDevice.Class.ps1:193:26 Line | 193 | $rawResult = Invoke-WebRequest @QueryParams | ~~~~~~ | A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.