During troubleshooting of different issues it is often required to check if some TCP port on a remote host is opened and ensure that it is not blocked by a firewall. The most common tool for this is telnet, but it may not be installed or you may want to be able to copy the […]
Windows Domain Controller (DC) is a server that responds to security authentication requests within a Windows Domain (group of networked computers controlled by domain controller). In this short note i will show how to find out which DC a computer is authenticated to using Windows CMD and PowerShell.
Windows Domain Controller (DC) is a server that responds to security authentication requests within a Windows Domain (group of networked computers controlled by domain controller). In this article i will show how to find out whatever a computer is a part of a Windows domain and how to get the name of the domain the […]
Corporate Windows computers and servers are usually configured to lock the screen after some time of inactivity. This is especially inconvenient when your remote desktop session keeps disconnecting with “RDP Session Timeout” each time after few minutes of being idle. In this article i will show how to stop computer from locking and keep the […]
The cat command in Linux is used to concatenate files and print on the standard output. The type command is a Windows cat equivalent that works across a command-line prompt (CMD) and a Windows PowerShell. In this short note i will show how to concatenate files and how to print the contents of a text […]
In this short note i am showing how to define and print variables is Windows PowerShell. Particularity i will show how to set a variable to a string value, how to define a variable directly in a string and how to unset variable by setting it to Null. At the end of the each example […]
The watch command in Linux is used to execute a command periodically and show the output. This is extremely useful if you need to track any changes in the output of a repeatedly executed command. There is no direct equivalent for the watch command in Windows, however the same result can be achieved using the […]
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 […]