Here is a PowerShell script GitHub repository I created. The goal of the repo is to provide functional OME API scripts for information gather mostly. These (for now) would be a tool used to provide physical server information to other automation tasks.
The first addition (Get-OMEDevice.ps1) was really created as a MAC address harvesting mechanism to provide to other automation tasks, mainly in the server provisioning workflows.
You could use this also to quickly get ServiceTags or other device information from OME as a quick ad-hoc toolset.
I could also see this as a part of a asset management or auditing process or to simply pipe information into a CMDB.
The open and close sessions pieces are pretty interesting I think.
I hope to add more to this repo in the near future.
Enjoy!
https://github.com/mccbryan3/OME_PowerShell_Functions
Dell also has a repo with PowerShell examples here.