Invoke() static private method

Invoke a ScriptBlock, binding it to the module, if possible.
static private Invoke ( System.Management.Automation.ScriptBlock sb ) : ICollection
sb System.Management.Automation.ScriptBlock The
return ICollection
 protected ICollection <PSObject> Invoke(ScriptBlock sb, params object[] args)
 {
     return(ScriptBlockInvoker.Invoke(sb, args));
 }
 protected ICollection <PSObject> Invoke(ScriptBlock sb, PSVariable[] variables, params object[] args)
 {
     return(ScriptBlockInvoker.Invoke(sb, variables, args));
 }