Sunder & Shield Block
This is a nice tanking macro if you are trying to establish aggro and get some early damage mitigation.
/script CancelPlayerBuff("Blessing of Salvation")
/cast [stance:2] Sunder Armor
/stopcasting
/cast Shield Block
Mouseover Tanking Macros
This macro will let you sunder a mob by simply putting the mouse over it, its unitframe, or its health bar (the 'v' key) without losing your current target and without interrupting your swing timer or auto-attack. This macro can be applied to all warrior instant attacks to do things like Mortal Strike, Shield Slam, Shield Bash, Revenge, Hamstring, Intercept, etc. something while targeting something else. The most powerful part about this macro is that you can use it to sunder crowd controlled mobs without breaking the crowd control (sunder causes 0 damage and you aren't auto-attacking the CC target).
/cast [target=mouseover, harm, nodead][harm, nodead][target=targettarget, harm, nodead][] Sunder Armor
The basic mouseover macro can also be used with any of your tanking abilities. The following macro is the basic setup, just replace the Shield Slam with whatever tanking ability you'd like. The macro will also queue up a Heroic Strike on your main target if you hold shift, and will Cleave if you press it with ctrl (good for aoe packs), meaning that if you use the macro with Shield Slam, Revenge, and Devastate, you can dump extra rage with HS spam by just holding down shift as you go through your rotation:
/cast [target=mouseover, harm, nodead][harm, nodead][target=targettarget, harm, nodead][] Sheild Slam
/cast [modifier:ctrl] Cleave; [modifier:shift] Heroic Strike;
Devastate/Sunder/Mouseover
This macro will cast Devastate, unless you are holding control, or mousing over a live hostile target. If you are holding control or mousing over a live hostile target, it will cast sunder.
/cast [modifier:ctrl,harm,nodead]Sunder Armor;[target=mouseover,harm,nodead]Sunder Armor;Devastate
NOTE: Devastate now stacks Sunder Armour as well, so Sunder Armour is now obsolete, and so is this macro.
NOTE: This Is still very usable, If you want to sunder the target(causing threat) without breaking CC.
Sunder Armor, Devastate and Revenge are all on the 1.5 sec global cooldown. Shield Block and Heroic Strike are not. If you have plenty rage as in some boss fights a mouseover macro can be combined with burning rage moves that is not on the global cooldown. Spamming it with unlimmited rage will make all your normal attacks be Heroic Strikes and make you use Shield Block everytime it's not on cooldown. The 1/3 chance that you use Revenge is enough to use it fairly quickly everytime it's up. When your target has 5 Sunder Armors applied you simply stop mouseing over it. At the same time the macro can be used to apply sunders to other mobs than your main target.