About 1,620,000 results
Open links in new tab
  1. 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 …

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

    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 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, …

  4. change output names of properties fields in powershell

    Sep 8, 2022 · Get-ADUser -Filter "City -eq 'AnyCity' -and enabled -eq 'True'" -Properties email,givenName,surname,telephoneNumber,employeeNumber | Select-Object @ …

  5. Discovering objects, properties, and methods - PowerShell

    Aug 19, 2024 · Get-Member provides insight into the objects, properties, and methods associated with PowerShell commands. You can pipe any PowerShell command that produces object …

  6. Using Format commands to change output view - PowerShell

    Dec 9, 2022 · This article describes the Format-Wide, Format-List, and Format-Table cmdlets. Each object type in PowerShell has default properties that are used when you don't select the …

  7. .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 …

  8. Increase Width Of One or More Columns - PowerShell Forums

    Sep 1, 2022 · Get-ADUser -Filter "uSDAOfficeID -like $Number" -properties Samaccountname, Office, uSDAOfficeID, City, State, DistinguishedName | Group-Object -Property uSDAOfficeID …

  9. powershell - How do You Control Column Name Position When Creating

    Sep 4, 2014 · While that script creates my CSV and includes all the data I need in the correct rows, I cannot figure out how to control column position. Even though I'm ordering and adding …

  10. 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 …

  11. Some results have been removed
Refresh