Use PowerShell to Upload Files to SharePoint 2010

The following powershell functions can be loaded and then called like this “UploadToLibrary $filename $siteURL $listname”

This script was hacked out of the “FCI SharePoint Upload Powershell script” available on TechNet. I removed the portions responsible for modifying source files, migrating file properties, etc so I could use these functions to easily upload files from PowerShell.

Enjoy!

`The following powershell functions can be loaded and then called like this “UploadToLibrary $filename $siteURL $listname”

This script was hacked out of the “FCI SharePoint Upload Powershell script” available on TechNet. I removed the portions responsible for modifying source files, migrating file properties, etc so I could use these functions to easily upload files from PowerShell.

Enjoy!

`