Skip to content

Category: Windows Server 2012

Create Exchange Mail Contact using Powershell

Create Exchange Mail Contact using Powershell How to create an Exchange Mail Contact using Powershell one liner. To create the new Mail Contact run the following in Exchange Shell.

  Quick and easy . #ThatlazyAdmin

Leave a Comment

Remove Exchange Mailbox Move-Request

Remove Exchange Mailbox Move-Request using PowerShell   Lets look at how to remove Exchange Mailbox Move-Request with PowerShell.

This will list all current Mailbox Move-Requests InProgress and Completed. To remove run :

Lets looks at combining the “Get” option and only show “Completed” Move-Requests and then remove the “Completed” Move-Requests.

There you…

Leave a Comment

Set Receive and Send size limits Exchange PowerShell

Set Mailbox Max Send and Max Receive limits Lets have a quick look at a one liner to set user mailbox send and receive size limits in Exchange Powershell.  

Now lets look at finding all users with “MaxSendSize” limits greater than “5 MB”

  #ThatLazyAdmin

Leave a Comment

Remove Exchange 2010 Inbox Rules

Remove Exchange Inbox Rules using PowerShell Lets look at a quick way to view , remove and disable user inbox rules. First lets get  list of inbox rules for a user by running the below:

To disable one of the Inbox Rules run the following:

Next lets view the description of the Inbox…

Leave a Comment

Set Office 365 Out Of Office using PowerShell

Set Office 365 Out Of Office Messages using PowerShell Connect to Office 365 PSSession using a script a created to simplify the connection :Connect-Office365-PSSession  

Images when script is executed Very simple and straight forward script to quickly and easily set OOF messages. TechNet Script can be downloaded here :SetO365OOF #ThatLazyAdmin

Leave a Comment

Set DNS using Powershell

The purpose of this article is to show case how to add a new A record to a DNS zone using PowerShell. Here is a quick look at the available Syntax for : Add-DnsServerResourceRecordA Add-DnsServerResourceRecordA [-AllowUpdateAny] [-CreatePtr] [-Name] <String> [-IPv4Address] <IPAddress[]> [-ComputerName <String>] [-TimeToLive <TimeSpan>] [-ZoneName] <String> [-AgeRecord] [-PassThru] [-ZoneScope <String>] [-VirtualizationInstance <String>] [-CimSession <CimSession[]>]…

Leave a Comment

While there is no simple way of addressing ransomware entirely, there are number of measures that all organisations can take to help spot and mitigate the risk and spread of such an attack. LepideAuditor offers probably the easiest, fastest (and most cost effective) means of spotting and reacting to potential ransomware attacks on your Windows…

Leave a Comment

Adding Subnets Active Directory Sites and Services :PowerShell

This guide will show you how to add additional Subnets into Active Directory Sites and Services using GUI as well as Powershell. Let’s start by adding the following Subnet into Sites and Services using GUI. Subnet : 192.168.56.0/24 and 192.168.57.0/24 Launch Active Directory Site and Services and Navigate to Subnets. Right click on “Subnets” and…

2 Comments

Overview of The Exchange 2016 Transport pipeline services

Overview of The Exchange 2016 Transport pipeline services: Front End Transport service on Mailbox servers   This service acts as a stateless proxy for all inbound and (optionally) outbound external SMTP traffic for the Exchange 2016 organization. The Front End Transport service doesn’t inspect message content, doesn’t communicate with the Mailbox Transport service, and doesn’t queue any…

Leave a Comment

Exchange 2016 message throttling settings

View Default Exchange 2016 message throttling settings Message throttling refers to a group of limits that are set on the number of messages and connections that can be processed by an Exchange server. These limits include message processing rates, SMTP connection rates, and SMTP session timeout values. These limits work together to protect an Exchange server…

Leave a Comment