Powershell Delete Files in Sub Directories Posted byhightechhomeandofficeMarch 1, 2024Posted inUncategorized Get-ChildItem -Path ‘C:\path\*.old’ -Recurse | Remove-item Gets a list of all files in a folder and sub folders with the extension .old and then deletes them. Share this:TwitterFacebookLike Loading... Related