locked
Using PowerShell to Checkout and Checkin a file generated from a report... RRS feed

  • Question

  • I have a excel file that is being generated from a PowerShell script for reporting purposes.  I would like to have the end result be saved to a SharePoint 2007 or SharePoint 2010 site in a Documents Library.  On this location I plan to have versioning so, I believe, that I have to Checkout the Excel document, Open it, do my editing with the powershell script and then have it CheckIn and close it.  I have been unable to find a working solution to this so far.  Anyone have some PowerShell code to checkout an excel file, do whatever, and then check it back in with the same name?  Thanks
    Friday, January 7, 2011 3:13 PM

Answers

All replies