Skip to content

Ghis.PowershellLib is a smart and small library to use Powershell in C# App

License

Notifications You must be signed in to change notification settings

Ghislain1/Ghis.PowershellLib

Repository files navigation

PowershellService Library

A simple warpper library for Powershell in C#

Status badge

Build Status

Give a Star! ⭐

If you like or are using this project please give it a star. Thanks!

Usage

       IPowershellService powershellService = new PowershellService();

            var path = Environment.GetFolderPath(Environment.SpecialFolder.Cookies);

            await powershellService.RunCommand($"Get-ChildItem -Path {path} -Recurse -Force -File", filePath =>
             {
                 Console.WriteLine($" -->  {filePath}");
                 result.Add(filePath);
             });

About

Ghis.PowershellLib is a smart and small library to use Powershell in C# App

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages