mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-19 16:38:17 +02:00
Updated header
This commit is contained in:
parent
7d206acd21
commit
f1861be56f
@ -1,10 +1,9 @@
|
|||||||
# PowerShell Script to Create New Passwords
|
# PowerShell Script to Create a New Password
|
||||||
# -----------------------------------------
|
# ------------------------------------------
|
||||||
# Author: Markus Fleschutz
|
# Author: Markus Fleschutz
|
||||||
# Source: github.com/fleschutz/PowerShell
|
# Source: github.com/fleschutz/PowerShell
|
||||||
# License: CC0
|
# License: CC0
|
||||||
|
|
||||||
$NumPasswords = 1
|
|
||||||
$CharsPerPassword = 15
|
$CharsPerPassword = 15
|
||||||
$MinCharCode = 33
|
$MinCharCode = 33
|
||||||
$MaxCharCode = 126
|
$MaxCharCode = 126
|
||||||
@ -18,8 +17,6 @@ function new_password() {
|
|||||||
return $password
|
return $password
|
||||||
}
|
}
|
||||||
|
|
||||||
for ($j = 0; $j -lt $NumPasswords; $j++) {
|
|
||||||
$password = new_password
|
$password = new_password
|
||||||
write-output $password
|
write-output $password
|
||||||
}
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user