# encoding: ascii
# api: powershell
# title: Services Auto NotRunning
# description: Check if all the services with StartMode AUTOMATIC are actually Running
# version: 0.1
# author: Xavier C
# license: CC0
# x-poshcode-id: 2759
# x-derived-from-id: 2760
# x-archived: 2015-10-20T07:02:54
# x-published: 2011-06-29T19:37:00
#
#
Get-WmiObject Win32_Service -ComputerName . |`
	where 	{($_.startmode -like "*auto*") -and `
		($_.state -notlike "*running*")}|`
	select DisplayName,Name,StartMode,State|ft -AutoSize
