How to query security center WMI with perl?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

I have several XP SP2 machines and would like to make perl script that would:

1. check that anti-virus updates are up to date
2. personal firewall is on
3. windows is updated

If for example anti-virus check would return "not up to date", I could
change personal fw settings to allow traffic only to the anti-virus update
service.

I have seen some articles about WMI and that for example these task could be
done with it.

Does anyone have examples how to make such WMI queries with perl or examples
with any language?
 
Kimmo Koivisto said:
Hello

I have several XP SP2 machines and would like to make perl script that
would:

1. check that anti-virus updates are up to date
2. personal firewall is on
3. windows is updated

If for example anti-virus check would return "not up to date", I could
change personal fw settings to allow traffic only to the anti-virus
update
service.

I have seen some articles about WMI and that for example these task
could be
done with it.

Does anyone have examples how to make such WMI queries with perl or
examples
with any language?

Always wondered the same thing -- why do I have to sched. the
AV updates when windows WMI could tell it when it pops up
the bubble. Oh well -- you might try asking over in one of the
scripting groups like "microsoft.public.scripting.wsh" or vbscript
and see what they say over there
 
Back
Top