Add and Remove Distribution Group Members Powershell
| | | | | |

Add and Remove Distribution Group Members Powershell

Add and Remove Distribution Group Members Powershell   Lets look at some quick Powershell one liners to Remove and Add Distribution Group Members. Add DistributionGroup Member: Add-DistributionGroupMember -Identity LazyAdmins -Member ShaunH Remove DistributionGroup Member: Remove-DistributionGroupMember -Identity LazyUsers -Member John.Long   Quick and Simple One liners.   #ThatLazyAdmin

Remove Exchange 2010 Inbox Rules
| | | | |

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: Get-InboxRule -Mailbox Shaun.Hardneck To disable one of the Inbox Rules run the following: Disable-InboxRule -Mailbox shaun.hardneck -identity <rule name> Next…

Set Office 365 Out Of Office using PowerShell
| | | | | | |

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   #This Script was created to assist HelpDesk staff to configure Out Of Office Messages for Staff #Twitter: Shaun.Hardneck #Web: http://thatlazyadmin.com $user = Read-Host “UserName” $sdate = Read-Host “Example of Date…

Set DNS using Powershell
| | | | | |

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[]>]…

Get Domain Group Members
| |

Get Domain Group Members

The following Script was created to assist a help desk department to quickly get a list of ‘Members’ from an Active Directory Group. This is a very simple script that prompts you for a Group Name and will then use Grid-View to display the results. Original Post : https://gallery.technet.microsoft.com/Get-Domain-Group-Members-bf33a1a2?redir=0 GetGroupMembers #ThatLazyAdmin

Creating Retention Tags and Policies Office 365
| | | |

Creating Retention Tags and Policies Office 365

In this Post we will cover how to create a Retention Tag and Retention Policy in Exchange Online. Launch the Exchange Online EAC and navigate to Compliance and Retention Tags. Create a Retention Policy to Automatically move all Mailbox Items from 1 Year to Archive. Click (+) Tab then Click apply automatically to entire mailbox…

| | | | | | | |

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…

Windows Vs WanaCry and How to Quickly Find those Windows XP Machines.
| | |

Windows Vs WanaCry and How to Quickly Find those Windows XP Machines.

After this weekend’s latest Ransomware attack here is a quick way to find all those “Windows XP” machines still running in your environment. What is WanaCry ? This malware exploits a vulnerability in Microsoft’s Windows operating system that allows it to automatically spread across networks, which gives it the ability to quickly infect large numbers…

Create Exchange 2016 DAG using PowerShell
| | | | |

Create Exchange 2016 DAG using PowerShell

Create Exchange 2016 DAG using PowerShell   What is a Database Availability Group  (DAG) ? A database availability group (DAG) is a set of up to 16 Microsoft Exchange Server 2016 Mailbox servers that provide automatic database-level recovery from a database, server, or network failure. When a Mailbox server is added to a DAG, it works…

Adding Subnets Active Directory Sites and Services :PowerShell
| | | | |

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…

Overview of The Exchange 2016 Transport pipeline services
| | | | |

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…

Exchange 2016 message throttling settings
| | | | |

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…