Powershell Core 6.2 Cookbook
上QQ阅读APP看书,第一时间看更新

Creating your own provider

Creating your own provider can be a very useful (and fun) skill to learn as well. The PowerShell module SHiPS enables you to map any existing data structure in order to access it as a drive. At the moment, SHiPS only supports the Get-Item and Get-ChildItem cmdlets to retrieve data.

SHiPS is used, for example, with PowerShell in Azure Cloud Shell (https://shell.azure.com), as well as with the popular lab automation module, AutomatedLab (https://github.com/automatedlab/automatedlab).