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.
This time I also wanted to go a bit further and split out the functions into individual script files that the module root file will load.
With individual files the maintenance of the functions as well as the split between private and public functions would be easier.… continue reading