Example #1
0
 public static PSCommand AddDebugOutputCommand(this PSCommand psCommand)
 {
     return(psCommand.MergePipelineResults()
            .AddCommand("Out-String", useLocalScope: true)
            .AddParameter("Stream"));
 }
Example #2
0
 public static PSCommand AddOutputCommand(this PSCommand psCommand)
 {
     return(psCommand.MergePipelineResults()
            .AddCommand("Out-Default", useLocalScope: true));
 }