Category Archives: Uncategorized

Allowing remote access to MySQL

MySql remote access can be easily achieved by running the following command: CREATE USER ‘usernamehere’@’%’ IDENTIFIED BY ‘passwordhere’; GRANT ALL PRIVILEGES ON *.* TO ‘databasenamehere’@’%’ WITH GRANT OPTION;

Using LDAP authentication with MediaWiki and IIS

I wanted MediaWiki to use Windows Authentication automatically when users visited the Wiki. This wasn’t as straight forward as I had hoped but I finally managed to get it working, this is roughly how I went about it: Install PHP Install LDAP …

Read more »

Powershell to email Windows users when their AD password is soon to expire

As with most companys, the most frequent support questions are to do with users passwords. We have a lot of remote users that don’t actually login to the system and as passwords are set to expire quite often so they quite frequently find that their password …

Read more »

Handy Powershell Commands

This page will be updated as and when I come across any handy PowerShell. List alias email addresses: get-mailbox | select -expand emailaddresses alias Recreate OWA directory in IIS: New-OWAVirtualDirectory Return all AD users created in last 30 days $checktime = (get-date).adddays(-30) get-aduser -searchbase …

Read more »