Can be installed on Windows, Linux, and macOS. <https://learn.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.3> Interesting move. Can be used over ssh. -- Cheers / Saludos, Carlos E. R. (from Telcontar, using openSUSE Leap 15.4)
On 2/6/23 15:07, Carlos E. R. wrote:
Can be installed on Windows, Linux, and macOS.
<https://learn.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.3>
Interesting move.
Can be used over ssh.
Used it quite a bit on windows, but always had to have to MS reference up. The two-word hyphenated commands don't stick in memory as well as the short shell commands. Never really found it more capable in any way than bash. (other than native json handling -- but that's what jq is for). I guess this will help the windows folks working on Linux, but seriously doubt it would pull in shell users from Linux (unless you have to ssh into a windows box and maintain it -- then that sounds pretty cool) Even so, on my windows installs, I always set to option to keep command prompt and not replace it with PowerShell. If I want powershell -- I know where to find it in the menu... The nice thing about PowerShell is you can alias 'x' to exit like I do with bash :) -- David C. Rankin, J.D.,P.E.
On 2023-02-07 01:16, David C. Rankin wrote:
On 2/6/23 15:07, Carlos E. R. wrote:
Can be installed on Windows, Linux, and macOS.
<https://learn.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.3>
Interesting move.
Can be used over ssh.
Used it quite a bit on windows, but always had to have to MS reference up. The two-word hyphenated commands don't stick in memory as well as the short shell commands.
AFAIK it is a new "Powershell", different syntax and capabilities. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
Hi, at the moment I am stuck to work on windows boxes, so WSL is my friend. But Powershell helps with Windows programs as well. My power move is to have a tail -f counterpart with Get-Content -Wait -Tail 1 mylogfile.log :-) But I cannot say I am having fun. Cheers, Bernd Am 07.02.2023 02:06 schrieb Carlos E. R.:
On 2023-02-07 01:16, David C. Rankin wrote:
On 2/6/23 15:07, Carlos E. R. wrote:
Can be installed on Windows, Linux, and macOS.
<https://learn.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.3>
Interesting move.
Can be used over ssh.
Used it quite a bit on windows, but always had to have to MS reference up. The two-word hyphenated commands don't stick in memory as well as the short shell commands.
AFAIK it is a new "Powershell", different syntax and capabilities.
Am 07.02.23 um 01:16 schrieb David C. Rankin:
On 2/6/23 15:07, Carlos E. R. wrote:
Can be installed on Windows, Linux, and macOS.
<https://learn.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.3>
Interesting move.
Can be used over ssh.
Used it quite a bit on windows, but always had to have to MS reference up. The two-word hyphenated commands don't stick in memory as well as the short shell commands. i use it since about 2019, also on linux.
Never really found it more capable in any way than bash. (other than native json handling -- but that's what jq is for).
there are many cool features, the most interesting feature is the object oriented approach. you can have classes/objects like in .net or java.
Even so, on my windows installs, I always set to option to keep command prompt and not replace it with PowerShell. If I want powershell -- I know where to find it in the menu...
PowerShell is in any way better than command prompt. there is nothing, which command prompt can do, what PowerShell can't do better. -- Best Regards | Freundliche Grüße | Cordialement | Cordiali Saluti | Atenciosamente | Saludos Cordiales *DI Rainer Klier* DevOps, Research & Development
On 2023-02-07 01:16, David C. Rankin wrote:
Never really found it more capable in any way than bash. (other than native json handling -- but that's what jq is for).
Wasn't the thing about powershell that it works with objects and predefined methods?
I guess this will help the windows folks working on Linux, but seriously doubt it would pull in shell users from Linux (unless you have to ssh into a windows box and maintain it -- then that sounds pretty cool)
I'm a bit curious about how all methods should be specified in bash. I saw something about "Start-Process" which to me just looks like a method to start standard processes. I'm not saying it's good or bad, just interested to hear from someone who has tried it. -- /bengan
participants (5)
-
Bengt Gördén
-
Bernd Ritter
-
Carlos E. R.
-
David C. Rankin
-
Rainer Klier