icinga-powershell-framework/lib/daemons/RestAPI/threads/Start-IcingaForWindowsCertificateThreadTask.psm1

9 lines
279 B
PowerShell
Raw Normal View History

function Start-IcingaForWindowsCertificateThreadTask()
{
New-IcingaThreadInstance `
-Name 'CertificateRenewThread' `
-ThreadPool (New-IcingaThreadPool -MaxInstances 1) `
-Command 'New-IcingaForWindowsCertificateThreadTaskInstance' `
-Start;
}