Sample Scripts for
Managing
vRealize Operations
Manager with
VMware PowerCLI
To help you get
started with
VMware PowerCLI , this documentation provides a set of sample scripts
that illustrate basic and advanced tasks in
vRealize Operations
Manager .
Connect to a vRealize Operations Manager Server To run vRealize Operations Manager cmdlets, you must establish a connection to a vRealize Operations Manager server and a vCenter Server system that is monitored by the vRealize Operations Manager instance. Check Memory Waste Levels You can check the memory waste levels of a virtual machine host for a specific period of time. For example, you can check the memory waste levels in the last month. Get Remediation Recommendations You can get remediation recommendations for a specific resource, such as a problematic virtual machine. Change Alert Ownership You can retrieve all active alerts for a specific datastore and assign the alert ownership to your user profile. Create a Report for Problematic Hosts You can create a report for virtual machine hosts that have problematic health status.