select
CS.Name0 as "Computer Name",
CS.User_Name0 as "User Name",
CS.Operating_System_Name_and0 as "OS",
CS.AD_Site_Name0 as "AD Site",
CS.Full_Domain_Name0 as "Domain"
from v_AssignmentState_Combined
join v_R_System CS on CS.ResourceID=v_AssignmentState_Combined.ResourceID
where StateID='5' AND
CS.Operating_System_Name_and0 Like @OS
- This was tested in SCCM Current Branch 1706
- Query is modified from the source posted here
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.