PowerShell Logo Small

Backup-WebConfiguration



This is the built-in help made by Microsoft for the command 'Backup-WebConfiguration', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Creates a backup of an IIS configuration.

SYNTAX


Backup-WebConfiguration [-Name] <String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Creates a backup of an IIS configuration. A folder named with the value of theNameparameter is created for the backup in the $env:Windir\System32\inetsrv\backup folder.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=287839
Restore-WebConfiguration

REMARKS

<

Examples


-------------- EXAMPLE 1: Backing up an IIS configuration --------------

IIS:\>Backup-WebConfiguration -Name MyIISBackup



Demonstrates how to create a backup of your IIS configuration in a folder named "MyIISBackup".

Name Creation Date

---- -------------

MyIISBackup 2/20/2009 12:00:00 AM