CodeDump icon indicating copy to clipboard operation
CodeDump copied to clipboard

Script works but having getting error message and other issue

Open zoomturtle opened this issue 1 year ago • 0 comments

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.

zoomturtle avatar Oct 28 '24 15:10 zoomturtle