Showing archive results for 2009

Jan 22, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Stop an Unwanted Process?

ScriptingGuy1

Hey, Scripting Guy! I need some help. There is a stupid process that launches every time I turn on my computer. I cannot find where it is starting from. I have looked in all the usual places, but I can't find it. This process was installed when I installed some software that I use only about once a month. I do not need this dumb process starting ...

Scripting Guy!Windows PowerShellscripting techniques
Jan 21, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Back Up a Database’s Data Folder While the Database Is Running?

ScriptingGuy1

Hey, Scripting Guy! I have a problem. I am trying to script the backup of a data folder used by our database application. The problem is that as long as the database service is running, the files that are used are locked, and I am unable to copy them. I have found the service that runs the database, and when I use WMI to stop the service, the scr...

Scripting Guy!Windows PowerShellscripting techniques
Jan 20, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Do I Display a Message and the Time a Process Was Terminated?

ScriptingGuy1

Hey, Scripting Guy! We have this application that is supposed to run all the time. It is constantly giving us headaches and crashing. The applications vendor evidently expects it to crash all the time and has a thread that will restart it three times. After that, it is pretty much down for the count. The problem is that we never know when the app...

Scripting Guy!Windows PowerShellscripting techniques
Jan 19, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Be Notified When a Process Begins?

ScriptingGuy1

Hey, Scripting Guy! I need to be notified when a process begins. I would like to use Windows PowerShell to do this, but it does not seem to work. While I could do this in VBScript, I prefer to use Windows PowerShell. Can this be done?- NL Hi NL, Because we have access to the .NET Framework in Windows PowerShell, it can most certainly be done. In ...

Scripting Guy!Windows PowerShellscripting techniques
Jan 15, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Modify the Footers of an Office Excel Spreadsheet?

ScriptingGuy1

Hey, Scripting Guy! I have a simple question for you: How can I modify the footers in an Office Excel spreadsheet?- MN Hi MN, I have a simple answer for you as well. You assign a value to the appropriate footer property of the pagesetup object. If you would prefer a longer answer, read on. Today, we have a script called CreateExcelFooter.ps1 th...

Scripting Guy!Windows PowerShellOffice