Example :
The below powershell example search for a specific file in a specified folder and its subfolders and afterwards removes it.
Get-ChildItem -Path “D:\Folder\*” -Include “TestFile.txt” -Recurse | Remove-Item
The below powershell example search for a specific file in a specified folder and its subfolders and afterwards removes it.
Get-ChildItem -Path “D:\Folder\*” -Include “TestFile.txt” -Recurse | Remove-Item