How to capture the Return Value of a ScriptBlock invoked with Powershell's Invoke-Command How to capture the Return Value of a ScriptBlock invoked with Powershell's Invoke-Command powershell powershell