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 ...
随机推荐
- python用parammiko模块实现linux的远程操作
parammiko 可以实现远程的带密码登录,解决ssh远程登陆需要交互的问题 (当然很多其他的,如tcl也可以).但这个用python做比较简单 1.parammiko 的安装 1.1.依赖模块 ...
- Java集合中那些类是线程安全的
线程安全类 在集合框架中,有些类是线程安全的,这些都是jdk1.1中的出现的.在jdk1.2之后,就出现许许多多非线程安全的类. 下面是这些线程安全的同步的类: vector:就比arraylist多 ...
- JSP导出Excel文件
和普通的查询数据差别是没有分页,response设置一下就是到处功能. window.location.href="${_base}/promoteConsume/exportExcel?& ...
- 微信公众平台java开发具体解释(project代码+解析)
说明: 本次的教程主要是对微信公众平台开发人员模式的解说,网络上非常多类似文章,但非常多都让初学微信开发的人一头雾水,所以总结自己的微信开发经验,将微信开发的整个过程系统的列出,并对主要代码进行解说分 ...
- Robotium--通过Id寻找控件
在自动化测试中,UI上经常有一些控件是没有名称的,那么此时,就可以通过id来找到这些控件. 案例:对两个EditText进行测试 package com.tangbc.tedit.test; impo ...
- yii 分页样式
需求及效果图如下 没什么说的,就是修改分页,修改了CLinks分页的样式 上代码 <?php class GsearchPager extends CBasePager { const CSS_ ...
- Error: theForm.submit is not a function !!
theForm.submit is not a function 调试了半天,才发现范了低级错误. 页面中有一个按钮ID 是 submit 而引发的错误. 引出的问题是页面上的元素命名范围不能是 wi ...
- asp.net微信开发第九篇----模板消息的使用
微信平台的模板消息,使用起来非常好,效果如下: 和平时我们微信中关注信用卡官方微信,如果消费了,信用卡官方微信就返回一个模板消息给我们告知,余额还有多少,消费了多少. 使用的步骤,我只简单介绍了怎么使 ...
- SAE下的Memcache使用方法
SAE里面有Memcache,可以较大幅度改善数据库的鸭梨~ 之前一直想学习Memcache,却愁于不知如何下手,对这个名词完全没有概念,同时在SAE的文档里面,也很少对于Memcache的使用教程~ ...
- Swift中出现“no such module cocoa”的错误
在Swift开发中,新建了一个UIViewController的子类出现“No such module 'Cocoa' 的错误, 头部是import cocoa.. 原因很简单:在建立新的File文件 ...