AsyncProcess.GetProcessesByName Method (String, String)

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Platform
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Dim processName As String
Dim machineName As String
Dim returnValue As AsyncProcess()

returnValue = AsyncProcess.GetProcessesByName(processName, machineName)

public static AsyncProcess[] GetProcessesByName (
	string processName,
	string machineName
public static AsyncProcess[] GetProcessesByName (
	String processName, 
	String machineName
public static function GetProcessesByName (
	processName : String, 
	machineName : String
) : AsyncProcess[]




Return Value

Returns AsyncProcess.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms