Powershell .IndexOf returns -1 on value read from file with Get-Contents

I was evaluating what I thought was a string read from a file, then doing an .indexOf on that string. Took me over an hour to debug something so simple. Trying to get the position of a string within a larger string is pretty basic stuff; yet I was getting the mystery result of -1. […]

Powershell to Rename Visual Studio Solution

Have you ever wanted to make a new Visual Studio solution (even a BizTalk one) as a copy of another, except just change the program names? And it would automatically rename everything, including the solutions, project files, assembly files and so on? I’ve needed this program for years, and finally wrote it! Remember that the […]

Recent Posts

Archives

Categories

Meta

All Rights Reserved Theme by 404 THEME.