Windows Server Must-Know Commands

0 Comments

Here is list of some useful commands that can be typed directly in Command Prompt

\> Powershell

Elevates Command Prompt console to powershell

\> Invoke-GPUpdate -Computer COMPUTER02 -RandomDelayInMinutes 0

Forces group policy update on a desired computer in local network. Change 0 to a desired number of minutes. This will specify the delay until the command will be executed.

 \> netstat -sp tcp

Displays all established tcp connections with its port number and ip address

\> ipconfig /all

Displays full IP Configuration

\> sfc /scannow

In Powershell scanns and repairs corrupted system files

\> Dism /Online /Cleanup-Image /RestoreHealth

In Powershell scanns and repairs corrupted system files

Categories:

Leave a Reply

Your email address will not be published. Required fields are marked *