automatic creation of share folder on share

Welcome Forums General PowerShell Q&A automatic creation of share folder on share

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
3 years, 9 months ago.

  • Author
    Posts
  • #22935

    Participant
    Points: 0
    Rank: Member

    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?

  • #22959

    Keymaster
    Points: 1,704
    Helping HandTeam Member
    Rank: Community Hero

    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 GPAnswers.com or ServerFault.com.

The topic ‘automatic creation of share folder on share’ is closed to new replies.