170 likes | 315 Views
SharePoint Solutions & Features. SharePoint + PowerShell User Group December 19, 2012. Agenda. Hello! Group Logistics ( GoToMeeting / website / register / email / twitter) SharePoint Solutions & Features SharePoint Solution Deployer Next meeting Survey!. Hello!. Raymond Mitchell
E N D
SharePoint Solutions & Features SharePoint + PowerShell User Group December 19, 2012
Agenda Hello! Group Logistics (GoToMeeting/ website / register / email / twitter) SharePoint Solutions & Features SharePoint Solution Deployer Next meeting Survey!
Hello! Raymond Mitchell • SharePoint Consultant • http://www.Rackspace.com • Author • Dad • Information Worker Kid • http://www.iwkid.com • SharePoSHing since 2008
Solutions (.wsp) • Deploy some stuff • DLLs • Files • Features • Pushes to multiple servers & stays in sync
Solutions (.wsp) • Cmdlets • Add-SPSolution • Remove-SPSolution • Update-SPSolution • Install-SPSolution • Uninstall-SPSolution
Solutions (.wsp) • SPFarm.Solutions • Microsoft.SharePoint.Administration.SPSolution • SolutionId • Deployed • DeployedServers • DeployedWebApplications • DeploymentStatus • SolutionFile
Solutions (.wsp) • .wsp is really a .cab • Rename and open in Windows explorer? • Heck no, let’s use PowerShell: $src = "c:\temp\openxmlplay.cab" $dst = "c:\temp\solution" $helper = New-Object -ComObjectShell.Application $files = $helper.NameSpace($src).Items() $helper.NameSpace($dst).CopyHere($files)
Features • Package up some stuff • Scoped at a few levels: • Farm • Web Application • Site • Web
Features • Cmdlets • Install-SPFeature • Uninstall-SPFeature • Enable-SPFeature • Disable-SPFeature
Features • Microsoft.SharePoint.SPFeature • DefinitionId • Definition
Features • Microsoft.SharePoint.Administration.SPFeatureDefinition • DisplayName • Hidden • RootDirectory • SolutionId • GetDescription(CultureId) • GetElementDefinitions(CultureId) • GetXmlDefinition(CultureId)
SharePoint Solution Deployer Matthias Einig(@mattein) The SharePoint Software Factory:http://spsf.codeplex.com The SharePoint Solution Deployer:http://spsd.codeplex.com
Next Meeting Friday, January 18th TBD
Resources • PowerShell + SharePoint forum at PowerShell.org: • http://powershell.org/discuss/viewforum.php?f=12 • PowerShell Summit: April 22-24http://powershell.org/summit
Resources http://msdn.microsoft.com/en-us/library/microsoft.shar epoint.administration.spsolution_members(v=office.12).aspx http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfeature(v=office.12).aspx http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spfeaturedefinition(v=office.12).aspx http://powershell.com/cs/blogs/tips/archive/2012/10/12/unzipping-files.aspx
Survey! http://sdrv.ms/UQ9SIs