automatic creation of share folder on share

I know there is a group policy where I can map a specific share. What if I want the group policy to create a folder on that share and map it during log on?

I know there must be a way to do this in PowerShell. Or would I not have to even worry about using PowerShell? Could I just simply specify UNC path in the group policy ‘\servername\share$username’. Should I expect windows to automatically create the folder and map it for the user or is this more complicated?

As far as I know, a GPO can’t create a folder. However, this isn’t really a good forum for GPO questions. PowerShell doesn’t add any capabilities to GPO. You might consider asking at or