What is Windows PowerShell in SharePoint 2010 - Tutorial

What is Windows Powershell - Windows PowerShell is a new Windows command-line shell designed especially for system administrators. The Windows PowerShell includes an interactive prompt and a scripting environment that can be used independently or in combination.

Unlike most shells, which accept and return text, Windows PowerShell is built on top of the .NET Framework common language runtime (CLR) and the .NET Framework, and accepts and returns .NET Framework objects. This fundamental change in the environment brings entirely new tools and methods to the management and configuration of Windows.

What are cmdlet's - Windows PowerShell introduces the concept of a cmdlet (pronounced "command-let"), a simple, build in commands, written in a .net language like C# or VB. Users can extend the set of cmdlets by writing and loading powershell snap-ins. Windows PowerShell includes more than one hundred basic core cmdlets, and you can write your own cmdlets and share them with other users.

Like many shells, Windows PowerShell gives you access to the file system on the computer. In addition, Windows PowerShell providers enable you to access other data stores, such as the registry and the digital signature certificate stores, as easily as you access the file system.

Scripts – Scripts are text files on disk with a .ps1 extension containing a collection of powershell commands.

Functions – are commands written in powershell languages that are defined dynamically. Funcations can be accessed using name-space qualified as in $fucntion:prompt.

Variables - In powershell, variables are organized into namespaces, variables are identified in a script by prefixing their names with a “$” sign in “$x=3” or by name-space qualifies like: $variable:x.

See : What is Windows PowerShell in SharePoint 2010 - Tutorial II

Permissions for Windows Powershell

1 comments:

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my employer or anyone else. Should you have any questions or concerns please e-mail me at sharepointprogrammingblogger@gmail.com .

Copyright (c) 2010 @ myshaepointwork.blogspot.com. All rights are reserved.Do Not Copy.

@ Learning SharePoint.com