Solved

Powershell script to create user share on a file server

Posted on 2014-02-19
6
1,212 Views
Last Modified: 2014-10-25
looking for a powershell script to do the following

1. create a home share for a user

such as \\fileserver\users\jsmith

2. Provide the following permission

full access to domain admin
Read/write/modify for the user
remove everyone group
0
Comment
Question by:ARM2009
6 Comments
 
LVL 7

Expert Comment

by:Milind Koyande
ID: 39872910
0
 
LVL 9

Accepted Solution

by:
VirastaR earned 250 total points
ID: 39873173
0
 
LVL 4

Expert Comment

by:michaelalphi
ID: 39876079
Use windows explorer to create a folder on the hard disk. In this example, the folder is named Home.
Share the home folder with full control share permissions for the everyone group.
To do so, right-click the folder, click properties, click the sharing tab,
Click share this folder, and click OK.
Check this KB for detail info : http://support.microsoft.com/kb/298403
Start the Active Directory Users and Computers snap-in.
Locate the user account for which you want to set up the home folder. By default, all users are in the Users container.
Right-click the user account for which you want to specify a home folder, click properties click the Profile tab, click Connect, specify a drive letter, type a path in the To box, and then click OK.
0
 

Author Comment

by:ARM2009
ID: 39883181
checking and testing to see if link provided by

 VirastaR
Milind Koyande

helps... will post results shortly.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help you understand what HashTables are and how to use them in PowerShell.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now