Can anyone tell me why this 'else' statement is not working?…

This post was originally published on this site

Hi all,

 

I have the following script to retrieve the tags from various vcenter servers however I cannot see why the ‘else’ statement in line 27 is throwing an error as not recognised?

 

I have checked the structure of the code many times now and cannot see any problems

 

Code attached

 

Many thanks in advance guys!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.