Creating Dummy Documents via Office COM Object Model

During a SharePoint project, it’s very useful to have a bunch of dummy documents at your disposal, to test various functions. In SharePoint 2013, there’s a whole bunch of things you will need to test in various environments and browsers, where having a number of unique test documents will be useful. This includes Drag and Drop, Search, Office Web Apps, and any customisations made to document libraries, such as custom Display Templates, Grouping, and Paging. To save me having to create a large number of unique documents I decided to have a play with the Word COM Object Model and PowerShell.

Read More