The tail and head are two of the most commonly used commands for displaying the contents of a file in Linux. Windows PowerShell, in its turn, also has equivalents of the Linux tail and head commands. From this short post you will learn how to use the equivalents of the tail and head commands in […]
windows
PowerShell: Get Command Help (–help/-h/?) [SOLVED]
The help command is a special command that is used to provide more information on another commands. In Windows PowerShell the help command can be called at any time to learn more about a command’s usage and syntax, like the available options and how to structure the command to use these options. However, at first, […]
cmd.EXE Keeps Popping Up [SOLVED]
Many Windows users are encountering a problem of a command prompt cmd.EXE window that opens randomly and closes so quickly, that there is no time to do anything with it. If you are also facing the black cmd.EXE window that keeps popping up and disappearing, most of all it is triggered by some automatic task […]
Windows: Measure Command Execution Time in PowerShell
The time command in Linux and Unix-like operating systems is used to determine how long a specific command or script will take to run. In Windows PowerShell there is a built-in Measure-Command, that can be considered as the Linux time command equivalent. This short post shows how to use the Measure-Command in PowerShell to evaluate […]
Install Kubectx & Kubens on Windows
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 […]
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. […]
[SOLVED] PowerShell: Running scripts is disabled on this system
While trying to run a PowerShell script you may get an error message that says “cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.” This error message is due to the default execution policy set by PowerShell, that determines whether PowerShell scripts can be run on […]
Kubectl Autocomplete in PowerShell
A kubectl autocomplete is a feature that helps to complete kubectl commands or filenames automatically by pressing the ↹ Tab key. This feature can be enabled in Windows PowerShell by invoking a simple kubectl completion powershell command. Though this way it will be enabled temporary for the current session only. To enable the kubectl autocomplete […]
Install Kubectl on Windows
A kubectl is the official Kubernetes command-line tool, used to run commands on Kubernetes clusters. As the kubectl is distributed as a standalone binary it can be easily downloaded from official sources and installed on Windows. In this post I will show how to download and install the latest stable version of the kubectl on […]
Convert JPG/PNG Image to PDF on Windows for FREE
Windows allows to convert JPG/PNG images to PDF for free without having to install any additional software. There are also many sites offering to convert JPG/PNG images to PDF online, but do you really trust them enough to upload your personal documents to their servers, especially when there is an easy way to create a […]