Controlling Virtual Server through Microsoft PowerShell

In his post by the same name, Ben describe a series of steps required in order to manipulate Virtual Server from PowerShell. I’m still a PowerShell novice, so I decided to use this problem as an opportunity to see if I could make things a little easier.  The reason it’s hard is that you have…

2

export environment variables from CMD to PowerShell

If you want to use PowerShell, but already have a CMD script that you want to keep, and that CMD script sets environment variables, you’re in a pickle.  Now I like pickles of all kinds, but Lee can help you get out of this one, with a script that exports the env. vars. back to…

1

random debugger tip: catching COM exceptions

I was cleaning out some old mail and came across this tip.  You can tell it was a long time ago, because it really only matters if you’re writing COM objects, something I haven’t done in a long, long time. Some parts of Visual Studio use COM as a layer to handle cross-thread calls and…

1

Microsoft PowerShell is awesome

At work I’ve been playing with Windows PowerShell.  I could try to describe it, but Wikipedia has already done a better job: Windows PowerShell, previously Microsoft Shell or MSH (codenamed Monad) is an extensible command line interface (CLI) shell and scripting language product developed by Microsoft. The product is based on object-oriented programming and the…

6