-
Notifications
You must be signed in to change notification settings - Fork 39
WIP: PowerShell Archive Support #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Need to remove System.Management.Automation Dependencies.
import-module .\src\Microsoft.PowerShell.Archive\bin\Debug\netcoreapp3.1\Microsoft.PowerShell.Archive.dll;New-PSDrive -Name dr -PSProvider Archive -Root $pwd\PathToAnArchive; |
Hey @anmenaga, Currently it works on PWSH Core only. |
PowerShell Archive Support
On of biggest desired features of mine has always been a PSProvider for Archive/ZipFile Support in powershell. So for the past few months I have been working on creating a PSProvider that supports opening and active manipulation of ZipFiles.
Motivation
The ability to utilize a ZipFile like a FileSystemProvider opens the door for Automation components by allowing automated tasks to work directly inside an Archive instead of FileSystem.
This implimentaiton would allow Sys admins to Preview/Modify configuration of tools like Nuget or log files.
User Experience
Prelimnary code has been uploaded to my Github under PS1C
Current Code base is Previewable on:
It can be checkedout on Gallery for Windows Only Currently;
Specification
The Desire to feel as close to the FileSystem Provider as possible sets a very natural feel to the user experience.
Testing Requirements
Code must maintain rigourous testing standards and must meet all Applicable FileSystem Provider based tests
Current Provider Varience and Language Constraints
Currently PSProviders locked down certain features/functionality natively.
Example of Use