<p>As a LAMP developer considering moving to a .Net IIS platform, one of my concerns is the loss of productivity due to lack of shell... Has anyone else had this experience?  Is there possibly a Linux shell equivalent for Windows?</p>

[{'answer_id': 1585, 'author': 'Louis Brandy', 'author_id': 2089740, 'author_profile': 'https://Stackoverflow.com/users/2089740', 'pm_score': 2, 'selected': False, 'text': '<p>I assume you don\'t mean <a href="http://www.cygwin.com/" rel="nofollow noreferrer">cygwin</a>, right?</p>\n\n<p>How about <a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx" rel="nofollow noreferrer">powershell</a>, then?</p>\n'}, {'answer_id': 1588, 'author': 'Dillie-O', 'author_id': 71, 'author_profile': 'https://Stackoverflow.com/users/71', 'pm_score': 2, 'selected': False, 'text': '<p>Are you asking about Linux shell as in an environment to work in? For that CygWin I think has been around the longest and is pretty robust: <a href="http://www.cygwin.com/" rel="nofollow noreferrer">http://www.cygwin.com/</a></p>\n<p>A while ago I found a windows port of all the popular linux commands I use (ls, grep, diff) and I simply unzip those to a file, add it to my PATH environment and then can run from there: <a href="http://unxutils.sourceforge.net/" rel="nofollow noreferrer">http://unxutils.sourceforge.net/</a></p>\n<p>Or are you talking about executing shell commands from within your code? If you\'re in the .NET sphere, there is the Process.Start() method that will give you a lot of options.</p>\n<p>Hope this helps!</p>\n'}, {'answer_id': 1594, 'author': 'Justin Bennett', 'author_id': 271, 'author_profile': 'https://Stackoverflow.com/users/271', 'pm_score': 1, 'selected': False, 'text': "<p>If you're referring to simply accessing your IIS server from a remote location, remote desktop generally solves that problem.  Assuming your server has a static IP address or a host name you can access from the internet, remote desktop is a simple and relatively secure solution.</p>\n\n<p>Is there a problem with this answer?  Now I have negative reputation...</p>\n"}, {'answer_id': 1608, 'author': 'saniul', 'author_id': 52, 'author_profile': 'https://Stackoverflow.com/users/52', 'pm_score': 1, 'selected': False, 'text': '<p>The best way I can think of would be to use <strong>Cygwin</strong> over an <strong>OpenSSH</strong> connection.\nHere\'s a document that explains how to do just that: </p>\n\n<p><a href="http://www.ucl.ac.uk/cert/openssh_rdp_vnc.pdf" rel="nofollow noreferrer">http://www.ucl.ac.uk/cert/openssh_rdp_vnc.pdf</a></p>\n'}, {'answer_id': 2426, 'author': 'ZombieSheep', 'author_id': 377, 'author_profile': 'https://Stackoverflow.com/users/377', 'pm_score': 0, 'selected': False, 'text': "<p>You should make your choice of server platform based on the environment as a whole, and that includes the admin/management interfaces supplied.</p>\n\n<p>I'm afraid that if you don't like the way Windows implements management of IIS, then that's too bad.  Having said that, a bit of delving around in the WMI interfaces will generally yield a solution that you should find usable.  I used to do quite a bit of WMI scripting (mostly via PowerShell) in order to have a reliable environment rebuild capability.</p>\n"}, {'answer_id': 7700, 'author': 'Hugo', 'author_id': 972, 'author_profile': 'https://Stackoverflow.com/users/972', 'pm_score': 1, 'selected': False, 'text': "<p>Remote shell doesn't solve the productivity issue. (It merely makes things possible.)</p>\n\n<p>From what I've heard, everything that the future Microsoft GUI:s do will be possible to do with powershell since the GUI:s use the same API:s as those that are available from powershell.</p>\n\n<p>Personally, I love cygwin but cygwin can not help you manage Microsoft applications.</p>\n\n<p>You might be surprised, however, how powerfull the Windows Scripting Host is when coupled with Window Management Instrumentation. I think IIS is fully manageable with WMI or some COM objects that can be easilly used from a JScript WSH script.</p>\n"}, {'answer_id': 44389, 'author': 'David Mohundro', 'author_id': 4570, 'author_profile': 'https://Stackoverflow.com/users/4570', 'pm_score': 4, 'selected': True, 'text': '<p>Depending on what version of IIS you\'re considering, I would second lbrandy\'s recommendation to check out <a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx" rel="noreferrer">PowerShell</a>. Microsoft is working on a PowerShell provider for IIS (specifically version 7). There is a decent post about this at <a href="http://blogs.iis.net/thomad/archive/2008/04/14/iis-7-0-powershell-provider-tech-preview-1.aspx" rel="noreferrer">http://blogs.iis.net/thomad/archive/2008/04/14/iis-7-0-powershell-provider-tech-preview-1.aspx</a>. The upcoming version of PowerShell will also <a href="http://www.microsoft.com/technet/scriptcenter/topics/winpsh/remote.mspx" rel="noreferrer">add remoting capabilities</a> so that you can remotely manage machines. PowerShell is quite different from *NIX shells, though, so that is something to consider.</p>\n\n<p>Hope this helps.</p>\n'}, {'answer_id': 65311353, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>If you want a Linux shell on Windows, install the <a href="https://learn.microsoft.com/en-us/windows/wsl/about" rel="nofollow noreferrer">Windows Subsystem for Linux</a> on Windows 10 :</p>\n<blockquote>\n<p>The Windows Subsystem for Linux lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup.</p>\n</blockquote>\n'}]
['https://Stackoverflow.com/questions/1584', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/40/']