Skip to content

Category: PowerShell

The-Term ‘Clean-Mailboxdatabase’ is not a recognized cmdlet,function, script Exchange 2013

Clean MailboxDatabase Command no longer Valid on #Exchange 2013

Command has  been decommissioned for Exchange 2013 and replaced with Update-StoreMailboxState http://technet.microsoft.com/en-us/library/jj860462(v=exchg.150).aspx Update-StoreMailboxState require the GUID of a mailbox to execute so it usually easier to run in combination with Get-MailboxStatistics like the example below Get-MailboxStatistics -Database MDB02 | ForEach { Update-StoreMailboxState -Database $_.Database -Identity $_.MailboxGuid…

Leave a Comment

Find Exchange Mailboxes with Automatic Email Address Policy set to $False

How to Find all User Mailboxes with Auto Email Address Policy Removed. Let’s have a look at what the settings in Exchange Management Console looks like. Let’s start by running a quick one liner to search for all these users.

Next we can see the results output That was a quick one liner ,but…

Leave a Comment

Rename Server using #Powershell

Rename Windows Server Name using #PowerShell Being in the #LazyAdminMode lets rename our server using #PowerShell Lets start by opening  #PowerShell  and type

and that is it 🙂 quick and easy #LoveIt Next lets restart the Server using #PowerShell  to apply the new name by typing

  To get more information regarding the…

Leave a Comment

Windows Domain Join using #PowerShell

Here is a quick How-To Join a “Windows Server 2012” to Windows Domain using #PowerShell Lets start by launching #PowerShell and Type

2. Next we are prompted for valid credentials to Join the Server to the domain. 3.  After Adding the credentials you will be prompted with a Warning Message saying you need to…

Leave a Comment

Manually Update GAL in Office 365

In this Article i will show you how to “Manually” update the AddressList in Office 365 First thing you should do is to connect Exchange Online via #PowerShell

Now type your global administrator login details, then Create a PsSession to Office 365 as follow.

After the session has been created we will import…

Leave a Comment