WMI query

  • hi,

    my package just stop,getting error not able to parse the query

    SELECT * FROM __InstanceCreationEvent WITHIN 10

    WHERE TargetInstance ISA "CIM_DirectoryContainsFile"

    AND TargetInstance.GroupComponent = "Win32_Directory.Name=\"C:\\\\Users\Desktop\emp\""

    i tried this also

    SELECT * FROM __InstanceCreationEvent WITHIN 10

    WHERE TargetInstance ISA "CIM_DirectoryContainsFile"

    AND TargetInstance.GroupComponent = "Win32_Directory.Name=\"C:\\\\Users\\\\Desktop\\\\emp\""

    but package is running in definitely, and it not going into for each loop.Attaching image for this

    any help?

  • You said it was stopping with an error, but also that it runs indefinitely. The pic says it is running the WMI task, what exactly are you trying to do?

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply