VMware Cloud Community
jvm2016
Hot Shot
Hot Shot
Jump to solution

powercli_methods_continued

Hi Luc ,

This is in continuation to the previous post ...

just thought of checking method for creating snapshot

as per explorer  there is red dot against  description .does it mean if this is not necessary parameter .

i tried to use this without description but the task failed.

pastedImage_1.png

pastedImage_0.png

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Remember that $null is not the same as an empty string.
Try putting $null there


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

View solution in original post

0 Kudos
4 Replies
LucD
Leadership
Leadership
Jump to solution

Yes, the red asterisk indicates that this property is not required.
But be aware that sometimes the API Reference is not always right Smiley Wink


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

0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

Well I tried to run without description parameter and ended in error which is not the case with creating snapshot using gui or properties of

commands.

i find it strange how come VMware documentation is not right sometimes.but as you mentioned I will double check .

0 Kudos
LucD
Leadership
Leadership
Jump to solution

Remember that $null is not the same as an empty string.
Try putting $null there


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

0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

thanks its working now .

0 Kudos