Hi,
I need a script through which i can check below things first.
1) Whether size of disk is more than 2TB or less.
2) VM having shared disk attached or not.
3) VM having RDM disk or not.
IF RDM DISK, Shared disks are not attached and VM size should not be more than 2 TB then only we allowed for snapshot with Description "Snapshot will be deleted after 48 hr"
Any help will be appreciated.
Thanks,
Nilesh Pawar.