mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-25 03:18:16 +02:00
Update list-cli-tools.ps1
This commit is contained in:
parent
d9251e999a
commit
1cf1d96184
@ -61,7 +61,7 @@ function ListTools {
|
|||||||
try {
|
try {
|
||||||
"List of Available CLI Tools"
|
"List of Available CLI Tools"
|
||||||
"==========================="
|
"==========================="
|
||||||
ListTools | format-table -property @{e='Name';width=12},@{e='Version';width=10},@{e='Location';width=30},@{e='FileSize';width=10}
|
ListTools | format-table -property @{e='Name';width=12},@{e='Version';width=12},@{e='Location';width=40},@{e='FileSize';width=10}
|
||||||
exit 0
|
exit 0
|
||||||
} catch {
|
} catch {
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Loading…
Reference in New Issue
Block a user