Update list-special-folders.ps1

This commit is contained in:
Markus Fleschutz 2023-10-15 19:58:31 +02:00
parent 9b2d444df7
commit 69ccb6a2af

View File

@ -77,9 +77,9 @@ function ListSpecialFolders {
} }
try { try {
ListSpecialFolders | Format-Table -property @{e='Folder Name';width=19},'Folder Path' ListSpecialFolders | Format-Table -property @{e='Folder Name';width=22},'Folder Path'
exit 0 # success exit 0 # success
} catch { } catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1 exit 1
} }