After you have saved the code, you can
run it by double clicking on it. The first box that will
appear will be the ENTER PATH box. By default it will have
the name of the local server already entered.

Selecting OK will allow the script to continue, and it will output the roles it finds on the server that you
entered.

If the server entered has no roles or some other network
error is encountered, you will receive an
error message. (An example of the output from a Windows 2000
Professional system not in a domain is below.)