Web Server (IIS) Administration Cmdlets in Windows PowerShell
https://technet.microsoft.com/en-us/library/ee790599.aspx
Web Server (IIS) Administration Cmdlets in Windows PowerShell
The Web Server Administration module for Windows PowerShell includes the Internet Information Services (IIS) cmdlets that let you manage the configuration and run-time data of IIS. It implements a namespace hierarchy containing Application Pools, Web sites, Web applications and virtual directories.
The IIS module implements one virtual drive named IIS. The root virtual folders are AppPools and Sites. Within the AppPools folder, run-time data, such as the currently running worker processes, application domains, and requests can be found. The Sites folder contains Web site folders, as well as applications and virtual directories.
By default, Windows PowerShell modules and snap-ins are not loaded in Windows PowerShell. To start Windows PowerShell so that all the Windows PowerShell modules and snap-ins are loaded automatically, right-click the Windows PowerShell icon in the taskbar, and then click Import all modules. In Windows Server 2008 R2, the Windows PowerShell icon is pinned to the taskbar by default. However, you must start Windows PowerShell one time to make the Import all modules task appear.
You can manually add the IIS Module to the instance of Windows PowerShell that you have opened by using the following command at the command prompt: C:\PS>add-pssnapin WebAdministration.
IIS cmdlets
This section lists the IIS module for Windows PowerShell cmdlets in IIS 7.
To use the Windows PowerShell cmdlets for IIS, you must be a member of the IIS Administrators or Administrators group, or you must have been delegated the appropriate authority.
| Cmdlet name | Description |
|---|---|
|
Adds a collection element to an IIS configuration collection. |
|
|
Locks an IIS configuration section or element. |
|
|
Adds a property to an IIS configuration section. |
|
|
Creates a backup of an IIS configuration. |
|
|
Instructs the IIS configuration system to delay the commitment of changes. |
|
|
Removes configuration settings from the configuration location specified. |
|
|
Clears the Request Tracing configuration from the specified Web site. |
|
|
Converts an IIS virtual directory to an IIS Web application. |
|
|
Disables the specified IIS module. |
|
|
Disables Request Tracing for the site specified. |
|
|
Enables the specified IIS module. |
|
|
Enables Request Tracing for the site specified. |
|
|
Instructs the IIS configuration system to resume the commitment of changes. |
|
|
Gets the application domains in which the specified IIS worker process is running. |
|
|
Gets the Web applications associated with a specific site or with the name specified. |
|
|
Gets the run-time state of an IIS application pool. |
|
|
Gets the bindings on the specified IIS site. |
|
|
Gets the file system path of the Web.config file. |
|
|
Gets an IIS configuration element at the specified path. |
|
|
Gets a list of available IIS configuration backups. |
|
|
Gets the location of a specified configuration setting. |
|
|
Gets the lock status of the specified IIS configuration location. |
|
|
Gets an IIS configuration property at the specified path. |
|
|
Gets the physical path to the location of the specified IIS module. |
|
|
Gets the global modules configured in IIS. |
|
|
Gets IIS Request Handlers. |
|
|
Gets the run-time state of a site or an application pool. |
|
|
Gets the managed modules that are configured for a particular application. |
|
|
Gets the IIS requests that are currently being executed. |
|
|
Gets configuration information for an IIS Web site. |
|
|
Gets the state of an IIS Web site. |
|
|
Gets information about the URL associated with the specified Web site. |
|
|
Gets the list of virtual directories on the specified site. |
|
|
Creates a new IIS Web application. |
|
|
Creates a new IIS application pool. |
|
|
Adds a new Web site binding to an existing Web site. |
|
|
Create a new FTP 7 Site |
|
|
Creates a new IIS module. |
|
|
Creates a new IIS Request Handler configuration entry. |
|
|
Adds a new managed module to the IIS request pipeline. |
|
|
Creates a new IIS Web site. |
|
|
Creates a new IIS virtual directory. |
|
|
Removes an IIS Web application. |
|
|
Removes an IIS application pool. |
|
|
Removes a binding from an IIS Web site. |
|
|
Removes an existing IIS configuration backup. |
|
|
Removes an IIS configuration location. |
|
|
Removes a lock on configuration settings. |
|
|
Removes an IIS configuration property. |
|
|
Removes an IIS module. |
|
|
Removes and IIS Request Handler. |
|
|
Removes an IIS managed module. |
|
|
Removes an IIS Web site. |
|
|
Removes an IIS virtual directory. |
|
|
Renames a configuration location. |
|
|
Recycles an application pool. |
|
|
Restarts an application pool or a Web site. |
|
|
Restores an IIS configuration backup. |
|
|
Returns Web configuration objects. |
|
|
Changes a property of an IIS site binding. |
|
|
Sets the value of an IIS configuration element. |
|
|
Changes the value of an IIS configuration property. |
|
|
Sets configuration settings for an IIS module. |
|
|
Configures an IIS request handler. |
|
|
Configures an IIS managed module. |
|
|
Starts an application pool. |
|
|
Starts an application pool or a site. |
|
|
Starts an IIS Web site. |
|
|
Stops an application pool. |
|
|
Stops an application pool or a site. |
|
|
Stops an IIS Web site. |
Web Server (IIS) Administration Cmdlets in Windows PowerShell的更多相关文章
- Unable to connect to web server 'IIS Express'(无法连接到Web服务器“IIS Express”)的解决方式-Jexus Manager
在运行微软示例工程eShopOnWeb时候, 在经过一段时间再运行启动报Error "Unable to connect to web server 'IIS Express'" ...
- Installing IIS 8.5 on Windows Server 2012 R2
原文 Installing IIS 8.5 on Windows Server 2012 R2 Introduction This document describes how to install ...
- 部署 Windows PowerShell Web 访问
部署 Windows PowerShell Web 访问 适用对象:Windows Server 2012, Windows Server 2012 R2 Windows PowerShell® We ...
- 阿里云服务器Windows Server 2008/2012部署Office Web Server 2013
以前成功将Office Web Server 2013部署在了本地服务器上,此次是将Office Web Server 2013部署在阿里云服务器Windows Server 2008和2012上,中 ...
- Web Server 在iis下部署php网站在iis下
Web Server 在iis下部署php网站在iis下 一.参考地址: windows8 http://www.cnblogs.com/haocool/archive/2012/10/14/win ...
- Windows server iis部署Django详细操作
教程基于Windows server2012+Python3.6+IIS之上部署django的,同样适用于server2012之上的版本服务器和windows7以上的windows操作系统. 文章来自 ...
- vs默认VS Development Sever和用IIS Web Server的一点差别
关于VS Development Server(vs调试默认运行环境)和IIS Web Server 做运行服务器时,请求处理的一点区别. 将请求粗略分为两类:静态资源请求和动态资源请求. 静态资源请 ...
- [SDK2.2]Windows Azure Virtual Network (4) 创建Web Server 001并添加至Virtual Network
<Windows Azure Platform 系列文章目录> 在上一章内容中,笔者已经介绍了以下两个内容: 1.创建Virtual Network,并且设置了IP range 2.创建A ...
- Unable to launch the IIS Express Web server
尝试运行程序,出现此异常提示Unable to launch the IIS Express Web server. 解决问题,是把网址修改为另一个试试: 把http://localhost:1114 ...
随机推荐
- SQL - 添加外键
不解释: ---先创建外键的column ALTER TABLE tblLicenses ADD ProductID int not null; ---添加外键 ALTER TABLE tblLice ...
- 从VSS到SVN再到Git 记Git的基本操作
Source code control 一直是软件开发过程中重要的环节,从最初的纯文件备份,到使用工具进行管理.Source code control 工具的作用也不仅仅只是单纯的对同一个版本进行管理 ...
- ipcs, ipcrm 命令
ipcs命令 是linux/uinx上提供关于一些进程间通信方式的信息,包括共享内存,消息队列,信号 ipcs用法 ipcs -a 是默认的输出信息 打印出当前系统中所有的进程间通信方式的信息 ip ...
- String,StringBuffer与StringBuilder的差别??
String 字符串常量StringBuffer 字符串变量(线程安全)StringBuilder 字符串变量(非线程安全) 简要的说, String 类型和 StringBuffer 类型的主要性能 ...
- Activity启动机制
以下资料摘录整理自老罗的Android之旅博客,是对老罗的博客关于Android底层原理的一个抽象的知识概括总结(如有错误欢迎指出)(侵删):http://blog.csdn.net/luosheng ...
- Java数据库连接之配置ODBC数据源
java使用JDBC-ODBC桥接连接SQLServer数据库需要配置ODBC数据源,配置步骤如下: 1.进入控制面板,找到管理工具 2.看到ODBC数据源,有64位和32位的,如果你的数据库是64位 ...
- tomcat加载不了spring-webjar终极解决办法
Problems: I included: all Spring libs, Apache Tomcat 7.0 library in Build Path but it still gives er ...
- div中英文无法自动换行的解决办法
在一个设定好宽度的div中,当我们输入的中文文字长度超过了设定宽度时,会自动换到下一行. 但是,如果输入的是英文字母,那么,无论你div设定宽度为多少,英文字母都是不换行直接在同一行输出,导致di ...
- 学习日记-----ORM
ORM ORM(Object Relation Mapping)对象关系映射 实质:将数据库中 的业务数据用对象的形式表现出来,使用ORM在业务逻辑层和数据访问层之间充当桥梁 核心原则: 简单性 传达 ...
- Windows8 正式版最简单的去除桌面水印方法
方法一: 优点:无需替换文件,无需任何工具,对系统没有副作用缺点:更换主题或者壁纸之后水印再现方法:按住 “win键+P” 进入 “第二屏幕 ”选择 “扩展”再按住 “win键+P” 进入 “第二屏幕 ...