Remove-Mailbox Database Exchange 2013
| | | | | | | |

Remove-Mailbox Database Exchange 2013

How to remove Exchange 2013 Mailbox Database using PowerShell In this post i want to share something that’s very common but i thought i’ll share some steps on removing a mailbox database. This post will focus only on doing these steps using Powershell. Firstly run the following command to get a list of all Exchange…

Create Exchange Mail Contact using Powershell
| | | | | | | | |

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. New-MailContact -Name “Lazy-Mails” -ExternalEmailAddress “LazyAdmin@Gmail.com” -OrganizationalUnit “OU=Contacts,DC=LazyAdmin,DC=com”   Quick and easy . #ThatlazyAdmin

Exchange Mailbox Move Request Stuck on ‘Queued’
| | | | | | |

Exchange Mailbox Move Request Stuck on ‘Queued’

Exchange Mailbox Move Request Stuck on ‘Queued’   Recently i started doing bulk Mailbox Moves to New DB’s, during this process i found that all the new move-request jobs i started are all stuck on ‘Queued’ status. To resolve this i did the following. List all Move-Request (just to make sure they still all in…

Remove Exchange Mailbox Move-Request
| | | | | | | | |

Remove Exchange Mailbox Move-Request

Remove Exchange Mailbox Move-Request using PowerShell   Lets look at how to remove Exchange Mailbox Move-Request with PowerShell. Get-MoveRequest This will list all current Mailbox Move-Requests InProgress and Completed. To remove run : Remove-MoveRequest -Confirm:$false Lets looks at combining the “Get” option and only show “Completed” Move-Requests and then remove the “Completed” Move-Requests. Get-MoveRequest |Where-Object…

Set Receive and Send size limits Exchange PowerShell
| | | | |

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.   Set-Mailbox Shaun.Hardneck -MaxReceive “15 MB” -MaxSend “15 MB” Now lets look at finding all users with “MaxSendSize” limits greater than “5 MB” Get-Mailbox -ResultSize Unlimited…

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…