Solved

Powershell script to create user share on a file server

Posted on 2014-02-19
6
1,180 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
Comment Utility
0
 
LVL 9

Accepted Solution

by:
VirastaR earned 250 total points
Comment Utility
0
 
LVL 4

Expert Comment

by:michaelalphi
Comment Utility
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
Comment Utility
checking and testing to see if link provided by

 VirastaR
Milind Koyande

helps... will post results shortly.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Microsoft Windows Server Update Service (WSUS) is free for everyone, but it lacks of some desirable features like send an e-mail to the administrator with the status of all computers on the WSUS server. This article is based on my PowerShell script …
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 …

771 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

11 Experts available now in Live!

Get 1:1 Help Now