The following code snippet which I ran through PowerShell ISE (learn how to get it on Windows Server) will remove all disabled users from a particular group. Useful for the end of year / start of year clean up in a school environment. You will need the ActiveRoles Management Shell for Active Directory, available by … Continue reading "Remove all disabled user from an Active Directory Group with Power Shell using Quest Active Roles AD Management"
Recently one of our high-end users was going over their mailbox limit. In helping them to cut down I like to let them know what folders are using up the most of their quota (generally it is their sent items folder, but sometimes not). Executing the below PowerShell command in an Exchange Administration Shell gave … Continue reading "Getting Folder Sizes and number of items in a Mailbox for a particular user on Microsoft Exchange using PowerShell"
So I was recently working with some really old Virtual machines in a development environment that came across from another organisation. One particular virtual machine gave me an error message when I tried to start it up “An error occurred while attempting to start the selected virtual machine(s)… The security ID structure is invalid (0x80070539)”. When this happens, … Continue reading "An error occurred while attempting to start the selected virtual machine(s) The security ID structure is invalid (0x80070539)"
So I recently wanted to create a report to show us who was using up the most space on our mailbox servers, previous administrators had either done away for limits for mailboxes or had set them to be very very generous and our users weren’t really the ones to either keep their mailbox tidy or … Continue reading "Generate Mailbox Size and Usage Report using PowerShell for Exchange 2010 / 2013"
I was recently helping out a colleague at another school as they were having difficulty in a specialised application sending e-mails to external addresses. After a bit of investigating we found that the send connector configured for internet e-mail wasn’t allowing anonymous connections to it (which is dangerous) but since this particular application didn’t allow … Continue reading "Allowing anonymous relay on Exchange 2007/2010 on connectors for programs to send via SMTP using your Mail servers and how to secure it for internal use only."
I was recently looking at modifying our SharePoint warm-up script as we had found out that it wasn’t working as it should be. So I went to fire up the small but useful PowerShell ISE and found that it wasn’t available. So there are two ways to go about getting it installed. First off is … Continue reading "Installing the PowerShell ISE (Integrated Scripting Environment) on Windows Server 2008 R2"
I was recently involved in a project to help secure a School’s Active Directory environment. After sitting down and planning what we wanted to achieve in terms of account security we went to work. After setting up all of the IT based security groups and assigning and delegating the appropriate rights and permissions we found … Continue reading "Applying inherit rights (inheritable) for permissions to a large number of Active Directory objects"
I was recently helping out on a migration from Exchange 2003 to Exchange 2010. The organisation was moving from two servers, a front end and back end server to four with two Mailbox servers running in a DAG (Database Availability Group) configuration and two Client Access Servers in an array and along with Hub Transport … Continue reading "Exchange Management Console not setting Permissions for Receive Connectors, fixing 5.7.1 Client was not authenticated issues with inbound e-mails"
I was recently tasked with performing a clean-up of some of our servers, removing old files/software installations as well as a clean-up of our WSUS server. After a quick look I could see that our previous administrator had set it to download Driver updates as well, which was taking up quite a large amount of … Continue reading "Thoroughly cleaning up a WSUS server"