What Can Cygwin Do?
With Cygwin, administrators can easily remote login to any PC, fix problems within a UNIX/Linux shell, on any Windows machine and run shell command scripts. Sophisticated shell command scripts can be created with standard shells, sed, awk, etc. Standard Windows command line tools can even be intermixed within the UNIX/Linux shell script environment to administer the Windows system. Over the years, UNIX/Linux system administrators have developed a large toolbox set of management scripts for their UNIX/Linux machines. Cygwin provides the ability to continue using these scripts on Windows machines.
To get that browse this website http://www.cygwin.com/