Scripting creation of a new user from a template

Hello all, this is my first post, thank you for your time in reading in advance.

I am trying to automate our new user creation process through powershell/the active roles module and I am having some issues with the scripting to do so. Is there any documentation or a complete example script of a new user creation based on a template? I have found the copy.ps1 script in the SDK but I'm getting some errors just trying to create a test user account from a profile. I made it past a few of them but seem to have hit a wall on this error. Any help with this specifically, an example script that is known to be working, or a white paper on the module would be greatly appreciated. 

Error I am seeing:

Exception calling "SetInfo" with "0" argument(s): "Corporate policy violation. The 'Logon Name (pre-Windows 2000)' property value does not conform to corporate policy.
The specified value 'DOMAIN\username' does not conform to policy requirements.

I have tried "username" only in this field as well.

Code is the default copy.ps1 script from the SDK with just the variables it lists modified to match my company environment.