+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
Downloads Thread, Microsoft Windows PowerShell v1.0 in Links, Downloads and Scripts; ooh there's built-in wget like functionality Code: PS C:\>$wc = new-object System.Net.WebClient PS C:\>$wc.DownloadString('http://www.google.com') | out-file c:\temp\ss2.txt...
  1. #16
    browolf's Avatar
    Join Date
    Jun 2005
    Location
    Mars
    Posts
    1,540
    Thank Post
    112
    Thanked 89 Times in 75 Posts
    Blog Entries
    47
    Rep Power
    41

    Re: Microsoft Windows PowerShell v1.0

    ooh there's built-in wget like functionality

    Code:
    PS C:\>$wc = new-object System.Net.WebClient
    PS C:\>$wc.DownloadString('http://www.google.com') | out-file c:\temp\ss2.txt

  2. #17


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,033 Times in 813 Posts
    Rep Power
    341

    Re: Microsoft Windows PowerShell v1.0

    Anyone find something it does that bash doesn't already do?
    I still don't get the point of learning so that it can only be applied to MS servers when you can learn a more established (and faster developing) technolgy that can be applied to MS as well as *nix machines.
    Not aimed at enyone particular but people so often complain that they can't implement a particular technogy becasue they don't have the sills, then happily learn a restrictive technology such as powershell/vbs that I don't see has any advantage -except maybe it doesn't require an installer.

  3. #18

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Microsoft Windows PowerShell v1.0

    Indeed, you've already got a choice of Cygwn (including bash and friends), Python (including Microsofts own IronPython.NET implementation), Perl, Ruby, VBS and a host of other scripting solutions. Do we really need any more?

    OTOH, I do think the command line needed an overhaul. However, as I said, I don't think this is the right direction to head off in.

  4. #19
    browolf's Avatar
    Join Date
    Jun 2005
    Location
    Mars
    Posts
    1,540
    Thank Post
    112
    Thanked 89 Times in 75 Posts
    Blog Entries
    47
    Rep Power
    41

    Re: Microsoft Windows PowerShell v1.0

    well perhaps its not for everyone. Ive always liked dos cos its fairly simple but a bit limited. Vbscript is can be overly complicated for some things. Im just hoping powershell is somewhere in-between.
    Generally I'm all for *nix stuff as long as someone else does it.

  5. #20

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Microsoft Windows PowerShell v1.0

    I thought powershell was going to be the default command line interface in Vista?

  6. #21

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: Microsoft Windows PowerShell v1.0

    Well, after Geoff and CyberNerd's glowing reviews, I thougtht I'd give it a bash (d'ya see what I did there).

    I can now CD to UNCs without drive mapping. You can also CD in to the registry. "Far out man!"

    Command completion woohoo! At last I don't have to memorise the contents of system32 anymore. Command substitution without the venerable FOR /F.

    Also, like *nix shells we now have aliases and an rc files (both per user and system wide)

    The thing that makes PowerShell different from *nix shells is that it is object oriented and gives you access to the .net framework
    It's as OO as you can get in MS admin scripting without falling into C#.

    It'll make processing the XML from the SIMS.net commandReporter a lot easier. I can then slip into ADSI without breaking a sweat to create/update user accounts in AD.

    The syntax and general look of the language is a bit odd though. Maybe they thought "If we make it arcane then the *nix guys will come over to take a look".

    People on the *nix side might be complaining now but there will probably be borrowings as with .net to Mono.



SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Microsoft Windows Script 5.7
    By PiqueABoo in forum Scripts
    Replies: 0
    Last Post: 10th August 2007, 07:56 PM
  2. PowerShell AKA MONAD RC1 available
    By CyberNerd in forum Windows
    Replies: 1
    Last Post: 26th April 2006, 09:27 AM
  3. Replies: 13
    Last Post: 7th March 2006, 11:07 AM
  4. Microsoft Shared Computer Toolkit for Windows XP
    By kennysarmy in forum Windows
    Replies: 1
    Last Post: 6th October 2005, 08:55 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •