About 1,670,000 results
Open links in new tab
  1. Using Format commands to change output view - PowerShell

    PowerShell has a set of cmdlets that allow you to control how properties are displayed for particular objects. The names of all the cmdlets begin with the verb Format. They let you …

  2. reflection - How can you use GetType().GetProperties() on a PowerShell

    Sep 5, 2013 · I am trying to get this log4net customization to work with PowerShell PSObjects. Basically, this pattern layout will iterate over the object and dump its properties into CSV …

  3. PowerShell - Reference a column or property by ID or position …

    Aug 22, 2021 · @($_.psobject.Properties)[1] is the most succinct way to refer to the second property (column) positionally[1], using the instrinsic .psobject member - add .Name to get that …

  4. Format-Table (Microsoft.PowerShell.Utility) - PowerShell

    The Format-Table cmdlet formats the output of a command as a table with the selected properties of the object in each column. The object type determines the default layout and properties that …

  5. Reflection with Powershell - Stack Overflow

    Apr 18, 2009 · The only issue here is that you cannot instantiate classes or execute methods from assemblies that have been loaded for reflection only. The same way as you do it with c# but …

  6. PowerShell formatting and output tricks

    PowerShell includes several cmdlets for controlling output: Format-Table. Displays the output in a table. You can specify which properties to show with the -Property parameter. Get-Process | …

  7. Quick Hits: Set the Default Property Display in PowerShell on

    Aug 4, 2013 · I now need to create the property set that will be used later on the object to define what will be displayed. I also need to ensure that I specify the label as a …

  8. .NET Reflection in PowerShell - Ironman Software

    Oct 23, 2021 · Reflection allows you to inspect, invoke and access .NET type data which includes both public and private members. By default, PowerShell provides access to publicly …

  9. PowerShell Reflection-Lite - PowerShell Station

    Jun 23, 2018 · Reflection is an interesting meta-programming tool. Using it, we can find (among other things) a constructor or method that matches whatever criteria we want including name, …

  10. change output names of properties fields in powershell

    Sep 8, 2022 · You can use calculated properties with Select-Object to create your own display names for the properties. EDIT: Fixed typo in code. For example: You could also create a …

Refresh