PS> stop-process -id 3952 -confirm -passthru
Explanation: ` -confirm ` parameter prompts the user before stopping the process. Because the prompt includes the process name, as well as its ID, this is best practice. ` -passthru ` parameter passes the process object to the formatter for display. (This is not applicable to graphical powershell)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment