APPENDIX A
PowerShell Cmdlets
This appendix gives a brief overview of the various PowerShell cmdlets we covered in this book and gives examples of how to use them.
Add-SPSolution
Adds a SharePoint solution to the farm. Need to reference the local .wsp solution file (see Chapter 7).
Add-SPSolution [UNCPath to the local .wsp file]
Backup-SPFarm
Creates a backup of a specific database, of a web application, or of the entire SharePoint farm (see Chapter 8).
Backup-SPFarm -Directory [Path to the backup directory] -BackupMethod Full
Backup-SPSite
Creates a backup of a specific site collection (see Chapter 8).
Backup-SPSite -Identity [URL of the site ...
Get Beginning PowerShell for SharePoint 2013 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.