示例#1
0
 public static PsCommandInvoker Create <T>() where T : Cmdlet
 {
     return(new PsCommandInvoker(Extensions.GetCmdletName <T>()));
 }
示例#2
0
 public static PSObject[] InvokeCommand <T>(Hashtable parameters) where T : Cmdlet
 {
     return(InvokeCommand(Extensions.GetCmdletName <T>(), parameters));
 }