Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (8/7/09)
Does Windows PowerShell Let Me Trap Errors? Hey Scripting Guy! Does Windows PowerShell have the ability to trap errors? -- JP Hello JP, Yes, it does. Here is an example of using the trap statement in a script. DemoTrapSystemException...(read more)
Does Windows PowerShell Let Me Trap Errors? Hey Scripting Guy! Does Windows PowerShell have the ability to trap errors? -- JP Hello JP, Yes, it does. Here is an example of using the trap statement in a script. DemoTrapSystemException...(read more)
Hey, Scripting Guy! How Can I Collect System Restore Information in Windows Vista?
Hey, Scripting Guy! I was looking at System Restore on my Windows Vista computer, and I had an idea. Wouldn’t it be great if I could script the collection of information for System Restore? I would like it to tell me how much disk space is being consumed...(read more)
Hey, Scripting Guy! I was looking at System Restore on my Windows Vista computer, and I had an idea. Wouldn’t it be great if I could script the collection of information for System Restore? I would like it to tell me how much disk space is being consumed...(read more)
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (11/14/08)
Troubleshooting a Script That Uses the TrimStart Method Hey, Scripting Guy! Greetings from an old VBScript guy. I have a problem with a Windows PowerShell script. It returns the unexpected result of "RANSFER" instead of the desired result of "\TRANSFER...(read more)
Troubleshooting a Script That Uses the TrimStart Method Hey, Scripting Guy! Greetings from an old VBScript guy. I have a problem with a Windows PowerShell script. It returns the unexpected result of "RANSFER" instead of the desired result of "\TRANSFER...(read more)
How Can I Determine Which Version of Windows Vista is Installed on a Computer?
Hey, Scripting Guy! How can I determine which version of Windows Vista is installed on a computer? -- GC Hey, GC. You know, Microsoft is one of the largest and most successful companies the world has ever known. And yet, despite all our successes,...(read more)
Hey, Scripting Guy! How can I determine which version of Windows Vista is installed on a computer? -- GC Hey, GC. You know, Microsoft is one of the largest and most successful companies the world has ever known. And yet, despite all our successes,...(read more)
How Can I Execute a Scheduled Task in Windows Vista?
Hey, Scripting Guy! I understand that, in Windows Vista, I can write a script that will cause a scheduled task to immediately execute. How do I do that? -- KW Hey, KW. Before we answer today’s question, we’d like to take a moment to say a few things...(read more)
Hey, Scripting Guy! I understand that, in Windows Vista, I can write a script that will cause a scheduled task to immediately execute. How do I do that? -- KW Hey, KW. Before we answer today’s question, we’d like to take a moment to say a few things...(read more)