Ever need a generic 'compare by value' comparer, for instance for comparing collections in lists?
var comparer = new CompareObjects();
Assert.IsTrue(comparer.Compare(actual, expected), comparer.DifferencesString);
Simply done. Get Compare .NET Objects. All in one .cs file courtesy of kellermansoftware
Category: Code
Software Development
WMI Classes
If you're struggling to find WMI Class definitions it might be because half the useful ones are listed under Win32 Classes.
Get started with a remote Git repository
Try these instructions to get started with a remote Git repository
Grep for Windows is FindStr
Grrr. Where's grep when you need it on a Windows box? No, you don't need cygwin. You just need:
[sourcecode language="powershell"]findstr /?[/sourcecode]
And yes it does regular expressions. For example:
[sourcecode language="powershell"]
Echo "Here Is A Sentence" | Findstr /i "\<Sen[a-zA-Z]*e\>"
TaskList /v | findstr /i "Where[']sGrep.exe"
[/sourcecode]