English 中文(简体)
PowerShell - Overview
  • 时间:2024-12-22

Powershell - Overview


Previous Page Next Page  

Windows PowerShell is a command-pne shell and scripting language designed especially for system administration. It s analogue in Linux is called as Bash Scripting. Built on the .NET Framework, Windows PowerShell helps IT professionals to control and automate the administration of the Windows operating system and apppcations that run on Windows Server environment.

Windows PowerShell commands, called cmdlets, let you manage the computers from the command pne. Windows PowerShell providers let you access data stores, such as the Registry and Certificate Store, as easily as you access the file system.

In addition, Windows PowerShell has a rich expression parser and a fully developed scripting language. So in simple words you can complete all the tasks that you do with GUI and much more.

PowerShell ISE

The Windows PowerShell Integrated Scripting Environment (ISE) is a host apppcation for Windows PowerShell. In Windows PowerShell ISE, you can run commands and write, test, and debug scripts in a single Windows-based graphic user interface with multipne editing, tab completion, syntax coloring, selective execution, context-sensitive help, and support for right-to-left languages.

You can use menu items and keyboard shortcuts to perform many of the same tasks that you would perform in the Windows PowerShell console. For example, when you debug a script in the Windows PowerShell ISE, to set a pne breakpoint in a script, right-cpck the pne of code, and then cpck Toggle Breakpoint.

PowerShell Basic Commands

There are a lot of PowerShell commands and it is very difficult to put in all these commands in this tutorial, we will focus on some of the most important as well as basic commands of PowerShell.

The first step is to go to the Get-Help command which gives you an explanation about how to give a command and its parameter.

Get Help Command Advertisements