VBS : XML WEBSERVICE: SOAP REQUEST

'usage: soap_request.vbs /usr:
'usage: soap_request.vbs /usr:
wscript.echo "user active = " & getidusract() function getidusract() dim objExecObject,strLine,i For i=1 to 100000 Set objExecObject = WshShell.Exec("%comspec% /c qwinsta.exe " & i) Do Until objExecObject.StdOut.AtEndOfStream strLine = objExecObject.StdOut.ReadLine()...
Public Const XML_FILE = "xmlconfigfile.xml" Public Const NODE_BIT = "/Config/Bitlocker" '-------------------------------------------------------------------- ' Function Name - ReadXML() '--------------------------------------------------------------------...
public certificatesubject="AUTHENTIFICATION" public xmlnsvalue="http://webservice.groupdirectorycertificate.com" '========================================================================== ' Name: GetWebService ' Param: samaccountname: username User '==========================================================================...
Function GetTsVariable (ByVal strTsVariableName, ByRef strTsVariableValue) Dim objTSEnvironment On Error Resume Next Set objTSEnvironment = CreateObject("Microsoft.SMS.TSEnvironment") GetTsVariable = Err.number On Error GoTo 0 If GetTsVariable=0 Then...
strComputer = "." ============================================================= Get the SMBIOS asset tag from the Win32_SystemEnclosure class ============================================================= Dim objWMI : Set objWMI = GetObject("winmgmts:")...