List Group Info and Group Membership of a (Remote) Computer (VB Script/WMI)

Category:
Network/Internet
Type:
Snippets
Difficulty:
Intermediate
Author:
Francis Danta

Version Compatibility: Visual Basic 6, Visual Basic Script

More information:
The snippet below is an example of listing group info and membership information on a local or remote machine.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: