We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Dim strComputer = "ComputerConnectingto" Dim strSMSServer = "SCCMServer" Dim strSMSSiteCode = "SITECODE" Dim strUserName = "username" Dim strPassword = "password" Dim TSystem Try Dim lLocator = CreateObject("WbemScripting.SWbemLocator") Dim gService = lLocator.ConnectServer(strSMSServer, "root\sms\site_" & strSMSSiteCode, strUserName, strPassword) TSystem = gService.ExecQuery("SELECT * from SMS_R_System where NetbiosName = '" & strComputer & "'") Catch ex As Exception MsgBox("Could not connect to SCCM Server - ErrorDescription:" & Err.Description) End End Try
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|How can I find this data?||3||28|
|SQL Select Query help||1||38|
|SQL Server In place upgrade from 2012 to 2014||12||22|
|I want to return date value in the following query, there are nine record in the reportdate column, in the last three lines value is coming but not in the top lines reportdate column.||5||11|