<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PSCustomObject on MXI</title><link>https://mxii.eu.org/tags/pscustomobject/</link><description>Recent content in PSCustomObject on MXI</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Fri, 12 Aug 2016 03:14:15 +0300</lastBuildDate><atom:link href="https://mxii.eu.org/tags/pscustomobject/index.xml" rel="self" type="application/rss+xml"/><item><title>Quick note about objects in PowerShell</title><link>https://mxii.eu.org/2016/08/12/quick-note-about-objects-in-powershell/</link><pubDate>Fri, 12 Aug 2016 03:14:15 +0300</pubDate><guid>https://mxii.eu.org/2016/08/12/quick-note-about-objects-in-powershell/</guid><description>&lt;p>&lt;em>I decided to move this note out from another post.&lt;/em>&lt;/p>
&lt;p>It&amp;rsquo;s a kind of summary on a question &amp;ldquo;Why &lt;code>[PSCustomObject]@{}&lt;/code> syntax is the preferred way to create objects in PS&amp;rdquo;. After looking into StackOverflow (&lt;a href="http://stackoverflow.com/questions/14012773/difference-between-psobject-hashtable-and-pscustomobject">one&lt;/a>, &lt;a href="http://stackoverflow.com/questions/35894272/powershell-type-accelerators-psobject-vs-pscustomobject">two&lt;/a>) and some other resources (&lt;a href="https://learn-powershell.net/2014/01/11/custom-powershell-objects-and-performance-revisited/">three&lt;/a>), I decided to test and write it down for myself.&lt;/p>
&lt;p>Nothing really new here. I only hope it will work as a good summary.&lt;/p>
&lt;p>&lt;strong>Update:&lt;/strong> Select-Object examples. Additional links.&lt;/p></description></item></channel></rss>