Use get-command instead of get-process in xUnit

This commit is contained in:
Andrew Schwartzmeyer 2016-05-20 15:17:12 -07:00
parent 52d747e56b
commit 5349900c3b

View file

@ -12,7 +12,7 @@ namespace PSTests
public class RunspaceTests
{
private static int count = 3;
private static string script = String.Format($"get-process | select-object -first {count}");
private static string script = String.Format($"get-command | select-object -first {count}");
[Fact]
public void TestRunspaceWithPipeline()