PowerShell Script for approving and publishing content on SharePoint publishing site

Hello All,

While working on SharePoint publishing portals, many times we require the automated publishing of contents. I am learning the "Poweshell". I thought of writing script that is having good options to choose from and, will automate the publishing of content over SharePoint sites. Following is the script that I have written. I hope it will help many people.

Features

  • Non Recursive/Recursive for all root level webs and sub webs 
  • Can Publish files with specific extension
  • Can Publish folders
  • Can Publish files from a specific sub web

this project is available on https://publishspcontent.codeplex.com/