Skip to content
JonathanDaSilvaPublic

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

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:

ssh root@127.0.0.1

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages