Thursday, April 10, 2014

Introduction to Powershell


What is Powershell?

Powershell is a command line interface like DOS (Disk Operating System). It is a powerful scripting language which is mainly used to automate tasks.

This language is based on .NET Framework. Powershell provides full access to COM and WMI enabling administrators to perform administrative tasks.

In Powershell commands are known as command-lets, (Cmdlets), These cmdlets are .NET classes that appears as commands in powershell.

Powershell cmdlets have verb-noun syntax (get-alias, get-childitem, get-help, get-host, set-variable, set-date etc)

Few cmdlets

get-help
get-member
get-childitem
push-location
pop-location
set-location
 

No comments: