Might try it this way as well, so your not testing if a blank group exists.
zf
Main Topics
Browse All TopicsI have a script that i have created below which is intended to grab microsoft cluster information. I hacked it together from fragments on the net, but I am having trouble nailing down the logic. I'm sure its some vbscript issue that I just don't understand.
I supply a cluster name, and the script is suppose to collect all the groups from that cluster and store it in an array. For some reason it keeps inserting a blank group into the list of groups. Why is that?
My end result is to get a script that collects all the groups of a cluster, denotes their owner, and their status (online, offline, or partially online)
I've attached what I have so far. To begin in just need to figure out the storing of the cluster groups issue.
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: zoofanPosted on 2009-05-06 at 13:53:39ID: 24319533
three quick things I saw,
= false <--should this be true?
) = false And GRP.Name <> "") Then change to ) = false And TRIM(GRP.Name) <> "")
one:
line 14
should come before the exit function(it wont ever execute)
two:
Line 59
checkGroupExists(GRP.Name)
three:
line 59
If (checkGroupExists(GRP.Name
If (checkGroupExists(GRP.Name
dont have a cluster to test sorry, hope it helps.
zf