Powershell script after user creation

Powershell script after user creation

Hello,

I sent an email to support@admanagerplus.com but still have yet to hear back so I wanted to submit my question here in hopes of getting assistance. We currently use a template to create new user accounts, that has been working perfectly. What I want to have accomplished after the creation now is to have a Powershell script create two folders beneath the home folder, we currently can't do that as constituted with ADManager. The two folders are Desktop and Documents, we redirect the user desktops and documents to these two folders respectively.
 
The script runs after user creation but errors out, some of the errors are "New-Item: Access to the path 'Desktop' is denied" "CreateDirectoryUnauthorizedAccessError, and UnathorizedAccessException. I am able to run the script successfully outside of ADManager with the same user account that is set in domain settings, so I know it is not a permissions issue with the account. So it seems like the issue has to do with ADManager, has anyone seen this before?

                New to ADSelfService Plus?