Thankyou for these extensions to the Powershell. I would like
Integrated help That is I would like
get-help get-sqlserver
to explain things.
And I am hoping that I will be able to save a file's worth of SQL, which includes references to parameters ($arg1, $arg2, say), and invoke that say with
get-sqldata -script myScript -arg1 myArg1 -arg2 myArg2
or, better still, to make a powershell script with a call to get-sqldata buried in it and invoke it like this
./runSQL -arg1 myArg1 . . . etc