0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

PowerShellでSharePointへファイルを登録する

Last updated at Posted at 2019-11-25

※この記事ではオンプレのSharePoint 2019で試したことを記載しています。

背景

オンプレのSharePoint環境を構築する機会があり、
普段SharePointサーバ自体さわることないので、備忘録のために記載します。

以下の参照元に答えがあります。
参考元:Add-PnPFile(Microsoftページ)

####サンプル1 file.txtファイルを「upload/folder」フォルダにアップロード
 Add-PnPFile -Path c:\sample\file.txt -Folder "upload/folder"

####サンプル2 file.txtファイルを「convertFile.txt」にリネームしてアップロード
 Add-PnPFile -Path c:\sample\file.txt -Folder "upload/folder" -NewFileName convertFile.txt"

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?