Fixed, Dynamically Expanding, and Differencing Disks in Hyper-V

There are three types of virtual hard disks in Hyper-V. Those three types are: Fixed size Dynamically expanding Differencing I will explain each type with pros and cons in the article below. Fixed size Disk When you create a fixed-size virtual hard disk, space is reserved beforehand. Suppose you created a VHDX of 200 GB, ... Read more

Error when Executing a PowerShell Script for the First Time

When you are executing a PowerShell script for the first time you may encounter the following error: .... cannot be loaded because running scripts is disabled on this system. Why did this happen: PowerShell Execution Policies PowerShell has four execution policies for executing the script. Those four policies are described below: Restricted This is a default policy. ... Read more

How to Fix WinRm Firewall Exception Rule When Enabling PS Remoting

When you are enabling PowerShell remoting using the command Enable-PSRemoting, you may get the following error because your system is connected to the network trough a Wi-Fi connection. PS C:\WINDOWS\system32> winrm quickconfig The following changes must be made: Start the WinRM service. Set the WinRM service type to delayed auto start. Make these changes [y/n]? y ... Read more

How to display dialog box containing Lock, Suspend, Restart, and Shutdown icons from command line in Ubuntu

If you are an Ubuntu user, you might have observed the dialog box that gets displayed when you quickly press and leave the power button. The dialog box contains icons to Lock, Suspend, Restart, and Shutdown the system. Have you ever found yourself wondering how this box can be launched from the command line? Well, ... Read more

How to Install Docker on Windows Without Internet Connection

If you don't have an internet connection on a Windows system, then you can download the Docker file from another (Internet enabled) machine and then copy it to target. Install Docker without Internet Connection Afterward, follow these steps: Execute the following commands to install docker packages: Install-PackageProvider -Name DockerMsftProvider Import-PackageProvider -Name DockerMsftProvider -Force List all Docker ... Read more