Changing file dates and other more uncommon properties in PowerShell

There are some file properties that aren’t too easy to change. Neither in the command line or in Windows Explorer. One that I’ve wanted to change personally quite often is the created and changed dates of a specific file, or a batch of files. Background I frequently use my Windows Phone (currently a Nokia Lumia…



Today I found the following e-mail in my inbox: Hello According to this article, written by you, you write that there are three “ever-present exceptions”, I can see why they have to be on the heap, but why is 790ff624 3 36 System.Text.DecoderExceptionFallback 790ff5d8 3 36 System.Text.EncoderExceptionFallback Also always there? I always see them…


Changing Site Settings through code in SharePoint 2010

It’s been quite a while since I had the time to post. A customer dropped me this question today and I thought it’d be interesting to share. He wanted to change the “Allow rules to specify another site as a target location”-setting (seen below) through code and needed to know if this could be done….


Problems running sos-commands

Yesterday I tried opening up a standard dump file from a 64-bit Windows 2008 Server. It opened up just fine in windbg, but when I tried executing a command I got the following: 0:000> !dumpheap -stat The garbage collector data structures are not in a valid state for traversal. It is either in the “plan…