restart-server

Description

Restarts EAServer. restart-server uses the wsh script to send a restart command to the server. Before you can use this script, you must first use the wlogin command to log in.

You can specify a server name, if you have previously called wlogin to log in to that server.

Syntax

restart-server [host:port]

Where host:port is the host name and HTTP port number of the server to restart. If not specified, the default is the name of the host where the command is run, and port 8000.

NoteInstead of using the host:port syntax, you can use the -local parameter to restart any local servers that are running the “LocalRestart” scheduled task.