Diagnostics/Simple/Services.tests.ps1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
#require -modules poshspec Import-Module -Name poshspec -Verbose:$false -ErrorAction Stop describe 'Operating System' { context 'Availability' { service DHCP status { should be running } service DNSCache status { should be running } service Eventlog status { should be running } service PlugPlay status { should be running } service RpcSs status { should be running } service lanmanserver status { should be running } service LmHosts status { should be running } service Lanmanworkstation status { should be running } service MpsSvc status { should be running } service WinRM status { should be running } } } |