Powershell script to list onedrive files with embed code

Mina Tawfik 6 Reputation points
2020-08-18T05:58:13.837+00:00

Hi,
Maybe I was not clear enough.
I have onedrive account. I uploaded lots of PDF files to it.
Now, on each one, I click on the pdf file and generate embed code. This code I copy to a website to show the pdf on the page.

My request here is to script the following:

  • list all file names in the folder
  • generate the embed code for each one.

Out put that is a output file:
file name | code for this file

It would be better this output file to be csv file so that I can read it later on. But any file would do at this time as each file embed code takes a lot of time to generate.

Anyone can help???

Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} vote

1 answer

Sort by: Most helpful
  1. Anonymous
    2020-08-18T15:26:50.2+00:00

    Hi,
    Regarding Azure powershell based issue, I suggest you refer to experts from the following forum to get professional support:
    https://learn.microsoft.com/en-us/answers/questions/topics/single/24.html

    Best Regards,
    Ian

    ----------

    Please remember to "Accept Answer" and upvote if the reply is helpful.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.