Welcome to MSDN Blogs Sign in | Join | Help

January 2007 - Posts

example of using PowerShell to interactively dig into an object model

I was trying to modify a work item today and put in, apparently, too much text into a field I really hate that experience - it doesn't tell me the 2 pieces of information I want to know - what's the max length for the field, and what's the length for
Posted by jmanning | 0 Comments

using PowerShell for Outlook automation

One of the things that's most nifty about PowerShell is the easy COM access it gives you, although sometimes it's easy to forget. Here are a few examples that may help give some ideas. Yes, you can automate Outlook from tons of other languages as well,
Posted by jmanning | 0 Comments

change-mappings.ps1 - mass-changing your workspace mappings

There are a few times when you want to do a mass search-and-replace on your workspace mappings. Change a drive letter created a workspace with tf workspace /new /template and need to change the paths rearranging source trees Moving your workspace from
Posted by jmanning | 1 Comments

Five Things meme

gen (n-1) tag: Martin I was once nearly decapitated when I ran into a clothesline with my motorcycle. Since the line wrapped around my head a few times (after my head managed to rip it away from the trees it was tied to), the resulting lacerations looked
Posted by jmanning | 2 Comments

Forcing the issue when PowerShell's ctor selection magic goes wrong

I'll just include the thread below, but I was trying to force PowerShell to call the correct 4-param version of the FileStream ctor but my attempt to force the types of params 2, 3, and 4 wasn't working as I thought :) Thankfully, Jim Truher fixed me
Posted by jmanning | 0 Comments

how do you want tfs-related powershell scripts delivered to you?

There's a bunch of TFS scripts/cmdlets that are on my todo list (many thanks to Keith Hill and others for sending me the requests) and I've been debating the right way to share these out. Unfortunately "ClickOnce for a collection of scripts" isn't around
Posted by jmanning | 3 Comments

do NOT manually delete things from %windir%\WinSxS

A long time ago, I had written up a little script that uninstalled VS - this is pre-pre-pre-release Whidbey, and setup at the time had a few problems with things it left lying around. One of the things it did was clean up some of the entries in the WinSxS
Posted by jmanning | 0 Comments
 
Page view tracker