I found these wonderful modules/functions:
http://gallery.technet.microsoft.com/scriptcenter/f75801e7-169a-4737-952c-1341abea5823
and am using them in my script for Windows 7 PC builds, but have run into a problem. Although the modules work great for adding accounts and adding those users to local groups, I found that the directory structure for each of these new accounts is not actually created until I've logged in as each respective user, therefore later commands in my script to copy files to the Desktop or the Startup folder do not work because the directories/folders do not yet exist. Anyone know a way around this? Or a way to "initialize" each of these accounts without having to log out as Administrator and log into each account I've added before continuing on?
Thank you.