Skip to main content

Posts

Showing posts with the label Power Shell Command Builder

Download/Extract a WSP from SharePoint 2010 using PowerShell

In our recent project we were facing an issue with page layouts, so we need to check our WSP solution on server. In the Central Administration screen, a link is not available for you to download the WSP solution. We can extract the WSP from farm with custom code but I have used below 3 lines of PowerShell code to achieve my goal $spfarm = Get-SPFarm $wspfile = $spfarm.Solutions.Item("wspfilename.wsp").SolutionFile $wspfile.SaveAs("d:\extract\wspfilename.wsp") Make sure, you would be a member of Farm Administrators group and have permission to the configuration database.

Windows PowerShell Command Builder for Microsoft SharePoint 2010 and Microsoft Office 365

Windows PowerShell is a command-line scripting tool that provides an administrator full access to applicable application programming interfaces (APIs). Administrators can use Windows PowerShell to interact directly with SharePoint-based web applications, site collections, sites, lists, and much more. The Windows PowerShell Command Builder enables IT professionals and power users to visually assemble commands related to SharePoint 2010 Products and Office 365 on a Design Surface in a browser and take those commands to their respective products. The Windows PowerShell Command Builder provides an intelligent user experience. After you drag a verb or noun object on the Design Surface, the interface will hide either the verbs or nouns that are not associated with the verb or noun placed on the Design Surface. After you construct a command, you can copy the command to Windows PowerShell script, the SharePoint 2010 Management Shell, or other desired location to be saved or execute...