Forum Discussion

Dino_Vo's avatar
Dino_Vo
Copper Contributor
Jun 15, 2021
Solved

Locate a file - Powershell

Hi all, I have a user that reported missing one of the files in his "Documents library". Issue is: *he doesn't remember full name correctly - only that file ends up with word: "ABC"; *2nd issue i...
  • Schnittlauch's avatar
    Jun 16, 2021
    Hi Dino_Vo ,

    It's probably impossible to find anything when he doesn't know it for 100%, because powershell only search for 100% files. But you can try out this:

    get-childitem -recurse -Path C:\ -name *ABC* -include *.txt

    (for sure you can remove the -include or change the file format to fe. .docx etc.)

    Best regards,
    Schnittlauch

    "First, No system is safe. Second, Aim for the impossible. Third, no Backup, no Mercy" - Schnittlauch

    My answer helped you? Don't forget to leave a like. Also mark the answer as solved when your problem is solved. 🙂

Resources