PNP Powershellを使うと簡単です。 Add-PnPFile -Path "C:\work\book.xlsx" -Folder "Shared Documents" -NewFileName "aaaa.xlsx" <スポンサーリンク>