To “extract” a single property from a custom object you can use -ExpandProperty
like this:
Get-Alias |
Measure-Object |
Select-Object -ExpandProperty Count
1
solved Powershell get Get-Measure property value
To “extract” a single property from a custom object you can use -ExpandProperty
like this:
Get-Alias |
Measure-Object |
Select-Object -ExpandProperty Count
1
solved Powershell get Get-Measure property value