VMware Cloud Community
vmk2014
Expert
Expert
Jump to solution

unused lun script failed to execute.

Hi All,

I was trying to find out the unused Lun for reclamation, but it fails to execute with below error, Any help will be much appreciated.

https://www.lucd.info/2010/04/09/lun-report-datastores-rdms-and-node-visibility/

vmk2014_0-1629740801497.png

 

Thanks

vmk

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Looks like you didn't assign a value to $clusname.
How did you run/call the code?
It does require a parameter, see the Usage section for examples.


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

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

Looks like you didn't assign a value to $clusname.
How did you run/call the code?
It does require a parameter, see the Usage section for examples.


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

0 Kudos
vmk2014
Expert
Expert
Jump to solution

LucD,

Thank you. It worked for me. It was my mistake.

Thanks

vmk

0 Kudos