Archives / 2012 / April

All Aboard #SQLAmtrak

Apr 28 2012No Comments by justin

Update: I have settled on the train. I have three announcements in this post. First of all, I'd like to announce that I will be speaking at SQL Saturday 121 in Malvern, PA, just outside of one of my favorite cities, Philadelphia. Secondly, I'd like to announce that I will be taking Amtrak there from Newark Penn Station in Newark, NJ. Finally, I'm inviting you all to join me in a little adventure I'd like to call #SQLAmtrak! Why #SQLAmtrak? Because I love traveling by rail, and I'm sure I'm not …

#SQLAmtrak, #sqlfamily, SQL, SQL Saturday, SQL Saturday 121 Read more

PowerShell 3.0 [ordered] and MongoDB

Apr 20 2012No Comments by justin

Recently, Shay Levy published a blog post about new features related to the Add-Member cmdlet in PowerShell 3.0. In it, one of the examples involved the use of [ordered]. The example, shown below is: [powershell]PS> $pso = New-Object -TypeName PSObject PS> $pso | Add-Member ([ordered]@{One=1; Two=2; Three=3}) -PassThru One Two Three --- --- ----- 1 2 3[/powershell] The take home of this example was simple; using the @{} operator by itself created a System.Hashtable object, and …

mongodb, PowerShell Read more