How to check (or set) the Windows network profile using the power shell

How many times you faced the situation when your server suddenly became unavailable from the (local) network, only to discover that its NIC’s network profile was switched to public? Consequently, the Windows firewall changed the profile and from more relaxed Domain attached (or Private) it switched to the very restrictive Public.

Today’s story will guide you through the whole process of checking and switching of the active network profile of any NIC. To avoid the different GUI dialogs and windows, we will work from the power shell. Continue reading


How to remove System Volume Information folder from your USB drive

A few years ago, when I played with the Tiny Core Linux on the USB drive, I tried the companion Core2USB tool. As you can read in my other post, that tool requires that your USB drive is absolutely clean.

You will say – that’s not a problem, I will format it! Yes, you can do that, yet your USB flash drive will be almost clean. It will contain one hidden system folder named System Volume Information and Core2USB will refuse to use it.

What if I tell you that you can remove it? Continue reading

How to find the installed .net version using the command line

Here’s my common scenario. I have a need to install the .net-based application for the customer. The customer prepared the server and installed Windows. During the preparation phase, I should check the server and install all prerequisites.

Rarely any modern application can work without .net framework. .net framework is an integral part of the installation of the operating system itself and we can update it alongside with other OS updates. Therefore, I should install all missing versions up to the latest one required by application. Continue reading

How to quickly find all configured DNS servers on your machine

Improperly configured DNS (name) servers can effectively render your machine useless as you will be cut from all network resources outside your local network. In case that your machine using the DHCP client (i.e., the dynamic IP settings), you’re probably good. What about servers and any other device with the static IP address?

I promise you mighty tricks using the command line Kung-Fu. Let’s begin! Continue reading