Windows – Stop Skype for Business from auto starting

The past few companies I have worked at have used Skype for Business in one form or the other. Some for IM and others for telephony. It's a good communication tool but just like the consumer Skype version it really likes to start every time your PC powers on. This is fine for work computers … Continue reading Windows – Stop Skype for Business from auto starting

Windows 10 – Why does my keyboard layout keep changing?

Normally when i'm in the middle of coding or looking busy my keyboard layout will randomly change. Meaning that declaring string variables becomes a right pain as the @ symbol and " quotes change places (UK QWERTY layout). Apprantly this is done by a keyboard shortcut that switches between input languages. This is Left Alt … Continue reading Windows 10 – Why does my keyboard layout keep changing?

Windows 10 – Shrink the ‘chrome.exe’ OSD volume control

For the past couple of weeks I've noticed that the OSD volume control on all my Windows 10 computers are now massive and take up a good portion of the screen. However, that's not the worst part it seems to take around 5 seconds for the window to fade all while blocking windows behind it. … Continue reading Windows 10 – Shrink the ‘chrome.exe’ OSD volume control

PowerShell – Fix Unable to load adalsql.dll exception

I have quite a few databases in Azure and use PowerShell from time to time to connect and execute queries on them. This is pretty straight forward and normally works as intended. However, sometimes I get the following exception: Unable to load adalsql.dll (Authentication=ActiveDirectoryPassword). Error code: 0x2. For more information, see http://go.microsoft.com/fwlink/?LinkID=513072 This usually happens … Continue reading PowerShell – Fix Unable to load adalsql.dll exception

Windows 10 – Stop PC going to sleep after locking machine

Occasionally I'll be running a script on my local machine that may take a few hours to complete. Sometimes i'll need to leave my desk and of course have to lock my machine. Normally I always configure power settings not to put my PC to sleep for 2 hours, however this option doesn't apply if … Continue reading Windows 10 – Stop PC going to sleep after locking machine

Exchange PowerShell – Publish Room / Equipment Calendars

So you've got some resource (rooms/equipment) calendars in Exchange that you need to make the calendars public for. You can use PowerShell to accomplish this quite easily. First of all you can get the current calendar publishing information by using the Get-MailboxCalendarFolder cmdlet: Get-MailboxCalendarFolder -Tdentity VIRT-V01:\Calendar Note that if the mailbox's language is not English … Continue reading Exchange PowerShell – Publish Room / Equipment Calendars

Exchange PowerShell – Evaluating expressions in the Filter parameter

Recently I needed to get a bunch of groups from Exchange by their ExternalDirectoryObjectId property. There are many ways to do this and one of the easiest would be to just get the Name (or other unique identifier) by looking up the group in AAD via MSOL PS. However, you can use the -Filter parameter … Continue reading Exchange PowerShell – Evaluating expressions in the Filter parameter

Exchange PowerShell – For security reasons DTD is prohibited

I was working from home today and was trying to connect to Exchange Online via PowerShell. However, every time I tried to connect I would get the following error: System.Xml.XmlException: For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the … Continue reading Exchange PowerShell – For security reasons DTD is prohibited