About 32,900 results
Open links in new tab
  1. Select the values of one property on all objects of an array in ...

    Similarly, [pscustomobject] input makes the pipeline-based Select-Object -ExpandProperty Name faster, in Windows PowerShell virtually on par with .ForEach({ $_.Name }), but in PowerShell …

  2. powershell - Select-Object on nested collections - Stack Overflow

    Apr 4, 2013 · I'm writing a Powershell cmdlet to list changesets from TFS. I successfully query TFS and get a collection of changesets but want to return simplified objects that contain only a …

  3. powershell - How to get an object's property's value by property …

    39 You can get a property by name using the Select-Object cmdlet and specifying the property name (s) that you're interested in. Note that this doesn't simply return the raw value for that …

  4. PowerShell Select-Object: Using -Unique with First/Last/Skip/Index

    Oct 14, 2021 · Maybe I'm the only one trying to use Select-Object to select the -First X unique instances from a set of data. Based on the testing below, it looks like using Select-Object with …

  5. powershell select-object property AND expandproperty

    Nov 14, 2019 · Trying to execute a Select-Object, but i can't seem to return property and a value from a key-value list property. There are 3 properties i want returned RunStart, Message and …

  6. powershell - Where-Object, Select-Object and ForEach-object ...

    Jun 4, 2019 · Explore its parameter sets using Get-Help Select-Object where it has similar row-like filtering capabilities like only getting the first n objects from the pipeline (aka, Get-Process | …

  7. Powershell select-object skip multiple lines? - Stack Overflow

    Apr 6, 2010 · Can i skip multiple lines with the -skip option? gc d:\\testfile.txt | select -skip 3 works but what to do if i want to delet line 3-7 ??

  8. Powershell select a specific value - Stack Overflow

    Mar 26, 2013 · get-clusterparameter | Where-Object { $_.Value -like '10.*' } | Foreach-Object { $_.Value } Another thing is the fact that you want the value, not custom object with single …

  9. powershell - Rename columns in Select-Object - Stack Overflow

    Feb 23, 2022 · I have an object with spaces in their properties names. I want to Select-Object @{n='NewName';e={$_.'Old Name'}} for every NoteProperty. Since there is a lot of them, I …

  10. powershell - how to expand multiple properties when output …

    Mar 3, 2021 · Select-Object -ExpandProperty lets you expand one property, not all. If you want output like that, loop over the objects in the array and combine the properties the way you …