SCCM 2012 Computer Last Boot Time
SCCM 2012 ile sistem üzerindeki PC'lerin en son ne zaman reboot edildiğini aşağıdaki script ile öğrenebilirsiniz.
SELECT
DISTINCT
v_R_System_Valid.Netbios_Name0 AS [Computer Name],
v_GS_OPERATING_SYSTEM.LastBootUpTime0 AS [Last Boot Time]
FROM
v_R_System_Valid
INNER
JOIN v_GS_OPERATING_SYSTEM ON (v_GS_OPERATING_SYSTEM.ResourceID =v_R_System_Valid.ResourceID)
INNER
JOIN v_FullCollectionMembership ON (v_FullCollectionMembership.ResourceID =v_R_System_Valid.ResourceID)
LEFT
JOIN v_Site ON (v_FullCollectionMembership.SiteCode = v_Site.SiteCode)
WHERE
v_FullCollectionMembership.CollectionID =
‘HABMES003’
ORDER
BY
v_GS_OPERATING_SYSTEM.LastBootUpTime0 DESC
DISTINCT
INNER
JOIN v_GS_OPERATING_SYSTEM ON (v_GS_OPERATING_SYSTEM.ResourceID =v_R_System_Valid.ResourceID)
INNER
JOIN v_FullCollectionMembership ON (v_FullCollectionMembership.ResourceID =v_R_System_Valid.ResourceID)
LEFT
JOIN v_Site ON (v_FullCollectionMembership.SiteCode = v_Site.SiteCode)
‘HABMES003’
BY
Yorumlar