powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Restore-WebConfiguration



NAME
Restore-WebConfiguration

SYNOPSIS
Restores an IIS configuration backup

SYNTAX
Restore-WebConfiguration [-Name] [-WarningAction ] [-WarningVariable ] [-WhatIf]
[-Confirm] []


DESCRIPTION
Restores an IIS configuration backup.


PARAMETERS
-Name
The name of the backup to be restored.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-WarningAction


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WhatIf
Describes what would happen if you executed the command without actually executing the command.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm
Prompts you for confirmation before executing the command.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES




-------------- EXAMPLE 1: Restoring a backup --------------

C:\PS>Restore-WebConfiguration -Name MyBackup


Restores the IIS configuration backup named "MyBackup".






RELATED LINKS