Append security rights to a folder via Powershell
问题 Trying my hand at Powershell and I'm trying to figure out how to add specific permissions to our user account. The code below will add the service account to the folders Security tab, however it will not adjust the permissions. Any idea why? #variables $okeeffename = "WCFService" $domain = "InsideServices.dev.com" $okeeffedirectory = "d:\webcontent\$domain\$okeeffename" #create webcontent and application folders Write-Host "Creating directories" -ForegroundColor Yellow New-Item -Path