Skip to content

ThatLazyAdmin Posts

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

On…

Leave a Comment

KEMP – Free Load Balancer

Free Load Balancer from KEMP Since the introduction of #Exchange 2010 Microsoft no longer recommend the use of “Windows Load balancer” for #Exchange. KEMP Provide an excellent alternative with great additional features. The Free version of #KEMP Load Balancer come with the following features. KEMP Technologies free LoadMaster Application Load Balancer is a fully featured…

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

Windows SysInternals

Windows SysInternals for Nano Server Introduction The Sysinternals Troubleshooting Utilities have been rolled up into a single Suite of tools. This file contains the individual troubleshooting tools and help files. It does not contain non-troubleshooting tools like the BSOD Screen Saver or NotMyFault.

Leave a Comment