Powershell

POWERSHELL TRICKS

GET ITEM IN A FOLDER

  1. Go to the folder you want to look for put in quotes when cd. e.g: cd “C:/Users/Folder I want to access”
  2. Close all the proccesses that could contain the folder you want to iterate. E.g Visual Studio
  3. Get-ChildItem -recurse | Select-String -pattern “Put here the string you want to look for” | gro

Join the newsletter