Running the following script I get the error : "file not found"!
the placehoulders contain:
strServer3: "RM2MS000651"
StackerLog: "\C$\PMX\_log\_STACKERGW\PDLog-admin_mes.log"
the login within ConnectServer is local admin!
If I map a network connection to this server, everything works fine!
Set objSWbemServices3 = objSWbemLocator.ConnectServer (strServer3, "root\cimv2", strUser3, strPword3, "MS_409", "ntlmdomain:" + strDomain3)
Set colSwbemObjectSet3 = objSWbemServices3.ExecQuery("Select * From Win32_Process",,48)
WScript.Echo "FSO.GetFile(\\"& strServer3 & StackerLog &")"
Set StackerLogFile = FSO.GetFile("\\" & strServer3 & StackerLog)
StackerLogFileDLM = StackerLogFile.DateLastModified
thanks for your hepl
MR
the placehoulders contain:
strServer3: "RM2MS000651"
StackerLog: "\C$\PMX\_log\_STACKERGW\PDLog-admin_mes.log"
the login within ConnectServer is local admin!
If I map a network connection to this server, everything works fine!
Set objSWbemServices3 = objSWbemLocator.ConnectServer (strServer3, "root\cimv2", strUser3, strPword3, "MS_409", "ntlmdomain:" + strDomain3)
Set colSwbemObjectSet3 = objSWbemServices3.ExecQuery("Select * From Win32_Process",,48)
WScript.Echo "FSO.GetFile(\\"& strServer3 & StackerLog &")"
Set StackerLogFile = FSO.GetFile("\\" & strServer3 & StackerLog)
StackerLogFileDLM = StackerLogFile.DateLastModified
thanks for your hepl
MR