Set/Start/Stop/etc.. cmdlets should have PassThru parameter. Check this for more info about `PassThru`: http://blogs.technet.com/b/heyscriptingguy/archive/2011/11/18/use-the-powershell-passthru-parameter-and-get-back-objects.aspx