3 ms·
Really? Log onto a Windows box and run: ps FOO.EXE | kill (Yeah, ps is an alias to get-process, kill an alias to stop-process) Notice how you didn't scrape t
by nailer 16y ago
Really? Log onto a Windows box and run:
ps FOO.EXE | kill
(Yeah, ps is an alias to get-process, kill an alias to stop-process)
Notice how you didn't scrape text anywhere? No greps, or seds? No 'pkill' type alias apps?
That's because PoSH actually returns real objects. It's a much neater design.
I'm a *nix dude, and I still don't think Windows is ready for servers (the OS still needs restarts for application installation, eg, Office Web apps a few months ago) but PoSH is damn neat and there's been quite a few projects to clone it on various nixes.
- wladimir 16y agoThat sounds useful, simple and elegant. However, is it as flexible as UNIX-based command line wizardry? (I don't know anything about PoSH so this is an honest question.) My common complain with Windows is that it makes cookie-cutter tasks easy to do, but once you stray a little from the established path you get into big trouble. Suddenly there is no GUI or simple shortcut, and you have to dive into sparsely documented registry settings, download or buy additional tools, and so on.