This script scans remote windows assets Update the settings.xml for your own environment accordingly
- Reads settings.xml for various settings
- Pulls in list of machines within active directory: Note: use the section of the settings.xml to stop scans against desired computers
- Connects to vCenter to pull in VM / infra info: data stores, VMs, esxi level
- Reboots assets with 14 or more days of uptime when run reboot is set to Y (yes)
- Generates a CSV report as well as an HTML formatted email to the receipient specified in the settings.xml
Get-AssetHealth.ps1 -reboot "Y"