Command line: create Windows share and grant rights
I'd need to create a Windows share named which foldername is deploymentshare, the sharename should be deploymentshare$ (hidden share), only domain admins should have full access + the local administrator of the machine on which the share is.
I know it is something with net share /grant then set calcs ...?
If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.