#TIL that #Microsoft #Powershell makes it really easy to pull information out of their #SQLServer #RDBMS. Using the same #DotNetFramework as people programming in C# and the likes, but in a memory-friendly script interpreter that is installed more easily than #VisualStudio.

Writing data from an image field to a file takes a bit of research. Use the #SetContent #cmdlet: it handles easiest and automatically converts hex to bytes.

The #SqlAdapter in #Microsoft #DotNetFramework automatically converts table and view fields into memory object fields of the same name and related data type. That way you don't have to guess what kind of values column 4 and 7 contained: the data row has its field names available in #Powershell's #Intellisense.

I'm impressed.