Chapter 14. Processes and Services
In This Chapter: | |
This chapter covers the management of process and covers the administration of Windows services (also known as Windows NT services). Examples in the chapter include the enumeration of process and services, starting and stopping process and services, installation of services, and changing service configuration.
Processes
The commandlet Get-Process
(alias ps
or gps
) has already been used quite often in this book. This chapter discusses Get-Process
in more depth and examines complementary commandlets.
Enumerating Processes
You get a list of all processes with the following:
Get-Process
Get-Process
gets instances of the .NET classes System.Diagnostics.Process
.
If the list ...
Get Essential PowerShell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.