Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

Powershell - Modifying permissions on a subfolder?

$
0
0

This one seems so simple, but couldnt find any info on it

i'm trying to get permissions on a subfolder of the home directory

I'm getting the home directory with 

$users = get-aduser Blah -properties HomeDirectory

get-acl -path $users.HomeDirectory\my documents

Having trouble with the syntax, i can't put it in "" otherwise it doesnt work either anyone have any ideas?


Viewing all articles
Browse latest Browse all 2562

Trending Articles



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