{"id":1448,"date":"2016-04-06T15:23:22","date_gmt":"2016-04-06T20:23:22","guid":{"rendered":"http:\/\/osric.com\/chris\/accidental-developer\/?p=1448"},"modified":"2016-04-06T15:23:22","modified_gmt":"2016-04-06T20:23:22","slug":"powershell-ellipsis-dot-dot-dot","status":"publish","type":"post","link":"https:\/\/osric.com\/chris\/accidental-developer\/2016\/04\/powershell-ellipsis-dot-dot-dot\/","title":{"rendered":"PowerShell Ellipsis (dot dot dot)"},"content":{"rendered":"<p>Sometimes when you retrieve an object via PowerShell, some of the properties are truncated, denoted by an ellipsis (&#8220;&#8230;&#8221;).<\/p>\n<p>For example:<br \/>\n<code>Get-Mailbox chris | Select AddressListMembership<\/p>\n<p>AddressListMembership<br \/>\n---------------------<br \/>\n{\\Staff Global Address List, \\Staff, \\IT Staff, \\Exchange Admins...}<\/code><\/p>\n<p>How do you see the full list? There are a couple ways:<\/p>\n<p><strong>Select -ExpandProperty<\/strong><br \/>\n<code>Get-Mailbox chris | Select -ExpandProperty AddressListMembership<\/code><\/p>\n<p><strong>$FormatEnumerationLimit =-1<\/strong><br \/>\nThis is a per-session variable in PowerShell. By default the value is 4, but if you change it to -1 it will enumerate all items. This will affect every property of every object, so it may be more than you need.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes when you retrieve an object via PowerShell, some of the properties are truncated, denoted by an ellipsis (&#8220;&#8230;&#8221;). For example: Get-Mailbox chris | Select AddressListMembership AddressListMembership &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; {\\Staff Global Address List, \\Staff, \\IT Staff, \\Exchange Admins&#8230;} How do you see the full list? There are a couple ways: Select -ExpandProperty Get-Mailbox chris | Select &hellip; <a href=\"https:\/\/osric.com\/chris\/accidental-developer\/2016\/04\/powershell-ellipsis-dot-dot-dot\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">PowerShell Ellipsis (dot dot dot)<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[393,232],"tags":[400,401,228],"class_list":["post-1448","post","type-post","status-publish","format-standard","hentry","category-powershell","category-tips-tricks","tag-expandproperty","tag-formatenumerationlimit","tag-powershell"],"_links":{"self":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/1448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/comments?post=1448"}],"version-history":[{"count":2,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/1448\/revisions"}],"predecessor-version":[{"id":1450,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/1448\/revisions\/1450"}],"wp:attachment":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/media?parent=1448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/categories?post=1448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/tags?post=1448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}