SPOMod
SPOMod copied to clipboard
SPOFileByServerRelativeUrl
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