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.
So what do you already have, and where did you get stuck?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi LucD,
Thanks for your response, we have lot of snapshot request on daily basis.
Criteria is VM should not have Old Snapshot, RDM device, and shared disk as well as it should not be more than 2TB.
Hence i need to create PowerShell script for same to minimize my time to do this things manually.
Thanks,
Nilesh pawar.
I asked what do you already have concerning code?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
No Sir,
I don't have any code.
Thanks,
Nilesh Pawar.