Skip to content

Commit 0f00ffd

Browse files
author
Markus Fleschutz
committed
Update inspect-exe.ps1
1 parent c131724 commit 0f00ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/inspect-exe.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ param([string]$PathToExe = "")
1818
try {
1919
if ($PathToExe -eq "" ) { $PathToExe = read-host "Enter path to executable file" }
2020

21-
get-childitem $PathToExe | % {$_.VersionInfo} | Select *
21+
Get-ChildItem $PathToExe | % {$_.VersionInfo} | Select *
2222
exit 0 # success
2323
} catch {
2424
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

0 commit comments

Comments
 (0)