This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-Type -AssemblyName System.IO.Compression.FileSystem | |
# Initialize a counter for processed files | |
$processedCount = 0 | |
Get-ChildItem -Path "C:\Users\<USERNAME>\.m2\repository" -Recurse -Filter "*.jar" | | |
ForEach-Object { | |
Write-Host "Checking file: $($_.FullName)" -ForegroundColor Green | |
try { | |
# Increment the counter for each file processed |