LucD
Leadership
Leadership

Not exactly sure what you are trying to do, but the block of code in the red box is always executed, independent of the value in $options.

options.jpg

Should that code only be executed when $options is equal to 1?

Also not sure why do the following at the start, before even asking for option 1 or 2?

OPTIONS2.jpg

 


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

Reply
0 Kudos