Skip to content

Latest commit

 

History

History
83 lines (55 loc) · 2.29 KB

File metadata and controls

83 lines (55 loc) · 2.29 KB
description external help file Module Name ms.date online version schema title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
Microsoft.IIS.PowerShell.Provider.dll-Help.xml
WebAdministration
12/27/2016
2.0.0
Backup-WebConfiguration

Backup-WebConfiguration

SYNOPSIS

Creates a backup of an IIS configuration.

SYNTAX

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

DESCRIPTION

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.

EXAMPLES

Example 1: Back up an IIS configuration

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

Name           Creation Date

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

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

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

PARAMETERS

-Name

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.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Add-WebConfiguration

Clear-WebConfiguration

Get-WebConfigurationBackup

Remove-WebConfigurationBackup

Restore-WebConfiguration

Select-WebConfiguration

Set-WebConfiguration