Updating incorrect example of PowerShell.Create() (#7926)

This commit is contained in:
Stephen Owen
2018-10-03 20:20:38 +05:00
committed by Ilya
parent 450d884668
commit 0789fb123a
@@ -559,7 +559,7 @@ namespace System.Management.Automation
///
/// Provides a simple interface to execute a powershell command:
/// <code>
/// Powershell.Create("get-process").Invoke();
/// Powershell.Create().AddScript("get-process").Invoke();
/// </code>
/// The above statement creates a local runspace using default
/// configuration, executes the command and then closes the runspace.