Backup-WebConfiguration

Backup-WebConfiguration

Creates a backup of an IIS configuration.

Sintaxis

Parameter Set: Default
Backup-WebConfiguration [-Name] <String> [ <CommonParameters>]

Descripción detallada

The Backup-WebConfiguration cmdlet creates a backup of an Internet Information Services (IIS) configuration. The cmdlet creates a folder with the name specified by the Name parameter for the backup in the $env:Windir\System32\inetsrv\backup folder.

Parámetros

-Name<String>

Specifies the name of the folder that this cmdlet creates to store the backup files. If a backup with the name specified already exists, this cmdlet returns an error.

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

Example-------------- EXAMPLEExample 1: Backing up an IIS configuration --------------

This command creates a backup of your IIS configuration in a folder named MyIISBackup.

IIS:\>Backup-WebConfiguration -Name "MyIISBackup"

Temas relacionados

Add-WebConfiguration

Clear-WebConfiguration

Restore-WebConfiguration

Select-WebConfiguration

Set-WebConfiguration

Get-WebConfigurationBackup

Remove-WebConfigurationBackup