I know there's a way to do this from a GUI (Setting up an anonymous Windows Server 2008 network share?), but I am writing a script so I want to see if you can do it without the GUI.
In other words, I want to create a share from the command line, and then be able to access that share from another box on the same network without the share prompting me for a username and password. I just want to be able to access it by doing
net use \\<boxhostingshare>\<sharename>.