In Windows you can make a checksum of a file without installing any additional software. For this you can use the certUtil – built-in command-line utility that works both in Windows CMD and Powershell. In this note i will show the examples of how to make md5sum and sha256sum of a file in Windows from […]
JFrog’s Artifactory is a binary repository manager. The artifacts from Artifactory can be downloaded using REST API. In this note i am showing how to download an artifact (simple file.zip) from generic Artifactory repository using curl command from the command line in Linux or from the PowerShell in Windows.
In the past it was not possible to create Zip files and Unzip archives in Windows without installing third-party programs like WinZip and 7-Zip. But now Windows has a built-in capability to Zip files and folders and Unzip archives from the command line using PowerShell. Starting from Windows 8 with PowerShell 3.0 and .NET Framework […]
The telnet client in Windows is disabled by default. Before using the telnet command in Windows it is needed to enable the telnet client, otherwise you’ll get a result similar to the below messages: CMD: ‘telnet’ is not recognized as an internal or external command, operable program or batch file. PowerShell: The term ‘telnet’ is […]
If you try to cd to a network drive from the Windows CMD, you will get the following error: CMD does not support UNC paths as current directories Instead of cd command in CMD you can use a pushd command, that creates a drive mapping to the network share and then changes into a path […]
This is not obvious, but the Clear-History command in PowerShell won’t clear the history of the previous commands. The Clear-History clears only the commands entered during the current session, that could be displayed by the Get-History command. To clear the history in PowerShell, it needs to delete the file in which the previous commands are […]
Windows PowerShell can be used for downloading files via HTTP and HTTPS protocols. In PowerShell, as an alternative to the Linux curl and wget commands, there is an Invoke-WebRequest command, that can be used for downloading files from URLs. In this note i am showing how to download a file from URL using the Invoke-WebRequest […]
The services in Windows can be started using the Service Manager tool. To start the Service Manager GUI, press Win keybutton to open the start menu, type in services to search for the Service Manager and press Enter to launch it. The services can also be started using the command-line prompt (CMD) or the PowerShell. […]
The services in Windows can be listed using the Service Manager tool. To start the Service Manager GUI, press Win keybutton to open the start menu, type in services to search for the Service Manager and press Enter to launch it. The services can also be listed using the command-line prompt (CMD) or the PowerShell. […]
The which command in Linux is used to identify the location of executables. The where command is a Windows which equivalent in a command-line prompt (CMD). In a Windows PowerShell the alternative for the which command is the Get-Command utility. In this note i will show how to find paths of executable commands in Windows.