i am creating an script to backup exchange server to an network location and after the backup process completed the log file ill be mailed to me,
Script:
wbadmin start backup -backupTarget:$BackupDir -include:'D:\Program Files\Microsoft\Exchange" "Server' -allCritical -vssfull -noVerify -quiet >D:\BACKUP\Backup.logthe script is running good, but when i checked the log file it includes C:\ drive also.
But when i try to backup through the console only the included folder is backing up, is their any error in my script or i need to add any word to it.