Powershell commands for starters

Powershell commands for startups

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

 

Post Author: lensesview

Lensesview is founded on a simple premise: honest reviews for the Zambian electronic consumer. Guide to tech trends and cybersecurity.

Invitation to Zambians. Do you have a contribution to make for your Zambian audience? Kindly leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.