SPOMod icon indicating copy to clipboard operation
SPOMod copied to clipboard

SPOFileByServerRelativeUrl

Open SFI-IT opened this issue 5 years ago • 0 comments

Getting an execute error as follows: PS C:\WINDOWS\system32> $items.item(2) /Shared Documents/Daily Procedures/Daily Procedures for Elgin.docx

PS C:\WINDOWS\system32> $arr=@()

PS C:\WINDOWS\system32> $arr+=(Get-SPOFileByServerRelativeUrl -ServerRelativeUrl $items[2]) Exception calling "ExecuteQuery" with "0" argument(s): "Unknown Error" At C:\Users\elgin.SPECTRUM\Downloads\SPOMod-master\SPOMod-master\SPOMod.psm1:2467 char:9

  •     $ctx.ExecuteQuery()
    
  •     ~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : ServerException

SFI-IT avatar Feb 21 '19 21:02 SFI-IT