Files
fusionpbx-install.sh/windows/resources/get-system_password.ps1
2018-01-03 01:13:29 -07:00

7 lines
196 B
PowerShell

#System Password
if ($system_password -eq 'random') {
$system_password = New-Password 20
}
elseif ($system_password -eq '') {
$system_password = Read-Host -Prompt "Enter system password"
}