Saturday, March 10, 2012

Windows Powershell? Yeah, not so great!

So I was looking for an easy way to copy and rename a batch of files using a script that I could share with my friends. I was going to go old school and just write a batch script to do the job, but I thought, "hey, it's 2012 and I'm a developer, I might as well give Powershell a try." Boy was that a mistake.

After several hours of tinkering around I have yet to find a viable solution to make the script easily run on my friends' machines after it being downloaded from the internet. Maybe I'm going about this the wrong way, but I've already signed it using a custom PGP certificate that I created using Kleopatra. I also set my "ExecutionPolicy" to "AllSigned" as recommended several other bloggers. Heck I can't even get the blasted thing to run on my local machine.

Making this ridiculously difficult just to write a simple freaking script that I can share with my friends to help them out is just silly. I could have written a widget in VB.NET in half the time I put into researching Powershell that would have accomplished the same task and without having to worry about all this digital signature garbage. Just compile, zip, send, and run.

The moral of the story is that I've decided to avoid Powershell like the plague. Hopefully I'll never need to mess with it because it just gives me a massive headache thinking about digital signatures. I'm not a security expert, so this stuff is just a bother; and that's why I'm not an admin; I just develop data-driven web applications.

9 comments:

  1. For more details about Windows Powershell : www.microsoft.com/powershell

    Windows updates for windows

    ReplyDelete
  2. Hi. I really enjoyed my brief visit on your site and I’ll be sure to be back for more.
    Can you please consider placing my website on your link list?

    Please email me back.

    Thanks!
    Kevin
    kevincollins1012@gmail.com

    ReplyDelete
  3. I haven't try to do it before, but I think I can try it now. I just need a guide for this. Thanks for sharing.


    Summer

    ReplyDelete
  4. Powershell is an horrible breed between perl and Visual basic.net, i run away from it as soon as I saw its form.

    It's really a failed system compared to .bat and .vbs scripts

    ReplyDelete
  5. windows 10 activation doesnt work , windows xp home , upgrade key for windows 7 home basic to ultimate , windows 8.1 product key sale , oem key windows 7 , windows 10 activation virtual machine , win7 ultimate product key , windows 7 pro key license key , tpK8lL

    office 2016 product serial free

    windows 10 enterprise key

    office 2016 product key

    Windows 10 product key code sale

    office 2016 product key sale

    ReplyDelete
  6. At the time we look familiar for the latest version of office setup toll free number for usa +1800-214-7583 we have our Microsoft office setup top tier interviews line-up. In order to provide the best quality and most complete to measure experience for our clients Microsoft Office setup support team is available 24*7 just give us a call on our toll free number 1-800-214-7583 We us we are available to support you. Toll-free Number Are the best way to join with offer best technical support and services. The time you want to attach with customers and offers them best Microsoft Office Customer Support. MS Office Product Key Support Website: www.msoffice365setup.com Toll free Number 1800-214-7583….Office Setup Support I www.office.com/setup I office.com/setup...

    ReplyDelete
  7. www.msoffice365setup.com is www.office.com/setup support for you to enhance ... Call us this 24X7 toll free no 1800-214-7583 and our Microsoft Office setup...Call us this 24X7 toll free no 1800-214-7583 and our Microsoft Office setup assistant will call you and ask the issue right now. www.msoffice365setup.com is MS...MS Office Helpline number AUS, UK Website: www.msoffice365setup.com MS Office Product Key Support Website: www.msoffice365setup.com Toll free Number 1800-214-7583….Office Setup Support I www.office.com/setup I office.com/setup...
    And Click Here: http://www.msoffice365setup.com

    ReplyDelete