Microsoft revamps programming language PowerShell as Windows 10 use trails Linux

Discussion in 'HardForum Tech News' started by naib, Apr 8, 2019.

  1. naib

    naib [H]ard|Gawd

    Messages:
    1,266
    Joined:
    Jul 26, 2013
    https://www.zdnet.com/article/micro...ge-powershell-as-windows-10-use-trails-linux/

    Honestly I am not surprised... Linux users are still generally power users and as such will manage alot via scripts, alot of the system is chaining script.

    Microsoft made the command line a 2nd class citizen around the time of XP and by the time they realised some form of scripting interface is beneficial, whole generations of IT were use to not having any OR companies stepped in to fill the void of automation.

    DXC wanted to charge £3000 for a piece of network NAS auditing yet an evening reading and testing and I had a 20line power shell auditing ntfs permissions, for free (now being used elsewhere), they didn't even know that was possible

    Best thing MS could do is release a collection of free SIMPLE scripts for common tasks so IT individuals can see what is possible and then they can stitch such things together
     
    Jon855, ChadD, Baenwort and 3 others like this.
  2. westrock2000

    westrock2000 [H]ardForum Junkie

    Messages:
    9,109
    Joined:
    Jun 3, 2005
    What is the advantage to PowerShell over something with like Terminal + Perl which has a huge user base? Looks like the scripts "should" be portable across platforms? And it says it offers automation of applications. Does that mean it's actually able to interact with applications kind of like how Apple Scripting can interact with many built-in applications on MacOS?

    The bash terminal on Windows is nice....wish it would support X forwarding so you could open applications remotely. But overall, it's a welcome addition.

    My biggest complaint about Microsoft command line (and PowerShell) is how bad it handles UTF-8. Try displaying characters not in the english alphabet.....it's aint pretty.

    If Microsoft wants to be like Linux/Unix......it cant start by flipping the \ to /
    That backslash is a major pain in the ass when scripting on Windows since some popular languages use the backslash as an escape character.