Hello I could really use help from the users.
I need to convert a pipeline command to an actual powershell script
My pipeline
Get-ADUser UserName | ForEach { DSACLS $_.DistinguishedName } | Where {$_.Contains("Deny")}
What I need is a script that will result in a CSV file with the information of EVERY user that has passes the WHERE clause.
Could really use help on this.
Captain-James