Earlier, I gave you a VBScript wrapper that you could use to run PowerShell scripts as scheduled tasks and be completely hidden from the user. If you want to run a PowerShell cmdlet expression instead of a .ps1 script, you…
Read More
Jeff Hicks and I have been having some fun with the VBScript Execute() method, as Jeff’s been writing about it for VBScript and WSH Core: TFM? this week. Here’s some sample code:Const pi = 3.1416Const r = 2.5WScript.Echo Main()Function Main() Dim…
Read More
We truly appreciate all the comments and feedback you’ve been giving us on our blog entries. We’ve tried to respond to comments in a timely manner. You are still welcome to leave comments. However, if you have a question that…
Read More
I’ve had some questions lately about scheduling a PowerShell script. This is something we’ve covered a little bit. You recall that you can run a PowerShell command from CMD:
powershell -nologo -command "& {c:\scripts\myps.ps1}"
You can include commands like this…
Read More
A recurring question I’ve seen over the years in a number of VBScript forums is how to present a menu dialog in a script. Other than InputBox, MsgBox or the WshShell’s Popup Method, there aren’t too many GUI alternatives. And…
Read More
Here’s another quick suggestion, especially for VBScript, that will make script development and debugging a little easier and a lot less stressful. It may seem like common sense, but sometimes we all just need a reminder: Start Simple.
The first…
Read More
Here’s an AWESOME resource: http://www.microsoft.com/technet/scriptcenter/topics/winpsh/convert/default.mspx, the Scripting Guys’ complete guide to VBScript functions… or, more specifically, how to do each VBScript function in Windows PowerShell! It’s available online, or you can download the whole thing as a Word document. For…
Read More
Happy Holidays from SAPIEN Technologies! In celebration of the season, we’d like to offer you a special gift: A free sampler pack of Snippets to add into PrimalScript (or use independently, if you prefer – they’re just text files)! This…
Read More
I’ve spent some time lately exploring searching and replacing techniques in a variety of scripting languages. I hope to share some of these experiences later. Right now I wanted to briefly share a tip when searching for text using VBScript. …
Read More
Don Jones will be hosting a new series of monthly TechNet Webcasts, beginning December 19th. These Webcasts are free, although they do require advance registration in order to attend. Learn more about the first one, an “Overview of Windows PowerShell,”…
Read More