Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SMS-Server und ASP/VBScript

Empfohlene Antworten

Hallo User,

ich würde gerne mittels ASP/VBScript SQL-Abfragen an unseren SMS-Server schicken.

Ich weiss, dass man mit VBS über WMI Abfragen an den SMS-Server schicken kann, aber wie integriere ich das alles in ASP?

Gegoogelt habe ich schon, nur leider ist dieses Thema nicht allzuweit verbreitet.

Bin für jede Hilfe dankbar!!

Viele Grüße,

ROOTer

server_ = "SERVERHOSTNAME"

site = "EG1"

user = "BenutzerMitRechten"

password = "*****"

'Erzeugen eines Objektes für die WMI Verbindung

Set locator = CreateObject("WbemScripting.SWbemLocator")

' Verbindung zu gewünschten Site des SMS-Servers aufnehmen

Set Connect = locator.ConnectServer(server_, "root\sms\site_" & site, user, password)

Set results = Connect.ExecQuery("select COMPUTER.Name from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM as COMPUTER on COMPUTER.ResourceID = SMS_R_System.ResourceId order by COMPUTER.Name")

//Ausgabe

For each q in results

//Anweisungen

Next

ok, habs selst herausgefunden :marine

Gruß,

ROOTer

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.