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?