Category: Windows batch (bat & cmd)

  • How to configure an IP address in the Windows Server

    The article covers multiple ways to configure IP addresses in the Windows Server. By default, all connected interfaces try to get an IP address via DHCP. Configuring IP address via GUI The fastest way to open IP configuration settings is to right-click on the Start, then click on Run. In the opened window type ncpa.cpl…

  • How to get a public IP address from the command line

    Sometimes, it needs to figure out what IP a server has but the server doesn’t have GUI or web browser blocked (or not installed). The examples below contain a way of obtaining public IP via CLI. In the Windows environment you can use the next commands in the Powershell: The classic Windows command line works…

  • Working with standard console outputs

    In this topic, I am going to show you how to work with console output. You will learn: When you run a console app in a shell you may see output any output. Without any additional commands, we just see a lot of text in the console so it hardly can be analyzed. Redirecting the…