≡ Menu

Tip: Expand Values in multi-valued property – PowerShell

Sometimes you see incomplete data in powershell output. This kind of output ends with three dots(…) which resembles some data which shell is unable to display. Below is one such example, where I am trying to view the permissions of a folder via Get-Acl

Here, “Get-Acl | select access” works but will display similar output since it has more amount of data to display which cannot be accommodated into shell window. In such cases, to see the complete output, we can use a parameter named “-expandproperty”. This prints the complete value in shell.  Below is the example.

Get-ACL | select -expandproperty access

Hope this helps…

Comments on this entry are closed.