File Explorer, is a default file manager application in Windows that provides a graphical user interface for accessing the file systems. While working in a Windows command prompt (CMD) or PowerShell, sometimes you may want to open the current folder in the File Explorer to continue working from there. This note shows how to open […]
cmd
Windows: `Echo` Newline (Line Break) [\n] – CMD & PowerShell
In a Windows Command Prompt (CMD) and PowerShell when you execute the echo command to print some text or redirect it to a file, you can break it into multiple lines. In Linux you can do this by using the \n. This short note shows how to break lines and insert new lines using the […]
How To Find Laptop’s Model & Serial Number – CMD
The laptop’s model and serial number usually can be found on the bottom case of the laptop as either a printed sticker or laser etched into the cover. Also the model and the serial number of a laptop can easily be found using a Windows command prompt (CMD). This “command prompt method” works for all […]
Check BIOS Version in Windows – CMD & PowerShell
BIOS is a firmware interface between a computer’s hardware and the operating system and like any software, it can be updated. Knowing the BIOS version can tell you if you have the most up-to-date version of the BIOS or it has to be updated. This note shows how to check the BIOS version in Windows […]
CMD: Clear Screen – Clear Command Prompt
The clear command in Linux is used to clear the terminal’s screen. You can also use the clear command in a Windows PowerShell where it is an alias of the Clear-Host command, that does pretty match the same – removes all text from the current display, including commands and output that might have accumulated. But […]
How To Find Windows Product Key – CMD & PowerShell
A Windows product key is a 25-character code that looks like XXXXX-XXXXX-XXXXX-XXXXX-XXXXX and is used to activate Windows. This short note shows how to find the Windows product key from a command prompt (CMD) or from a Windows PowerShell and check its validity.
Start Active Directory Users and Computers
The Active Directory Users and Computers is a management console used to administer Active Directory (manage users, groups, computers, polices, etc.). By default, it is deployed on a Windows Server host, when it’s promoted to the domain controller during the Active Directory Domain Services role installation. In this short note i am showing how to […]
Batch File (.BAT) – Wait For Network Connection
If you have a batch file that runs on a system startup and has to connect to some server, you may want to make it wait until the network becomes ready before actually making attempt to connect. In this note i will show a code snippet that can be used in a batch file to […]
How To Check Windows Version – CMD & PowerShell
Do you wonder how to find out what version of Windows is running? The Windows version can be checked in multiple ways. In this short note i am showing the easiest way to get information about the Windows version using the winver command from the “Run” dialog or using the systeminfo command from a command-line […]
Change Local Account Password in Windows – CMD & PowerShell
If you have forgotten a local user password in Windows but you can still log in to the computer with PIN, picture password or another administrator account, you can easily reset the forgotten password from a command-line prompt (CMD) or using a PowerShell. In this note i will show how to change the forgotten local […]