PowerShell, Presentations, Sharepoint, SharePoint2010
Leave a comment

SharePoint Saturday India online – PowerShell for SharePoint 2010 administrators – Slides, Q & A

I spoke at SharePoint Saturday India Online event and the topic was “PowerShell for SharePoint 2010 Administrators”. It was originally scheduled to happen at 14.45 PM IST but we had move it to 11.00 AM IST as one of the speakers did not join us. This was my first webcast kinda event and felt a bit weird for not being able to see my audience. This session was meant to be a very quick introduction to PowerShell for SharePoint 2010 administrators and I hope I did a good job at that.

Update: Recording of the SPS India sessions will be available at http://alpesh.blip.tv/posts?view=archive&nsfw=dc

Here are the slides I used for this session

There were a few questions towards the end and we could not take the questions online. So, here you go.

Q: Is Get-Help similar to <ScriptName> -Help? Where in the cmdlet we can define the help text?
A: No. There is no such thing like <ScriptName> -Help. You can either use Get-Help or just Help. You can include comment based help in your scripts. Refer to Get-Help About_Comment_Based_Help

Q: Where is PowerShell used and for what purpose?
A: Anything and everything you want do on Windows platform. 🙂 Several Microsoft server products already use PowerShell as their default command-line management interface. There are also quite a few 3rd parties such as VMWare, EMC, NetApp, RedHat, etc are moving their scripting and management interfaces to PowerShell. So, if you are an administrator, PowerShell is a must going forward.

Q: Is > sign used to write output to a file?
A: Yes. It is a redirection operator.

Q: What is .Count in (Get-Command -Noun SP*).Count and what does “.” signify?
A: .Count is just the total number of objects Get-Command -Noun SP* returns. “.” is used to access the property of an object in question.

Q: How did you add SharePoint 2010 snapin to PowerShell ISE?
A: I used the ISE object model to extend ISE. Refer to this post:

Q: Can we take backup of SharePoint 2010 document library only using PowerShell?
A: Yes, Export-SPWeb can be used for that purpose. Refer to http://technet.microsoft.com/en-us/library/ee428301.aspx#section1

I hope you guys liked the session. Looking forward to engage with you all more and more through this channel.

Filed under: PowerShell, Presentations, Sharepoint, SharePoint2010


Ravikanth is a principal engineer and the lead architect for Microsoft and VMware virtualized and hybrid cloud solutions within the Infrastructure Solutions Group at Dell EMC. He is a multi-year recipient of Microsoft Most Valuable Professional (MVP) award in Windows PowerShell (CDM) and Microsoft Azure. Ravikanth is the author of Windows PowerShell Desired State Configuration Revealed (Apress) and leads Bangalore PowerShell and Bangalore IT Pro user groups. He can be seen speaking regularly at local user group events and conferences in India and abroad.