hawker91

updated

5 years ago

H

hawker91

1 Rookie

15 Posts

0

1551

February 2nd, 2022 07:00

Powershell command invoke-webrequest doesnt work with idrac8 but works with idrac9

Hi All,

my task is a simple one. To get a web response from all idrac 9 and idrac 8 in our environment via powershell. The below command works with with idrac9 but for some reason it does not work at all with idrac 8. Ive tried using IP and FQDN's. They work from a browser on the same machine but not in powershell. Anyone know where I am going wrong?

 

$Response = Invoke-WebRequest -Uri " https://10.10.47.36" -SkipCertificateCheck

Invoke-WebRequest:
Not Found

Access Error: 404 -- Not Found