I used that and it's close to what I want... But not exactly. That gives me a list of all 128 classes and my selection line prompt is: 129) I think I can figure out the prompt once I completely understand the code. But what I want is to display only the classes that the student is a member too. The AD groups are named the same as the share names. How would I display just those groups instead of the whole file?