forked from norman/fusionpbx-install.sh-github-mirror
Update the Windows install.
This commit is contained in:
7
windows/resources/new-password.ps1
Normal file
7
windows/resources/new-password.ps1
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
Function New-Password([int32]$length) {
|
||||
$password = ""
|
||||
$chars = "abcdefghijkmnopqrstuvwxyzABCEFGHJKLMNPQRSTUVWXYZ23456789".ToCharArray()
|
||||
1..$length | ForEach { $password += $chars | Get-Random }
|
||||
return $password
|
||||
}
|
||||
Reference in New Issue
Block a user