Create directory for an AD user in Powershell

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • STYLUS3530
    PCHF Member
    • May 2022
    • 1

    #1

    Create directory for an AD user in Powershell

    Hello Folks

    In our company we have an AD, in this a Home folder is created for every user, we do this thru the AD, the drive we create is an H-drive (the letter H for Home). We make it under the following form β€œ\XYZ\Home$\VNAME”.

    Now, sometimes I have to create an extra folder (let’s call them β€œEXTRAMAP”) for the users. So I would like to create the following folder β€œ\XYZ\Home$\VNAME\EXTRAMAP”.

    Does anyone have an idea how I can do this in Powershell? At the moment I usually create this folder on their own PC.

    Thanks in advance

    STYLUS3530
  • veeg
    PCHF Director
    • Jul 2016
    • 8976

    #2
    As per rule: 15. PCHF can not and will not offer advice for business use or financial gain. PCHF only offers assistance for personal use.

    Comment

    Working...