Skip to content

PowerShell Plugin assumes Windows PowerShell registry keys to exist causing remoting to not work when they are absent #34

Closed
@adityapatwardhan

Description

@adityapatwardhan

When Windows PowerShell is not present on the device, New-PSSession fails as the plugin needs the following registry keys to exist. The values from the reg keys are not used anymore. So as a work around creating the reg keys unblocks New-PSSession



    Hive: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\3

Name                           Property
----                           --------
PowerShellEngine               ApplicationBase       : C:\Windows\System32\WindowsPowerShell\v1.0
                               PSPluginWkrModuleName : C:\Windows\System32\WindowsPowerShell\v1.0\system.management.automation.dll
                               RuntimeVersion        : v4.0.30319
                               PowerShellVersion     : 5.1.19516.1002


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions