A customer was asking for a way to extract data for when their Microsoft Teams-groups were about to expire, and wanted to be able to create this report themselfs.
[Powershell Script] Convert ImmutableID
I found a need to convert ImmutableID (An Azure AD/Office 365 attribute) back and forth to the corresponding Hexadecimal, GUID- and DN value in order to match the value to an on-premise Active Directory users.
Script to Schedule Mem and or vCPU up/downgrade
I recently wrote this script to schedule Memory and vCPU up/downgrades on virtual machines from a VMware PowerCLI enabled vCenter server running Windows.
Backing up VMs in Hyper-V
I found this really cool open source software that I’m currently implementing for a customer remotely. It’s called HVBackup and is of the time of writing in Beta v1. http://hypervbackup.codeplex.com/ Description from their website: The main goal of this project is to provide a very easy and powerful free tool to backup and restore Hyper-V…
Windows Server 2012 as a Workstation
This week I received my new HP EliteBook Workstation 8560w packed with IntelĀ® Core™ i7-2860QM, 24 GB RAM, NVIDIA Quadro 2000M, 750GB HDD and other goodies. Big thanks to my friend over on Xeptor for giving me a good deal! The first thing I did was to install the newly released RTM of Windows Server…
Log Rotation Cleaner and Archiver Script (LRCAS)
At work I was tasked with writing a script that would clean up and archive logs from an application that didn’t have any decent log rotation built-in. The application would however rotate the logs when the application’s service was restarted and then rename the old log with an incremental number suffix. So we added a…
RoboCopy PowerShell Script
I wrote a script that utilizes RoboCopy to mirror directories. It can easily be changed to do file level backups by changing some configurable parameters within the script. Read RoboCopys documentation to understand the use of switches. Whats interesting about this script is that it writes events/logs to EventLog if executed with administrative privileges, otherwise…
Unrar finished torrents (uTorrent) and delete archives (rar)
I couldn’t find any unpacker that would extract and delete archives for a torrent after a certain period of time or after a certain seed ratio had been reached. I’ve noticed quite alot of people complain about this on, for example, uTorrent’s official forums. So I wrote this script that will wait for a set…
Exchange 2003 to 2010 Migration
Well I had started to write a guide for this already, but just when I was to create this entry I came across a guide that’s already really good. So I’m just going to link to Pete Long’s blog where I found it: http://www.petenetlive.com/KB/Article/0000234.htm Share on Facebook
Move files in folders and subfolders older than one year
A colleague asked me if I could write a script that would move files within a folder or its subfolders that were older than one year into a new location but still keep the directory structure. I figured it would be quite a challenge so I decided to do it for him; kind as I…