I have an msi file stored on our sharepoint - I use the below command to run and it’s constantly giving me a “file not found” error. Any idea what I’m doing wrong? It looks like the unc to the file is just off but I can’t find the exact path.<\/p>\n
Get-PnPFile -Url \"/sites/IT/Shared Documents/Forms/phishalert.msi\" -Path c:\\temp -FileName phishalert.msi -AsFile\n<\/code><\/pre>","upvoteCount":3,"answerCount":7,"datePublished":"2020-09-29T15:46:58.000Z","author":{"@type":"Person","name":"philipweissv8366","url":"https://community.spiceworks.com/u/philipweissv8366"},"suggestedAnswer":[{"@type":"Answer","text":"
Advertisement
I have an msi file stored on our sharepoint - I use the below command to run and it’s constantly giving me a “file not found” error. Any idea what I’m doing wrong? It looks like the unc to the file is just off but I can’t find the exact path.<\/p>\n
Get-PnPFile -Url \"/sites/IT/Shared Documents/Forms/phishalert.msi\" -Path c:\\temp -FileName phishalert.msi -AsFile\n<\/code><\/pre>","upvoteCount":3,"datePublished":"2020-09-29T15:46:58.000Z","url":"https://community.spiceworks.com/t/download-a-msi-file-from-sharepoint/777267/1","author":{"@type":"Person","name":"philipweissv8366","url":"https://community.spiceworks.com/u/philipweissv8366"}},{"@type":"Answer","text":"
Advertisement
If you post code, please use the ‘Insert Code’ button. Please and thank you!<\/p>