General

Run Powershell script from Scheduled Task

    Powershell is a very powerful automation engine that lets us do a lot of tasks that otherwise would take a long time. Sometimes it is also needed to do a task without admin interaction; maybe it is a recurrent task or a one time job done at a not so…
Read more

Replace DISKPART with the Powershell Storage Module

    Introduction     In the last years, since Windows Server 2012 and Windoes 8, Microsoft implemented a cool Powershell module used to manage storage. This module is called Storage and it’s CmdLets implement most of DISKPART’s features. Common tasks like initializing disks, creating partitions, formatting volumes, resizing partitions, assigning drive letters and…
Read more

Tip: Access Safe Mode in Windows Server 2012 and newer

    Where is the Safe Mode boot menu?     Before Windows 8 and Windows Server 2012 you had the possibility to press F8 repeatedly at startup and a cool menu would pop up. This menu would let you boot Windows in Safe Mode to troubleshoot problems with the system like bad drivers…
Read more

Boot a second OS from VHD

    Introduction     Booting an OS from VHD was introduced in Windows 7/Windows Server 2008 R2 but it became more popular after the launch of the next OS generation. It lets you place a VHD on one of your current partitions and install an operating system on it, behaving like a second…
Read more

Install SQL Server 2014 on Server Core

    In the past years it has been more and more obvious that Microsoft is pushing Server Core as the default server installation option. As such they have improved a lot of things in it over time like management and compatibility. A crucial role for an enterprise server is the database…
Read more

First steps with Nano Server TP5

    In the Technical Preview 5 release of Windows erver 2016 Microsoft offers besides the normal ISO image, a VHD image with a basic installation of Nano Server. This means that if you just want to test this new OS out you can download the VHD, assign it to a VM…
Read more

Get and log off users with CMD tools

    During your IT career you most probably had or will have the need to see what users are logged on a server and the need to log off a certain user or more. This task can be done in more ways than one. This post covers 2 command line tools…
Read more