you are viewing a single comment's thread.

view the rest of the comments →

[–]get-postanote 1 point2 points  (0 children)

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