I have a need to script the generation of a vROPS report on a semi-regular basis into a .csv file for ingestion into another tool (Splunk). Utilizing a script created by Ryan Kowalewski over at https://ryanjan.uk/2018/05/16/running-vrops-reports-using-powercli/ I am able to generate the report and download it as .csv for use elsewhere.
I'm trying to figure out a method of cleaning up afterword utilizing the vROPS API to include in the script to automate the deletion of the generated report after download. Anyone know how this can be done?
Thank you.