/build/static/layout/Breadcrumb_cap_w.png

check services exists

strComputer = "."

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")

Set colItems = objWMIService.ExecQuery( _

    "SELECT * FROM Win32_Service",,48)

For Each objItem in colItems

    If objItem.DisplayName = "IBM Network License Server" Then

     Wscript.Echo objItem.DisplayName

    End If               

Next

 

 

 

strComputer = "."

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")

Set colItems = objWMIService.ExecQuery( _

    "SELECT * FROM Win32_Service",,48)

For Each objItem in colItems

    If objItem.DisplayName = "IBM Central Registry License Server" Then

     Wscript.Echo objItem.DisplayName

    End If               

Next

 

 

 

strComputer = "."

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")

Set colItems = objWMIService.ExecQuery( _

    "SELECT * FROM Win32_Service",,48)

For Each objItem in colItems

    If objItem.DisplayName = "IBM Nodelock License Server" Then

     Wscript.Echo objItem.DisplayName

    End If               

Next

 

 


Comments

This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ