title: Print only property names of PowerShell object
body: <p>I'm trying to print out only the property names of a Powershell object.<br>
  In a script I do an <code>Invoke-RestMethod</code> and <code>Write-Host ($response.result | Format-List | Out-String)</code> gives me a nice list of the <code>$response.result</code> object.<br>
  <code>Get-Member -InputObject $response.result</code> also does not display what I want.<br>
  <code>$response.result</code> looks something like this: <code>@{id=1; skip=true}</code>.
  How do I just get a list/table thats shows <code>id, skip</code> etc.<br>
  Many thanks!</p>