I had the need to quickly list the users who had DialIn access to the domain. This can be achieved using the netsh command. More details can be found in the Help and Support Center for “netsh commands for remote access” but the command line you need is netsh ras show user mode=report >ras.txt (assuming you want the file exported to ras.txt