VMware Cloud Community
JDLangdon
Expert
Expert
Jump to solution

Help with Script

I'm looking for a script that will tell me if there are any VM's (vmdk's) within my storage that are not in my inventory.  I know the answer should be that there are no VM's on the disks that are not in inventory but I know that's not the case.

jd

Reply
0 Kudos
1 Solution

Accepted Solutions
schepp
Leadership
Leadership
Jump to solution

The RVTools or the vEcoShell/PowerGUI can report Zombie / Orphaned vmdks.

Regards

View solution in original post

Reply
0 Kudos
3 Replies
schepp
Leadership
Leadership
Jump to solution

The RVTools or the vEcoShell/PowerGUI can report Zombie / Orphaned vmdks.

Regards

Reply
0 Kudos
JDLangdon
Expert
Expert
Jump to solution

Thanks.

Reply
0 Kudos
mattboren
Expert
Expert
Jump to solution

Hello, JDLangdon-

You might also have a look at LucD's "Orphaned files and folders -- Spring cleaning" post.  There he posted a PowerShell/PowerCLI function to handle situations like this.

Reply
0 Kudos