Skip to content

WinRM Plugin Registration and Modification #1193

@mirichmo

Description

@mirichmo

Overview

On Windows, the PowerShell installer will not automatically enable receiving incoming requests. The feature shall be activated as a post-install step that requires Administrator-level authorization (due to the WinRM plugin's System32 placement requirement).

Changes Required

Enable-PSRemoting Changes

Cmdlet implementation should be changed to also

  1. Copy pwrshplugin.dll from %ProgramFiles%\PowerShell\ (aka $PSHOME) to %windir%\System32\PowerShell
  2. Create a the necessary plugin configuration file in %windir%\System32\PowerShell
  3. Register the plugin as a WinRM endpoint (Proposed name = PowerShell.)

Get-PSSessionConfiguration should work with these changes.

Metadata

Metadata

Assignees

Labels

Area-SideBySiderelated to ability to run PS7 side-by-side with WinPS or different versions of PS7Issue-Enhancementthe issue is more of a feature request than a bugOS-WindowsResolution-FixedThe issue is fixed.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions