If you've written a few RESTful commands, you will discover how similar their implementation is. PipeScript should have a transpiler to automatically create RESTful cmdlets in PowerShell.