stop-server

Description

Shuts down a server.

Syntax

stop-server [host:port]

Where host:port is the host name and HTTP port number of the server to log in to. 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 stop any local servers that are running the “LocalStop” scheduled task.

You must have an active wlogin session with the server, using an account that has administrator role privileges on that server.

See also

run-server, wlogin