mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-08 20:54:38 +02:00
Renamed to inspect-exe.ps1
This commit is contained in:
@ -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 {
|
Reference in New Issue
Block a user