The service cmdlets that exist in Windows do not exist at all in Linux. The main reason for this is the fragmentation of init systems available. This chapter will focus on systemd, which is enabled by default on CentOS, for example.
Enabling a new Linux daemon
Getting ready
Boot a Linux distribution using systemd, install and start PowerShell Core.
How to do it...
Please perform the following steps:
- Start by searching for the available cmdlets—at the time of writing there are none. This is shown in the following example:
# No service cmdlets yet
Get-Command -Noun...