Public/Get-AllArrayData.ps1
Function Get-AllArrayData { [CmdletBinding()] param ( $Array, $Properties ) $AllData = @() foreach ($Entry in $Array) { foreach ($Property in $Properties) { $AllData += $Entry.$Property } } Return $AllData } |