param (
[Parameter(Mandatory=$true)][string]$DBName,
[Parameter(Mandatory=$true)][string]$BackupFile,
[Parameter(Mandatory=$true)][string]$TargetInstance,
[Parameter(Mandatory=$true)][string]$ALwaysOn,
[Parameter(Mandatory=$true)][string]$IsProduction,
[Parameter(Mandatory=$true)][string]$Logpath,
[Parameter(Mandatory=$true)][string]$Restorepath
)
- DBName : Give Database name.
- BackupFile : Give backup file name.
- TargetInstance : Give targetinstance name.
- ALwaysOn : Give alwayson.
- IsProduction : Give Isproduction.
- Restorepath : Give restore log filepath.
- Logpath : Give log file Path.