Using Scriptblocks in PSCustomObjects

Self-documenting so I know how to do this myself later!

Words: 806

Time to read: ~ 4 minutes

tl;dr: Save your command as a [scriptblock] variable and then use .InvokeReturnAsIs method

Update: 2018-04-24 Added examples of using simple functions as well.

Continue reading “Using Scriptblocks in PSCustomObjects”

When you NEED to Declare a Table Using the OUTPUT Clause

I learned a thing myself at the end!

Words: 532

Time to read: ~ 2.5 minutes

Update: 20180417 – Added explanation of SQL Script rather than random statements.

Continue reading “When you NEED to Declare a Table Using the OUTPUT Clause”

Exit mobile version
%%footer%%