Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

OneGet/MyAlbum-Sample-Provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a sample PackageManagement provider. It discovers photos in your remote file repository and installs them to your local folder. The purpose of this provider is trying to provide some help for people to get started with writing a PackageManagement provider in PowerShell.

Let's try it out

####1. Search and Install the MyAlbum provider####

PS C:\>find-packageprovider -name MyAlbum
PS C:\>install-packageprovider -name MyAlbum -force

####2. Create a local repository####

PS C:\>mkdir c:\test
PS C:\>New-Item seattle.png
PS C:\>New-Item "new york.png"

####3. Register a repository

Register-PackageSource -Name album -ProviderName myalbum -Location  C:\test

####4. Find packages

Find-Package -ProviderName myalbum

About

The purpose of this sample provider is trying to provide some help for people to get started with writing a PackageManagement provider in PowerShell.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published