Restoring an accidentally migrated mail user to On-Prem Exchange

We recently migrated most of our users to Office 365, and due to a miscommunication, three users that should have stayed on premises were migrated, converted to the RecipientTypeDetails RemoteUserMailbox, and had their local mailboxes disconnected. Reconnecting their mailboxes failed as they were of the wrong user type: The solution was to remove the Exchange… Continue reading Restoring an accidentally migrated mail user to On-Prem Exchange

File system rights on mounted drives in Windows

As I repeatedly state, the same object oriented design that makes PowerShell potentially powerful in complex tasks, also makes it require ridiculous verbosity on our part to make it accomplish simple ones. Today’s post is a perfect example. Consider a volume mounted to an NTFS mountpoint in a directory. Since this is an obvious afterthought… Continue reading File system rights on mounted drives in Windows

PowerShell for Unix nerds

(This post was inspired by a question on ServerFault) Windows has had an increasingly useful scripting language since 2006 in PowerShell. Since Microsoft apparently fell in love with backend developers a while back, they’ve even ported the core of it to GNU/Linux and macOS. This is actually a big deal for us who prefer our… Continue reading PowerShell for Unix nerds

Monitoring mounted Windows volumes using Zabbix

Sometimes it’s nice to mount a separate disk volume inside a directory structure. For a concrete example: At work we have a legacy system that writes copious amounts of data to subfolders of a network share. While vSphere allows for pretty large vdisks, after you pass 8 TB or so, they become cumbersome to manage.… Continue reading Monitoring mounted Windows volumes using Zabbix