Home
%3CLINGO-SUB%20id%3D%22lingo-sub-584513%22%20slang%3D%22en-US%22%3ERestoring%20Multiple%20Stores%20into%20an%20Exchange%202007%20RSG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-584513%22%20slang%3D%22en-US%22%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ERecently%20we%20have%20learned%20that%20some%20of%20our%20customers%20that%20use%20Recovery%20Storage%20Group%20and%20add%20multiple%20databases%20to%20it%2C%20ran%20into%20the%20following%20issue%3A%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ERecovery%20configured%20through%20Database%20Recovery%20Management%20in%20Exchange%20Management%20Console%20has%20and%20issue%20with%20picking%20the%20Database%20name%20if%20you%20have%20multiple%20databases%20in%20storage%20group%20(for%20example%20Corp1.edb%2C%20Corp2.edb%20and%20Corp3.edb).%20In%20Recovery%20Storage%20Group%2C%20the%20name%20of%20first%20database%20will%20appear%20as%20the%20last%20database%20in%20the%20storage%20group%20(in%20this%20example%20Corp3.edb).%20You%20would%20have%20this%3A%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ECorp3.edb%20%26gt%3B%20this%20is%20the%20problem%20(should%20be%20Corp1.edb)%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ECorp2.edb%3CBR%20%2F%3ECorp3.edb%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3ESo%20if%20you%20restore%20multiple%20databases%20in%20Recovery%20Storage%20Group%2C%20first%20database%20will%20not%20restore%20successfully.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EThis%20is%20due%20to%20the%20EXDRA%20XML%20bug.%20We%20are%20aware%20of%20this%20issue%20and%20currently%20working%20on%20the%20fix%2C%20and%20will%20update%20this%20blog%20post%20once%20this%20is%20released.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EThere%20are%20two%20ways%20to%20work%20around%20this%20issue%2C%20until%20the%20fix%20is%20released%3A%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EInstead%20of%20using%20Exchange%20Management%20Console%20or%20EXTRA%20you%20can%20use%20the%20Exchange%20Management%20Shell%20to%20create%20and%20add%20databases%20to%20Recovery%20Storage%20Group%20and%20that%20works%20fine.%20For%20more%20information%20on%20how%20to%20do%20that%2C%20please%20%3C%2FSPAN%3E%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Faa997694.aspx%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3Eread%20this%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EYou%20can%20rename%20the%20first%20database%20name%20in%20Active%20Directory%20to%20the%20correct%20name%20before%20doing%20the%20restore%20in%20Recovery%20Storage%20Group.%20The%20Active%20Directory%20attribute%20that%20should%20be%20changed%20on%20the%20RSG%20database%20is%20msExchEDBFile.%20We%20recommend%20that%20you%20use%20the%20workaround%20%231%20above.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%20x-small%3B%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3E-%20%3C%2FSPAN%3E%3CA%20href%3D%22http%3A%2F%2Fmsexchangeteam.com%2Farticles%2F449849.aspx%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CSPAN%20style%3D%22font-size%3A%20small%3B%22%3EMohammad%20Afzal%3C%2FSPAN%3E%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22sbmLink%22%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-611297%22%20slang%3D%22en-US%22%3EPlaying%20Shell%20Dojo%20with%20Transport%20Rules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-611297%22%20slang%3D%22en-US%22%3E%3CP%3E%3C%2FP%3E%3CDIV%20style%3D%22font%3Anormal%201.2em%20'Calibri'%2CHelvetica%2CArial%2Csans-serif%3Bmargin%3A1em%200%201em%200%22%3E%0A%3CP%3ETo%20enforce%20messaging%20policies%2C%20organizations%20frequently%20need%20to%20inspect%20messages%20based%20on%20different%20properties%20such%20as%20sender%2C%20recipients%2C%20subject%2C%20headers%20and%20attachments%2C%20and%20take%20the%20necessary%20actions%20such%20as%20adding%20disclaimers%2C%20adding%20headers%2C%20adding%20a%20prefix%20to%20the%20message%20subject%2C%20setting%20or%20modifying%20the%20%3CACRONYM%20title%3D%22Spam%20Confidence%20Level%22%3ESCL%3C%2FACRONYM%3E%2C%20adding%20a%20recipient%2C%20and%20rejecting%20a%20message.%20In%20Exchange%202007%2C%20we%20introduced%20transport%20rules%20to%20allow%20organizations%20to%20apply%20messaging%20policies%2C%20removing%20the%20need%20to%20write%20transport%20event%20sinks.%3C%2FP%3E%0A%3CP%3EExchange%202007%20also%20introduced%20the%20Exchange%20Management%20Shell%20(EMS)%2C%20built%20on%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fbb978526.aspx%22%20title%3D%22Learn%20more%20about%20Windows%20PowerShell%20on%20TechNet%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EWindows%20PowerShell%3C%2FA%3E%2C%20as%20a%20way%20to%20automate%20routine%20tasks%20and%20bulk%20operations.%20The%20shell%20uses%20a%20fairly%20simple%20syntax%2C%20and%20helps%20you%20perform%20tasks%20by%20using%20easy-to-understand%20cmdlets.%3C%2FP%3E%0A%3CP%3EExchange%202010%20takes%20it%20further%20with%20many%20more%20capabilities%2C%20including%20the%20ability%20to%20manage%20your%20Exchange%202010%20servers%20from%20a%20remote%20computer%20using%20Remote%20Shell.%20More%20details%20in%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fdd297939.aspx%22%20title%3D%22Go%20to%20'Overview%20of%20Exchange%20Management%20Shell'%20in%20Exchange%202010%20documentation%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EOverview%20of%20Exchange%20Management%20Shell%3C%2FA%3E%20in%20Exchange%202010%20documentation.%3C%2FP%3E%0A%3CP%3EIn%20this%20post%2C%20we%E2%80%99ll%20take%20a%20look%20at%20how%20transport%20rules%20can%20be%20created%20and%20managed%20in%20Exchange%202007%2C%20and%20how%20it%E2%80%99s%20been%20simplified%20in%20Exchange%202010.%20For%20creating%20one-off%20or%20a%20small%20number%20of%20transport%20rules%2C%20the%20transport%20rules%20wizard%20in%20EMC%20provides%20an%20easy-to-use%20interface.%20The%20shell%20can%20help%20you%20easily%20automate%20the%20process%2C%20and%20consistently%20create%2C%20test%20and%20implement%20transport%20rules.%20You%20can%20use%20the%20tool%20that%20best%20meets%20your%20needs.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1760053274%22%20id%3D%22toc-hId-1760053272%22%3ECreating%20Transport%20Rules%20in%20Exchange%202007%3C%2FH2%3E%0A%3CP%3EIn%20Exchange%202007%2C%20you%20create%20transport%20rules%20using%20the%20New-TransportRule%20cmdlet%2C%20and%20modify%20them%20using%20the%20Set-TransportRule%20cmdlet.%20However%2C%20the%20predicates%20used%20to%20create%20the%20conditions%20and%20exceptions%20for%20the%20rule%2C%20as%20well%20as%20the%20actions%20to%20be%20used%20in%20a%20rule%2C%20need%20to%20be%20instantiated%20first.%3C%2FP%3E%0A%3CP%3EIn%20this%20example%2C%20we%20create%20a%20transport%20rule%20to%20implement%20an%20ethical%20wall%20between%20the%20Brokers%20and%20Bankers%20distribution%20groups.%3C%2FP%3E%0A%3CP%3EBefore%20you%20create%20a%20transport%20rule%2C%20you%20must%20select%20the%20transport%20rule%20predicates%20and%20actions%20you%20want%20to%20use%20for%20the%20rule%2C%20and%20determine%20the%20predicate%20and%20action%20properties%20you%20will%20need%20to%20specify.%20You%20can%20either%20use%20the%20%3CSPAN%20class%3D%22command%20lightyellow%22%3EGet-TransportRulePredicate%3C%2FSPAN%3E%20and%20%3CSPAN%20class%3D%22command%20lightyellow%22%3EGet-TransportRuleAction%3C%2FSPAN%3E%20cmdlets%2C%20or%20refer%20to%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Faa995960(EXCHG.80).aspx%22%20title%3D%22Go%20to%20'Transport%20Rule%20Predicates'%20in%20Exchange%202007%20documentation%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ETransport%20Rule%20Predicates%3C%2FA%3E%20and%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Faa998315(EXCHG.80).aspx%22%20title%3D%22Go%20to%20'Transport%20Rule%20Actions'%20in%20Exchange%202007%20documentation%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ETransport%20Rule%20Actions%3C%2FA%3E%20in%20Exchange%202007%20documentation.%3C%2FP%3ETo%20create%20an%20ethical%20wall%20firewall%2C%20you%20need%20to%20use%20the%20BetweenMemberOf%20predicate.%20Let's%20find%20out%20the%20properties%20you%20must%20specify%20for%20this%20predicate.%3C%2FDIV%3E%0A%3CP%20class%3D%22code%22%3EGet-TransportRulePredicate%20BetweenMemberOf%20%7C%20fl%3C%2FP%3E%0A%3CP%3EThe%20output%3A%3C%2FP%3E%0A%3CP%20class%3D%22consoletext%22%3EAddresses%20%3A%3CBR%20%2F%3EAddresses2%20%3A%3CBR%20%2F%3ELinkedDisplayTextException%20%3A%20except%20when%20the%20message%20is%20sent%20between%20members%20of%3CBR%20%2F%3E%3CA%20id%3D%22Addresses%22%20target%3D%22_blank%22%3Edistribution%20list%3C%2FA%3E%20and%20%3CA%20id%3D%22Addresses2%22%20target%3D%22_blank%22%3Edistribution%20list%3C%2FA%3E%3CBR%20%2F%3EName%20%3A%20BetweenMemberOf%3CBR%20%2F%3ERank%20%3A%206%3CBR%20%2F%3ELinkedDisplayText%20%3A%20between%20members%20of%20%3CA%20id%3D%22%26quot%3BAddresses%26quot%3B%22%20target%3D%22_blank%22%3Edistribution%3CBR%20%2F%3Elist%3C%2FA%3E%20and%20%3CA%20id%3D%22%26quot%3BAddresses2%26quot%3B%22%20target%3D%22_blank%22%3Edistribution%20list%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EThe%20%3CSPAN%20class%3D%22attribute%22%3EBetweenMemberOf%3C%2FSPAN%3E%20predicate%20requires%20you%20to%20specify%20two%20values%E2%80%94%20%3CSPAN%20class%3D%22attribute%20lightyellow%22%3EAddresses%3C%2FSPAN%3E%2C%20and%20%3CSPAN%20class%3D%22attribute%20lightyellow%22%3EAddresses2%3C%2FSPAN%3E.%3C%2FP%3E%0A%3CUL%20style%3D%22margin%3A0em%3Bpadding%3A0em%3Bline-height%3A1.2em%22%3E%0A%3CLI%3E%3CSPAN%20class%3D%22bold%22%3EStep%201%3A%3C%2FSPAN%3E%20Instantiate%20the%20%3CSPAN%20class%3D%22attribute%22%3EBetweenMemberOf%3C%2FSPAN%3E%20predicate%3CBR%20%2F%3E%3CP%20class%3D%22code%22%3E%24condition%20%3D%20Get-TransportRulePredicate%20BetweenMemberOf%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CSPAN%20class%3D%22bold%22%3EStep%202%3A%3C%2FSPAN%3E%20Add%20the%20values%20to%20the%20new%20condition%20we%20instantiated.%20As%20seen%20in%20step%201%2C%20the%20BetweenMemberOf%20predicate%20requires%20two%20values%E2%80%94%20the%20identity%20of%20two%20distribution%20groups.%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%24condition.Addresses%20%3D%20%40(Get-DistributionGroup%20Brokers)%3CBR%20%2F%3E%24condition.Addresses2%20%3D%20%40(Get-DistributionGroup%20Bankers)%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%3CSPAN%20class%3D%22bold%22%3EStep%203%3A%3C%2FSPAN%3E%20Instantiate%20the%20%3CSPAN%20class%3D%22attribute%22%3ERejectMessage%3C%2FSPAN%3E%20action%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%24action%20%3D%20Get-TransportRuleAction%20RejectMessage%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22bold%22%3EStep%204%3A%3C%2FSPAN%3E%20Add%20value%20to%20the%20action%20we%20instantiated%3CBR%20%2F%3E%3CP%20class%3D%22code%22%3E%24action.RejectReason%20%3D%20%22Members%20of%20Bankers%20and%20Brokers%20distribution%20groups%20are%20not%20allowed%20to%20send%20email%20to%20each%20other.%22%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22bold%22%3EStep%205%3A%3C%2FSPAN%3E%20Create%20the%20new%20rule%20and%20add%20the%20instantiated%20condition%20and%20action%20to%20it.%3CP%20class%3D%22code%22%3ENew-TransportRule%20-Name%20%22EthicalWall%22%20-Condition%20%40(%24condition)%20-Action%20%40(%24action)%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--792103687%22%20id%3D%22toc-hId--792103689%22%3ECreating%20a%20Transport%20Rule%20in%20Exchange%202010%3C%2FH2%3E%0A%3CP%3EIn%20Exchange%202010%2C%20we%E2%80%99ve%20made%20the%20following%20changes%20to%20the%20transport%20rule%20cmdlet%20experience%20based%20on%20your%20feedback.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EYou%E2%80%99re%20no%20longer%20required%20to%20instantiate%20predicates%20and%20actions%3C%2FLI%3E%0A%3CLI%3EAll%20predicates%20and%20actions%20are%20available%20%3CSPAN%20class%3D%22italic%22%3Ein-line%3C%2FSPAN%3E%20as%20parameters%20of%20the%20New-TransportRule%20and%20Set-TransportRule%20cmdlets%2C%20resulting%20in%20a%20much%20improved%20experience.%3C%2FLI%3E%0A%3CLI%3EYou%20can%20now%20create%20and%20modify%20transport%20rules%20using%20a%20single%20command!%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId-754193143%22%20id%3D%22toc-hId-754193141%22%3EFind%20The%20Parameter%3C%2FH3%3E%0A%3CP%3EBefore%20we%20start%20creating%20rules%20using%20the%20shell%2C%20we%20must%20understand%20the%20relationship%20between%20predicates%2C%20predicate%20properties%2C%20and%20parameters.%20Remember%2C%20all%20properties%20are%20now%20parameters%20for%20the%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fbb125138.aspx%22%20title%3D%22Go%20to%20New-TransportRule%20cmdlet%20ref%20in%20Exchange%202010%20docs%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ENew-TransportRule%3C%2FA%3E%20and%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fbb123534.aspx%22%20title%3D%22Go%20to%20Set-TransportRule%20cmdlet%20ref%20in%20Exchange%202010%20docs%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ESet-TransportRule%3C%2FA%3E%20cmdlets!%20So%2C%20Properties%20%3D%20Parameters.%20The%20key%20is%20to%20determine%20the%20predicate%20or%20action%20you%20want%20to%20use%20and%20find%20the%20parameters%20it%20requires.%3C%2FP%3E%0A%3CP%3EExchange%202010%20has%20many%20new%20predicates%20and%20actions.%20The%20Get-TransportRulePredicate%20and%20Get-TransportRuleAction%20cmdlets%20let%20you%20easily%20list%20them%2C%20and%20also%20determine%20the%20properties%20required%20for%20each.%20You%20can%20also%20look%20up%20Exchange%202010%20predicates%20and%20actions%20in%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fdd638183.aspx%22%20title%3D%22Go%20to%20'Transport%20Rule%20Predicates'%20in%20Exchange%202010%20documentation%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ETransport%20Rule%20Predicates%3C%2FA%3E%20and%20%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Faa998315.aspx%22%20title%3D%22Go%20to%20'Transport%20Rule%20Actions'%20in%20Exchange%202010%20documentation%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ETransport%20Rule%20Actions%3C%2FA%3E%20in%20Exchange%202010%20documentation.%3C%2FP%3E%0A%3CP%3EUsing%20the%20Get-TransportRulePredicate%20cmdlet%20provides%20the%20following%20output%3A%3C%2FP%3E%0A%3CDIV%3E%3C%2FDIV%3E%0A%3CTABLE%20style%3D%22background-color%3A%23000%3Bcolor%3A%23ffff00%3Bpadding%3A%20.3em%3Bfont%3Anormal%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3EName%3C%2FTD%3E%0A%3CTD%3ERank%3C%2FTD%3E%0A%3CTD%3ELinkedDisplayText%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E----%3C%2FTD%3E%0A%3CTD%3E----%3C%2FTD%3E%0A%3CTD%3E-----------------%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EFrom%3C%2FTD%3E%0A%3CTD%3E0%3C%2FTD%3E%0A%3CTD%3Efrom%20%3CA%20id%3D%22%26quot%3BFrom%26quot%3B%22%20target%3D%22_blank%22%3Epeople%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EFromMemberOf%3C%2FTD%3E%0A%3CTD%3E1%3C%2FTD%3E%0A%3CTD%3Efrom%20a%20member%20of%20%3CA%20id%3D%22%26quot%3BFromMemberOf%26quot%3B%22%20target%3D%22_blank%22%3Edistribution%20list%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EFromScope%3C%2FTD%3E%0A%3CTD%3E2%3C%2FTD%3E%0A%3CTD%3Efrom%20users%20that%20are%20%3CA%20id%3D%22%26quot%3BFromScope%26quot%3B%22%20target%3D%22_blank%22%3Einside%20or%20outside%20the%20organization%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ESentTo%3C%2FTD%3E%0A%3CTD%3E3%3C%2FTD%3E%0A%3CTD%3Esent%20to%20%3CA%20id%3D%22%26quot%3BSentTo%26quot%3B%22%20target%3D%22_blank%22%3Epeople%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ESentToMemberOf%3C%2FTD%3E%0A%3CTD%3E4%3C%2FTD%3E%0A%3CTD%3Esent%20to%20a%20member%20of%20%3CA%20id%3D%22%26quot%3BSentToMemberOf%26quot%3B%22%20target%3D%22_blank%22%3Edistribution%20list%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ESentToScope%3C%2FTD%3E%0A%3CTD%3E5%3C%2FTD%3E%0A%3CTD%3Esent%20to%20users%20that%20are%20%3CA%20id%3D%22%26quot%3BSentToScope%26quot%3B%22%20target%3D%22_blank%22%3Einside%20or%20outside%20the%20organization%2C%20...%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EBetweenMemberOf%3C%2FTD%3E%0A%3CTD%3E6%3C%2FTD%3E%0A%3CTD%3Ebetween%20members%20of%20%3CA%20id%3D%22%26quot%3BBetweenMemberOf1%26quot%3B%22%20target%3D%22_blank%22%3Edistribution%20list%3C%2FA%3E%20and%20%3CA%20id%3D%22%26quot%3BBe...%26lt%3B%2FTD%22%20target%3D%22_blank%22%3E%0A%3C%2FA%3E%3C%2FTD%3E%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EManagerIs%3C%2FTD%3E%0A%3CTD%3E7%3C%2FTD%3E%0A%3CTD%3Ewhen%20the%20manager%20of%20any%20%3CA%20id%3D%22%26quot%3BManagerForEvaluatedUser%26quot%3B%22%20target%3D%22_blank%22%3Esender%3C%2FA%3E%20is%20%3CA%20id%3D%22%26quot%3BMa...%26lt%3B%2FTD%22%20target%3D%22_blank%22%3E%0A%3C%2FA%3E%3C%2FTD%3E%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EManagementRelationship%3C%2FTD%3E%0A%3CTD%3E8%3C%2FTD%3E%0A%3CTD%3Ewhen%20the%20sender%20is%20the%20%3CA%20id%3D%22%26quot%3BSenderManagementRelationship%26quot%3B%22%20target%3D%22_blank%22%3Emanager%3C%2FA%3E%20of%20a%20re...%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EADAttributeComparison%3C%2FTD%3E%0A%3CTD%3E9%3C%2FTD%3E%0A%3CTD%3Eif%20the%20sender%20and%20recipient's%20%3CA%20id%3D%22%26quot%3BADComparisonAttribute%26quot%3B%22%20target%3D%22_blank%22%3EAD%20Attribute%3C%2FA%3E%20ar...%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ERecipientAddressContainsWords%3C%2FTD%3E%0A%3CTD%3E10%3C%2FTD%3E%0A%3CTD%3Ewhen%20a%20recipient's%20address%20contains%20%3CA%20id%3D%22%26quot%3BRecipientAddressContainsWords%26quot%3B%22%20target%3D%22_blank%22%3Especi...%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ERecipientAddressMatchesPatterns%3C%2FTD%3E%0A%3CTD%3E11%3C%2FTD%3E%0A%3CTD%3Ewhen%20a%20recipient's%20address%20matches%20%3CA%20id%3D%22%26quot%3BRecipientAddressMatchesPatterns%26quot%3B%22%20target%3D%22_blank%22%3Etext...%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ERecipientAttributeContains%3C%2FTD%3E%0A%3CTD%3E12%3C%2FTD%3E%0A%3CTD%3Ewhen%20a%20recipient's%20%3CA%20id%3D%22%26quot%3BRecipientADAttributeContainsWords%26quot%3B%22%20target%3D%22_blank%22%3Eproperties%20contain...%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ERecipientAttributeMatches%3C%2FTD%3E%0A%3CTD%3E13%3C%2FTD%3E%0A%3CTD%3Ewhen%20a%20recipient's%20%3CA%20id%3D%22%26quot%3BRecipientADAttributeMatchesPatterns%26quot%3B%22%20target%3D%22_blank%22%3Eproperties%20match...%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAnyOfToHeader%3C%2FTD%3E%0A%3CTD%3E16%3C%2FTD%3E%0A%3CTD%3Ewhen%20any%20of%20the%20recipients%20in%20the%20To%20field%20is%20%3CA%20id%3D%22%26quot%3BAnyOfToHeader%26quot%3B%22%20target%3D%22_blank%22%3Epeople%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAnyOfToHeaderMemberOf%3C%2FTD%3E%0A%3CTD%3E17%3C%2FTD%3E%0A%3CTD%3Ewhen%20any%20of%20the%20recipients%20in%20the%20%22To%22%20field%20is%20a%20member%20of%20%3CA%20id%3D%22%26quot%3BAnyOfToHeade...%26lt%3B%2FTD%22%20target%3D%22_blank%22%3E%0A%3C%2FA%3E%3C%2FTD%3E%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAnyOfCcHeader%3C%2FTD%3E%0A%3CTD%3E18%3C%2FTD%3E%0A%3CTD%3Ewhen%20any%20of%20the%20recipients%20in%20the%20Cc%20field%20is%20%3CA%20id%3D%22%26quot%3BAnyOfCcHeader%26quot%3B%22%20target%3D%22_blank%22%3Epeople%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAnyOfCcHeaderMemberOf%3C%2FTD%3E%0A%3CTD%3E19%3C%2FTD%3E%0A%3CTD%3Ewhen%20any%20of%20the%20recipients%20in%20the%20Cc%20field%20is%20a%20member%20of%20%3CA%20id%3D%22%26quot%3BAnyOfCcHeaderM...%26lt%3B%2FTD%22%20target%3D%22_blank%22%3E%0A%3C%2FA%3E%3C%2FTD%3E%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAnyOfToCcHeader%3C%2FTD%3E%0A%3CTD%3E20%3C%2FTD%3E%0A%3CTD%3Ewhen%20any%20of%20the%20recipients%20in%20the%20To%20or%20Cc%20fields%20is%20%3CA%20id%3D%22%26quot%3BAnyOfToCcHeader%26quot%3B%22%20target%3D%22_blank%22%3Epe...%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAnyOfToCcHeaderMemberOf%3C%2FTD%3E%0A%3CTD%3E21%3C%2FTD%3E%0A%3CTD%3Ewhen%20any%20of%20the%20recipients%20in%20the%20To%20or%20Cc%20fields%20is%20a%20member%20of%20%3CA%20id%3D%22%26quot%3BAnyOfTo...%26lt%3B%2FTD%22%20target%3D%22_blank%22%3E%0A%3C%2FA%3E%3C%2FTD%3E%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EHasClassification%3C%2FTD%3E%0A%3CTD%3E22%3C%2FTD%3E%0A%3CTD%3Emarked%20with%20%3CA%20id%3D%22%26quot%3BHasClassification%26quot%3B%22%20target%3D%22_blank%22%3Eclassification%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ESubjectContains%3C%2FTD%3E%0A%3CTD%3E23%3C%2FTD%3E%0A%3CTD%3Ewhen%20the%20Subject%20field%20contains%20%3CA%20id%3D%22%26quot%3BSubjectContainsWords%26quot%3B%22%20target%3D%22_blank%22%3Especific%20words%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ESubjectOrBodyContains%3C%2FTD%3E%0A%3CTD%3E24%3C%2FTD%3E%0A%3CTD%3Ewhen%20the%20Subject%20field%20or%20message%20body%20contains%20%3CA%20id%3D%22%26quot%3BSubjectOrBodyContainsWor...%26lt%3B%2FTD%22%20target%3D%22_blank%22%3E%0A%3C%2FA%3E%3C%2FTD%3E%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EHeaderContains%3C%2FTD%3E%0A%3CTD%3E25%3C%2FTD%3E%0A%3CTD%3Ewhen%20the%20%3CA%20id%3D%22%26quot%3BHeaderContainsMessageHeader%26quot%3B%22%20target%3D%22_blank%22%3Emessage%20header%3C%2FA%3E%20contains%20%3CA%20id%3D%22...%26lt%3B%2FTD%22%20target%3D%22_blank%22%3E%0A%3C%2FA%3E%3C%2FTD%3E%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EFromAddressContains%3C%2FTD%3E%0A%3CTD%3E26%3C%2FTD%3E%0A%3CTD%3Ewhen%20the%20From%20address%20contains%20%3CA%20id%3D%22%26quot%3BFromAddressContainsWords%26quot%3B%22%20target%3D%22_blank%22%3Especific%20words%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ESubjectMatches%3C%2FTD%3E%0A%3CTD%3E27%3C%2FTD%3E%0A%3CTD%3Ewhen%20the%20Subject%20field%20matches%20%3CA%20id%3D%22%26quot%3BSubjectMatchesPatterns%26quot%3B%22%20target%3D%22_blank%22%3Etext%20patterns%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ESubjectOrBodyMatches%3C%2FTD%3E%0A%3CTD%3E28%3C%2FTD%3E%0A%3CTD%3Ewhen%20the%20Subject%20field%20or%20the%20message%20body%20matches%20%3CA%20id%3D%22%26quot%3BSubjectOrBodyMatchesP...%26lt%3B%2FTD%22%20target%3D%22_blank%22%3E%0A%3C%2FA%3E%3C%2FTD%3E%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EHeaderMatches%3C%2FTD%3E%0A%3CTD%3E29%3C%2FTD%3E%0A%3CTD%3Ewhen%20the%20%3CA%20id%3D%22%26quot%3BHeaderMatchesMessageHeader%26quot%3B%22%20target%3D%22_blank%22%3Emessage%20header%3C%2FA%3E%20matches%20%3CA%20id%3D%22%26quot%3BH...%26lt%3B%2FTD%22%20target%3D%22_blank%22%3E%0A%3C%2FA%3E%3C%2FTD%3E%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EFromAddressMatches%3C%2FTD%3E%0A%3CTD%3E30%3C%2FTD%3E%0A%3CTD%3Ewhen%20the%20From%20address%20matches%20%3CA%20id%3D%22%26quot%3BFromAddressMatchesPatterns%26quot%3B%22%20target%3D%22_blank%22%3Etext%20patterns%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAttachmentNameMatches%3C%2FTD%3E%0A%3CTD%3E31%3C%2FTD%3E%0A%3CTD%3Ewhen%20any%20attachment%20file%20name%20matches%20%3CA%20id%3D%22%26quot%3BAttachmentNameMatchesPatterns%26quot%3B%22%20target%3D%22_blank%22%3Etex...%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ESCLOver%3C%2FTD%3E%0A%3CTD%3E32%3C%2FTD%3E%0A%3CTD%3Ewith%20a%20spam%20confidence%20level%20(SCL)%20rating%20that%20is%20greater%20than%20or%20equal%20to%20%3CA%20i...%3D%22%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAttachmentSizeOver%3C%2FTD%3E%0A%3CTD%3E33%3C%2FTD%3E%0A%3CTD%3Ewhen%20the%20size%20of%20any%20attachment%20is%20greater%20than%20or%20equal%20to%20%3CA%20id%3D%22%26quot%3BAttachmentSi...%26lt%3B%2FTD%22%20target%3D%22_blank%22%3E%0A%3C%2FA%3E%3C%2FTD%3E%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EWithImportance%3C%2FTD%3E%0A%3CTD%3E34%3C%2FTD%3E%0A%3CTD%3Emarked%20with%20%3CA%20id%3D%22%26quot%3BWithImportance%26quot%3B%22%20target%3D%22_blank%22%3Eimportance%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EMessageTypeMatches%3C%2FTD%3E%0A%3CTD%3E35%3C%2FTD%3E%0A%3CTD%3Eif%20the%20message%20type%20is%20%3CA%20id%3D%22%26quot%3BMessageTypeMatches%26quot%3B%22%20target%3D%22_blank%22%3EMessage%20Type%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ESenderAttributeContains%3C%2FTD%3E%0A%3CTD%3E36%3C%2FTD%3E%0A%3CTD%3Ewhen%20the%20sender's%20%3CA%20id%3D%22%26quot%3BSenderADAttributeContainsWords%26quot%3B%22%20target%3D%22_blank%22%3Eproperties%20contain%20spe...%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ESenderAttributeMatches%3C%2FTD%3E%0A%3CTD%3E37%3C%2FTD%3E%0A%3CTD%3Ewhen%20the%20sender's%20%3CA%20id%3D%22%26quot%3BSenderADAttributeMatchesPatterns%26quot%3B%22%20target%3D%22_blank%22%3Eproperties%20match%20tex...%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EHasNoClassification%3C%2FTD%3E%0A%3CTD%3E38%3C%2FTD%3E%0A%3CTD%3Enot%20marked%20with%20a%20message%20classification%3CA%20id%3D%22%26quot%3BHasNoClassification%26quot%3B%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAttachmentContainsWords%3C%2FTD%3E%0A%3CTD%3E39%3C%2FTD%3E%0A%3CTD%3Ewhen%20an%20attachment's%20content%20contains%20%3CA%20id%3D%22%26quot%3BAttachmentContainsWords%26quot%3B%22%20target%3D%22_blank%22%3Ewords%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAttachmentMatchesPatterns%3C%2FTD%3E%0A%3CTD%3E40%3C%2FTD%3E%0A%3CTD%3Ewhen%20an%20attachment's%20content%20matches%20%3CA%20id%3D%22%26quot%3BAttachmentMatchesPatterns%26quot%3B%22%20target%3D%22_blank%22%3Etext%20pat...%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAttachmentIsUnsupported%3C%2FTD%3E%0A%3CTD%3E41%3C%2FTD%3E%0A%3CTD%3Ewhen%20an%20attachment%20is%20unsupported%3CA%20id%3D%22%26quot%3BAttachmentIsUnsupported%26quot%3B%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CDIV%3E%0A%3CP%3EPredicates%20can%20also%20be%20used%20as%20exceptions.%20Each%20predicate%20property%20(available%20as%20a%20transport%20rule%20parameter%E2%80%94%20e.g.%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EBetweenMemberOf1%3C%2FSPAN%3E%20and%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EBetweenMemberOf2%3C%2FSPAN%3E%2C%20or%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EFrom%3C%2FSPAN%3E)%20also%20%3CSPAN%20class%3D%22lightyellow%22%3Ehas%20an%20identical%20twin%20parameter%20with%20the%20prefix%20%3CSPAN%20class%3D%22command%22%3EExceptIf%3C%2FSPAN%3E%3C%2FSPAN%3E%20(for%20example%2C%20%3CSPAN%20class%3D%22parameter%22%3EExceptIfBetweenMemberOf1%3C%2FSPAN%3E%20and%20%3CSPAN%20class%3D%22parameter%22%3EExceptIfBetweenMemberOf2%3C%2FSPAN%3E%2C%20or%20%3CSPAN%20class%3D%22parameter%22%3EExceptFrom%3C%2FSPAN%3E).%20You%20can%20see%20how%20transport%20rule%20exceptions%20are%20used%20in%20some%20interesting%20ways%20in%20Steve%20Clagg's%20post%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Farchive%2F2010%2F03%2F15%2F454274.aspx%22%20title%3D%22Read%20previous%20post%20'Transport%20Rules%3A%20Exception%20to%20the%20Rule'%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ETransport%20Rules%3A%20Exception%20to%20the%20Rule%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3ESimilarly%2C%20using%20the%20Get-TransportRuleAction%20cmdlet%20lists%20all%20available%20actions%3A%3C%2FP%3E%0A%3CTABLE%20style%3D%22background-color%3A%23000%3Bcolor%3A%23ffff00%3Bpadding%3A%20.3em%3Bfont%3Anormal%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3EName%3C%2FTD%3E%0A%3CTD%3ERank%3C%2FTD%3E%0A%3CTD%3ELinkedDisplayText%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E----%3C%2FTD%3E%0A%3CTD%3E----%3C%2FTD%3E%0A%3CTD%3E-----------------%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EPrependSubject%3C%2FTD%3E%0A%3CTD%3E0%3C%2FTD%3E%0A%3CTD%3Eprepend%20message%20subject%20with%20%3CA%20id%3D%22%26quot%3BPrependSubject%26quot%3B%22%20target%3D%22_blank%22%3Estring%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EApplyClassification%3C%2FTD%3E%0A%3CTD%3E1%3C%2FTD%3E%0A%3CTD%3Eapply%20%3CA%20id%3D%22%26quot%3BApplyClassification%26quot%3B%22%20target%3D%22_blank%22%3Emessage%20classification%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EApplyHtmlDisclaimer%3C%2FTD%3E%0A%3CTD%3E2%3C%2FTD%3E%0A%3CTD%3E%3CA%20id%3D%22%26quot%3BApplyHtmlDisclaimerLocation%26quot%3B%22%20target%3D%22_blank%22%3Eappend%3C%2FA%3E%20%3CA%20id%3D%22%26quot%3BApplyHtmlDisclaimerText%26quot%3B%22%20target%3D%22_blank%22%3Ediscla...%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ERightsProtectMessagev%3C%2FTD%3E%0A%3CTD%3E3%3C%2FTD%3E%0A%3CTD%3Erights%20protect%20message%20with%20%3CA%20id%3D%22%26quot%3BApplyRightsProtectionTemplate%26quot%3B%22%20target%3D%22_blank%22%3ERMS%20template%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ESetSCL%3C%2FTD%3E%0A%3CTD%3E4%3C%2FTD%3E%0A%3CTD%3Eset%20the%20spam%20confidence%20level%20to%20%3CA%20id%3D%22%26quot%3BSetSCL%26quot%3B%22%20target%3D%22_blank%22%3Evalue%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ESetHeader%3C%2FTD%3E%0A%3CTD%3E5%3C%2FTD%3E%0A%3CTD%3Eset%20%3CA%20id%3D%22%26quot%3BSetHeaderName%26quot%3B%22%20target%3D%22_blank%22%3Eheader%3C%2FA%3E%20with%20%3CA%20id%3D%22%26quot%3BSetHeaderValue%26quot%3B%22%20target%3D%22_blank%22%3Evalue%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ERemoveHeader%3C%2FTD%3E%0A%3CTD%3E6%3C%2FTD%3E%0A%3CTD%3Eremove%20%3CA%20id%3D%22%26quot%3BRemoveHeader%26quot%3B%22%20target%3D%22_blank%22%3Eheader%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAddToRecipient%3C%2FTD%3E%0A%3CTD%3E7%3C%2FTD%3E%0A%3CTD%3Eadd%20a%20recipient%20in%20the%20To%20field%20%3CA%20id%3D%22%26quot%3BAddToRecipients%26quot%3B%22%20target%3D%22_blank%22%3Eaddresses%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ECopyTo%3C%2FTD%3E%0A%3CTD%3E8%3C%2FTD%3E%0A%3CTD%3Ecopy%20the%20message%20to%20%3CA%20id%3D%22%26quot%3BCopyTo%26quot%3B%22%20target%3D%22_blank%22%3Eaddresses%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EBlindCopyTo%3C%2FTD%3E%0A%3CTD%3E9%3C%2FTD%3E%0A%3CTD%3EBlind%20carbon%20copy%20(Bcc)%20the%20message%20to%20%3CA%20id%3D%22%26quot%3BBlindCopyTo%26quot%3B%22%20target%3D%22_blank%22%3Eaddresses%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAddManagerAsRecipientType%3C%2FTD%3E%0A%3CTD%3E10%3C%2FTD%3E%0A%3CTD%3Eadd%20the%20sender's%20manager%20as%20a%20%3CA%20id%3D%22%26quot%3BAddManagerAsRecipientType%26quot%3B%22%20target%3D%22_blank%22%3Especific%3C%2FA%3E%20recipien...%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EModerateMessageByUser%3C%2FTD%3E%0A%3CTD%3E11%3C%2FTD%3E%0A%3CTD%3Eforward%20the%20message%20to%20%3CA%20id%3D%22%26quot%3BModerateMessageByUser%26quot%3B%22%20target%3D%22_blank%22%3Eaddresses%3C%2FA%3E%20for%20moderation%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EModerateMessageByManager%3C%2FTD%3E%0A%3CTD%3E12%3C%2FTD%3E%0A%3CTD%3Eforward%20the%20message%20to%20the%20sender's%20manager%20for%20moderation%3CA%20id%3D%22%26quot%3BModerateMessageByMan...%26lt%3B%2FTD%22%20target%3D%22_blank%22%3E%0A%3C%2FA%3E%3C%2FTD%3E%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ERedirectMessage%3C%2FTD%3E%0A%3CTD%3E13%3C%2FTD%3E%0A%3CTD%3Eredirect%20the%20message%20to%20%3CA%20id%3D%22%26quot%3BRedirectMessageTo%26quot%3B%22%20target%3D%22_blank%22%3Eaddresses%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ERejectMessage%3C%2FTD%3E%0A%3CTD%3E14%3C%2FTD%3E%0A%3CTD%3Esend%20%3CA%20id%3D%22%26quot%3BRejectMessageReasonText%26quot%3B%22%20target%3D%22_blank%22%3Erejection%20message%3C%2FA%3E%20to%20sender%20with%20%3CA%20id%3D%22%26quot%3BRej...%26lt%3B%2FTD%22%20target%3D%22_blank%22%3E%0A%3C%2FA%3E%3C%2FTD%3E%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EDeleteMessage%3C%2FTD%3E%0A%3CTD%3E15%3C%2FTD%3E%0A%3CTD%3EDelete%20the%20message%20without%20notifying%20anyone%3CA%20id%3D%22%26quot%3BDeleteMessage%26quot%3B%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3C%2FDIV%3E%0A%3CP%3EOnce%20you've%20determined%20the%20predicate%20you%20need%20to%20use%20in%20a%20rule%2C%20you%20can%20list%20all%20the%20properties%20it%20requires.%20Some%20predicates%20require%20a%20single%20property%2C%20so%20the%20predicate%20name%20and%20the%20parameter%20name%20(used%20with%20New%2FSet-TransportRule%20cmdlets)%20are%20the%20same.%20For%20example%2C%20the%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EFrom%3C%2FSPAN%3E%20predicate%20takes%20a%20single%20property%E2%80%94%20an%20array%20of%20senders.%20The%20parameter%20is%20also%20called%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EFrom%3C%2FSPAN%3E.%20Some%20predicates%20require%20multiple%20properties.%20For%20example%2C%20the%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EADAttributeComparison%3C%2FSPAN%3E%20predicate%20requires%20you%20to%20specify%20the%20name%20of%20the%20Active%20Directory%20attribute%20you%20want%20to%20compare%2C%20and%20a%20comparision%20operator%20(equal%20%2F%20not%20equal).%20The%20parameters%20are%20called%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EADComparisonAttribute%3C%2FSPAN%3E%20and%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EADComparisonOperator%3C%2FSPAN%3E.%3C%2FP%3E%0A%3CP%3EYou%20can%20simply%20cycle%20through%20(hit%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3E-%3C%2FSPAN%3E%2C%20followed%20by%20the%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3ETab%3C%2FSPAN%3E%20key%E2%80%94%20known%20as%20%22tab-complete%22%20or%20%22tab-through%22%20in%20shell-speak...%20)%20all%20available%20parameters%20of%20the%20New-TransportRule%20and%20Set-TransportRule%20cmdlets%20and%20chances%20are%20you%20would%20recognize%20the%20ones%20you%20need%20to%20use%20when%20they%20show%20up.%20If%20you%20remember%20the%20parameter%20name%20starts%20with%20the%20letter%20B%2C%20you%20can%20type%20that%20first%20letter%20and%20tab%20through%20all%20parameters%20starting%20with%20the%20letter%20B%20(%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3ENew-TransportRule%20%22Rule%20Name%22%20-B%3C%2FSPAN%3E%20%2B%20the%20Tab%20key%20to%20tab-through).%20You've%20just%20narrowed%20down%20the%20number%20of%20parameters%20to%203%20-%20that's%20a%20lot%20less%20tabbing%20through.%3C%2FP%3E%0A%3CP%3EThis%20example%20lists%20properties%20of%20the%20the%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EBetweenMemberOf%3C%2FSPAN%3E%20predicate.%3C%2FP%3E%0A%3CP%3EGet-TransportRulePredicate%20BetweenmemberOf%20%7C%20fl%3C%2FP%3E%0A%3CP%3EThe%20output%20(redundant%20information%20removed)%3A%3C%2FP%3E%0A%3CP%3EAddresses%20%3A%3CBR%20%2F%3EAddresses2%20%3A%3CBR%20%2F%3EName%20%3A%20BetweenMemberOf%3CBR%20%2F%3ERank%20%3A%206%3CBR%20%2F%3ELinkedDisplayText%20%3A%20between%20members%20of%20%3CA%20id%3D%22%26quot%3BBetweenMemberOf1%26quot%3B%22%20target%3D%22_blank%22%3Edistribution%20list%3C%2FA%3E%20and%20%3CA%20id%3D%22%26quot%3BBetweenMemberOf2%26quot%3B%22%20target%3D%22_blank%22%3Edistribution%20list%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EThe%20LinkedDisplayText%20is%20the%20predicate%20description%20you%20see%20on%20the%20Conditions%20page%20in%20the%20EMC%20rules%20wizard%20(see%20Figure%201).%20The%20properties%20required%20are%20enclosed%20in%20%3CA%3E%20and%20%3C%2FA%3E%20tags%20in%20the%20LinkedDisplayText.%20The%20predicate%20requires%202%20properties%20%E2%80%93%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EAddresses%3C%2FSPAN%3E%20and%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EAddresses2%3C%2FSPAN%3E.%20The%20parameter%20names%20for%20these%20properties%20(shown%20as%20the%20link%20ids)%20are%20called%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EBetweenMemberOf1%3C%2FSPAN%3E%20and%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EBetweenMemberOf2%3C%2FSPAN%3E.%20The%20link%20text%20shown%20in%20EMC%20is%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3Edistribution%20list%3C%2FSPAN%3E%20for%20both%20properties%20-%20indicating%20the%20type%20of%20values%20required.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%3E%3CIMG%20src%3D%22http%3A%2F%2Fmigration9.stage.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F114240i1F80096192F0D6B0%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22454357_ShellDojoWithTransportRules-1.png%22%20title%3D%22454357_ShellDojoWithTransportRules-1.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20style%3D%22font-size%3A%20.8em%22%3E%3CSPAN%20style%3D%22font-weight%3Abold%22%3EFigure%201%3A%3C%2FSPAN%3E%20The%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3ELinkedDisplayText%3C%2FSPAN%3E%20is%20the%20predicate%20description%20displayed%20in%20the%20EMC%20rules%20wizard.%20The%20two%20properties%20required%20for%20this%20predicate%20are%20called%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EBetweenMemberOf1%3C%2FSPAN%3E%20and%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EBetweenMemberOf2%3C%2FSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EDitto%20for%20all%20properties%20of%20an%20action.%20This%20example%20lists%20properties%20of%20the%20the%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3ERejectMessage%3C%2FSPAN%3E%20action.%3C%2FP%3E%0A%3CP%3EGet-TransportRuleAction%20RejectMessage%20%7C%20fl%3C%2FP%3E%0A%3CP%3EThe%20output%3A%3C%2FP%3E%0A%3CP%3ERejectReason%20%3A%20Delivery%20not%20authorized%2C%20message%20refused%3CBR%20%2F%3EEnhancedStatusCode%20%3A%205.7.1%3CBR%20%2F%3EName%20%3A%20RejectMessage%3CBR%20%2F%3ERank%20%3A%2014%3CBR%20%2F%3ELinkedDisplayText%20%3A%20send%20%3CA%20id%3D%22%26quot%3BRejectMessageReasonText%26quot%3B%22%20target%3D%22_blank%22%3Erejection%20message%3C%2FA%3E%20to%20sender%20with%20%3CA%20id%3D%22%26quot%3BRejectMessageEnhancedStatusCode%26quot%3B%22%20target%3D%22_blank%22%3Eenhanced%20status%20code%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EThe%20RejectMessage%20action%20requires%20two%20properties%20-%20RejectReason%20and%20EnhancedStatusCode.%20The%20parameters%20are%20named%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3ERejectMessageReasonText%3C%2FSPAN%3E%20and%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3ERejectMessageEnhancedStatusCode%3C%2FSPAN%3E.%20The%20LinkedDisplayText%20is%20the%20action%20description%20shown%20on%20the%20Actions%20page%20in%20the%20rules%20wizard%20in%20EMC%20(see%20Figure%202).%20If%20a%20value%20isn't%20specified%20for%20the%20EnhancedStatusCode%2C%20the%20default%20value%20is%205.7.1.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%3E%3CIMG%20src%3D%22http%3A%2F%2Fmigration9.stage.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F114241i3028B8B15CF7B185%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22454359_ShellDojoWithTransportRules-2.png%22%20title%3D%22454359_ShellDojoWithTransportRules-2.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20style%3D%22font-size%3A%20.8em%22%3E%3CSPAN%20style%3D%22font-weight%3Abold%22%3EFigure%202%3A%3C%2FSPAN%3E%20The%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3ELinkedDisplayText%3C%2FSPAN%3E%20is%20the%20action%20description%20displayed%20in%20the%20EMC%20rules%20wizard.%20The%20two%20properties%20required%20for%20this%20action%20are%20called%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3ERejectMessageReasonText%3C%2FSPAN%3E%20and%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3ERejectMessageEnhancedStatusCode%3C%2FSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ELet's%20create%20the%20same%20transport%20rule%20in%20Exchange%202010.%3C%2FP%3E%0A%3CP%3ENew-TransportRule%20-Name%20EthicalWall%20-BetweenMemberOf1%20Brokers%20-BetweenMemberOf2%20Bankers%20-RejectMessageReasonText%20%22Members%20of%20Bankers%20and%20Brokers%20distribution%20groups%20are%20not%20allowed%20to%20send%20email%20to%20each%20other.%22%3C%2FP%3E%0A%3CP%3EYes%2C%20that's%20it%20-%20it's%20a%20one-liner!%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1797963818%22%20id%3D%22toc-hId--1797963820%22%3ECommon%20Errors%3C%2FH3%3E%0A%3CP%3EThe%20more%20common%20error%20you%20may%20make%20when%20creating%20rules%20is%20not%20specifying%20all%20parameters%20required%20for%20a%20predicate.%20For%20example%2C%20you%20may%20specify%20the%20BetweenMemberOf1%20parameter%2C%20but%20not%20BetweenMemberOf2.%20Luckily%2C%20the%20shell%20provides%20some%20great%20to-the-point%20feedback%20in%20such%20cases.%3C%2FP%3E%0A%3CP%3EWhen%20the%20BetweenMemberOf1%20parameter%20is%20specified%2C%20the%20following%20parameters%20must%20also%20be%20specified%3A%20BetweenMemberOf2.%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20%2B%20CategoryInfo%20%3A%20InvalidArgument%3A%20(BetweenMemberOf1%3AString)%20%5BNew-TransportRule%5D%2C%20ArgumentException%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20%2B%20FullyQualifiedErrorId%20%3A%20760A4623%2CMicrosoft.Exchange.MessagingPolicies.Rules.Tasks.NewTransportRule%3C%2FP%3E%0A%3CP%3EAnother%20common%20error%20is%20specifying%20an%20incorrect%20value%20for%20a%20parameter%2C%20when%20the%20cmdlet%20expects%20a%20value%20from%20a%20fixed%20list%20of%20values.%20In%20this%20example%2C%20we've%20provided%20an%20incorrect%20value%20(%22foo%22)%20for%20the%20ADComparisonAttribute%20parameter.%20In%20such%20cases%2C%20the%20shell%20lists%20all%20the%20correct%20values%2C%20as%20shown%20in%20the%20following%20example.%3C%2FP%3E%0A%3CP%3ECannot%20process%20argument%20transformation%20on%20parameter%20'ADComparisonAttribute'.%20Cannot%20convert%20value%20%22foo%22%20to%20type%20%22Microsoft.Exchange.MessagingPolicies.Rules.Tasks.ADAttribute%22%20due%20to%20invalid%20enumeration%20values.%20Specify%20one%20of%20the%20following%20enumeration%20values%20and%20try%20again.%20The%20possible%20enumeration%20values%20are%20%22DisplayName%2C%20FirstName%2C%20Initials%2C%20LastName%2C%20Office%2C%20PhoneNumber%2C%20OtherPhoneNumber%2C%20Email%2C%20Street%2C%20POBox%2C%20City%2C%20State%2C%20ZipCode%2C%20Country%2C%20UserLogonName%2C%20HomePhoneNumber%2C%20OtherHomePhoneNumber%2C%20PagerNumber%2C%20MobileNumber%2C%20FaxNumber%2C%20OtherFaxNumber%2C%20Notes%2C%20Title%2C%20Department%2C%20Company%2C%20Manager%2C%20CustomAttribute1%2C%20CustomAttribute2%2C%20CustomAttribute3%2C%20CustomAttribute4%2C%20CustomAttribute5%2C%20CustomAttribute6%2C%20CustomAttribute7%2C%20CustomAttribute8%2C%20CustomAttribute9%2C%20CustomAttribute10%2C%20CustomAttribute11%2C%20CustomAttribute12%2C%20CustomAttribute13%2C%20CustomAttribute14%2C%20CustomAttribute15%22.%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20%2B%20CategoryInfo%20%3A%20InvalidData%3A%20(%3A)%20%5BNew-TransportRule%5D%2C%20ParameterBindin...mationException%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20%2B%20FullyQualifiedErrorId%20%3A%20ParameterArgumentTransformationError%2CNew-TransportRule%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%3E%3CIMG%20src%3D%22http%3A%2F%2Fmigration9.stage.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F114242i0351824D9B55DAD1%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22454368_ShellDojoWithTransportRules-3.png%22%20title%3D%22454368_ShellDojoWithTransportRules-3.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20style%3D%22font-size%3A%20.8em%22%3E%3CSPAN%20style%3D%22font-weight%3Abold%22%3EFigure%203%3A%3C%2FSPAN%3E%20Certain%20properties%20require%20a%20value%20from%20a%20fixed%20set%20of%20values.%20In%20EMC%2C%20these%20can%20be%20selected%20from%20a%20drop-down%20list.%20If%20you%20specify%20an%20unexpected%20value%20when%20using%20the%20shell%2C%20a%20list%20of%20all%20correct%20values%20is%20provided.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--55153483%22%20id%3D%22toc-hId--55153485%22%3EView%20Transport%20Rules%3C%2FH3%3E%0A%3CP%3EThe%20Get-TransportRule%20cmdlet%20retrieves%20a%20list%20of%20all%20transport%20rules.%20As%20a%20result%20of%20having%20all%20predicate%20and%20action%20properties%20available%20as%20parameters%2C%20when%20you%20use%20the%20Get-TransportRule%20cmdlet%20to%20view%20the%20properties%20of%20a%20transport%20rule%20(%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EGet-TransportRule%20%3CRULE%20name%3D%22%22%3E%20%7C%20fl%3C%2FRULE%3E%3C%2FSPAN%3E%2C%20where%20fl%20is%20short%20for%20the%20format-list%20cmdlet)%2C%20you%E2%80%99ll%20see%20the%20large%20number%20of%20parameters%20scroll%20by%20rather%20quickly%2C%20making%20it%20difficult%20to%20determine%20which%20parameters%20are%20actually%20used%20for%20the%20cmdlet.%20This%20is%20a%20tradeoff%20we%20had%20to%20make%20when%20redesigning%20the%20cmdlet%20experience%20for%20transport%20rules.%3C%2FP%3E%0A%3CP%3EHowever%2C%20there%E2%80%99s%20an%20easy%20workaround.%20Each%20rule%20has%20the%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EConditions%3C%2FSPAN%3E%20and%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EActions%3C%2FSPAN%3E%20properties%20which%20list%20the%20predicates%20and%20actions%20used.%20This%20example%20retrieves%20the%20rule%20conditions.%3C%2FP%3E%0A%3CP%3E(Get-TransportRule%20EthicalWall).Conditions%20%7C%20fl%3C%2FP%3E%0A%3CP%3EThe%20output%3A%3C%2FP%3E%0A%3CTABLE%20style%3D%22background-color%3A%23000%3Bcolor%3A%23ffff00%3Bpadding%3A%20.3em%3Bfont%3Anormal%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3EAddresses%3C%2FTD%3E%0A%3CTD%3E%3A%3C%2FTD%3E%0A%3CTD%3E%7BBrokers%40contoso.com%7D%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EAddresses2%3C%2FTD%3E%0A%3CTD%3E%3A%3C%2FTD%3E%0A%3CTD%3E%7BBankers%40contoso.com%7D%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EName%3C%2FTD%3E%0A%3CTD%3E%3A%3C%2FTD%3E%0A%3CTD%3EBetweenMemberOf%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ERank%3C%2FTD%3E%0A%3CTD%3E%3A%3C%2FTD%3E%0A%3CTD%3E6%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ELinkedDisplayText%3C%2FTD%3E%0A%3CTD%3E%3A%3C%2FTD%3E%0A%3CTD%3Ebetween%20members%20of%20%3CA%20id%3D%22%26quot%3BBetweenMemberOf1%26quot%3B%22%20target%3D%22_blank%22%3Edistribution%20list%3C%2FA%3E%20and%20%3CA%20id%3D%22%26quot%3BBetweenMemberOf2%26quot%3B%22%20target%3D%22_blank%22%3Edistribution%20list%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3EYou%20can%20use%20%3CSPAN%20class%3D%22command%20lightyellow%22%3E(Get-TransportRule%20%3CRULE%20name%3D%22%22%3E).Exceptions%3C%2FRULE%3E%3C%2FSPAN%3E%20to%20list%20all%20exceptions%20and%20%3CSPAN%20class%3D%22command%20lightyellow%22%3E(Get-TransportRule%20%3CRULE%20name%3D%22%22%3E).Actions%3C%2FRULE%3E%3C%2FSPAN%3E%20to%20get%20a%20list%20of%20all%20actions%20specified%20in%20the%20rule.%20This%20example%20does%20not%20use%20any%20exceptions.%20The%20following%20output%20shows%20the%20actions%3A%3C%2FP%3E%0A%3CTABLE%20style%3D%22background-color%3A%23000%3Bcolor%3A%23ffff00%3Bpadding%3A%20.3em%3Bfont%3Anormal%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3ERejectReason%3C%2FTD%3E%0A%3CTD%3E%3A%3C%2FTD%3E%0A%3CTD%3EMembers%20of%20Bankers%20and%20Brokers%20distribution%20groups%20are%20not%20allowed%20to%20send%20email%20to%20each%20other.%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EEnhancedStatusCode%3C%2FTD%3E%0A%3CTD%3E%3A%3C%2FTD%3E%0A%3CTD%3E5.7.1%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3EName%3C%2FTD%3E%0A%3CTD%3E%3A%3C%2FTD%3E%0A%3CTD%3ERejectMessage%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ERank%3C%2FTD%3E%0A%3CTD%3E%3A%3C%2FTD%3E%0A%3CTD%3E14%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3ELinkedDisplayText%3C%2FTD%3E%0A%3CTD%3E%3A%3C%2FTD%3E%0A%3CTD%3Esend%20%3CA%20id%3D%22%26quot%3BRejectMessageReasonText%26quot%3B%22%20target%3D%22_blank%22%3Erejection%20message%3C%2FA%3E%20to%20sender%20with%20%3CA%20id%3D%22%26quot%3BRejectMessageEnhancedStatusCode%26quot%3B%22%20target%3D%22_blank%22%3Eenhanced%20status%20code%3C%2FA%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3EHaving%20all%20predicate%20properties%20and%20actions%20available%20as%20parameters%20also%20allows%20you%20to%20filter%20the%20rules%20based%20on%20these%20parameters.%20For%20example%2C%20to%20get%20a%20list%20of%20all%20transport%20rules%20where%20the%20Brokers%20distribution%20group%20is%20used%20in%20the%20%3CSPAN%20class%3D%22attribute%22%3EBetweenMemberOf%3C%2FSPAN%3E%20predicate%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-TransportRule%20%7C%20Where%20%7B%24_.BetweenMemberOf1%20-like%20%22*Brokers*%22%20-or%20%24_.BetweenMemberOf2%20-like%20%22*Brokers*%22%7D%3C%2FP%3E%0A%3CP%3EOr%20you%20can%20list%20all%20transport%20rules%20that%20perform%20a%20particular%20action.%20This%20example%20lists%20all%20transport%20rules%20that%20use%20the%20RejectMessage%20action.%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-TransportRule%20%7C%20Where%20%7B%24_.RejectMessageReasonText%20-ne%20%24null%7D%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1687656852%22%20id%3D%22toc-hId-1687656850%22%3EModify%20a%20transport%20rule%3C%2FH3%3E%0A%3CP%3ENow%20you%20can%20use%20the%20Set-TransportRule%20cmdlet%20and%20modify%20the%20%E2%80%93BetweenMemberOf%20and%2For%20%E2%80%93BetweenMemberOf2%20parameters%2C%20and%20specify%20different%20distribution%20groups.%20You%20can%20also%20add%20additional%20predicates%20to%20the%20condition%2C%20or%20add%20exceptions.%20This%20example%20adds%20the%20additional%20predicate%20SubjectOrBodyContains%20so%20only%20messages%20that%20are%20sent%20between%20the%20two%20distribution%20groups%20AND%20with%20the%20word%20%22trade%22%20in%20the%20message%20subject%20or%20body%20are%20blocked%20by%20the%20rule.%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3ESet-TransportRule%20EthicalWall%20-SubjectOrBodyContainsWords%20%22trade%22%3C%2FP%3E%0A%3CP%3EIf%20you%20decide%20not%20to%20use%20the%20BetweenMemberOf%20predicate%2C%20you%20can%20remove%20it%20by%20setting%20both%20its%20properties%20to%20%24null.%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3ESet-TransportRule%20EthicalWall%20%E2%80%93BetweenMemberOf1%20%24null%20%E2%80%93BetweenMemberOf2%20%24null%3C%2FP%3E%0A%3CP%3ENote%3A%20If%20you%20don%E2%80%99t%20use%20any%20predicates%20or%20exceptions%20in%20a%20rule%2C%20the%20rule%20applies%20to%20all%20messages.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--864500109%22%20id%3D%22toc-hId--864500111%22%3EEnable%2C%20Disable%20and%20Remove%20Transport%20Rules%3C%2FH3%3E%0A%3CP%3EYou%20can%20use%20the%20Enable-TransportRule%20and%20Disable-TransportRule%20cmdlets%20to%20enable%20or%20disable%20transport%20rules.%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EEnable-TransportRule%20EthicalWall%3C%2FP%3E%0A%3CP%3EWhen%20disabling%20a%20transport%20rule%20using%20the%20Disable-TransportRule%20cmdlet%2C%20you%E2%80%99re%20greeted%20with%20a%20confirmation%20prompt.%20You%20can%20override%20the%20prompt%20using%20the%20%E2%80%93Confirm%20parameter.%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EDisable-TransportRule%20EthicalWall%20%E2%80%93Confirm%3A%24false%3C%2FP%3E%0A%3CP%3EThis%20example%20disables%20all%20transport%20rules%20and%20overrides%20the%20confirmtaion%20prompt.%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-TransportRule%20-State%20Enabled%20%7C%20Disable-TransportRule%20%E2%80%93Confirm%3A%24false%3C%2FP%3E%0A%3CP%3ESimilarly%2C%20you%20can%20remove%20transport%20rules%20using%20the%20Remove-TransportRule%20cmdlet.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-878310226%22%20id%3D%22toc-hId-878310224%22%3EChange%20Transport%20Rule%20Priority%3C%2FH3%3E%0A%3CP%3ETranpsort%20rules%20are%20executed%20by%20the%20rules%20agents%20on%20the%20Hub%20and%20Edge%20Transport%20servers%20based%20on%20their%20priority%2C%20in%20ascending%20order.%20The%20lowest%20priority%20value%20is%200%2C%20assigned%20to%20the%20first%20transport%20rule%20you%20create.%20For%20each%20successive%20rule%20you%20create%2C%20the%20priority%20is%20incremented%20by%201.%20You%20can%20change%20the%20priority%20of%20a%20rule%20to%20change%20the%20rule%20execution%20order.%20The%20priority%20values%20for%20other%20transport%20rules%20is%20adjusted%20(increased%20or%20decreased)%20depending%20on%20the%20new%20priority%20you%20assign%20to%20the%20rule%20you%E2%80%99re%20modifying.%3C%2FP%3E%0A%3CP%3EFor%20example%2C%20if%20you%20have%204%20transport%20rules%20called%20EthicalWall1%2C%20EthicalWall2%2C%20EthicalWall3%20and%20EthicalWall4%2C%20with%20the%20default%20priority%20assigned%20at%20creation%20(0%20for%20EthicalWall1%20and%203%20for%20EthicalWall4).%20If%20you%20want%20to%20ensure%20the%20EthicalWall2%20rule%20is%20executed%20last%2C%20you%20can%20use%20Set-TransportRule%20cmdlet%20to%20modify%20rule%20priority%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3ESet-TransportRule%20EthicalWall2%20-Priority%203%3C%2FP%3E%0A%3CP%3ERemember%2C%20the%20highest%20priority%20is%20n-1%2C%20where%20n%20is%20the%20total%20number%20of%20rules.%20This%20also%20allows%20you%20to%20easily%20determine%20the%20total%20number%20of%20transport%20rules.%20Use%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EGet-TransportRule%20%7C%20Select%20-Last%201%3C%2FSPAN%3E.%20The%20total%20number%20of%20rules%20%3D%20priority%20of%20last%20rule%20%2B%201.%20Alternatively%2C%20you%20can%20use%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3E(Get-TransportRule).count%3C%2FSPAN%3E.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1673846735%22%20id%3D%22toc-hId--1673846737%22%3EGetting%20all%20parameters%20for%20a%20cmdlet%3C%2FH3%3E%0A%3CP%3EHere's%20a%20tip%20that%20many%20shell%20jockeys%20find%20useful.%20During%20Exchange%202007%20development%2C%20I%20found%20myself%20frequently%20asking%20the%20same%20question%E2%80%94%20How%20can%20I%20list%20all%20the%20parameters%20for%20a%20cmdlet%3F%20Cmdlet%20help%20(Using%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3EGet-Help%20%3CCMDLET%20name%3D%22%22%3E%20-Full%3C%2FCMDLET%3E%3C%2FSPAN%3E%20or%20%3CSPAN%20style%3D%22font%3Abold%20.9em%20Consolas%2C'Courier%20New'%2CCourier%2Cmonospace%22%3E-Detail%3C%2FSPAN%3E)%20would%20show%20me%20a%20lot%20of%20details%2C%20including%20the%20parameter%20name%2C%20type%2C%20description%2C%20examples%2C%20etc.%20%E2%80%94%20but%20I%20just%20need%20the%20list%20of%20all%20parameters!%20Cmdlet%20reference%20documentation%20has%20all%20this%20information%2C%20well-formatted%20and%20perhaps%20more%20readable%20than%20Shell%20output%2C%20but%20it%20requires%20firing%20up%20a%20browser%20window.%20Most%20shell%20jockeys%20would%20consider%20that%20inefficient!%20It%20wasn%E2%80%99t%20quite%20possible%20in%20Exchange%202007.%3C%2FP%3E%3CP%3EIn%20Exchange%202010%2C%20you%20can%20get%20a%20list%20of%20parameters%20for%20any%20cmdlet%20using%20the%20following%20syntax.%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E(Get-Command%20%3CCMDLET%20name%3D%22%22%3E).Parameters%3C%2FCMDLET%3E%3C%2FP%3E%0A%3CP%3EFor%20example%2C%20to%20get%20a%20list%20of%20all%20parameters%20for%20the%20New-TransportRule%20cmdlet%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E(Get-Command%20New-TransportRule).Parameters%3C%2FP%3E%0A%3CP%3ESo%2C%20how%20many%20parameters%20does%20New-TransportRules%20cmdlet%20have%3F%20Use%20the%20following%20command%20to%20find%20out!%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E(Get-Command%20New-TransportRule).Parameters.Count%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22author%22%3E%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Farticles%2F449351.aspx%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EBharat%20Suneja%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E

Recently we have learned that some of our customers that use Recovery Storage Group and add multiple databases to it, ran into the following issue:

Recovery configured through Database Recovery Management in Exchange Management Console has and issue with picking the Database name if you have multiple databases in storage group (for example Corp1.edb, Corp2.edb and Corp3.edb). In Recovery Storage Group, the name of first database will appear as the last database in the storage group (in this example Corp3.edb). You would have this:

Corp3.edb > this is the problem (should be Corp1.edb)
Corp2.edb
Corp3.edb

So if you restore multiple databases in Recovery Storage Group, first database will not restore successfully.

This is due to the EXDRA XML bug. We are aware of this issue and currently working on the fix, and will update this blog post once this is released.

There are two ways to work around this issue, until the fix is released:

  • Instead of using Exchange Management Console or EXTRA you can use the Exchange Management Shell to create and add databases to Recovery Storage Group and that works fine. For more information on how to do that, please read this.
  • You can rename the first database name in Active Directory to the correct name before doing the restore in Recovery Storage Group. The Active Directory attribute that should be changed on the RSG database is msExchEDBFile. We recommend that you use the workaround #1 above.

- Mohammad Afzal

2 Comments
Not applicable
I saw this a while ago during my testing of RSGs on 2007 (I was testing the new backup software would recover the database OK)

Will be glad to see a fix, but good to know there's a workaround at least.
Not applicable
Hi

Thanks for the information.....

I have trouble finding a user in the RSG.

I use:

Get-mailbox -identity "username" RSGdatabase "RSGPATH"

I find some users but some users not

I can see these users under disconnected Mailboxes that they are in the RSG

I will appreciate some comments to this matter

Thanks
moisessan@gmail.com