Skip to content

JustinGrote/JMg.Files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JMg.Files Module

This module makes working with Files (aka DriveItems) easier with Microsoft Graph. The inspiration was the fact that PnP.Powershell as of May 2022 did not work with the Sites.Selected App Scope that allows granular site collection access.

Quickstart

Install-Module JMg.Files

#Gets all files at the root of your OneDrive
$files = Get-JMgDriveChildItem

#Downloads the files to temp
$files | Save-JMgDriveItem

#Upload Files to the root of your onedrive
Get-ChildItem -File /to/my/path | Push-JMgDriveItem

See the help on each command for more examples.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published