VL-Programmieren/clear.ps1

10 lines
354 B
PowerShell
Raw Permalink Normal View History

2024-05-02 14:52:16 +00:00
<#
.SYNOPSIS
Delete all compiled files of the current folder and its subfolders.
.DESCRIPTION
This script deletes all the compiled files of the current folder and its subfolders.
.EXAMPLE
Delete all compiled files of the current folder and its subfolders.
.\Clear
#>
Get-ChildItem -Path . -Include *.class -File -Recurse | foreach { $_.Delete() }