How to find the Windows system uptime using the command line

Occasionally, when I’m working on a server, I need to check its uptime. I can find this information using several different ways, but often I’m in the middle of the command line session and I don’t want to leave my keyboard and search for the mouse.

At such times, using the command line is the best way to achive the goal. I will show you the two handy ways in which you can do this.

Continue reading

Removing BUSY leases from MikroTik DHCP pool

Whenever we’re designing a network, we’re trying to assign at least one continuous block of IP addresses for an automatic client assignment. Using the DHCP server, we can make network administration much easier. We can even use the DHCP server to assign an IP address for the servers in our network.

When the DHCP server spots a previously existing IP address from its DHCP leases pool, it will block that address from further assignment. This mechanism will prevent duplicated IP addresses in the same network segment.

Continue reading

Redirecting your USB drive to the VirtualBox VM

Although VMs are not real machines, they are computers, too. Today, in everyday work, we need to exchange some information between computers. Often, we will need to copy some information, maybe configuration data or files between our host computer and VMs.

While we can copy information and even files using the features Shared clipboard and Drag and drop, we don’t always want to duplicate data. This is even more important if you’re using an SSD drive in your computer.

Continue reading

Changing SID of cloned VMs

The fastest way to build a larger virtual environment (either test or production), is to install one VM and then clone it. This process is not the same for every environment. Additionally, it depends on the mechanism of the VM cloning process.

Additionally, every computer in the AD domain has its own identification. This identification is not its name. The computer name is useful for us. Moreover, this identifier must be unique.

Continue reading

Managing NIC Team using powershell

In this article, we will cover additional commands that can expand both our experience with PS and the NIC team in a functional way. In previous article, we covered the basic commands for the NIC teaming.

Most readers will be satisfied only with the basic commands. You may execute just two commands to create the team in a minute. Alas, sometimes we need to do more, like to replace the NIC in the team. This article can help you in such situations.

Continue reading

NIC Teaming – the powershell way

Whenever someone asks me to make him a new VM, I never miss an opportunity to make a joke – maybe you want a Server Core version. Some people accept the joke, but most are terrified. Then I need to relax them and tell them that this is just a joke; I know that they want the GUI.

Still, the Core version is not so scary. Neither is power shell. I will show you that in this article.

Continue reading

Configuring NIC Teaming remotely

I discussed, in the previous article, how you could configure the NIC Teaming feature on the local Windows Server 2012 machine with a full GUI shell. I also mentioned that you could do that remotely. Today, I will show you this method.

Although I used another Windows Server 2012 R2 machine for this demonstration, you can use Windows 8.1 (or later) desktop with a RSAT feature. The RSAT add-on is a suite of all the GUI administrative tools used on the server with the GUI.

Continue reading