mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-12 14:07:20 +02:00
Replaced the done character
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<#
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists unused files in a directory tree
|
||||
.DESCRIPTION
|
||||
@ -10,7 +10,7 @@
|
||||
.EXAMPLE
|
||||
PS> ./list-unused-files.ps1 C:\Windows
|
||||
...
|
||||
✔️ Found 43729 unused files (no access for 100 days) within 📂C:\Windows in 113 sec
|
||||
✅ Found 43729 unused files (no access for 100 days) within 📂C:\Windows in 113 sec
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -34,7 +34,7 @@ try {
|
||||
|
||||
Write-Progress -completed " "
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
"✔️ Found $count unused files (no access for $days days) within 📂$path in $elapsed sec"
|
||||
"✅ Found $count unused files (no access for $days days) within 📂$path in $elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user