WindowsCompatibility icon indicating copy to clipboard operation
WindowsCompatibility copied to clipboard

Should expose -PSSession parameter

Open SteveL-MSFT opened this issue 7 years ago • 2 comments

Each of the cmdlets should accept a -PSSession. Currently the parameters for Initialize-WinSession only create a WSMan connection. Should support any PSSession type.

SteveL-MSFT avatar Oct 31 '18 04:10 SteveL-MSFT

Support for ssh sessions would work around an issue I have for Non-Windows --> Windows. Currently WSMan from Non-Windows --> Windows seems to only work for non-domain accounts, whereas ssh sessions work for domain accounts. Supporting SSH sessions would allow running windows modules on non-windows that require domain level priviledges.

zigford avatar Nov 12 '18 02:11 zigford

@zigford that's a scenario we want to support, however, it'll likely come after 1.0.0 release

SteveL-MSFT avatar Nov 12 '18 06:11 SteveL-MSFT