PowerShell Start-Process Command – Run Executables

PowerShell Start-Process Command - Run Executables

The Start-Process is a PowerShell command used to start single or more processes in a controlled and managed way. By default, the started process inherits all current PowerShell environment. The Start-Process can execute or start an executable file, batch script, MS-DOS and PowerShell command even Java application. The Start-Process can be used to specify user … Read more

PowerShell Remove-Item Command Tutorial

PowerShell Remove-Item Command Tutorial

The Remove-Item command or cmdlet is used to delete single or more items. Remote-Item command supports the removal of the different types of objects like files, folders, registry keys, variables, aliases, and functions. Delete File The Remove-Item command can be used to delete or remove a file. There are different ways to provide the file … Read more

How To Disable/Turn Off Firewall In Windows?

How To Disable/Turn Off Firewall In Windows?

Windows Firewall is used to protect system against network attacks and control network traffic by allowing or blocking different port connections. Windows Firewall is enabled by default for all Windows versions from Windows XP to Windows 10. Disable/Turn Off Firewall via Windows Settings Windows Firewall can be disabled from the Windows Settings which is provided … Read more

How To Shutdown Windows via Command-line Interface (CMD)?

How To Shutdown Windows via Command-line Interface (CMD)?

Windows computers can be shut down via the command-line interface. This command-line interface can be the old friend MS-DOS (cmd.exe) or PowerShell. The shutdown command can be used to shut down local and remote computers. Shutdown Windows Windows provides the shutdown command in order to shutdown the computer via the command-line interface. The /s parameter … Read more

What Does “cmd /c” Means In Windows MS-DOS?

What Does "cmd /c" Means In Windows MS-DOS?

The cmd or cmd.exe is the MS-DOS command prompt. The cmd is executed when the MS-DOS or command prompt started in Windows. The “cmd /c” is a popular usage where the “/c” is provided to execute a specified string as a command in MS-DOS. After the provided command execution is completed the created shell will … Read more

net use /delete – Delete Windows Shares

net use /delete - Delete Windows Shares

The “net use” command is used to mount or map Windows networks shares. After mounting them we may need to delete or remove these shares too. The “net use /delete” or “net use /del” command is used to remove or delete mapped Windows network shares. In this tutorial, we will learn how to delete all … Read more

How To Create New Directory In PowerShell?

How To Create New Directory In PowerShell?

PowerShell command-line interface provides different commands in order to create a directory or folder. The New-Item command is the most popular and native way to create a directory with different attributes. Also, the md and mkdir commands can be used to create directories even they are not built-in commands provided by PowerShell. Create Directory with … Read more

How To Run MS-DOS (cmd.exe) As An Administrator In Windows?

How To Run MS-DOS (cmd.exe) As An Administrator In Windows?

MS-DOS or Command Prompt or cmd.exe is used to execute commands on Windows operating systems. Sometimes some commands may require higher privileges which is generally Administrator privileges in order to run properly. For these situations, the MS-DOS or cmd.exe should be opened as an Administrator. Open MS-DOS As An Administrator via Start Menu The Start … Read more

How To Open Elevated Command Prompt (MS-DOS or PowerShell)?

How To Open Elevated Command Prompt (MS-DOS or PowerShell)?

The “elevated command line“, “elevated command prompt“, “elevated cmd” or “elevated mod” is used to describe a command-line interface which can be MS-DOS or PowerShell that has the Administrator privileges. The elevated command line can run Administrator commands easily. By default, the command line interface is opened with the currently active user privileges which is … Read more

How To Restart/Reboot Windows via Command Line (cmd.exe)?

How To Restart/Reboot Windows via Command Line (cmd.exe)?

Windows can be restarted or rebooted by using the command line without the need for any GUI and related tool. The shutdown and Restart-Computer commands can be used to restart windows systems via MS-DOS or PowerShell command line. Restart/Reboot Windows with shutdown Command The shutdown command is a command-line tool that can be used in … Read more