Author: keithhill

How to strong name partially signed assemblies

When developing software based on .NET it is quite common to strong name your assemblies especially if you’re a library…

Read More

#PSCXTip Getting details about a command’s parameters

The parameters for a PowerShell command can be quite complex. Some parameters are only valid in certain parameter sets. Parameters…

Read More

#PSCXTip Manipulating file attributes

When dealing with files under source control it is quite often useful to be able to make a bunch of…

Read More

#PSCXTip Testing XML for well-formedness and validity against a schema

We often deal with XML files whether it is modifying TFS work item templates, C# project files, or our own…

Read More

#PSCXTip Formatting XML for better readability

XML is great for easily storing structured data and is pretty easy to work with in PowerShell. However, sometimes you…

Read More

#PSCXTip How to determine the byte order mark of a text file

Text files created by PowerShell are little endian Unicode (UTF-16LE) by default.  You can see this by inspecting the first…

Read More