简体   繁体   中英

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?

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. 在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM