IIS Administration Cmdlets

Mis à jour: juillet 2015

Windows PowerShell® est un interpréteur de ligne de commande et un langage de script basé sur des tâches et conçu tout spécialement pour l'administration système. Cette rubrique de référence destinée aux professionnels des technologies de l'information fournit une assistance afin d'utiliser les applets de commande Windows PowerShell pour écrire des scripts et automatiser des tâches.

IIS Administration Cmdlets

This reference provides cmdlet descriptions and syntax for all IIS Administration specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

cmdlet Description

Clear-IISConfigCollection

Clears an IIS configuration collection.

Get-IISAppPool

Gets configuration information for an IIS Application Pool.

Get-IISConfigAttributeValue

Gets a configuration attribute value from an IIS configuration section or configuration element attribute.

Get-IISConfigCollection

Gets a configuration collection object from an IIS configuration section or a configuration element.

Get-IISConfigCollectionElement

Gets a configuration element object from an IIS configuration collection.

Get-IISConfigElement

Gets a configuration element object from an IIS configuration section or a configuration element.

Get-IISConfigSection

Gets a configuration section object to work further with the IIS Configuration Store.

Get-IISServerManager

Gets the IISAdministration view of IIS ServerManager.

Get-IISSite

Gets configuration information for an IIS Web site.

New-IISConfigCollectionElement

Creates a configuration element object in an IIS configuration collection.

New-IISSite

Creates an IIS Web site.

Remove-IISConfigAttribute

Removes a configuration attribute from an IIS configuration section or configuration element attribute.

Remove-IISConfigCollectionElement

Removes a configuration element object from an IIS configuration collection.

Remove-IISConfigElement

Removes a specified configuration element.

Remove-IISSite

Removes a web site from an IIS server.

Reset-IISServerManager

Resets the IISAdministration view of the IIS ServerManager.

Set-IISConfigAttributeValue

Sets a configuration attribute value for an IIS configuration section or configuration element attribute.

Start-IISCommitDelay

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

Start-IISSite

Starts an existing site on the IIS server.

Stop-IISCommitDelay

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

Stop-IISSite

Stops an IIS Web site.

Pour plus d'informations sur une applet de commande, ou sur sa syntaxe, utilisez l'applet de commande Get-Help <cmdlet name>, où <cmdlet name> est le nom de l'applet de commande que vous recherchez. Pour plus d'informations, exécutez l'une des applets de commande suivantes :

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