Added exe_info.ps1

This commit is contained in:
Markus Fleschutz
2020-09-25 14:47:09 +02:00
parent d55615ef56
commit 932d6cc63c
4 changed files with 18 additions and 3 deletions

11
Scripts/exe_info.ps1 Normal file
View File

@ -0,0 +1,11 @@
#!/snap/bin/powershell
#
# Syntax: exe_info.ps1 <file>
# Description: prints basic information of the given executable file
# Author: Markus Fleschutz
# Source: github.com/fleschutz/PowerShell
# License: CC0
#
param([string]$File)
get-childitem $File | % {$_.VersionInfo} | Select *
exit 0

View File

@ -1,7 +1,7 @@
#!/snap/bin/powershell
#
# Syntax: lscmdlets.ps1
# Description: lists the PowerShell cmdlets
# Description: lists all PowerShell cmdlets
# Author: Markus Fleschutz
# Source: github.com/fleschutz/PowerShell
# License: CC0

View File

@ -1,7 +1,7 @@
#!/snap/bin/powershell
#
# Syntax: lsmod.ps1
# Description: lists the PowerShell modules
# Syntax: lsmods.ps1
# Description: lists all PowerShell modules
# Author: Markus Fleschutz
# Source: github.com/fleschutz/PowerShell
# License: CC0