Renamed to inspect-exe.ps1

This commit is contained in:
Markus Fleschutz 2020-12-08 15:01:57 +00:00
parent 0de1ff9c1f
commit ec35a6cfb1
2 changed files with 5 additions and 2 deletions

View File

@ -11,7 +11,7 @@ The following PowerShell scripts can be found in the `Scripts/` subfolder:
* [configure-git.ps1](Scripts/configure-git.ps1) - sets up the Git configuration
* [download.ps1](Scripts/download.ps1) - downloads the file/directory from the given URL
* [empty-dir.ps1](Scripts/empty-dir.ps1) - empties the given directory
* [exe_info.ps1](Scripts/exe_info.ps1) - prints basic information of the given executable file
* [inspect-exe.ps1](Scripts/inspect-exe.ps1) - prints basic information of the given executable file
* [latlong.ps1](Scripts/latlong.ps1) - prints the lat/long coordinates of the given city
* [list-empty-dirs.ps1](Scripts/list-empty-dirs.ps1) - lists empty subfolders in a directory tree
* [list-unused-files.ps1](Scripts/list-unused-files.ps1) - lists unused files in a directory tree

View File

@ -1,12 +1,15 @@
#!/snap/bin/powershell
# Syntax: ./exe_info.ps1 <file>
# Syntax: ./inspect-exe.ps1 [<executable-file>]
# Description: prints basic information of the given executable file
# Author: Markus Fleschutz
# Source: github.com/fleschutz/PowerShell
# License: CC0
param([string]$File)
if ($File -eq "" ) {
$File = read-host "Enter path to executable file"
}
try {