On Error Resume Next Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\SecurityCenter2") If objWMIService is Nothing Then Wscript.StdOut.Write "NULL" Else Set installedAntiviruses = objWMIService.ExecQuery("Select * from AntivirusProduct") 'Iterates through all the antivirus software,retrieved by the WMI query,present on the system and prints only the ones that are active 'this is done by checking the 12th bit of the productState property of the antivirus 'if 12th bit is on then it means that the antivirus is in active state 'if 12th bit is off then it is inactive. 'see http://neophob.com/2010/03/wmi-query-windows-securitycenter2/ count=0 list="" For Each antivirus in installedAntiviruses If antivirus.productState And &h01000 Then 'checking the state of the 12th bit of productState property of the antivirus count=count+1 list=list & VBNewLine & VBtab & "*" & antivirus.displayName End if Next If count = 0 Then Wscript.StdOut.Write "NOT_FOUND" Else Wscript.Echo list End if End ifni/cg-4.1'>distro/capgemini/cg-4.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sal/Module_sal.mk
AgeCommit message (Expand)Author
2017-05-30sal,external: remove checks for obsolete VCVER=120Michael Stahl
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky
2016-12-23tdf#97283: Merge sal rtl tests to one makefileMatúš Kukan
2016-12-23tdf#97283: Merge sal osl tests to one makefileMatúš Kukan
2016-12-20bootstrap building with --disable-dynloading on standard linuxCaolán McNamara
2016-12-19this textenc hack is for android and disable-dynamic-loadingCaolán McNamara
2016-12-12[API CHANGE] Remove salcpprt static libraryStephan Bergmann
2016-02-10Add existing CppUnit test for sal/rtl/randomChristoph Brill
2015-11-06rtl::Reference Add move construction/assignmentDaniel Robertson
2015-11-04Resurrect CppunitTest_sal_osl_getsystempathfromfileurlStephan Bergmann
2015-10-30Combine individual gb_Module_add_check_targets, and sortStephan Bergmann
2015-10-30CppunitTest_sal_osl_pipe can be added to gb_Module_add_check_targets nowStephan Bergmann
2015-05-11sal: don't build cppunittester if cross-compilingMichael Stahl
2014-07-08Bypass CppunitTest_sal_osl_security with VS2013 for now, hangsTor Lillqvist
2014-04-28prefer makefile-gmake-modeTakeshi Abe
2014-04-24More hacking on --with-localesTor Lillqvist
2014-03-23sal: Rewrite digest tests to be simpler, enable them in checkTomaž Vajngerl
2013-09-11fdo#39625 Make existing cppunittests workJelle van der Waa
2013-09-11sal: fdo#39625 Make existing cppunittests workJelle van der Waa
2013-04-24move sal_inc headers to include/David Tardon
2013-04-24move URE headers to include/David Tardon
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-13install SDK headers from filelistsDavid Tardon
2013-02-27sal: get rid of CustomTarget_generated.mkMichael Stahl
2013-02-27sal: new ZipPackage_sal_odk_headers for public ODK headersMichael Stahl
2013-02-22Not using NativeActivity means no lo_main() stuff used eitherTor Lillqvist
2013-02-21Revert "Clean up remains of NativeActivity-based Android app support"Michael Meeks
2012-11-26get textencoding tests working againCaolán McNamara
2012-11-21Clean up remains of NativeActivity-based Android app supportTor Lillqvist
2012-11-07move CppunitTest_sal_osl_process to gb_Module_add_check_targets callRene Engelhard
2012-11-06Add some rtl::Bootstrap unit testStephan Bergmann
2012-10-07When DISABLE_DYNLOADING don't even provide any module loading/unloading APITor Lillqvist
2012-09-11fdo#39625 Make existing cppunittests workRadu Ioan
2012-09-10what gets tested here turns out to be out of date nowCaolán McNamara
2012-09-10fdo#39625 Make existing cppunittests workRadu Ioan
2012-08-25fdo#39625 Make existing cppunittests workRadu Ioan
2012-08-07No point with these executables for non-desktop OSesTor Lillqvist
2012-07-16allow using rtl::OUString etc. simply as OUString, without rtl::Luboš Luňák
2012-03-31sal: use CustomTarget makefileMatúš Kukan
2012-03-29No CppunitTest_sal_osl_process for iOS eitherTor Lillqvist