How to Use the Equivalent of the “ls” Command in Windows?

Equivalent of the "ls" Command in Windows

Linux users are very familiar with the ls command which is used to list files and folders. When migrating to Windows or using Windows they really question the “ls” command equivalent in Windows operating system. Windows operating systems provide alternatives via the MS-DOS and PowerShell command prompts. Linux “ls” Command The Linux provides “ls” command … Read more

Kill Process via Command Line (CMD) In Windows

A typical Windows operating system runs a lot of processes in order to complete different tasks from UI to notepad, authentication to web surfing. The processes contain code and data about the task. In some cases, these tasks may become unresponsive or we may need to kill them. MS-DOS and PowerShell command prompts provide taskkill … Read more

Concatenate Strings In PowerShell

PowerShell is very advanced scripting and programming language that provides different methods in order to concatenate strings. The string type is used to store single or more characters. String Concatenation is the operation to join multiple strings together. In this tutorial, we examine different operators, options, and commands to concatenate strings in PowerShell. Concatenate Strings … Read more

How To Kill Process In PowerShell?

Windows PowerShell provides different command in order to manage processes. The Stop-Process commandlet can be used to kill or stop processes in Windows using the PowerShell command-line interface. The Stop-Process commandlet can be used to kill a process using the ProcessID or Process Name. Stop-Process Syntax The Stop-Process has the following syntax. -Name PROCESS_NAME is … Read more

How To Install Nmap On Windows?

Nmap is a network and security scanning tool created for Unix and Linux operating systems. Later Nmap was ported to the Windows operating systems in 2000. The Nmap is generally installed as packages for Linux distributions but for Windows operating systems it is provided as a binary executable that has also an installer. In this … Read more

Windows rmdir Command Tutorial

Windows rmdir command is used to remove or delete directories in windows via command-line interface. The rmdir command can be used via MS-DOS or PowerShell command prompts. The usage of the rmdir command is very simple and provides very few parameters. rmdir Command Syntax The rmdir command has the following syntax where options can be … Read more

PowerShell $_ Pipeline Variable Tutorial

PowerShell provides variables in order to store data which can be text, number, etc. PowerShell also provides some special variables which are used with PowerShell structures. The $_ dollar sign and underscore is used to define a special variable called Pipeline Variable . In PowerShell, the $ sign is used to define variables where a … Read more

PowerShell Set-ExecutionPolicy Command Tutorial

PowerShell provides the Set-ExecutionPolicy command in order to change the PowerShell execution policy for the local, remote computers as well as different users. The execution policy is used to restrict script or command execution for security purposes. It can be also used to restrict loading configurations to prevent malformed configurations. In order to use the … Read more

Windows gpresult HTML Tutorial

The gpresult command is used to display GPO on Windows operating system. The gpresult command provides different options in order to display Group Policy Objects. One of the most popular usages for the gpresult is exporting the result into an HTML file. The exported HTML file is in a pretty print state which can be … Read more

Windows “gpresult /r” Command Tutorial

Windows gpresult command is used to display or export Group Policy Objects. The gpresult /r command is one of the most used ways and the /r option is used to print all GPO into the command line interface or MS-DOS. The /r option can be also used with the PowerShell to print GPO to the … Read more