VMware Cloud Community
joshp
Enthusiast
Enthusiast
Jump to solution

Find unused VMs in datastore

I am interested if anyone has a powershell script to list virtual machines found in a datastore that are not currently in vCenter's inventory? Basically, I have a problem where users often delete VM's from the vCenter inventory but leave the VM on disk. Thanks in advance for your comments and suggestions.

VCP 3, 4 www.vstable.com
Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Don't know what post you found, but perhaps also have a look at my Raiders of the Lost VMX post Smiley Wink

____________

Blog: LucD notes

Twitter: lucd22


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

Reply
0 Kudos
3 Replies
joshp
Enthusiast
Enthusiast
Jump to solution

I was able to find a recent post that answers my question.

VCP 3, 4 www.vstable.com
Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

Don't know what post you found, but perhaps also have a look at my Raiders of the Lost VMX post Smiley Wink

____________

Blog: LucD notes

Twitter: lucd22


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
joshp
Enthusiast
Enthusiast
Jump to solution

Thanks, your post (and script) is exactly the post I was referring to. btw, thank you.

VCP 3, 4 www.vstable.com
Reply
0 Kudos