I’ve been getting things ready for my next Techmentor appearance. This one is practically in my back yard. I’ll be in NYC on Monday and Tuesday next week.
Tag: VBScript
PowerShell InputBox
The other day I gave you a function to create a VBScript style message box in PowerShell. If you find yourself needing MsgBox in PowerShell, you’re likely going to want InputBox.
PowerShell, VBScript, Shells and Cmdlets
We are currently running a survey about PowerShell adoption. If you haven’t had a chance yet to participate, please go here to do so: Take the survey I would like to thank all those who already took the survey for participating and for leaving a huge amount of very interesting comments. One thing that really […]
PowerShell MsgBox
if you came from the VBScript world you may be missing a few old friends in PowerShell. Because Powershell is a management console, it lacks a GUI unless you create one using Windows forms. Things will change a bit in PowerShell v2.0 but for now let’s stick with what we have. If you really need a message box, ala VBScript, then simply call it from PowerShell. All you need to do is use the [microsoft.visualbasic.interaction] class and the MsgBox method.
New PrimalToys object for easier CSV handling
With service build 569 of PrimalScript 2007 we added a COM object that makes it easier to deal with CSV (comma separated values) data and/or files. While browsing through posts at ScriptingAnswers.com and some of Microsoft’s scripting related newsgroups I couldn’t help but notice that questions regarding CSV keep coming up. I mentioned this to […]
VBScript: Drive Utilization
Here’s another recent topic from the ScriptingAnswers.com forums which I thought I’d share. The forum members wanted to delete files if the drive utilization exceeded a certain threshold. Using Windows Management Instrumentation (WMI) with VBScript I came up with something like this…
SAPIEN at Microsoft TechEd 2008 IT Professionals
Its spring when a young man’s fancy turns to thought of … TechEd! Yes, it’s that time again. Microsoft TechEd 2008 will be at the Orange County Convention Center, North/South Building, Orlando, Florida. This year, TechEd is divided into 2 shows: TechEd 2008 Developers and TechEd 2008 IT Professionals. SAPIEN will be exhibiting at TechEd […]
Use PowerShell in your VBScript code
Are you a VBScript user looking to leverage some of PowerShell’s cool new capabilities – but aren’t ready to move entirely to PowerShell? Perhaps you have an older VBScript that needs some minor new functionality that you just KNOW would be easier in PowerShell – but you don’t have time to convert the entire script? […]
ADM Template for Windows Script Host TrustPolicy
Download the template, which can be imported into Group Policy to centrally control Windows Script Host TrustPolicy. Note: After importing, if you see the containers but not the settings, you need to enable the advanced view options. These settings are “tatooed” into the registry, not controlled like normal Settings.
“VBScript, WMI, and ADSI Unleashed” Samples
Download the ZIP file containing the sample scripts from this book by Don Jones.