PowerAlto icon indicating copy to clipboard operation
PowerAlto copied to clipboard

Get-PaHaSetup is not connecting and returing any info

Open pmcevoy opened this issue 3 years ago • 0 comments

Hi there, I've managed to connect to my PA firewall:

> Get-PaDevice -DeviceAddress 52.215.XXX.XXX -Credential $cred -SkipCertificateCheck

Port                  : 443
Protocol              : https
TargetVsys            : shared
Name                  : AWS-FW-DEV-DMZ-EUW1-01
...

However when I call Get-PaHaSetup I get:

Invoke-WebRequest: C:\Users\peter.mcevoy\OneDrive - ding\Documents\PowerShell\Modules\PowerAlto\4.0.64\Classes\Main\PaloAltoDevice.Class.ps1:230
Line |
 230 |              $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.

Am I doing something wrong in the way I use the module?

Sincrerely Pete

pmcevoy avatar Apr 26 '22 09:04 pmcevoy