Web Server (IIS) Administration Cmdlets in Windows PowerShell

Windows PowerShell®은 시스템 관리용으로 특별히 설계된 작업 기반 명령줄 셸 및 스크립트 언어입니다. 정보 기술(IT) 전문가를 위한 이 참조 항목은 Windows PowerShell cmdlet를 활용하도록 지원하여 작업의 스크립트를 작성하고 이를 자동화하는 합니다.

Web Server server (IIS) Administration administration Cmdlets cmdlets in Windows PowerShellserver administration cmdlets

The Web Server Administration module (WebAdministration) 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, websites, 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 you can find run-time data, such as the currently running worker processes, application domains, and requests. The Sites folder contains website folders, as well as applications and virtual directories.

IIS cmdlets

This section lists the cmdlets in the IIS module for Windows PowerShell.

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 Description

Add-WebConfiguration

Adds a collection element to an IIS configuration collection.

Add-WebConfigurationLock

Locks an IIS configuration section or element.

Add-WebConfigurationProperty

Adds a property to an IIS configuration section.

Backup-WebConfiguration

Creates a backup of an IIS configuration.

Clear-WebCentralCertProvider

Removes all settings for the central certificate provider.

Clear-WebConfiguration

Removes configuration settings from a configuration location.

Clear-WebRequestTracingSetting

Clears the request tracing configuration from a website.

Clear-WebRequestTracingSettings

Clears the request tracing configuration from a website.

ConvertTo-WebApplication

Converts an IIS virtual directory to an IIS web application.

Disable-WebCentralCertProvider

Takes the central certificate provider offline.

Disable-WebGlobalModule

Disables an IIS module.

Disable-WebRequestTracing

Disables request tracing for a website.

Enable-WebCentralCertProvider

Enables a central certificate provider.

Enable-WebGlobalModule

Enables an IIS module.

Enable-WebRequestTracing

Enables request tracing for a website.

Get-WebAppDomain

Gets the application domains in which the specified IIS worker process is running.

Get-WebApplication

Gets the web applications associated with a specific site or with a specified name.

Get-WebAppPoolState

Gets the run-time state of an IIS application pool.

Get-WebBinding

Gets the bindings on an IIS site.

Get-WebCentralCertProvider

Retrieves the configuration settings of the central certificate provider.

Get-WebConfigFile

Gets the file system path of the web.config file.

Get-WebConfiguration

Gets an IIS configuration element.

Get-WebConfigurationBackup

Gets a list of available IIS configuration backups.

Get-WebConfigurationLocation

Gets the location of a configuration setting.

Get-WebConfigurationLock

Gets the lock status of an IIS configuration location.

Get-WebConfigurationProperty

Gets an IIS configuration property at a path.

Get-WebFilePath

Gets the physical path to the location of the specified IIS module.

Get-WebGlobalModule

Gets the global modules configured in IIS, or information about a specific module.

Get-WebHandler

Gets IIS request handlers.

Get-WebItemState

Gets the run-time state of a site or an application pool.

Get-WebManagedModule

Gets the managed modules that are configured for a particular application.

Get-WebRequest

Gets the IIS requests that are currently being run.

Get-Website

Gets configuration information for an IIS website.

Get-WebsiteState

Gets the state of an IIS website.

Get-WebURL

Gets information about the URL associated with a website.

Get-WebVirtualDirectory

Gets the list of virtual directories on the specified site.

New-WebApplication

Creates an IIS web application.

New-WebAppPool

Creates an IIS application pool.

New-WebBinding

Adds a binding to a website.

New-WebFtpSite

Creates an FTP 7 site.

New-WebGlobalModule

Creates an IIS global module.

New-WebHandler

Creates an IIS request handler.

New-WebManagedModule

Adds a new managed module to the IIS request pipeline.

New-Website

Creates an IIS website.

New-WebVirtualDirectory

Creates a virtual directory in IIS.

Remove-WebApplication

Removes a web application from an IIS website.

Remove-WebAppPool

Removes an application pool from IIS.

Remove-WebBinding

Removes a binding from an IIS website.

Remove-WebConfigurationBackup

Removes an existing IIS configuration backup.

Remove-WebConfigurationLocation

Removes an IIS configuration location.

Remove-WebConfigurationLock

Removes a lock on configuration settings.

Remove-WebConfigurationProperty

Removes an IIS configuration property.

Remove-WebGlobalModule

Removes an IIS module.

Remove-WebHandler

Removes a request handler from IIS.

Remove-WebManagedModule

Removes a managed module from IIS.

Remove-Website

Removes an IIS website.

Remove-WebVirtualDirectory

Removes an IIS virtual directory.

Rename-WebConfigurationLocation

Renames a configuration location.

Restart-WebAppPool

Restarts an application pool.

Restart-WebItem

Restarts an application pool or a website.

Restore-WebConfiguration

Restores an IIS configuration backup.

Select-WebConfiguration

Returns IIS configuration objects.

Set-WebBinding

Changes a property of an IIS site binding.

Set-WebCentralCertProvider

Changes the configuration settings for the central certificate provider.

Set-WebCentralCertProviderCredential

Changes the user-account credentials for the central certificate provider.

Set-WebConfiguration

Changes the value of an IIS configuration element.

Set-WebConfigurationProperty

Changes the value of an IIS configuration property.

Set-WebGlobalModule

Specifies configuration settings for an IIS module.

Set-WebHandler

Configures an IIS request handler.

Set-WebManagedModule

Configures an IIS managed module.

Start-WebAppPool

Starts an application pool.

Start-WebCommitDelay

Instructs the IIS configuration system to delay the commitment of changes.

Start-WebItem

Starts an application pool or a website.

Start-Website

Starts an IIS website.

Stop-WebAppPool

Stops an application pool.

Stop-WebCommitDelay

Instructs the IIS configuration system to resume the commitment of changes.

Stop-WebItem

Stops a site or an application pool.

Stop-Website

Stops an IIS website.

참고

To list all the cmdlets that are available, use the Get-Command -Web cmdlet.

구문 또는 cmdlet에 대한 자세한 내용은 <cmdlet name>이 검색하려는 cmdlet 이름인 Get-Help <cmdlet name> cmdlet를 사용하세요. 보다 자세한 내용을 보려면 다음 cmdlet을 실행합니다.

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full