Hi everybody.
I know it's a bit out of scope, but i thought that maybe someone had an idea anyway :)
I have an Ruckus 7341 AP. I would like through powershell to login and pull some information about connected clients. Then I thought i could use Invoke-Webrequest for that the same way i have done with many other things. But when i try it keeps getting me the login page. Here's what i tried:
$result = Invoke-WebRequest -Uri "http://192.168.1.2" $result.Forms[0].Fields.'login-username' = "super" $result.Forms[0].Fields.password = "*******" Invoke-WebRequest "http://192.168.1.2/forms/doLogin" -SessionVariable th -Body $result.Forms[0] -Method Post $data = Invoke-WebRequest -Uri "https://192.168.1.2/index.asp" -WebSession $th
Any thoghts?