From 5349900c3b2981092b5603af71e7d039f907f56c Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 20 May 2016 15:17:12 -0700 Subject: [PATCH] Use get-command instead of get-process in xUnit --- test/csharp/test_Runspace.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/csharp/test_Runspace.cs b/test/csharp/test_Runspace.cs index 687a7afc0..dcde801f7 100644 --- a/test/csharp/test_Runspace.cs +++ b/test/csharp/test_Runspace.cs @@ -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()