Welcome to MSDN Blogs Sign in | Join | Help

February 2007 - Posts

Checking the permissions assigned to team projects are all to groups

Turns out, I misunderstood the initial forum post . Their goal wasn't to make sure all the team project groups (Contributors, Readers, etc.) contained only groups, but instead to make sure that all the permissions assigned to a team project were assigned
Posted by jmanning | 1 Comments

Attachment(s): CheckTfsProjSec.zip

check-tfsgroups.ps1 - PS version of that C# app

Since I got a comment complaining about the lack of PowerShell version (I did it in C# since I got the impression that's what the forum user needed), here's how I'd do it in PowerShell. While using the ListProjects | %{ ... } is certainly pithier, I'm
Posted by jmanning | 2 Comments

Making sure your team project's groups only contain groups

I know, the title sounds a little odd. :) Got a question in the forums : i need to make sure that all the projects in TFS should have only group accounts [NOTE: code is attached, so you don't have to copy-paste from the blog post itself] For this, we'll
Posted by jmanning | 4 Comments

Attachment(s): CheckTfsGroups.zip

SharePoint 3.0 templates do the heavy lifting for you

http://www.microsoft.com/technet/windowsserver/sharepoint/wssapps/templates/default.mspx Application templates are out-of-the-box custom scenarios tailored to address the needs and requirements of specific business processes or sets of tasks in organizations
Posted by jmanning | 0 Comments

Admin math: PowerShell+WMI = iddqd+idkfa

http://blogs.msdn.com/powershell/archive/2007/02/24/displaying-usb-devices-using-wmi.aspx In the past, people have thrown rocks at WMI for being difficult and obtuse. There is a ton of great information in WMI and now with PowerShell, you have a tool
Posted by jmanning | 2 Comments

Don't shoot the messenger(s)

I had some .lnk files in my docs that pointed to some .wiq files I use a good bit. I tried to execute one of them from PowerShell today and got an odd message. As it turns out, the cause was that the target of the .lnk had been deleted, but you couldn't
Posted by jmanning | 0 Comments

version 1.2 of Team Foundation Power Tools now available

This release includes the Check-in Policy Pack which I'll highlight mainly because I wrote all but one of the policies myself, and on that last one I wrote about 90% of it before handing it off to another team to finish :) IOW, if you have any questions
Posted by jmanning | 2 Comments

Trace-ProcessCreation: wrapping existing code with a cmdlet

I was spamming asking around earlier this week about how to monitor process creation in windows. I was expecting to have to go the IFEO or hook-an-API route, but Wes Haggard pointed me to a class he wrote that uses WMI for monitor process creation/modification/deletion
Posted by jmanning | 0 Comments

PowerShell: You must think in objects

Yes, Firefox ("You must think in Russian") is one of my favorite movies :) Even now, I still find myself thinking cmd-ish at times and forgetting how much easier life is in PowerShell. An example from yesterday was doing a dir -r -filter to look for a
Posted by jmanning | 0 Comments

Virtual PC 2007 - ready to go!

To continue the theme, VPC 2k7 also shipped. I'm running SQL SP2 within vpc 2k7 as I write this :) Woo hoo! http://www.microsoft.com/windows/downloads/virtualpc/default.mspx Technical overview (XPS format) http://download.microsoft.com/download/6/D/F/6DFC4E29-CB62-4401-A13B-043ADFA697E2/Virtual_PC_Technical_Overview_2007.xps
Posted by jmanning | 0 Comments

SQL Server 2005 SP2 is available

A whopping 2 days after my " it'll be here soon ", SQL Server 2005 SP2 has shipped. http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/servicepacks/sp2.mspx Make sure to also check out the updated Books Online http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.msp
Posted by jmanning | 0 Comments

Transparency - James the anti-cheerleader

I was chatting with one of my ISV buddies ( IRC , it's a wonderful thing) who happens to read my blog (well, the RSS feed, of course). After my latest round of cheerleading, including more "PowerShell will transform the world as we know it", but this
Posted by jmanning | 0 Comments

OneNote 2007 sharing is indistinguishable from magic

One of the features I just *love* about OneNote 2007 is the "shared notebook" feature. You can create a notebook that co-workers, friends, etc can also edit at the same time. OneNote was already an amazing app, but this makes it all that much better.
Posted by jmanning | 2 Comments

SQL Server 2005 SP2 Real Soon Now

http://blogs.msdn.com/benjones/archive/2007/02/17/sql-server-2005-sp2-is-almost-here.aspx http://download.microsoft.com/download/2/b/5/2b5e5d37-9b17-423d-bc8f-b11ecd4195b4/WhatsNewSQL2005SP2.htm Tons of good fixes and perf improvements here - it's shaping
Posted by jmanning | 2 Comments

Insanely cool - .NET Micro Framework

It has nothing to do with TFS (well, at least not directly... not yet), but I've been following the project (I have a lot of embedded work in my background and still find it very interesting) and am very excited to see the .NET Micro Framework has been
Posted by jmanning | 1 Comments

Don't call it a (power)shell script

In the admin-tools space, my own language background centered around tcsh/csh/bash scripts (mainly calling the usual suspects of sed, awk, grep, cut, etc) and occasional C at first, then moving a lot into perl once perl5 was starting to take shape. Perl
Posted by jmanning | 0 Comments

why share-able functions shouldn't be in your PowerShell profile

<imho> I cringe when I come across web sites or blog posts that start out with something like "shove this function into your $profile". Your $profile should be a small, focused thing (this philosophy is a recurring theme) that's all about things
Posted by jmanning | 0 Comments

get-tfs-wss-languages.ps1 - looking up the language of your TFS's sharepoint server

[note: all my scripts are now zip'd up together on this page ] This particular script probably isn't useful for very many people (it's useful for me for some test scenarios we have). However, it's a good example of some various constructs that get repeated
Posted by jmanning | 1 Comments

PowerShell provider for SharePoint

There's been a good number of times that I wanted to access some docs from a sharepoint document library (remember, that project portal in TFS is an instance of Windows SharePoint Services 2.0) without having to use their web interface. Today I ran across
Posted by jmanning | 1 Comments

PowerShell syntax for Vim

Peter Provost did all the heavy lifting here. Official syntax file Peter's non-LUA installation instructions Unfortunately, when I installed Vim 7.0, things were different enough that I wanted to post a bit of what I did, both to document it for the future
Posted by jmanning | 0 Comments

adding line counts to your items in the pipeline

One of the things I've noticed I find helpful is the "pipeline snippets" I use over and over - most often it's something that adds a member or method to the objects. While it's not the most efficient possible approach by any means, a quick-and-dirty way
Posted by jmanning | 0 Comments

Simplest TFS cmdlet - history of a local file

I got 2 requests in the last week to explain cmdlets and show how to create one, so I figured I'd throw together a simple one for a Version Control api (QueryHistory), since that's what my blog has historically focused on. The cmdlets I'm doing "for real"
Posted by jmanning | 1 Comments

Attachment(s): GetTfHistoryCommand.zip
 
Page view tracker