mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-12 14:07:20 +02:00
Remove the #!/usr/bin/pwsh line
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
#!/usr/bin/pwsh
|
||||
<#
|
||||
.SYNTAX list-installed-apps.ps1
|
||||
.DESCRIPTION lists the installed Windows Store apps
|
||||
@ -8,7 +7,6 @@
|
||||
|
||||
try {
|
||||
get-appxPackage | select-object Name,Version | format-table -autoSize
|
||||
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user