Skip to content

Category: Windows Server 2012

Deploy Active Directory Domain Using PowerShell

Deploy Active Directory  Domain using PowerShell Let’s start by Setting the PowerShell Execution Policy to Unrestricted

Next we will rename the server and install Prereq features.

After the script has run successfully the sever will restart , once restarted launch the #PowerShell Console again and run the second script. This will install all…

Leave a Comment

End of support for DirSync and Azure AD Sync . Time to upgrade to Azure AD Connect!

On April 13 of last year, Microsoft announced the deprecation of “Windows Azure Active Directory Sync (DirSync)” and “Azure Active Directory Sync (Azure AD Sync)” and that it was time to start planning to upgrade to Azure AD Connect. They have also announced that end of Support for DirSync & AzureAD Sync will be on…

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

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