I'm trying to see all the values in a particular SP Feature. I've been trying to do so with Powershell as follows.

Get-SPFeature MessageServer | Select -Property Properties

Though all that seems to show is the names of the properties. I know there values associated with those properties but I'm not sure how to get them.

enter image description here

1 Answer 1


You can try below code, it will print value of the each feature properties in console.

$feature  = Get-SPFeature MessageServer
$feature.Properties | ForEach-Object { Write-Host "$($_.Name) - $($_.Value) "}
  • Yes that does what I want. Thankyou!
    – Dan G
    Commented Jun 27, 2023 at 17:12
  • 1
    also just &feature.Properties seems to do a print out similar to that.
    – Dan G
    Commented Jun 28, 2023 at 14:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.