Puoi usare il comando net
http://www.computerhope.com/nethlp.htm