From 7c052b95c0a20fbcf0795c990d27f361ee7f5a8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane?= Date: Sat, 22 Jul 2017 19:34:46 +0200 Subject: [PATCH 1/2] Update runningDatabaseInstances.vbs --- agent/Windows/runningDatabaseInstances.vbs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/agent/Windows/runningDatabaseInstances.vbs b/agent/Windows/runningDatabaseInstances.vbs index ad73c1d..15f1184 100644 --- a/agent/Windows/runningDatabaseInstances.vbs +++ b/agent/Windows/runningDatabaseInstances.vbs @@ -194,14 +194,14 @@ If Err = 0 Then ' Le format remonté est spécifique à un process interne. A vous d'adapter en fonction de vos besoins. :-) - Wscript.Echo "" - Wscript.Echo "Microsoft Corporation" - Wscript.Echo "" & strSQLName & "" - Wscript.Echo "" & strVersion & "" - Wscript.Echo "" & strEdition & "" - Wscript.Echo "" & strServiceName & "" - Wscript.Echo "" - + Wscript.Echo _ + "" & VbCrLf &_ + "Microsoft Corporation" & VbCrLf &_ + "" & strSQLName & "" & VbCrLf &_ + "" & strVersion & "" & VbCrLf &_ + "" & strEdition & "" & VbCrLf &_ + "" & strServiceName & "" & VbCrLf &_ + "" Next Else WriteError() From 63ef5736ea37062170b6949904890a3dcc8df3c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane?= Date: Fri, 25 Aug 2017 05:27:18 +0200 Subject: [PATCH 2/2] Update runningDatabaseInstances.vbs --- agent/Windows/runningDatabaseInstances.vbs | 34 ++++++++++++---------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/agent/Windows/runningDatabaseInstances.vbs b/agent/Windows/runningDatabaseInstances.vbs index 15f1184..394ae0c 100644 --- a/agent/Windows/runningDatabaseInstances.vbs +++ b/agent/Windows/runningDatabaseInstances.vbs @@ -1,8 +1,21 @@ -'------------------------------------------------------------------------------- -' OCSINVENTORY-NG -' Web : http://www.ocsinventory-ng.org -' -' Liste les bases de données SQL Server du poste +'---------------------------------------------------------- +' Plugin for OCS Inventory NG 2.x +' Script : Liste les bases de données SQL Server du poste +' Version : 1.00 +' Date : 21/10/2011 +' Author : Sylvie Grimonpont +'---------------------------------------------------------- +' OS checked [X] on 32b 64b (Professionnal edition) +' Windows XP [ ] +' Windows Vista [ ] [ ] +' Windows 7 [ ] [ ] +' Windows 8.1 [ ] [ ] +' Windows 10 [ ] [ ] +' Windows 2k8R2 [ ] +' Windows 2k12R2 [ ] +' Windows 2k16 [ ] +' --------------------------------------------------------- +' NOTE : No checked on Windows 8 ' 4 données sont remontées : ' - strSQLName : Nom long du produit SQL Server ' Par exemple : "Microsoft SQL Server 2008 R2" @@ -12,16 +25,7 @@ ' Par exemple : "Enterprise Edition (64-bit)" ' - strVersion : Version "chiffrée". ' Par exemple : "8.00.194" -' -' Auteur : Sylvie Grimonpont -' Date : 21-10-2011 -' Version : 1.0.0 -' -' This code is open source and may be copied and modified as long as the source -' code is always made freely available. -' Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt -'------------------------------------------------------------------------------- - +' --------------------------------------------------------- On Error Resume Next 'Déclaration des constantes