Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following sample queries demonstrate how to join the most common Endpoint Protection views to other views.
Joining endpoint protection and collection views
The following query lists the deployment state of the Endpoint Protection client on all computers by using the v_GS_EPDeploymentState view. For each computer, it also adds the client name and site code by joining by ResourceID to the v_ClientCollectionMembers view.
SELECT v_GS_EPDeploymentState_1.ResourceID, v_ClientCollectionMembers.Name, v_ClientCollectionMembers.SiteCode,
v_GS_EPDeploymentState_1.LastMessageTime, v_GS_EPDeploymentState_1.DeploymentState, v_GS_EPDeploymentState_1.Error,
v_GS_EPDeploymentState_1.ErrorCode
FROM v_GS_EPDeploymentState AS v_GS_EPDeploymentState_1 INNER JOIN
v_ClientCollectionMembers ON v_GS_EPDeploymentState_1.ResourceID = v_ClientCollectionMembers.ResourceID