Giter Club home page Giter Club logo

cossinadevil2k / cleanup-exchangeproxyaddresses.ps1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carygarvin/cleanup-exchangeproxyaddresses.ps1

0.0 0.0 0.0 39 KB

PowerShell Script to remove undesired/obsolete Proxy Address types (cc:MAIL, MSMAIL, etc...) from ALL mail-enabled objects types in an Exchange Organization.

Home Page: https://carygarvin.github.io/Cleanup-ExchangeProxyAddresses.ps1/

License: MIT License

PowerShell 99.34% HTML 0.66%

cleanup-exchangeproxyaddresses.ps1's Introduction

Cleanup-ExchangeProxyAddresses.ps1

PowerShell Script to remove undesired/obsolete Proxy Address types (CC:MAIL, MSMAIL, etc...) from ALL mail-enabled objects types in an Exchange Organization.

Author : Cary GARVIN
Credit : Aaron Guilmette
Contact : cary(at)garvin.tech
LinkedIn : https://www.linkedin.com/in/cary-garvin
GitHub : https://github.com/carygarvin/

Script Name : Cleanup-ExchangeProxyAddresses.ps1
Version : 1.0
Release date : 28/04/2018 (CET)

History : The present script is inspired from the 'Remove-ExchangeProxyAddresses.ps1' (https://www.powershellgallery.com/packages/Remove-ExchangeProxyAddresses/4.1 or https://www.undocumented-features.com/2017/02/10/removing-proxy-addresses-from-exchange-recipients/) written by Aaron Guilmette, but on steroids... In addition to removing these CCMAIL, MSMAIL addresses from Mailbox, MailUser and MailContact objects, this present version will remove these addresses from ALL possible mail-enabled objects in any Exchange Organization. Additional objects are RemoteUserMailbox, DistributionGroups and MailPublicFolders.

Purpose : The present script can be used for mail objects cleanup prior to any migration from any Exchange version above Exchange 2010 to a higher version or to Office 365/Exchange Online. It will cleanup obsolete CCMAIL and MSMAIL, or more if you wish (specify which address types in $UndesiredAddressTypes array) from ALL mail-enabled object types.

Script usage

To run the present Script, you need Exchange Admin privileges. Edit the $UndesiredAddressTypes array within the Script to specify which types of Proxy Addresses need to be removed.

cleanup-exchangeproxyaddresses.ps1's People

Contributors

carygarvin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.