?
Solved

Script to create a folder,ask for share name,share permissions and security permissions.

Posted on 2007-07-22
11
Medium Priority
?
490 Views
Last Modified: 2010-03-05
Hi,

I need a Script to create a folder,ask for share name,share permissions and security permissions.
A way that it asks for the foldername,then the sharename,then asks for the users that need access for the share permissions,then asks for the security permissions.

Regards
Sharath
0
Comment
Question by:bsharath
  • 5
  • 4
10 Comments
 
LVL 43

Expert Comment

by:Rob
ID: 19542330
What will the script 'ask' to get this information? database?
0
 
LVL 11

Author Comment

by:bsharath
ID: 19542738
On the local machine it needs to create this folder with permissions.
0
 
LVL 43

Expert Comment

by:Rob
ID: 19544171
You can use the scripting host to create the directory with specific permissions

Create the folder:
http://msdn2.microsoft.com/en-us/library/7kby5ae3.aspx

Share the folder:
http://www.microsoft.com/technet/scriptcenter/guide/sas_fil_grpq.mspx?mfr=true

Permissions:
http://www.experts-exchange.com/Security/Win_Security/Q_21019361.html

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 11

Author Comment

by:bsharath
ID: 19544783
Thanks.But can i have a script which does all the 3 steps in 1 script.?
0
 
LVL 43

Expert Comment

by:Rob
ID: 19544807
Yeah combine the code from all 3
0
 
LVL 11

Author Comment

by:bsharath
ID: 19564509
Can you help me in this...
0
 
LVL 11

Author Comment

by:bsharath
ID: 19587768
ANY HELP...
0
 
LVL 43

Expert Comment

by:Rob
ID: 19595615
I haven't done what you are suggesting but have pointed you in the right direction.  You would benefit more from you combining the information I posted above than have me do it for you :)
0
 
LVL 11

Author Comment

by:bsharath
ID: 19597453
tagit
Thanks for the links.But i have seen them before and was not able to get them togeather.Thats the reason i posted them here.If possiblem can you help me in combining them.
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 19627555
Closed, 500 points refunded.
ee.ai.construct
ee community support moderator
replacement part #xm34
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

My previous article  (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html)detailed one possible method to get SCCM 2007 installed an…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

615 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