Pages

Thursday, February 21, 2013

SharePoint saturday Philly

I have been regularly attending SharePoint Saturday for a long time but never had a chance to do a full length presentation but this time I am speaking in SharePoint Saturday at Philly(at Microsoft Malvern). Thanks to my boss Paul Galvin who strongly encouraged to speak. By the way he is also speaking in SPS Philly.

I will be speaking on Enterprise Social Networking and its benefits and and will run through social features that are OOTB in SharePoint 2010 and SharePoint 2013. My colleague Robert Hiskey is helping me out in this in addition to preparing for his presentation on SharePoint User Experience in 2010 and 2013. Thanks to him too. Much of out content is based on our recent project where we worked together. The project was huge opportunity to learn new things that can be achieved OOTB or with minimal custom code which most often turns out to be UI and branding.

My presentation is at 3.45 in the Merion Room. Use this Hastag (#SPSPhilly95) to tweet me and you can follow me at (@Athoksh). Looking forward to seeing you all and please provide your valuable feedback using the hashtags.

I will be posting the Slides in my GDrive after the presentation.
 

Few of my other colleagues are also presenting this time, Anil Ferris, Hunter Pankey, and Paul Galvin - will also be presenting on various topics

SPS Philly agenda is posted here.

<Update>

 My Presentation

</Update>

Friday, February 8, 2013

Powershell Script for back and Resote Site Collections

Recently I had to backup a whole bunch of Sites in SharePoint and move it to a new site collection. There is powershell command to backup and restore the site or site collection which is what i used but there were 100 sites that needs to be moved. I decided to quickly put together a script that can loop and copy all the available site in SharePoint.

Similarly I created the Restore script that copies the site backup to the new site collection. I am sharing this here hoping someone will benefit and not have to invent the wheel over and over again.



Back up Script

$mysitesurl = "http://vsspsandbox/my/*"
$backuppath = "c:\backup\mysitebackup."
$webapp = "http://vsspsandbox/"
Get-SPSite -WebApplication $webapp -Limit ALL | where { $_.Url -like $mysitesurl } | ForEach-Object{ $path = $backuppath + $_.Url.Substring($_.Url.LastIndexOf("/")+1); Backup-SPSite -Identity $_.Url -Path $path -Verbose }