Hello all, I'm trying to modify the canned report "Computers with a specific operating system and service pack". It works fine but I'd also like to get IP info on the machines. Here's the code :
Select SYS.Netbios_Name0, OPSYS.Caption0 as C054, OPSYS.Version0, OPSYS.CSDVersion0, OPSYS.InstallDate0, OPSYS.LastBootUpTime0, OPSYS.WindowsDirectory0, OPSYS.Description0
from v_R_System SYS
join v_GS_OPERATING_SYSTEM OPSYS on SYS.ResourceID=OPSYS.ResourceID
where OPSYS.Caption0 like @os and IsNULL(OPSYS.CSDVersion0,'') like @sp
order by SYS.Netbios_Name0
I have IP code but I just can't seem to integrate it into the code above. Any assistance would be greatly appreciated.
Thanks in advance.
Select SYS.Netbios_Name0, OPSYS.Caption0 as C054, OPSYS.Version0, OPSYS.CSDVersion0, OPSYS.InstallDate0, OPSYS.LastBootUpTime0, OPSYS.WindowsDirectory0, OPSYS.Description0
from v_R_System SYS
join v_GS_OPERATING_SYSTEM OPSYS on SYS.ResourceID=OPSYS.ResourceID
where OPSYS.Caption0 like @os and IsNULL(OPSYS.CSDVersion0,'') like @sp
order by SYS.Netbios_Name0
I have IP code but I just can't seem to integrate it into the code above. Any assistance would be greatly appreciated.
Thanks in advance.