Esempio n. 1
0
 public static PsCommandInvoker Create <T>() where T : Cmdlet
 {
     return(new PsCommandInvoker(Extensions.GetCmdletName <T>()));
 }
Esempio n. 2
0
        public PsRunner AddCommand <T>() where T : Cmdlet
        {
            var cmdletName = Extensions.GetCmdletName <T>();

            return(AddCommand(cmdletName));
        }
Esempio n. 3
0
 public static PSObject[] InvokeCommand <T>(Hashtable parameters) where T : Cmdlet
 {
     return(InvokeCommand(Extensions.GetCmdletName <T>(), parameters));
 }