scripts VS PowerShell

Compare scripts vs PowerShell and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
scripts PowerShell
2 399
3 43,697
- 0.8%
0.0 9.6
about 2 years ago 3 days ago
Shell C#
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

scripts

Posts with mentions or reviews of scripts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-03.
  • How to do things safely in Bash
    9 projects | news.ycombinator.com | 3 Apr 2021
    If you’re interested in writing safe shell scripts then check out shellcheck:

    https://github.com/koalaman/shellcheck

    If you’re interested I’ve written a git hook for it that runs a check when you git commit:

    https://github.com/alblue/scripts/blob/main/shellcheck-pre-c...

    You should also check out her Google shell script style guide:

    https://google.github.io/styleguide/shellguide.html

  • Correct Git commits with Git-autofixup
    6 projects | news.ycombinator.com | 18 Mar 2021
    I wrote my own tool for this which allows you to fix up a file based on the last time you changed that file, or on a specific commit. It will then execute an interactive rebase to that point as well as taking care of stashing and then restoring unrelated files.

    https://github.com/alblue/scripts/blob/master/git-fixup

    I like the idea of having the editor definition return “true” instead of showing it; I’ll have to add that later.

PowerShell

Posts with mentions or reviews of PowerShell. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-26.
  • Microsoft to Deprecate VBScript
    2 projects | news.ycombinator.com | 26 May 2024
    Not necessarily:

    1. UNIX-compatibility aliases like "ls -> Get-ChildItem" and "cat -> Get-Content" are not defined in PowerShell on Linux or macOS. For a complete list of these, see the PowerShell source code[1] (look for "#if !UNIX").

    2. A number of aliases from PowerShell ≤ 5.1 were removed in PowerShell Core (≥ 6.0), including the particularly annoying "curl -> Invoke-WebRequest" (conflicts with curl.exe) and "sc -> Set-Content" (conflicts with sc.exe).

    [1] https://github.com/PowerShell/PowerShell/blob/8ea1598964590b...

  • LuaRT: Lua programming environment for console, desktop applications for Windows
    3 projects | news.ycombinator.com | 25 May 2024
    and do a no-install copy-paste deployment of powershell 7 and modules. (I'm not saying you should do this instead of using Lua, just that you can).

    [1] https://github.com/PowerShell/PowerShell/releases

  • PowerBI: déployer une passerelle sur AWS pour $0.12/j
    3 projects | dev.to | 14 Mar 2024
    msiexec.exe /package https://github.com/PowerShell/PowerShell/releases/download/v7.2.6/PowerShell-7.2.6-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ADD_FILE_CONTEXT_MENU_RUNPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 USE_MU=1 ENABLE_MU=1 ADD_PATH=1
  • Sudo for Windows
    12 projects | news.ycombinator.com | 8 Feb 2024
    This smells like when PowerShell aliased curl and wget to a completely different command, with incompatible arguments.

    https://github.com/PowerShell/PowerShell/pull/1901

  • Gooey: Turn almost any Python command line program into a full GUI application
    14 projects | news.ycombinator.com | 9 Dec 2023
    PowerShell is available on macOS and Linux as well (source on Github: https://github.com/PowerShell/PowerShell). It may not be as well-integrated with things like system services management, but the language still works well. You can still use all the command line tools you're used to on Linux, of course.

    nushell does look interesting, though the lack of a .deb repository does put it pretty low on my to-do list.

  • 3 lines of code don't understand the results.
    1 project | /r/PowerShell | 8 Dec 2023
    Issue #7940 discusses potential improvements to array slicing.
  • Task Scheduler -windowstyle hidden / minimized
    1 project | /r/PowerShell | 7 Dec 2023
  • Just messing around with arrays and efficiency in PS, thought I'd share
    1 project | /r/PowerShell | 4 Dec 2023
    Note: This can be problematic as it prevents upstream commands from running their end {} block. See here. The new clean {} block introduced in PowerShell v7.3 does not suffer from this issue.
  • Jaq – A jq clone focused on correctness, speed, and simplicity
    28 projects | news.ycombinator.com | 29 Nov 2023
    Can you give an example of something that PS can do that is built-in for text processing, instead of a proprietary symbolic query language?

    [1] https://github.com/PowerShell/PowerShell

  • The bash book to rule them all
    5 projects | news.ycombinator.com | 25 Nov 2023
    https://github.com/PowerShell/PowerShell/blob/master/LICENSE... is the MIT license. (Microsoft supplies debs directly which may reduce the motivation for Debian to do so.)

    Oh, heh, also https://github.com/PowerShell/PowerShell/blob/master/docs/bu... the build script is written in PowerShell, so there's a bootstrapping problem :-) (Debian has solved those before of course, but with community sentiment like the above maybe noone is motivated to bother.)

What are some alternatives?

When comparing scripts and PowerShell you can also consider the following projects:

rust_cmd_lib - Common rust command-line macros and utilities, to write shell-script like tasks in a clean, natural and rusty way

nushell - A new type of shell

shellharden - The corrective bash syntax highlighter

winpty - A Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs.

makesure - Simple task/command runner with declarative goals and dependencies

Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!

git-instafix - Amend old git commits with a simple UI.

WFinfo - :computer: A fissure Companion App for Warframe

git-absorb - git commit --fixup, but automatic

PowerToys - Windows system utilities to maximize productivity

oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!

ShellCheck - ShellCheck, a static analysis tool for shell scripts

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured