McAfee 製品が最後にインストールされた日時を見つけるには、ePO コア データベースで次の SQL クエリーを実行します。
- SQL Server Management Studio にログオンします。
- McAfee ePO データベースを右クリックして、新しいクエリー を選択します。
- 以下に示す SQL スクリプトをコピーして、SQL クエリー ウィンドウに貼り付けます。
注: ヘルプについては、 KB67591 - ePolicy Orchestrator データベースに対してテクニカル サポートが提供する SQL スクリプトを実行する方法 を参照してください。
----------------------------------------------------------------------------------------------------------------------
create table #temp
(ProductCode nvarchar(50),
ProductVersion nvarchar(50),
ParentID int,
LastInstalled datetime
)
Insert into #temp
SELECT EPOProductProperties.ProductCode AS ProductCode, EPOProductProperties.ProductVersion AS ProductVersion,EPOProductProperties.ParentID,
COALESCE(MAX(EPOProductProperties.LastInstalled),MAX(EPOProductEvents.ReceivedUTC)) AS LastInstalled
FROM EPOProductProperties WITH (NOLOCK)
LEFT JOIN EPOProductEvents WITH (NOLOCK) ON EPOProductProperties.ProductCode=EPOProductEvents.ProductCode
AND EPOProductProperties.ParentID=EPOProductEvents.NodeID AND EPOProductEvents.Type='Install'
WHERE EPOProductProperties.ParentID in (SELECT ParentID FROM EPOComputerProperties) GROUP BY EPOProductProperties.ProductCode, EPOProductProperties.ProductVersion,EPOProductProperties.ParentID
Select #temp.ProductCode, #temp.ProductVersion,#temp.ParentID,#temp.LastInstalled,EPOComputerProperties.ComputerName
FROM #temp JOIN EPOComputerProperties ON #temp.ParentID = EPOComputerProperties.ParentID
If(OBJECT_ID('tempdb..#temp') Is Not Null)
Begin
Drop Table #temp
End
------------------------------------------------------------------------------------------------------------------
以下に示すのは、クエリーが生成する結果のサンプルです。
ProductCode |
ProductVersion |
ParentID |
LastInstalled |
ComputerName |
DXLBROKR1000 |
5.0.2.140 |
1 |
12/8/2020 17:20 |
tie301 |
DXLJ____1000 |
5.0.2.140 |
1 |
12/8/2020 17:23 |
tie301 |
DXLJ____1001 |
4.1.1.113 |
1 |
12/8/2020 17:27 |
tie301 |
EPOAGENT3000 |
5.6.5.236 |
1 |
12/8/2020 17:20 |
tie301 |
MARSERV1000 |
2.4.3.357 |
1 |
12/8/2020 17:27 |
tie301 |
TIESVR__1000 |
3.0.1.119 |
1 |
12/8/2020 17:20 |
tie301 |
ENDP_AM_1070 |
10.7.0.2298 |
2 |
12/9/2020 12:07 |
RGCEPO510 |
ENDP_GS_1070 |
10.7.0.2174 |
2 |
12/9/2020 12:07 |
RGCEPO510 |
EPOAGENT3000 |
5.5.1.342 |
2 |
12/8/2020 21:44 |
RGCEPO510 |
TELEMTRY1000 |
2.1.0.700 |
2 |
12/8/2020 21:45 |
RGCEPO510 |