• OMW: List files on folder that didn’t modified within 30 minutes Part 2

      nodeName = “.”Set dateTime = CreateObject(“WbemScripting.SWbemDateTime”)dateTime.SetVarDate( DateAdd(“n”,-30,now()))Set objWMIService = GetObject(“winmgmts:” _ & “{impersonationLevel=impersonate}!\” & nodeName & “rootcimv2”)Set colFiles = _ objWMIService.ExecQuery(“Select * From CIM_DataFile Where Drive = ‘C:’ and Path = ‘\Scripts\’ “) ‘Wscript.Echo colFiles.Count ‘echo number of filesFor Each objFile in colFiles IF objFile.LastModified < dateTime.Value Then strNewFile = objFile.FileName & “.” &… Read More »

    Written by 0 Comment
  • OMW: Modify the Heartbeat settings for Managed Node

    Recently I decided to post my replies in HP Support Forum here in my blog to enrich the internet with the direct answer to the question I may also attach some screenshots.. The question was about changing Hearbeat settings for OMW Nodes.. The settings are actually located under system tab in the node properties page… Read More »

    Written by 0 Comment
  • How to use WBEMTEST to get WMI data level 2

    I got anonymous reader comment on continuing the series for how to use WBEMTEST to get WMI data In this article I will add two points to cover in this fabulous tool 1- Connect to remote node 2- Run WQL queries.   Connect to remote node usually we use wbemtest locally to access local classes,… Read More »

    Written by 0 Comment
    Uncategorized
  • How to use WBEMTEST to get WMI data level 1

    Launch wbemtest from command prompet or RUN Here is the interface to locate WMI classes attributes or instances you have to connect with account with sufficient privilege (note: all users has privilege to WMI but depend of type of action you want to execute which may require administrator priv.) press on connect then type which… Read More »

    Written by 0 Comment
    Uncategorized
  • How to use WBEMTEST to get WMI data level 1

    Launch wbemtest from command prompet or RUN Here is the interface to locate WMI classes attributes or instances you have to connect with account with sufficient privilege (note: all users has privilege to WMI but depend of type of action you want to execute which may require administrator priv.) press on connect then type which… Read More »

    Written by 0 Comment
    Uncategorized