I need more help in this case, to do something similar to a grep between two patterns: I need to look for Everyone Allow FullControl
Say I have this:
Path : Microsoft.PowerShell.Core\FileSystem::\\eiesc1\Service_Legal
Access : BUILTIN\Administrators Allow FullControl
-----------------------
Path : Microsoft.PowerShell.Core\FileSystem::\\eiesc1\balco
Access : Everyone Allow 268435456
Everyone Allow FullControl
-----------------------
Path : Microsoft.PowerShell.Core\FileSystem::\\eiesc1\BCDRPlanning
Access : Everyone Allow FullControl
Everyone Allow 268435456
-----------------------
so I would get something similar to this:
Path : Microsoft.PowerShell.Core\FileSystem::\\eiesc1\balco
Everyone Allow FullControl
-----------------------
Path : Microsoft.PowerShell.Core\FileSystem::\\eiesc1\BCDRPlanning
Access : Everyone Allow FullControl
I did not know how to do this so I come here