Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Create folders and subfolders and provide the permissions

$
0
0

I need to create a folder and subfolders, share the subfolder, and provide the permission.

For Ex:-

1. Create the folder within C:\ -- Kozos

2. Create a folder within Kozos -- Company1

3. Create a folder with Company1 -- Employees

and share the Employees as //Server/Employees and add the Employees group in the security tab and provide full control access to it.

Can it be done using powershell?


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>