Geeks Hangout

Tips, scripts and fixes I have found as an IT Pro

The below script with change the owner of a group, giving the new owner admin rights to the group.

Connecting to Office 365

Changing the group owner

Change the GroupAlias and NewOwnersEmailAddress to the relevant values.

Read More

The following script will return a list of the distribution groups a Office 365 / Exchange on-line user is a member of.

Connecting to Office 365

Getting a users distribution group membership

Change to the correct email address for the user.

Read More


When trying to add a single shared mailbox to Outlook I was getting the generic message. “The set of folders cannot be opened. The file … is in use and cannot be accessed. Close any application that is using this file, and then try again, You might need to restart your computer”. This shared mailbox worked fine in Outlook web access.

The set of folders cannot be opened


The issue was only effecting a single mailbox, this mailbox was using a a newly added domain name separate to other mailboxes.

It turned out the autodiscover CNAME record had not been set correctly for the domain, resulting in the Outlook client being unable to locate the server for the mailbox.

Read More

The following PowerShell snippet can be used to to export the results of a message trace, unfortunately at the time of writing the Office365 portal does not allow you to do this in the GUI.


Connecting to Office365 via Powershell

Exporting messages based on the sender address

Note the dates and in the American format mm/dd/yy

Exporting messages based on the recipient address

Read More


After setting up Android Studio on mu Ubuntu laptop I attempted to check out some of my code using Git version control, and instead I was greeted with the message Clone failed – Failed to start Git process

failed to start Git process


In my case nice and simple, I had forgot to install Git first, doh.

If you are getting the same on Windows, check you have Git installed and that the program directory is in your PATH environment variable.

Read More


When trying to setup Android Studio on my Ubuntu 15.10 laptop, the Android components would not download Unable to run mksdcard SDK tool

Unable to run mksdcard SDK tool


I needed to install lib32stdc++6


Read More


I just tried to install VMware vCenter 6 Update 1 on a lab server, however my lab server barely failed the minimum requirements for RAM. VMware vCenter Server detected 8005MB of memory. 8176MB of memory is required for the selected deployment type

VMware vCenter Server detected 8005MB of memory. 8176MB of memory is required for the selected deployment type


Credit to Novakin for commenting below with this method.

You can get the installer to skip all hardware checks using the argument SKIP_HARDWARE_CHECKS=1 

For example;

Workaround – Alternative Method

As this was a non production server I did not want to add more RAM just because I was 171Mb short. So instead I went about modifying the the hardware requirements using a MSI transform file.

Read More

The below VBS script will run a command on all computers in the Active Directory OU defined by LDAPPath =

The script depends on the Windows Sysinternals tool PsExec, you will need to download and exact PsExec and place in in the same folder as the script.

In this case I am using the script and PsExec to run the command “IPConfig /flushdns” on all computers in the my “Servers” OU, the script could easily be adapted to to run something different.


Read More

Pin It on Pinterest