Powershell is cool !

Programming, for all ages and all languages.
Post Reply
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Powershell is cool !

Post 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
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Powershell is cool !

Post 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.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

Re: Powershell is cool !

Post 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.
redoktober
Member
Member
Posts: 109
Joined: Thu Feb 26, 2009 12:58 am
Location: Gurgaon/New Delhi, India
Contact:

Re: Powershell is cool !

Post 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#.
"Do you program in Assembly?" she asked. "NOP," he said.

"Intel Inside" is a Government Warning required by Law.
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: Powershell is cool !

Post 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.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: Powershell is cool !

Post 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
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Powershell is cool !

Post 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.
Every good solution is obvious once you've found it.
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Re: Powershell is cool !

Post by DeletedAccount »

hi,
But it does help in doing a lot of things quickly :D

Regards
Shrek
User avatar
Colonel Kernel
Member
Member
Posts: 1437
Joined: Tue Oct 17, 2006 6:06 pm
Location: Vancouver, BC, Canada
Contact:

Re: Powershell is cool !

Post by Colonel Kernel »

Solar wrote:...which would at least be portable.
Not everybody needs portability.
Top three reasons why my OS project died:
  1. Too much overtime at work
  2. Got married
  3. My brain got stuck in an infinite loop while trying to design the memory manager
Don't let this happen to you!
User avatar
steveklabnik
Member
Member
Posts: 72
Joined: Wed Jan 28, 2009 4:30 pm

Re: Powershell is cool !

Post by steveklabnik »

Runs on Windows, so I don't care.
User avatar
JackScott
Member
Member
Posts: 1031
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:

Re: Powershell is cool !

Post 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.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Powershell is cool !

Post 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.
Every good solution is obvious once you've found it.
User avatar
steveklabnik
Member
Member
Posts: 72
Joined: Wed Jan 28, 2009 4:30 pm

Re: Powershell is cool !

Post 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.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Powershell is cool !

Post by Troy Martin »

Love4Boobies wrote:Is there a Linux PowerShell port (doubt it)?
http://pash.sourceforge.net/
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
Post Reply