PowerAruba / PowerArubaSW

PowerShell module to manage ArubaOS switches
Apache License 2.0
42 stars 9 forks source link

Add function PoE #71

Closed wybaux closed 5 years ago

wybaux commented 5 years ago

Hi,

Do you think it's possible to add in the next release a way to get the statut of the PoE on a port (enable or disable) ?

Thank you,

Nicolas Wybaux

alagoutte commented 5 years ago

Hi Nicolas,

Sure, it will be possible... what do you need ? only Poe Status ? or also the power consumption ?

wybaux commented 5 years ago

Hi Alexis, Yes only the PoE Status should be perfect. A big thank for your great job :)

alagoutte commented 5 years ago

if you want only the status, you can already use the following cmdlet :

((Invoke-ArubaSWWebRequest -method "get" -url "rest/v4/poe/ports").content | ConvertFrom-Json).port_poe
wybaux commented 5 years ago

Thank you, it's working as expected.

alagoutte commented 5 years ago

Thank you, it's working as expected.

Ok, it will be add "later"

alagoutte commented 5 years ago

Hi Nicolas,

PoE cmdlet (Get-ArubaSWPoE/Set-ArubaSWPoE/Get-ArubaSWPoEStats) will be available on new release (0.8) (planned for next weeks...)