[OT] Any opionions on Power Shell?

Christopher Browne cbbrowne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Jan 20 05:32:10 UTC 2009


On Mon, Jan 19, 2009 at 11:46 PM, Paul King <sciguy-Ja3L+HSX0kI at public.gmane.org> wrote:
> Hello
>
> I have recently discovered that, as early as 2006, M$ Windows decided to give
> up the ghost and implement a UNIX-emulating shell called power shell for the
> purpose of "serious" system administration.
>
> Scripting is surprisingly BASH-like, commands exist like ls, rm, mv, and so on.
> ps gives a process status; and syntax like
>
>     foreach ($i in 1 .. 5) {echo $($i*8)}
>
> is actually supported.
>
> Anyone tried this shell? Any comments on it?

Apparently it has all the syntax of Bash *and* zsh, so you can do
whatever's good *or* heinous about them.

They seem to be really proud about the way that it's much much more
strongly typed such that everything's treated as an object.

Notably, the "Unix" view is that everything's just a bag of byte, and
you are just piping streams of data from one process to another.

Instead of that, PowerShell streams are structured streams of .NET
objects, so that you normally need to write scripts to be aware of
what .NET objects they are receiving/transmitting.

Seems like a giant memorization task to me, of trying to figure out
what objects and methods you're manipulating.
-- 
http://linuxfinances.info/info/linuxdistributions.html
Joan Rivers  - "Forty for you, sixty for me. And equal partners we will be."
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list