Friday, April 26, 2013

Microsoft SharePoint Worflow and PowerShell Interview Questions and Answers


SharePoint Workflow 

This block contains the collection of Microsoft SharePoint Worflow Interview Questions and Answers / Frequently Asked Questions (FAQs) under category Microsoft SharePoint. These questions are collected from various resources like informative websites, forums, blogs, discussion boards including MSDN and Wikipedia. These listed questions can surely help in preparing for Microsoft SharePoint Worflow interview or job.


What are the types of input forms that can be created for a workflow ? 
You can create four types of input forms :
1. An association form
2. An initiation form
3. A modification form
4. A task edit form

What are ways to create input forms for workflow ? 
There are two ways :
1. You can create your forms by using custom application pages, which are standard .aspx pages deployed to run out of the _layouts directory.
2. Using Microsoft Office InfoPath 2007

What are the all elements of SharePoint on which Workflow can be applied? 
Workflow can be applied on the following:
  • At the level of a list/library
  • At the level of a content type defined at site scope
  • At the level of a content type defined at list scope

What are the types of input forms that can be created for a workflow ? 
You can create following four types of input forms for workflow :
1. Association form
2. Initiation form
3. Modification form
4. Task Edit form.
Note : that these forms are optional when you create a workflow template.

What is the difference between method activity and event activity in WorkFlow ? 
A method activity is one that performs an action, such as creating or updating a task. An event activity is one that runs in response to an action occurring.


SharePoint PowerShell

This block contains the collection of Windows Powershell Interview Questions and Answers / Frequently Asked Questions (FAQs) under category Microsoft SharePoint. These questions are collected from various resources like informative websites, forums, blogs, discussion boards including MSDN and Wikipedia. These listed questions can surely help in preparing for Windows Powershell interview or job.

What is Windows Powershell ?
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.

How is Windows Powershell different from Stsadm ?
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..

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

Can you Create PowerShell scripts for deploying components in SharePoint ?
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.

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

If you need going to install a webpart or any custom solution in SharePoint 2010 using PowerShell What permissions do you need?
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. See Details
Permissions for Windows PowerShell – SPShellAdmin

How to list all the commands in PowerShell ?
Get-Command * commands gets you all the Powershell commands. For more commands see Here

No comments:

Post a Comment