Tags » VBScript

How Can I Determine Which Version of Word is Installed on a Computer? - Hey, Scripting Guy! Blog - Site Home - TechNet Blogs

Late binding sometimes is your friend:

Set objWord = CreateObject("Word.Application")
Wscript.Echo "Version: " & objWord.Version
Wscript.Echo "Build: " & objWord.Build

The accompanying Delphi code:

71 more words

Custom Event Logging from PowerShell - Part 1

Since I often write scripts that run unattended, I always need to capture errors and then exit with a return code that tells me what went wrong. 412 more words


Creating a Service with a VBScript

Warning – This procedure assumes you are competent as an administrator and know how to use regedit.

  • Your vbscript file should be complete and debugged before starting this process.
  • 332 more words

Create desktop shortcut

Sometimes I need to create a shortcut to a remote computer or allow a user to create a shortcut


Getting at Profile Subfolder Paths

I use VBScript a lot to automate installation of software via SCCM on remote machines. Sometimes I have to deal with removing icons that may or may not be sitting on individual users’ Desktops. 291 more words


Deploy Group Policy Preferences CSE to XP Machines

I wrote the script below to deploy the Group Policy Preferences Client Side Extension to our old XP machines as there are various pre-requisites. The script was packaged along with two files which you’ll see referenced in the script (the CSE itself and XML Lite) and distributed with SCCM. 875 more words


How to compress and uncompress files with Windows' VBScript [21.06.2014]

Recently I’ve found one of my oldest projects. When I was 12 and started programming and, don’t ask me why, was impressed by scripting. And let me tell you, scripting Windows’ batch isn’t as cool as under Linux with shell! 802 more words