[HN Gopher] Two Months with Powershell on a Unix
       ___________________________________________________________________
        
       Two Months with Powershell on a Unix
        
       Author : joejag
       Score  : 18 points
       Date   : 2020-04-22 10:48 UTC (1 days ago)
        
 (HTM) web link (code.joejag.com)
 (TXT) w3m dump (code.joejag.com)
        
       | dijit wrote:
       | Dude has more patience than me.
       | 
       | I tried running powershell on linux a few times, and every single
       | time the second command I run is not supported on linux.
       | 
       | I don't even remember what the commands were, PSremoting was one
       | for sure and I think another was Invoke-WebRequest.
       | 
       | Powershell on linux is a nice idea but in the current form it is
       | in name only, as nearly nothing works.
        
         | vips7L wrote:
         | Invoke-WebRequest most certainly runs on linux.
        
         | m0xte wrote:
         | I'm not sure I could cope with that. I have enough problems
         | with it on windows. Literally every corner you turn something
         | punches you in the balls or turns to dust in your hands. It's
         | one of the most frustrating things I've ever used and I avoid
         | it where I can.
         | 
         | I would not invite it onto a *nix machine voluntarily where
         | there are established patterns and solutions which have matured
         | over the space of 40 odd years now.
        
         | larntz wrote:
         | I use powershell on linux occasionally. Primarily with the
         | azure and powercli modules. For doing vmware and azure stuff I
         | can't think of anything that hasn't worked.
         | 
         | If you want to do anything that would be windows only then
         | you're right, it probably won't work.
         | 
         | That said, I usually have a tmux window ssh'd into a windows
         | machine for powershell. It would be nice to be able to manage
         | ad and exchange from a linux machine with powershell.
        
       ___________________________________________________________________
       (page generated 2020-04-23 23:00 UTC)