Link to home
Start Free TrialLog in
Avatar of Carl Billington
Carl BillingtonFlag for Australia

asked on

Change Home folder path in Active Directory using PowerShell

Using PowerShell I would like to change the Home folder path in Active Directory for all users that are a member of a Security Group called; "New Home"
   
I would like the Home folder path to be; Connect to H: To: \\server\%username%$
 
Thanks for your help!
Avatar of Muhammad Burhan
Muhammad Burhan
Flag of Pakistan image

ASKER CERTIFIED SOLUTION
Avatar of Jeremy Weisinger
Jeremy Weisinger

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Carl Billington

ASKER

Does this new Group Policy feature work on Windows 7 too?
 
I will test this Powershell script tomorrow, thank you!
Avatar of Jeremy Weisinger
Jeremy Weisinger

The GPO requires the workstation be Windows 8/2012 or newer.
Perfect!
Glad to help!