Powershell Cheatsheet
Working with files find files with spec Name Get-ChildItem -Path C:\ -Include password.txt -File -Recurse -ErrorAction SilentlyContinue find Files typ *.bak Get-ChildItem -Path C:\ -Include *.bak* -File -Recurse -ErrorAction SilentlyContinue cat in PS Get-Content "C:\Program Files\root.txt" Search for strings in…