mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
12 lines
249 B
PowerShell
12 lines
249 B
PowerShell
function Clear-IcingaWindowsUserPassword()
|
|
{
|
|
if ($null -eq $Global:Icinga) {
|
|
return;
|
|
}
|
|
|
|
if ($Global:Icinga.ContainsKey('ServiceUserPassword') -eq $FALSE) {
|
|
return;
|
|
}
|
|
|
|
$Global:Icinga.ServiceUserPassword = $null;
|
|
}
|