Powershell commands for startups

Powershell commands for starters
Views: 323
Read Time:1 Minute, 7 Seconds

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

 

  1. Get-Help – To help get all you need for the Poweshell commands
  2. Get-Process – To get the running process just type and a list of all the running processes will be returned.
  3. Getmac – Is an equivalent of ipconfig but without returning all the host of information
  4. Get-NetAdapter – Works in the same way as Getmac but only for the local machine
  5. Get-Content – The cmdlet gets the content of the item at the location specified by the path, such as the text in a file.
  6. Set-Date – This cmdlet Will let you change system date and time
  7. Clear- Host -This function clears the current session text and return the prompt
  8. Copy-Item – For copying a file
  9. Show-Command – SHow command is very interesting as it will list the history of command typed at the console
  10. Restart=Service DHCP – This is used to restart any service

 

Leave a Comment

You must be logged in to post a comment.