As a follow-up of my exploration of the HPE PDU REST API I wanted to create a Powershell module as a wrapper for the API.
I've previously written a post on how to create a Powershell module as a wrapper for an API here. The PDU module will be built in the same way where there will be a private function that handles the actual API requests
Lately I've been playing around with the Redfish based REST API in the HPE G2 Metered and Switched Power Distribution Units.
Through the API you are able to pull some details about the PDU as well as different utilization data. Based on your PDUs capabilities you should also be able to control different outlets. My …