Set homefolder to local path "empty" bulk with ADuserlist.txt

Welcome Forums General PowerShell Q&A Set homefolder to local path "empty" bulk with ADuserlist.txt

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

1 year, 12 months ago.

  • Author
  • #65353

    Points: 0
    Rank: Member


    I need the following powershell script:
    This is the wanted 2 step setup, which i cant code myself:

    In Active AD profile – Profile tab – Homefolder

    the profiles is currently mapped with the drived to Z: to thier "$username$
    I want this change to local path: "Empty Field" instead, by powershell.

    I need a powershell script which take a textfile with all usernames, like ADuser_login_name.txt and
    change this from Z: "Username" to thier local path: "Empty Field" instead, for each AD loginname on the list.

    And then make all users (ADuser_login_name.txt) a member of a new OU also.

    Can anyone help me on this?

  • #65365

    Points: 305
    Helping Hand
    Rank: Contributor

    Not sure if you're asking someone to do it pro bono or not.
    But usually if you want someone to do all the work you need hire that someone.
    It's not a big undertaking in terms of code but the data in the text file need to be checked, the code need to be tested and so forth.
    You probably want someone to call if you have further questions/enhancement requirements and so on.

The topic ‘Set homefolder to local path "empty" bulk with ADuserlist.txt’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort