Tagged Questions
1
vote
0answers
283 views
Remote commands over SSH with Windows PowerShell - Protection against disconnection
I am planning to connect to remote Linux hosts via SSH and call scripts with Windows PowerShell SSH.
As far as I understand, if the SSH connection is lost (timeout or connection reset) whilst the ...
0
votes
1answer
108 views
How to switch between 2 ethernet NIC with Windows Powershell or coding in a Linux environment?
These are the linux routing commands I had used so far.
#!/bin/sh
# time checks in second
SLEEPTIME=58
#IP Address or domain to test ping.
TESTIP1=198.168.1.0
TESTIP2=198.168.1.1
#Ping timeout
...
2
votes
1answer
144 views
Is there an analog of Bash's Ctrl+Z & fg in Powershell?
I find the combination of Ctrl+Z with subsequent fg on Bash very handy, it's like a command line analog of alt+tab, so I can switch from viewing one file to the output of a running process etc.
Is ...
0
votes
0answers
65 views
Number of commands for a shell vs. how powerful a shell is [closed]
So I just started my operating systems class at my university, and my professor said something that interested me, something that I'm not sure if I agree with.
He was introducing the various shells ...
6
votes
3answers
1k views
Windows PowerShell equivalent to Unix/Linux `pwd`?
In follow-up to the cmd.exe question, what is the PowerShell equivalent to echo %cd%, or Linux/Unix pwd?
5
votes
1answer
3k views
WinRM - what it is and how to use it?
During installing updates I noticed 'PowerShell 2.0 and WinRM' update. Upon reading some Microsoft & Wikipedia pages I read that it is remote management system that runs on SOAP and that it is ...
8
votes
5answers
6k views
Linux “Top” command for Windows Powershell?
I am looking for a PowerShell cmdlet that can provide similar functionality to the Linux Top app. Something that refreshes at some given interval and displays the process list with CPU % util.
I have ...
0
votes
5answers
1k views
PowerShell not displaying Unix colors
I use various Linux programs on my Windows machine; some of them have colorized output. GnuWin32 and so forth.
However, Windows PowerShell does not support Linux colors; it gets a message like ...