none
add two samaccounts to the existing scripts RRS feed

  • Question

  • Hello Team,

    Copied below are the scripts , Could you please include  "tlomax" and "sef" as SamAccountName to the below each of the scripts. 

    ================================================================ 


    MHF: 

    Script 1:

    ((((((((RecipientType -eq 'UserMailbox') -or (RecipientType -eq 'MailContact'))) -or (RecipientType -eq 'MailUser'))) -and (((Office -like 'Materials Handling*') -or (SamAccountName -eq 'jnorman'))))) -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox'))) 


    =============================== 

    Herbert: 
    Script 2:
    ((((((((RecipientType -eq 'UserMailbox') -or (RecipientType -eq 'MailContact'))) -or (RecipientType -eq 'MailUser'))) -and (((((((Office -like 'Herbert*') -or (SamAccountName -eq 'mmccleary'))) -or (SamAccountName -eq 'jlewis'))) -or (SamAccountName -eq 'jnorman'))))) -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox'))) 

    ================================================ 

    Hermann; 
    Script 3:


    ((((((((RecipientType -eq 'UserMailbox') -or (RecipientType -eq 'MailContact'))) -or (RecipientType -eq 'MailUser'))) -and (((((Office -like 'HERMANN*') -or (SamAccountName -eq 'jnorman'))) -or (SamAccountName -eq 'mgrabenauer'))))) -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox'))) 

    ==================================================== 
    little; 
    Script 4:

    ((((((((RecipientType -eq 'UserMailbox') -or (RecipientType -eq 'MailContact'))) -or (RecipientType -eq 'MailUser'))) -and (((((Office -like 'Little*') -or (SamAccountName -eq 'mmccombs'))) -or (SamAccountName -eq 'jnorman'))))) -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox'))) 


    ============================================================= 
    Johnson 
    Script 5:

    ((((((((RecipientType -eq 'UserMailbox') -or (RecipientType -eq 'MailContact'))) -or (RecipientType -eq 'MailUser'))) -and (((((((Office -like 'Johnson*') -or (SamAccountName -eq 'mmccombs'))) -or (SamAccountName -eq 'jnorman'))) -or (SamAccountName -eq 'mgrabenauer'))))) -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox'))) 

    =========================================================================== 

    Building 6; 

    Script 6:


    ((((((((RecipientType -eq 'UserMailbox') -or (RecipientType -eq 'MailContact'))) -or (RecipientType -eq 'MailUser'))) -and (((Office -like 'Building 6*') -or (SamAccountName -eq 'jnorman'))))) -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox'))) 


    ================================================ 
    Building 11; 

    Script 7:

    ((((((((RecipientType -eq 'UserMailbox') -or (RecipientType -eq 'MailContact'))) -or (RecipientType -eq 'MailUser'))) -and (((((((((((((((((((((((Office -like 'BLDG. 11*') -or (SamAccountName -eq 'jwarren'))) -or (SamAccountName -eq 'vruffin'))) -or (SamAccountName -eq 'pjur'))) -or (SamAccountName -eq 'oki'))) -or (SamAccountName -eq 'lbs'))) -or (SamAccountName -eq 'kkm'))) -or (SamAccountName -eq 'moe'))) -or (SamAccountName -eq 'lcg'))) -or (SamAccountName -eq 'bwh'))) -or (SamAccountName -eq 'mmccombs'))) -or (SamAccountName -eq 'jnorman'))))) -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox'))) 

    ========================================================

    Regards,

    Sounder

    • Moved by Bill_Stewart Wednesday, September 13, 2017 8:56 PM Unanswerable drive-by question
    Thursday, July 20, 2017 1:32 PM

All replies