Page 1 of 1

Powershell is cool !

Posted: Sun Mar 22, 2009 12:27 pm
by DeletedAccount
Hi,
I recently took a look at powershell. Its awesome !! . With powershell I can do following things related to my job
[a] UI automation ( Win32 and .Net UI apps )
Web Automation ( Request Response Based and Web UI Automation )
[c] Automate Administrative Tasks
[d] Perform Light Weight db verification .

I used to do all these in C# before , Now I can use powershell and be more productive , right away ! . Powershell + vi / vim == heaven :D . I do not intend to start a nix vs Windows war , but whats your opinion guys ? Why not use powershell for automating most of our os - dev activites ?

Regards
Shrek

Re: Powershell is cool !

Posted: Sun Mar 22, 2009 12:42 pm
by Troy Martin
I kinda think it's a little too complex for my taste. I prefer either bash or cmd.exe. An apparent combination isn't what I'd be looking for.

Re: Powershell is cool !

Posted: Sun Mar 22, 2009 7:28 pm
by JohnnyTheDon
I usually use python for any kind of complex command line work. The main reason I don't use powershell is that I'm used to python and it does everything I need it to.

Re: Powershell is cool !

Posted: Sun Mar 29, 2009 10:52 pm
by redoktober
shrek's right.
powershell may be a tad complex, but it's exactly what we .net developers needed. something to help us automate, without having to use a scripting language like Python or Ruby, or resort to mixing IL and C#.

Re: Powershell is cool !

Posted: Sun Mar 29, 2009 11:44 pm
by Love4Boobies
Is there a Linux PowerShell port (doubt it)? Cool as it may be (haven't tried it yet), I'd never use it for an open source project because I want everything I distribute to be as portable as possible. For personal stuff, it would probably do. I'll give it a try one of these days.

Re: Powershell is cool !

Posted: Mon Mar 30, 2009 2:50 am
by AJ
Hi,

@Shrek - a couple of days ago, I downloaded PowerShell and was just thinking of posting exactly the same as you :)

Cheers,
Adam

Re: Powershell is cool !

Posted: Mon Mar 30, 2009 3:25 am
by Solar
redoktober wrote:shrek's right.
powershell may be a tad complex, but it's exactly what we .net developers needed. something to help us automate, without having to use a scripting language like Python or Ruby...
...which would at least be portable. Nope, I'm with Love4Boobies on this one.

Re: Powershell is cool !

Posted: Mon Mar 30, 2009 8:51 am
by DeletedAccount
hi,
But it does help in doing a lot of things quickly :D

Regards
Shrek

Re: Powershell is cool !

Posted: Mon Mar 30, 2009 10:14 am
by Colonel Kernel
Solar wrote:...which would at least be portable.
Not everybody needs portability.

Re: Powershell is cool !

Posted: Mon Mar 30, 2009 9:06 pm
by steveklabnik
Runs on Windows, so I don't care.

Re: Powershell is cool !

Posted: Mon Mar 30, 2009 9:09 pm
by JackScott
There are a lot of (IMHO) good ideas in Windows Powershell, and I think it's a bit harsh to dismiss out of hand simply because it doesn't run on your preferred operating system. Even if you never plan to seriously use it (like me), it may still be worth a look for ideas for your own shell.

Re: Powershell is cool !

Posted: Wed Apr 01, 2009 1:16 am
by Solar
steveklabnik wrote:
Colonel Kernel wrote:
Solar wrote: ...which would at least be portable.
Not everybody needs portability.
Runs on Windows, so I don't care.
Uh-huh...

When I mentioned portability, I don't mean the need to port the build system of project X to platform Y. What I meant is the possibility that your next project / job might no longer use the Windows platform. I am looking for portable knowledge.

But JackScott has a good argument, here: PowerShell as an inspiration for your own shell. That, certainly, has merit.

Re: Powershell is cool !

Posted: Wed Apr 01, 2009 4:30 pm
by steveklabnik
JackScott wrote:There are a lot of (IMHO) good ideas in Windows Powershell, and I think it's a bit harsh to dismiss out of hand simply because it doesn't run on your preferred operating system. Even if you never plan to seriously use it (like me), it may still be worth a look for ideas for your own shell.
That's true. It's certainly possible that there are good ideas in there somewhere, however, given Microsoft's track record of good ideas, I won't bother.

Now, if someone were to point out a good idea from it to me, and say, "look what Powershell does!", I'd pay attention. Good ideas are good ideas, no matter who they come from. But I'm not going to go looking.





So, I figured, what the hell, I'll take a look. So I pulled up the Wikipedia page on PowerShell....it just seems like a crippled *nix shell to me. Maybe I'm just being silly, but what are these advantages, really? I'm not getting it.

Re: Powershell is cool !

Posted: Wed Apr 01, 2009 5:25 pm
by Troy Martin
Love4Boobies wrote:Is there a Linux PowerShell port (doubt it)?
http://pash.sourceforge.net/