Power Shell packs the power of a 'good', if not great shell environment where an administrator can do a variety of tasks which can add more power and control to his tasks.
Power Shell combines the capabilities of cmd.exe and it's new features to make it a great tool for administrators. Also the SharePoint administrator's favorite utility stsadm.exe is replaced in the 2010 version with the same.
PoweShell 2.0 comes with WMI pack and includes the power of .Net framework which gives an admin the power to use those 'classes' to do a specific job. These classes can be accessed by an admin using 'cmdlets'. It combines & includes the 'if' conditioning statements, looping with 'for' and 'While'. It can be used to access any item from Windows registry for example, and perform operations over it, as required. All these gives me the sense of similarity that a Linux or Unix admin enjoys while working in their favorite shell environments.
Some Examples:
1. PS> Get-SPFarm | Select *
2. PS> Get-SPWebApplication
3. PS>Remove-SPSite http://SampleSite
Microsoft not only brings this tool to increase the efficiency of an Administrator but also adds powers to the people who are into this profession!
No comments:
Post a Comment