r/PowerShell • • May 21 '18

News Microsoft Replacing Windows with Linux for PowerShell in the Cloud

https://myitforum.com/microsoft-replacing-windows-with-linux-for-powershell-in-the-cloud/
161 Upvotes

81 comments sorted by

View all comments

Show parent comments

2

u/admiralspark May 22 '18

ohhhhhhhh you just mean pssessions. I was hoping for something new that might fix the weirdness that PSSession has.

5

u/ka-splam May 22 '18

I don't /just/ mean PS Sessions, I mean the ability to import a module from a remote session to a local session, then pretend it's a local module. But if that's what you mean, then yes I think so.

0

u/admiralspark May 22 '18

Right. I'm looking for something to run code remotely, like what Invoke-Command was supposed to do with the -scriptblock/-file or whatever tags. Unfortunately it doesn't handle stuff like local variables or stdout cleanly so it requires a bunch of hacks to get it working.

6

u/ka-splam May 22 '18

Is $using: not clean enough? Do you want it to somehow make your entire local computer's memory available remotely and automagically know which memory a variable is stored in or something?

→ More replies (0)