Shut down PMS via command line/script

Server Version#: Latest
Player Version#: N/A
Is it still the case that the “approved/only” way to ‘shutdown’ PMS from a command line/script (cmd.exe, Powershell etc) is using taskkill.exe on the Plex Media Server.exe process?
Just checking because it always seems rather harsh when PMS effectively does transactions so killing it could leave it in a “corrupt” state presumably.
Is there any better way?
PS I don’t want to run PMS as a servuce, in case someone suggests that route.

taskkill is safe. It is no different than clicking “Exit” from the system tray.

taskkill /f will forcefully stop the processes and might cause problems.

1 Like

Thanks for prompt and helpful reply.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.