kubectx and kubens are two command-line tools that can help to manage Kubernetes clusters and namespaces more efficiently. kubectx is used for switching between Kubernetes contexts (clusters) faster, while kubens is used for switching between Kubernetes namespaces more easily. This post shows how to install kubectx and kubens on Windows so they can be used […]
cmd
WHOIS Command on Windows – PowerShell & CMD
In Linux, a whois command is used to lookup information about domains or IP addresses. But if you try to run the whois command on Windows from PowerShell or command prompt (CMD), you will receive one of the errors below: ‘whois’ is not recognized as an internal or external command, operable program or batch file. […]
How Old Is My Computer/Laptop (Windows)
Knowing how to find out a manufacture date of a Windows computer (laptop or desktop) can be useful in many ways. For example, if you are purchasing a second-hand computer you may want to know how old is it to determine the warranty status or to negotiate the price. This note shows 3 different ways […]
How To Find Windows Product Key using CMD
A Windows product key is a 25-character code used to activate Windows, that looks like: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX When Windows is getting installed on a computer, it stores its product key in a registry from where anyone can view it. This short note shows how to find your Windows product key using a Windows command prompt (CMD).
Check Windows License Type – Volume | OEM | Retail
There are three types of Windows licenses: Retail, OEM (Original Equipment Manufacturer) and Volume. If you wonder which of these licenses is applied to your system, you can easily find this out using a Windows command prompt (CMD) or PowerShell.
Generate SSH Key in Windows
Starting from Windows 10 build 1809, Windows has a native SSH client that is based on the OpenSSH port. The OpenSSH client in Windows includes an ssh-keygen – the command-line tool for creating authentication keys for SSH. To create a pair of SSH keys in Windows, the ssh-keygen command can be executed from a Windows […]
Bad owner or permissions on ‘.ssh/config’ [SOLVED]
Starting from Windows 10 build 1809, Windows has a native SSH client that is based on the OpenSSH port. If you try to connect to some host from a Windows command-line prompt (CMD) or PowerShell using the ssh command, you may receive the error as follows: Bad owner or permissions on C:\\Users\\<username>/.ssh/config This short note […]
PasswordNeverExpires: Disable Password Expiration
A password expiration is a feature in Windows that forces users to change their passwords after a certain number of days. When it is time to change your password, Windows will send you a “Consider changing your password” notification. In this note i will show several ways of how to disable the password expiration of […]
What Active Directory Groups Am I In?
If your computer is running in a corporate environment, one day you may wonder which Active Directory (AD) groups your current user is a member of. The easiest way to see what AD groups i am a member of is by executing the appropriate commands from a command prompt (CMD or PowerShell) and this short […]
Start Maximized | Minimized Program – CMD (Batch)
A START command is used to run a program or command in a separate window from a Windows command prompt (CMD). The new window can be started as maximized or minimized, that can be controlled using the /MAX or /MIN switches correspondingly. Below i will show how to start a program in the maximized or […]