Hey, Scripting Guy! Can I Pause and Resume Scripts with Windows PowerShell?

  Hey Scripting Guy! I am working on a Windows PowerShell script, and I would like to pause the script for three minutes and then resume it. I know I can use the Start-Sleep cmdlet to halt script execution, but I would like to give a visual indication that the script is waiting, and display…

0

Hey, Scripting Guy! Can I Update More Than One Text File?

Hey Scripting Guy! I am trying to convert a number of text files that have been used to create old Web pages to a Web site that uses a new format. The problem is that the text files are not in a standard format. I need to identify the shortest lines in the text files…

0

Hey, Scripting Guy! Can I Search a Text File to Work with Specific Text?

  Hey Scripting Guy! I have a log file that is produced by an application. The file is simply text, and is not really formatted in any discernable way. I can open the log in Notepad and use the <ctrl-f> (control –f) command to search the text file for specific things, but it would be…

0

Hey, Scripting Guy! Event 10 *Solutions* from Expert Commentators (Beginner and Advanced; the 1,500-meter race)

   (Note: These solutions were written for Event 10.)  Beginner Event 10:  The 1,500-meter race In the 1,500-meter race, you will go for the gold by writing a script that counts down from three minutes. Guest commentator: Andrew Willett   Andrew Willett is the projects manager for the IT department of a Steinhoff group company….

0