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."
So here is a quick one. I was recently developing a small application written in VB.Net and went to add a tool tip to a picture control displaying the Windows UAC Shield but found that I couldn’t. So after a litle poke around I found that I could initialise the ToolTip method and apply to … Continue reading "Adding a ToolTip to a Picture Control in VB.Net"
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"
So we had a query come through our Help Desk recently to ask if we can increase the users in the user selection box as staff members were having difficulty managing their classes and creating groups as they couldn’t CTRL click and had to type in the names of their students. So I started having … Continue reading "Increase the number of visible users per page on group creation and user selection screen in Moodle 2.2"
I was recently working on a web based piece of software that had some colour settings stored in a database table which were stored as hexadecimal colour code values. I needed a quick way to convert them into RGB (Red, Green, Blue) values so that I could use them in creating an image using PHPs … Continue reading "How to convert Hex Colour Codes into RGB Colour Codes using PHP"
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"