Tool to upload files remotely to O365 SharePoint Online by using PowerShell,CSOM

This script will connect to Office 365 and upload the files to destination document library of a SharePoint Online site with Content Type association with Metadata like Title etc. NOTE: If you do not pass an input parameters to the powershell script, it will take default paramete

 
 
 
 
 
5 Star
(7)
2,684 times
Add to favorites
Office 365
12/21/2017
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Validation of PS script running against current 2018 O365 SharePoint Online
    1 Posts | Last post August 25, 2018
    • Does this PS script execute against O365 SharePoint Online current version 8/2018?
      
  • How do I fix these errors
    2 Posts | Last post August 25, 2018
    • PS C:\> C:\BulkFileUploaderTool.ps1
      At C:\BulkFileUploaderTool.ps1:58 char:4
      +    {
      +    ~
      Missing closing '}' in statement block.
      At C:\BulkFileUploaderTool.ps1:43 char:1
      + {
      + ~
      Missing closing '}' in statement block.
      At C:\BulkFileUploaderTool.ps1:59 char:76
      +       Write-Host "Unable to route document '$item.File.ServerRelativeUrl'.")
      +                                                                            ~
      Unexpected token ')' in expression or statement.
      At C:\BulkFileUploaderTool.ps1:60 char:4
      +    }
      +    ~
      Unexpected token '}' in expression or statement.
      At C:\BulkFileUploaderTool.ps1:61 char:1
      + }
      + ~
      Unexpected token '}' in expression or statement.
          + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
          + FullyQualifiedErrorId : MissingEndCurlyBrace
    • disregard my question.
  • Is it possible to upload a folder and select folder in library
    1 Posts | Last post February 21, 2018
    • Hi,
      
      This is a great script. thank you!
      
      Couple questions though, is it possible to modify it so that it copies whole folders recursively up to sharepoint online? at the moment it just copies files that are in the folder. It ignores any subfolders.
      
      Also, is it possible to select a folder to upload to in sharepoint online? currently it copies files into the root library documents folder.
      
      Thanks
      
  • Is it possible to update metadata
    2 Posts | Last post July 26, 2017
    • Hi, I have tested your script and I can't get it to keep metadata like owner, created by, created date, modified date. These are important metadata to keep on the file when it's moved to SP. Is this possible?
    • Hi,
      In line 59 'Write-Host' Unable to route document '$ item.File.ServerRelativeUrl'. ") 'It is necessary to delete the character ') '.