mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-27 09:08:58 +01:00
Update list-special-folders.ps1
This commit is contained in:
parent
9b2d444df7
commit
69ccb6a2af
@ -77,9 +77,9 @@ function ListSpecialFolders {
|
||||
}
|
||||
|
||||
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
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user