Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 995 Bytes

File metadata and controls

24 lines (18 loc) · 995 Bytes
description StopProc01 (C#) Sample Code
ms.date 09/13/2016
ms.topic reference
title StopProc01 (C#) Sample Code

StopProc01 (C#) Sample Code

Here is the complete C# code for the StopProc01 sample cmdlet.

Note

You can download the C# (stopproc01.cs) source file for the Stop-Proc cmdlet using the Microsoft Windows Software Development Kit for Windows Vista and .NET Framework 3.0 Runtime Components. For download instructions, see How to Install Windows PowerShell and Download the Windows PowerShell SDK. The downloaded source files are available in the <PowerShell Samples> directory.

:::code language="csharp" source="~/../powershell-sdk-samples/SDK-2.0/csharp/StopProcessSample01/StopProcessSample01.cs" range="11-212":::

See Also

Windows PowerShell Programmer's Guide

Windows PowerShell SDK