Powershell alle Verzeichnisse ohne Vererbung aktiviert

März 25th, 2021 by Jan Gabriel Leave a reply »

Get-ChildItem C:\TMP -Recurse -Directory -ErrorAction SilentlyContinue | WGet-ChildItem C:\TMP -Recurse -Directory -ErrorAction SilentlyContinue | get-acl | Where {$_.AreAccessRulesProtected} | Select @{Name=“Path“;Expression={Convert-Path $_.Path}}

Advertisement

Schreibe einen Kommentar