Hello Lucd,
I have seen your other posts for creating a scheduled task to generate , need help on creating a scheduled task.
And the one below is reporting the status of NTP service but i need alarms generated if in case the ntp service is stopped.
Is there any way that can be done?
Get-VMHost | Select Name,
@{N='NTP Service Running';E={Get-VMHostService -VMHost $_ | where{$_.Key -eq 'ntpd'} | select -ExpandProperty Running}}
Thanks,
vikram M