InvokeCommands() 공개 메소드

public InvokeCommands ( System.Management.Automation.PSCommand profileCommands ) : void
profileCommands System.Management.Automation.PSCommand
리턴 void
예제 #1
0
 private static void LoadProfilesIntoRunspace(RunspaceDispatcher runspace)
 {
     PSCommand[] profileCommands = HostUtilities.GetProfileCommands(ProfilePrefix);
     runspace.InvokeCommands(profileCommands);
 }
예제 #2
0
 private static void LoadProfilesIntoRunspace(RunspaceDispatcher runspace)
 {
     PSCommand[] profileCommands = HostUtilities.GetProfileCommands(ProfilePrefix);
     runspace.InvokeCommands(profileCommands);
 }