mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-12 06:02:56 +02:00
Updated some scripts
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#!/snap/bin/powershell
|
||||
|
||||
# Syntax: ./SHA1.ps1 <file>
|
||||
# Syntax: ./SHA1.ps1 [<file>]
|
||||
# Description: prints the SHA1 checksum of the given file
|
||||
# Author: Markus Fleschutz
|
||||
# Source: github.com/fleschutz/PowerShell
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
param([string]$File)
|
||||
if ($File -eq "" ) {
|
||||
$File = read-host "Enter file: "
|
||||
$File = read-host "Enter file"
|
||||
}
|
||||
|
||||
try {
|
||||
|
Reference in New Issue
Block a user