Posts

E14– Windows Server Backup on DAG–Part3–Notify DB Status before process WSB

Image
  1. echo off For /f "tokens=1-3 delims=/ " %%a in ('date /t') do (set date=%%a-%%b-%%c) For /f "tokens=1-2 delims=: " %%a in ('time /t') do (set time=%%a:%%b) rem echo The date is %date% rem echo The time is %time% Rem ================================== PowerShell.exe -command ". C:\Batch\WSB\PS_RedistributeActiveDatabase_before-WSB.ps1" Rem ================================== Cscript C:\Batch\WSB\DB_Active_Notify.vbs Rem ================================== del  "C:\Batch\WSB\DB_Activation_Log\DB_Activation.txt" Timeout /T 100 Rem ================================== Rem ================================== set backuplog="c:\batch\WSB\BackupLog\"%computername%-WSB.txt"" echo. Start:%date%  %tim...

E14– Windows Server Backup on DAG–Part2– Redistribute Active Database before WSB

Image
  1. on MBX01 – Run the batch on week day 1,3,5 echo off For /f "tokens=1-3 delims=/ " %%a in ('date /t') do (set date=%%a-%%b-%%c) For /f "tokens=1-2 delims=: " %%a in ('time /t') do (set time=%%a:%%b) rem echo The date is %date% rem echo The time is %time% Rem ================================== PowerShell.exe -command ". C:\Batch\WSB\PS_RedistributeActiveDatabase_before-WSB.ps1" Rem ================================== Cscript C:\Batch\WSB\DB_Active_Notify.vbs Rem ================================== del  "C:\Batch\WSB\DB_Activation_Log\DB_Activation.txt" Timeout /T 100 Rem ================================== Rem ================================== set backuplog="c:\batch\WSB\BackupLog\"%computername%-WSB.txt"" ...

E14– Windows Server Backup on DAG–Part1–Overview

Image
  1.   2. Separate batch for week days Mon, Wed & Fri/ Sun, Tue, Thu, Sat   3. Review the batch echo off For /f "tokens=1-3 delims=/ " %%a in ('date /t') do (set date=%%a-%%b-%%c) For /f "tokens=1-2 delims=: " %%a in ('time /t') do (set time=%%a:%%b) rem echo The date is %date% rem echo The time is %time% Rem ================================== PowerShell.exe -command ". C:\Batch\WSB\PS_RedistributeActiveDatabase_before-WSB.ps1" Rem ================================== Cscript C:\Batch\WSB\DB_Active_Notify.vbs Rem ================================== del  "C:\Batch\WSB\DB_Activation_Log\DB_Activation.txt" Timeout /T 100 Rem ================================== Rem ========================...

E14 - PublicFolder – Part2 – Create Public Folder and Add Replication - 1. Create BQT Public Folder Database on Exchange 2010

Image
  1. Create BQT Public Folder Database on Exchange 2010   1.8 Enable Circular Logging 1.11 Uncheck Storage Limits 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 Enable Circular Logging 1.9 1.10 1.11 Uncheck Storage Limits 1.12 1.13

REF: E14 Set-ADServerSettings (before Get-Mailbox )

    http://technet.microsoft.com/en-us/library/dd298063.aspx [PS]Set-AdServerSettings –ViewEntireForest $True    

REF: E14 Outlook Provider

Image
  Exchange 2010 Set-OutlookProvider http://technet.microsoft.com/en-us/library/bb123683.aspx The Set-OutlookProvider cmdlet creates the global settings for the Autodiscover service. It sets the AutoDiscoverConfig object under the Global Settings object in Active Directory and sets the attributes specified in the parameters listed in the Parameters section. The Autodiscover Service and Outlook Providers - how does this stuff work? http://blogs.technet.com/b/exchange/archive/2008/09/26/3406344.aspx By default three Outlook Providers are used to configure settings individually for Exchange RPC protocol or internal clients ( EXCH ), Outlook Anywhere ( EXPR ) and WEB . The EXCH setting references the Exchange RPC protocol that is used internally. This setting includes port settings and the internal URLs for the Exchange services that you have enabled. The EXPR setting references the Exchange HTTP protocol that is used by Outlook Anywher...

REF: E14 - 在 Active Directory IP 站台連結上設定 Exchange 成本

http://technet.microsoft.com/zh-TW/library/bb266946.aspx [PS] C:\Windows\system32>Get-AdSiteLink Name                      ADCost     ExchangeCost    Sites ----                      ------     ------------    ----- ROOT-BQA                  100                        {corp.com/Configuration/Sit... ROOT-BQC                  100             ...