Using this code I get the desired result:
Get-Service | select Name,Status
But the following code will not work, do you know why? I want the user to choose his own selection of attributes. I store the attributes in a variable like shown below. But it won't work:
$param = "Name,Status"
Get-Service | select $param