Skip to content

This script allow you to launch any command of cygwin into powershell

Notifications You must be signed in to change notification settings

JonathanDaSilva/PSCygwin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

How to use it

For using this you should:

  • Import the module
  • Having CygWin into the default directory "C:\cygwin"
  • Creating a function for every command that you want to export to powershell
function ssh { Invoke-Cygwin "ssh" $args }
  • Using like the command was part of Powershell

The function will execute the command that you have typed (first parameters, in my case "ssh") into your current directory with the parameters that you haved pass in second arguments (in the example $args, is the argument of the function).

This example above allow you to do that:

This is not realy impressive but you can totaly execute some none available windows command like ansible.

ansible help

That will work if ansible is install into cygwin

About

This script allow you to launch any command of cygwin into powershell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published