Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.28 KB

File metadata and controls

24 lines (18 loc) · 1.28 KB
description StopProc01 Code Samples
ms.date 09/13/2016
ms.topic reference
title StopProc01 Code Samples

StopProc01 Code Samples

Here is the code sample for the StopProc01 sample cmdlet. This is the Stop-Process cmdlet sample described in Creating a Cmdlet that Modifies the System. The Stop-Process cmdlet is designed to stop processes that are retrieved using the Get-Proc cmdlet (described in Creating Your First 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.

Language Topic
C# StopProc01 (C#) Sample Code

See Also

Windows PowerShell Programmer's Guide

Windows PowerShell SDK