PowerShell function to find stale and old trusts in your Active Directory

Trusts… most of the times you create them and never look back… until you have to create a new one.
So what about legacy/ancient trusts? Trusts you don’t need? Trusts that aren’t in use?
Again a post that goes in the category of a clean ‘n healthy environment: A PowerShell function to find stale trusts in your Active Directory.
…and trust me when I write that this can be an eye-opener in many environments 🙂

Please note that this is not a 100% fullproof way of checking if a trust is stale or note… but it is the way I found to be most accurate 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *