Browse by Tags

Search Results

Page 1 of 1 (6 items)

Compressing IIS and Windows Media Server Logs with PowerShell

The PowerShell Community Extensions Project shipped a Write-GZip cmdlet which made me think that it's time to re-write the trusty CompressLogFiles.vbs file I've been using for a while.  After grappling with the square brackets in the WMS [Global] folder I think I finally have a viable solution...
    by Colin

Bumping the CD/DVD drive letter in Windows PE

While slogging through automating my development workstation build I found the need to have a script that bumps the CD/DVD drive letter allocations up one so I could put a partition in its place. It seems like a useful script for those situations where you might need it so I thought I would post it:...
    by Colin

Backing up and Clearing Event Logs

There were a few variations on this them that I came across. I thought I would expand the scripts to a more complete solution: Option Explicit If WScript.Arguments.Count <> 1 Then WScript.Echo "Syntax: BackupEventLogs.vbs <TargetFolder>" WScript.Quit End If Dim shell Set shell ...
    by Colin

Search and Replace with Regular Expressions

There are a lot of great search and replace tools out there. In particular I've been a fan of the tools put out by Jan Goyvaerts . While these tools do a lot there are times where all you need is a basic search and replace with the added zest of regular expressions. If that's what you are looking...
    by Colin

Adding a User or Group to an Authorization Manager (AzMan) Role

I had a need recently to add a user or group to an authorization manager role. During my search of the documentation it seems that they are quite light on decent examples. Here's my complete solution for anyone else needing to accomplish this task: Option Explicit If WScript.Arguments.Count <>...
    by Colin

Finding the source of "It is not possible to run two different versions of ASP.NET in the same IIS process"

Ever get the following error? “It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process.” And of course you don't want to spend all day going through...
    by Colin