Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Script - NetApp new user auto provisioning and share creation

2014-11-13
11:00 AM
3,738 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Script Parses AD for newly created or changed users where that new user's homedirectory is set to the matching home directory server this script is creating shares for. Creates CIFS share, copies default folder structure from template, set user perms to modify, e-mails notification.
Many configurable options. Will auto select volume with most available free space to rotate which volume new users are on, or allows a regex pattern match for first letter of user's directory name to put them on Users1, Users2, etc., accordingly.
I've been using this awhile but just cleaned it up a bit and posted.
https://gallery.technet.microsoft.com/scriptcenter/NetApp-new-user-auto-9efa1918
Please let me know if you experience any issues.
** The first time you run you will see it trying to recreate the shares, which will not actually work or make any changes to the share, but the XML files will then retain and this will not happen in runs thereafter.
View By:
- View By:
-
Powershell Toolkit
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dane -
As always.. Nice job... Thanks for helping contribute
I know they buried our forums so hopefully people can still find this thread and find it useful
-josh
