Welcome to MSDN Blogs Sign in | Join | Help

May 2007 - Posts

This may take awhile

I'll take care of the warnings - anyone else want to fix the errors?
Posted by jmanning | 1 Comments

PowerShell gotcha of the day: set-content adds newlines by default

In a script I was writing, I was using set-content to put a particular string (just one string) into a file. The file was consistently 2 bytes longer than I expected. Since it was adding a newline, I asked how I could get it to not add the newline since
Posted by jmanning | 0 Comments

Some examples of cmdlets making life easier

Couple things I needed to do today - you can see how they were much simpler thanks to a couple of cmdlets I had written in the past: delete shelvesets I didn't need any more. Since I only wanted to keep a few that I had made today, I just checked the
Posted by jmanning | 0 Comments

randomness

Things I've stumbled across: connecting to a SQL Server database engine instance on a port can be done via hostname,1234 - in most cases you can't use hostname:port You can use SQL client aliases to create an alias so "foo" can transparently redirect
Posted by jmanning | 0 Comments
 
Page view tracker