Quantcast
Channel: VMware Communities : Document List - vSphere PowerCLI
Viewing all articles
Browse latest Browse all 379

Get DataStore Usage Report on email.

$
0
0

Hello Friend,

 

Find the attached script to Get DataStore Usage Report on email.

This will give you HTML format report on your email and with RED mark if any datastore is running with less then 20% of free space.

 

Attached file - Datastore_Report.zip

 

Contents of path

DataStoreUsageReport.ps1 - Main script file which need to execute from path.

email_id.txt – Creat .txt file at script location and add recipients email ID in this file.

vc_list.txt – Creat .txt file at script location and add correct VC name from which have to collect datastore details.

\Report - Where output will be save.

Script Description: This script will connect to multiple VCs > colleact Datastore Usage Report > Save OutPut as HTML format > Send email.

Output will show in RED if any datasotre's Free Space % is less then 20

 

Note - Change SMTP server as per your setup.


Viewing all articles
Browse latest Browse all 379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>