Solved

Powershell script to create user share on a file server

Posted on 2014-02-19
6
1,273 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

A brief introduction to what I consider to be the best editor for PowerShell.
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

825 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