Hi,
I try to reset PoE but don't work
From doc :
POST | .../poe/ports/{PortPoe.port_id}/reset | N/A | N/A | Reset the PoE controller to which the port belongs. |
i try this :
Invoke-ArubaSWWebRequest -method "post" -uri "rest/v4/poe/ports/5/reset"
using PowerArubaSW
and i get the always the last POST request...
StatusCode : 201
StatusDescription : Created
Content : {"uri":"/login-sessions","cookie":"sessionId=Ur1lQKWWWB1AIQnOIpxdJQxim9aBKvyyilWQPY532eAuDBGifaCbJ410vpffYES"}
RawContent : HTTP/1.1 201 Created
Server: eHTTP
Server: v2.0
Connection: close
Transfer-Encoding: chunked
RequestId:
Content-Type: application/json
{"uri":"/login-sessions","cookie":"sessionId=Ur1lQKWWWB...
Headers : {[Server, System.String[]], [Connection, System.String[]], [Transfer-Encoding, System.String[]], [RequestId, System.String[]]...}
Images : {}
InputFields : {}
Links : {}
RawContentLength : 110
RelationLink : {}
Tested with Aruba 2530 with last firmware (16.08.0002)