r/PowerShell • • Apr 04 '19

Setup PowerShell SSH Remoting in PowerShell 6

https://www.thomasmaurer.ch/2019/04/setup-powershell-ssh-remoting-in-powershell-6/
117 Upvotes

7 comments sorted by

View all comments

0

u/[deleted] Apr 05 '19

[deleted]

2

u/get-postanote Apr 05 '19

This use cas eis not a PS6/PSCore thing. You've been able to do this in Windows PS for years now.

It's called Implicit Remoting for this use case.

Implicit PSRemoting allows you to proxy cmdlets from a remote machine to yours. They are only good for the session you asked for them and they really don't run on your loca system. They run on the remote host, and the results are returned to you.

https://devblogs.microsoft.com/scripting/use-powershell-active-directory-cmdlets-without-installing-any-software/

You can just use ADSI instead as well.

PSCore does get RSAT in Ws2019 as per MSIgnite 2018 announcemnts and demos.

Point of note, PSCore v7 using .Net Core v3 is on the horizon.

https://twitter.com/jbirley/status/1113588744286871552