PowerShell Data As File
System
Ravikanth Chaganti
Distinguished Member Technical Staff, Dell EMC
Microsoft MVP
Agenda
 What are Providers?
 What is SHiPS?
 Demo
 Q & A
>_ whoami
 Distinguished Member Technical Staff @ Dell
EMC
 Microsoft MVP (CDM)
 Published Author
 Founder and Editor @ PowerShell Magazine
 Twitter.com/Ravikanth
 GitHub.com/rchaganti
Azure Cloud Shell
Providers in PowerShell
 Not a new concept! Existed since v1.
 Provide a method to navigate and manipulate data from data stores
through a common interface.
 Not easy to develop a provider.
SHiPS History
@beefarino
created P2F
2014 2017
@powershell
created
SHiPS
@powershell
created
Azure PS
Drive &
CIM Drive
Thanks to @jianyunt for excellent work on
SHiPS
SHiPS – Get Started
 Install-Module -Name SHiPSps://GitHub.com/PowerShell/SHiPS
 Implements:
 Get-Item
 Get-ChildItem
 Get-Content
 Set-Content
 No support yet for:
 Get-ItemProperty
 Set-Item
 Set-ItemProperty
Demo
SHiPS Providers
SHiPS – Writing a Provider
 Requires
 Knowledge of PowerShell classes!
 Some level of structured data
 Understand the data
 Some thoughts on what / how you want to
implement the provider
 Let us look at EventLogDrive!
Demo
Writing SHiPS-based Providers
Summary
 SHiPS makes it easy to implement PS
drives.
 Identify data source and understand it.
 Identify use cases and start with
design.
Thank You!
Session PartnersConference Partner Overseas Partners

PowerShell Data as File System

  • 1.
    PowerShell Data AsFile System Ravikanth Chaganti Distinguished Member Technical Staff, Dell EMC Microsoft MVP
  • 2.
    Agenda  What areProviders?  What is SHiPS?  Demo  Q & A
  • 3.
    >_ whoami  DistinguishedMember Technical Staff @ Dell EMC  Microsoft MVP (CDM)  Published Author  Founder and Editor @ PowerShell Magazine  Twitter.com/Ravikanth  GitHub.com/rchaganti
  • 4.
  • 5.
    Providers in PowerShell Not a new concept! Existed since v1.  Provide a method to navigate and manipulate data from data stores through a common interface.  Not easy to develop a provider.
  • 6.
    SHiPS History @beefarino created P2F 20142017 @powershell created SHiPS @powershell created Azure PS Drive & CIM Drive Thanks to @jianyunt for excellent work on SHiPS
  • 7.
    SHiPS – GetStarted  Install-Module -Name SHiPSps://GitHub.com/PowerShell/SHiPS  Implements:  Get-Item  Get-ChildItem  Get-Content  Set-Content  No support yet for:  Get-ItemProperty  Set-Item  Set-ItemProperty
  • 8.
  • 9.
    SHiPS – Writinga Provider  Requires  Knowledge of PowerShell classes!  Some level of structured data  Understand the data  Some thoughts on what / how you want to implement the provider  Let us look at EventLogDrive!
  • 10.
  • 11.
    Summary  SHiPS makesit easy to implement PS drives.  Identify data source and understand it.  Identify use cases and start with design.
  • 12.
    Thank You! Session PartnersConferencePartner Overseas Partners