Pipeworks icon indicating copy to clipboard operation
Pipeworks copied to clipboard

Import-StoredProcedure should be aliased to Import-SProxy and return [ScriptBlock]s

Open StartAutomating opened this issue 2 years ago • 1 comments

The alias helps for colloquial use. Returning [ScriptBlock]s helps for transpilation.

StartAutomating avatar Mar 25 '23 23:03 StartAutomating

Do you have an example where Import-StoredProcedure is used? I looked at the example in the Pipeworks-Phoenix branch and it looks like you're creating a script block that defines a Function. How do you import that into a session to execute it?

bryanbcook avatar May 05 '23 21:05 bryanbcook