Category: Programming

It’s All About The Choco(latey?)

Things chocolate is good for:

  • eating chocolate – the darker the better
  • chocolate fondue
  • chocolate brownies
  • triple choco cookies
  • installing software

> installing software . . . (WAIT WHAT ?!?!?!)

The last one isn’ quite right – but, no matter how sweet chocolate is, chocolatey might be even more delicious!

Ok, clarification: Chocolatey (short: “choco”) is a package manger for Windows that actually works really well, has loads of packages in the public repo – and you can create packages yourself pretty easily!

– if you are not hyped right now – you may as well leave 🙂 –

Continue reading “It’s All About The Choco(latey?)”

Wrapping A PowerShell-Script Call In A Batchfile

Yet another opinion on this topic, YAY!

As I wasn’t satisfied with the most common solutions out there (first 5 google hits) – I’ve decided to create a .ps1->.bat wrapper on my own:

>> WrapPowerShellScript.bat on GitHub <<

Why did I create another version of the very same thing that should be well known already? – because I wanted to pass all arguments/parameters that are passed to the .bat-File to the wrapped PowerShell script:

Update: of course this also works with ‘BoundParameters’ 🙂


If you don’t like it – have a look at those alternatives:
* howtogeek – how-to-use-a-batch-file-to-make-powershell-scripts-easieto-run
* stackoverflow how-to-run-a-powershell-script-file-from-within-a-bat-file-and-pass-multiple-par