Skip to content

Script works but having getting error message and other issue #10

@zoomturtle

Description

@zoomturtle

HI,

I am using your script Sync-SharepointFolder.ps1 and it works great. I was wondering if you could help me out with an error that I am getting when running the script. Below is the error. It still works but I can't get rid of the error. Also on line 28, when I put -NoNewWindow the script doesn't work. I would appreciate any insight you can give. Thanks.

WARNING: Sync failed.
WARNING: Sharepoint sync failed.
WARNING: Sharepoint sync failed.
Sharepoint sync failed.
At C:\Users\Username\Scripts\Sync-SharepointFolderOriginal.ps1:81 char:9

  •     Throw $errorMsg
    
  •     ~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (Sharepoint sync failed.:String) [], RuntimeException
    • FullyQualifiedErrorId : Sharepoint sync failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions