Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPOFileByServerRelativeUrl #2

Open
SFI-IT opened this issue Feb 21, 2019 · 0 comments
Open

SPOFileByServerRelativeUrl #2

SFI-IT opened this issue Feb 21, 2019 · 0 comments

Comments

@SFI-IT
Copy link

SFI-IT commented Feb 21, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant