VMware Cloud Community
Kevin_Hamilton
Contributor
Contributor

PS Script to extract specific detail help please

Hello, I am looking to create a script that provides a number of specific parameters. I have picked up quite a few good scripts over time but struggling to put them together to get what I need. Wonder if anyone out there either has a script that does it or can help.

I want to extract into csv the name of all my VM Guests, the number and size of VMDK files associated, the partition sizes within these vmdk files then space used and available within those partitions.

I have a number of vmdk files that have multiple partitions within them and need to capture this as well. Any help appreciated.

Cheers

H

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership

Have you looked at Hugo's script in his Get VMware Disk Usage with Powershell article ?


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

Reply
0 Kudos
Kevin_Hamilton
Contributor
Contributor

LucD, once again to the rescue ty.

Hugo top man for producing the script it is exactly what I need. Hope you see the post.

Cheers

H

Reply
0 Kudos