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

Share current folders on a drive

$
0
0

Looking for some help new to powershell.

I am trying to use powershell to turn a current list of folders on a drive into hidden shares with the folder names, and give everyone full permissions to the share. This script would be run locally on the server.

example

folder name test would be shared as $test with everyone full permissions.

Thanks for any help.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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