Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » running   (RSS)

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (10/30/09)

In this post : How Do I Run Scripts? Which WMI Class Works with IDE Controllers? How Can I Randomize and Repeat Sequences? How Can I Run a VBScript I Find on the Script Center? How Can I Enable the Windows Scripting Host on My Computer? How Do I Run Scripts?

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (9/11/09)

Share this post: Hey Scripting Guy! I stumbled across the TechNet Script Center recently while trying to solve a problem I had at work. I had heard about scripting, of course, but had never taken the time to learn about it. I was able to find a script

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

Hey, Scripting Guy! How Can I Test the Efficacy of My Script Modifications?

Hey Scripting Guy! I have a script that I wrote, and I am interested in modifying it to try and make it run faster. I know I can use the Measure-Object Windows PowerShell cmdlet, but I want to run the script several times and get the average time it takes

Hey, Scripting Guy! How Can I Speed Up My Windows PowerShell Scripts?

Hey Scripting Guy! I am not sure why you are so excited about Windows PowerShell. It is much slower than VBScript. I am not talking about a little slow; I am talking about orders of magnitude slower. Sure it has some nice cmdlets, but the performance

Hey, Scripting Guy! How Can I Test a Bunch of Scripts and Generate a Report?

Hey Scripting Guy! At our company, we have a lot of Windows PowerShell scripts we use to gather information from various client computers distributed throughout the network. All of these scripts are in a single folder. Recently, several users have been

Hey, Scripting Guy! How Can I Test a Script I Have Written?

Hey Scripting Guy! I have a question today that is not about writing a script so much as it is about testing the script after it is written. I know you have written the scripts for the Windows 7 Resource Kit , the Windows Server 2008 Resource Kit , and

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/17/09)

How Can I Query a Registry Value Remotely? I have a simple question: What is the equivalent to querying the MicrosoftIE_Summary WMI class in Windows Vista? I just need to get the version of Internet Explorer. One small problem though: The Windows PowerShell

Hey, Scripting Guy! How Can I Handle Errors in a Windows PowerShell Script?

Hey Scripting Guy! When I used to write VBScripts, I liked the fact that I could use On Error Resume Next to handle any errors in my scripts. I have tried to find something like this in Windows PowerShell, but I have been unable to do so. Does Windows

Hey, Scripting Guy! How Can I Prompt Users for Information When a Script Is Run?

Hey, Scripting Guy! I would like to have my script prompt the user for information when it is run. But I would like the person running the script to be able to supply more than one piece of information when the script is run. For example, I would like

Hey, Scripting Guy! How Can I Use a Named Parameter When Running Scripts?

Hey, Scripting Guy! I would like to be able to use a named parameter when running my scripts. There are a couple of reasons for this. The first is that I think that it looks cool to use a named parameter. The second reason is probably just as important

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (05/22/09)

How Can I Determine if a Particular Windows Feature Is Installed? Hey, Scripting Guy! I am new to Windows PowerShell scripting and have a little experience with WMI thanks to your Windows PowerShell Scriptomatic tool. I'm trying to determine whether a

Hey, Scripting Guy! How Can I Write and Run a Windows PowerShell Script?

Hey, Scripting Guy! I appreciate the command-line stuff you are showing, but to be honest, I am not interested in returning to the DOS days to administer my network. I am not a UNIX administrator-I am a Windows guy. If I wanted to do UNIX kinds of things,

How Can I Start a Script in a Hidden Window?

Hey, Scripting Guy! How can I start a script in a hidden window? -- OT Hey, OT. You know, today is kind of a disappointing day for the Scripting Guys, or at least for the Scripting Guy who writes this column. As we noted yesterday , the Seattle area was

How Can I Tell Whether a Laptop Computer is Running Off Batteries?

Hey, Scripting Guy! How can I tell whether a laptop computer is running off batteries? -- TJ Hey, TJ. Ah, yes: batteries. Back in December the Scripting House lost power for six days. Was the Scripting Guy who writes this column concerned? Of course not.
More Posts Next page »
 
Page view tracker