Powershell script for NT sharing and security.
I need a powershell script for applying NT sharing and security for a application folder.
I want to share this folder with "xyz" name, and give sharing permissions to aspnet and domain admins.
Then, in security tab I want to add aspnet and user.
The folder D:\Appfolder contains a sub folder i.e. D:\Appfolder\bin
this \bin folder should have read-only permission for aspnet group which we added in security tab.
I need this urgently , please help me out.
Thanks in Advance!!!!