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
- Copy pwrshplugin.dll from %ProgramFiles%\PowerShell\ (aka $PSHOME) to %windir%\System32\PowerShell
- Create a the necessary plugin configuration file in %windir%\System32\PowerShell
- Register the plugin as a WinRM endpoint (Proposed name = PowerShell.)
Get-PSSessionConfiguration should work with these changes.
Reactions are currently unavailable
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
Get-PSSessionConfiguration should work with these changes.