Skip to content

Instantly share code, notes, and snippets.

@dldude
Created May 26, 2017 12:24
Show Gist options
  • Save dldude/633d10dd63c51bd938f05ec95ea8d0f3 to your computer and use it in GitHub Desktop.
Save dldude/633d10dd63c51bd938f05ec95ea8d0f3 to your computer and use it in GitHub Desktop.
Datadog - Windows Server Service Output
Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
PS C:\Users\Administrator> Get-WmiObject -Query "Select Name,State from Win32_Service WHERE ( Name = 'tablicsrv' ) OR (
Name = 'tabsvc' ) OR ( Name = 'wmiApSrv' )"
__GENUS : 2
__CLASS : Win32_Service
__SUPERCLASS :
__DYNASTY :
__RELPATH : Win32_Service.Name="tablicsrv"
__PROPERTY_COUNT : 2
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
Name : tablicsrv
State : Running
PSComputerName :
__GENUS : 2
__CLASS : Win32_Service
__SUPERCLASS :
__DYNASTY :
__RELPATH : Win32_Service.Name="wmiApSrv"
__PROPERTY_COUNT : 2
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
Name : wmiApSrv
State : Running
PSComputerName :
__GENUS : 2
__CLASS : Win32_Service
__SUPERCLASS :
__DYNASTY :
__RELPATH : Win32_Service.Name="tabsvc"
__PROPERTY_COUNT : 2
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
Name : tabsvc
State : Running
PSComputerName :
PS C:\Users\Administrator>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment