XDS
XDS

Reputation: 4188

Powershell Script to stop/start IIS in Windows 10

Essentially what the subject says. I have tried:

 stop-service -name iisadmin,was,w3svc -passThru

However 'iisadmin' is not found. What gives?

Upvotes: 1

Views: 4609

Answers (1)

Jokies Ding
Jokies Ding

Reputation: 3494

IIS admin service is mainly used to handle Metabase.

So please ensure Internet information service->Management tools->IIS 6 management compatibility->IIS 6 Metabase compatibility has been installed.

When you finish installing this feature, IIS Admin service will be displayed in Service.msc. And your Powershell command would start working. enter image description here

Upvotes: 1

Related Questions