Stop-Process Sample 01

This sample shows how to write a cmdlet that implements a PassThru parameter that indicates that the user wants the cmdlet to return an object, and how to request user feedback by calls to the ShouldProcess and ShouldContinue methods.

C# (28.7 KB)
633 times
Add to favorites
E-mail Twitter Digg Facebook