Implement PowerShell PSProvider *in* PowerShell
I'm looking to implement a PowerShell Provider in PowerShell. I keep thinking that if I just define the types, then import them into my session (import-module), I should be able to have them available. For example, this does not work but its along the path of what I'd like to implement. I'm obviously missing quite a bit...anyone know if this is possible? # EnvironmentProvider.ps1 $reference_assemblies = ( "System.Management.Automation, Version=1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" # "System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.