Thursday, March 31, 2011

Sharepoint 2010 Windows PowerShell Interview Questions & Answers

Q. How to list all the commands in PowerShell ?

Ans. Get-Command * commands gets you all the Powershell commands.

Q. What is Windows Powershell ?
Ans. Windows PowerShell is a new Windows command-line shell designed especially for system administrators. In the SharePoint administration context, Windows PowerShell is another administration tool that supersedes the existing Stsadm.exe.

Q. What are cmdlet's?
Ans. Windows PowerShell introduces the concept of a cmdlet which are simple build in commands, written in a .net language like C# or VB.

Q. Can you Create PowerShell scripts for deploying components in SharePoint ?
Ans. If you are creating a webpart with VS 2010 then you can deploy it using ctrl + f5. However, to activate the webpart feature you can write a powershell script (.ps1) and execute it after dpeloyment.

Q. Where is Powershell located in sharePoint ?
Ans. On the Start menu, click All Programs -> Click Microsoft SharePoint 2010 Products -> Click SharePoint 2010 Management Shell.

Q. If you need going to install a webpart or any custom solution in SharePoint 2010 using PowerShell What permissions do you need?
Ans. In order to use Windows PowerShell for SharePoint 2010 Products, a user must be a member of the SharePoint_Shell_Access role on the configuration and content database. In addition to this, the user must also be a member of the WSS_ADMIN_WPG local group on the computer where SharePoint 2010 Products is installed.

Q. How is Windows Powershell different from Stsadm ?
Ans. Unlike stsadm, which accept and return text, Windows PowerShell is built on the Microsoft .NET Framework and accepts and returns .NET Framework objects. In addition to that it also gives you access to the file system on the computer so that you can access registry,digital signature certificate etc..

RealTime Sharepoint Interview Questions 1
RealTime Sharepoint Interview Questions 2
RealTime Sharepoint Interview Questions 3
RealTime Sharepoint Interview Questions 4
RealTime Sharepoint Interview Questions 5
RealTime Sharepoint Interview Questions 6


  1. Nice Blog, For More Windows Powershell Interview questions SharePoint 2010and AnswersClickHere

  2. hello there and thank you for your information – I've definitely picked up anything new from right here.
    I did however expertise several technical issues
    using this website, as I experienced to reload the web site a lot of times previous to I could get it to load correctly.

    I had been wondering if your web hosting is OK? Not that I'm complaining, but slow loading instances times
    will very frequently affect your placement in google and can damage your high-quality
    score if advertising and marketing with Adwords. Well I'm adding this RSS to my e-mail
    and could look out for much more of your respective interesting content.
    Ensure that you update this again soon.

    My web site ... Cora F. Prather

  3. An interesting discussioո iis worth comment. I do think tbat you should punliѕh morde on this subject matter, it may not
    be a taboo matter but geneгally people do not
    tak about ѕuch subjects. To thеe next! Kind regards!!

    Take a look at my wеbsite :: persoonlijke lening

  4. I really like your blog.. very nice colors & theme.

    Did you make this website yourself or did you hire someone to do it for you?
    Plz respond as I'm looking to construct my own blog and would
    like to know where u got this from. appreciate it

    Feel free to visit my blog ... Eva P. Yang