Query to list computers that have Win 7 OS et Win XP OS.

Hi everybody,

i would like to get a query that lists the number of Worksations that have Win XP operating Systems And the number of workstations that have Win 7 OS. 

Thank you.

Regards,

Le Balbo

June 17th, 2015 10:27am

I believe you want SQL query: So here it is

Select Name0 from v_r_system where ResourceID in (Select ResourceID from V_GS_Operating_system where Caption0 like '%Windows XP%')

Select Name0 from v_r_system where ResourceID in (Select ResourceID from V_GS_Operating_system where Caption0 like '%Windows 7%')



Free Windows Admin Tool Kit Click here and download it now
June 17th, 2015 11:02am

Dumb question but what is wrong with the built-in report for this?
June 17th, 2015 11:16am

Thank you.

 will try this.

Regards,

Free Windows Admin Tool Kit Click here and download it now
June 17th, 2015 11:24am

Hello Mister Jones,

When i use the built-in report,The report returns me a result that is not exactly what i was waiting for .That is why i'm trying something else.

June 17th, 2015 1:46pm

Hello Mister Jones,

When i use the built-in report,The report returns me a result that is not exactly what i was waiting for .That is why i'm trying something else.

What do you mean by this?

The Count of Operating Systems will tell you all of your different OS versions. So... What is it not giving you?

Free Windows Admin Tool Kit Click here and download it now
June 17th, 2015 2:07pm

I believe you want SQL query: So here it is

Select Name0 from v_r_system where ResourceID in (Select ResourceID from V_GS_Operating_system where Caption0 like '%Windows XP%')

Select Name0 from v_r_system where ResourceID in (Select ResourceID from V_GS_Operating_system where Caption0 like '%Windows 7%')



June 17th, 2015 3:00pm

I believe you want SQL query: So here it is

Select Name0 from v_r_system where ResourceID in (Select ResourceID from V_GS_Operating_system where Caption0 like '%Windows XP%')

Select Name0 from v_r_system where ResourceID in (Select ResourceID from V_GS_Operating_system where Caption0 like '%Windows 7%')



Free Windows Admin Tool Kit Click here and download it now
June 17th, 2015 3:00pm

I believe you want SQL query: So here it is

Select Name0 from v_r_system where ResourceID in (Select ResourceID from V_GS_Operating_system where Caption0 like '%Windows XP%')

Select Name0 from v_r_system where ResourceID in (Select ResourceID from V_GS_Operating_system where Caption0 like '%Windows 7%')



June 17th, 2015 3:00pm

I believe you want SQL query: So here it is

Select Name0 from v_r_system where ResourceID in (Select ResourceID from V_GS_Operating_system where Caption0 like '%Windows XP%')

Select Name0 from v_r_system where ResourceID in (Select ResourceID from V_GS_Operating_system where Caption0 like '%Windows 7%')



Free Windows Admin Tool Kit Click here and download it now
June 17th, 2015 3:00pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics