I have a script that is looking at a directory and if files are present it's looking at the file extension and then age (in minutes) of the file(s) and if the file or files are beyond that age it triggers another set of actions...
What I'm not certain of is how to get the script to trigger the...
..._
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcesses = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'imagenow.exe'")
If colProcesses.Count = 0 Then
MsgBox "Please take a moment to log into ImageNow and then try your...
...GetDetails(strComputer)
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_OperatingSystem")
For Each objItem in colItems
objLogFile.Write objItem.CSName &","& objItem.SerialNumber &","
Next
Set colItems =...
My only question PHV is will this method still create the text file if it doesn't already exist?
What is occurring is this script is being run twice per day...Ideally the first run of the day would create the file for that day as it won't exist and the second run would identify that the file...
I have a script that performs a number of different functions for me including creating a simple log file that indicates what has been done...I would like to adapt this script so that rather than running a slightly modified version that creates a different log file the original will identify...
I'm having issues passing a command line argument into a VB script that I'm working on. The Echo shows me that the syntax is correct but where I'm trying to utilize it in the script doesn't appear to like it...Here is the code:
Set imagenowAPI = GetObject( , "imagenow6.CtrlPanel")
Set objArgs...
Sorry...to be specific the cursor simply drops to the line below and sits there with no indication that anything has been done...I thought possilby it might be just generating the file so I left it for over 20 minutes and saw the same thing when I returned to it. Backing up the entire DB took...
More than relatively new to mySQL....Trying to facilitate a table export on a number of tables in one DB so that they can be imported into another DB. The command line command I've been using looks like this:
mysqldump -u root -pbigcountry dbname table_name > table_name.sql
It doesn't seem to...
Didn't think about it frankly...but here it is....it works fine but all it allows the end user to determine or choose is what the top(first) level group will be not to actually set the entire grouping order:
if {?Grouping Order} = "Procedure Code" then {TRANSACTIONS.PROCEDURE_CODE} else
if...
I am using CR XI to query a DB2 database and have a rather extensive report that is utilized by different personnel within the company who's needs vary depending on what they do....I have built reports that allow the end user to specify the primary or first level grouping on a report but is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.