Skip to content

Category: PowerShell

User Account has been Disabled :Exchange 2010 OWA

Exchange 2010 OWA : User Account has been Disabled. After a users account has been disabled for some time and re-enabled , they might be faced with the below error in Outlook and OWA. Outlook Error OWA Error To resolved this issue you can open ‘Exchange PowerShell’ and the the following #OneLiner


Leave a Comment

Bulk Enable ActiveSync Exchange PowerShell

Bulk Enable ActiveSync using Exchange PowerShell Lets Start by search for all Mailboxes with ActiveSync Disabled. Open Exchange Powershell and Type the following.

Now that we have a list of Users with ‘ActiveSyncEnabled’ set to ‘false’ , lets change this and Enable ActiveSync for these Users.

Once done all users will have ‘ActiveSyncEnabled’…

Leave a Comment

PowerShell – Execution of Scripts is Disabled on this System

Execution of Scripts is Disabled on this System When you try and run a #PowerShell Script and you are faced with the Error “Execution of Scripts is Disabled” The quick work around for this is to change the current Execution Policy using the following. Lets Change the Execution Policy by running a #OneLiner


Leave a Comment

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 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