$PropSplat = @( 'Name' 'Status'
@{ Name = 'BoolStatus' Expression = { if($PSItem.Status -eq 'Running'){$false}else{$true} } })
Get-Service m* | Select-Object $PropSplat
in order to find and return a specific line from a csv file (data)
$Recepies = Iomport-CSV C:\temp\recepies.scv
$Recepies.Where({$PSItem.Ingredient_1 -eq 'potato'})