PS SharePoSH:\> SharePoint Solutions & Features SharePoint + PowerShell User Group December 19, 2012 http://www.SharePoSH.com @SharePoSH.
Download ReportTranscript PS SharePoSH:\> SharePoint Solutions & Features SharePoint + PowerShell User Group December 19, 2012 http://www.SharePoSH.com @SharePoSH.
PS SharePoSH:\> SharePoint Solutions & Features SharePoint + PowerShell User Group December 19, 2012 http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> Agenda • Hello! • Group Logistics (GoToMeeting/ website / register / email / twitter) • SharePoint Solutions & Features • SharePoint Solution Deployer • Next meeting • Survey! http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> Hello! Raymond Mitchell • SharePoint Consultant – http://www.Rackspace.com • Author • Dad • Information Worker Kid – http://www.iwkid.com • SharePoSHing since 2008 http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> What about you? http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> Solutions (.wsp) • Deploy some stuff – DLLs – Files – Features • Pushes to multiple servers & stays in sync http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> Solutions (.wsp) • Cmdlets – Add-SPSolution – Remove-SPSolution – Update-SPSolution – Install-SPSolution – Uninstall-SPSolution http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> Solutions (.wsp) • SPFarm.Solutions • Microsoft.SharePoint.Administration.SPSolution – SolutionId – Deployed – DeployedServers – DeployedWebApplications – DeploymentStatus – SolutionFile http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> 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 -ComObject Shell.Application $files = $helper.NameSpace($src).Items() $helper.NameSpace($dst).CopyHere($files) http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> Features • Package up some stuff • Scoped at a few levels: – Farm – Web Application – Site – Web http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> Features • Cmdlets – Install-SPFeature – Uninstall-SPFeature – Enable-SPFeature – Disable-SPFeature http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> Features • Microsoft.SharePoint.SPFeature – DefinitionId – Definition http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> Features • Microsoft.SharePoint.Administration.SPFeatureDefinition – DisplayName – Hidden – RootDirectory – SolutionId – GetDescription(CultureId) – GetElementDefinitions(CultureId) – GetXmlDefinition(CultureId) http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> SharePoint Solution Deployer • Matthias Einig (@mattein) • The SharePoint Software Factory: http://spsf.codeplex.com • The SharePoint Solution Deployer: http://spsd.codeplex.com http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> Next Meeting • Friday, January 18th • TBD http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> Resources • PowerShell + SharePoint forum at PowerShell.org: – http://powershell.org/discuss/viewforum.php?f=1 2 • PowerShell Summit: April 22-24 http://powershell.org/summit http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> Resources • http://msdn.microsoft.com/en-us/library/microsoft.shar epoint.administration.spsolution_members(v=office.12).aspx • http://msdn.microsoft.com/enus/library/microsoft.sharepoint.spfeature(v=office.12).aspx • http://msdn.microsoft.com/enus/library/microsoft.sharepoint.administration.spfeaturedefiniti on(v=office.12).aspx • http://powershell.com/cs/blogs/tips/archive/2012/10/12/unzipping -files.aspx http://www.SharePoSH.com @SharePoSH PS SharePoSH:\> Survey! • http://sdrv.ms/UQ9SIs http://www.SharePoSH.com @SharePoSH