Windows PowerShell is a task-based command-line shell and scripting language designed specifically for system administrators and power-users. It was spotted as early as 2006 and is built on .Net Framework. AT the point of writing of this article a stable release 6.0 on January 10th 2018.
You might also like this reference What is Powershell? that talks about Powershell commands
Here are a few commands that can keep you up for starters
- Get-Help – To help get all you need for the Poweshell commands
- Get-Process – To get the running process just type and a list of all the running processes will be returned.
- Getmac – Is an equivalent of ipconfig but without returning all the host of information
- Get-NetAdapter – Works in the same way as Getmac but only for the local machine
- Get-Content – The cmdlet gets the content of the item at the location specified by the path, such as the text in a file.
- Set-Date – This cmdlet Will let you change system date and time
- Clear- Host -This function clears the current session text and return the prompt
- Copy-Item – For copying a file
- Show-Command – SHow command is very interesting as it will list the history of command typed at the console
- Restart=Service DHCP – This is used to restart any service