stop-service
Stop running services. tldr-pages
On Windows
Windows
Stop running services. Note: This command can only be used through PowerShell.
Stop a service on the local computer
Stop-Service -Name service_nameIdentifyTrips 1 Sigma rule: lowStop Windows Service Via PowerShell Stop-Service by Jakob Weinzettl, oscd.community, Nasreddine Bencherchali (Nextron Systems)
Stop a service by using the display name
Stop-Service -DisplayName "name"IdentifyTrips 1 Sigma rule: lowStop Windows Service Via PowerShell Stop-Service by Jakob Weinzettl, oscd.community, Nasreddine Bencherchali (Nextron Systems)
Stop a service that has dependent services
Stop-Service -Name service_name -Force -ConfirmIdentifyTrips 1 Sigma rule: lowStop Windows Service Via PowerShell Stop-Service by Jakob Weinzettl, oscd.community, Nasreddine Bencherchali (Nextron Systems)