Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
adityapatwardhan opened this issue Nov 23, 2019 · 1 comment

Comments

@adityapatwardhan
Copy link
Member

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


@adityapatwardhan
Copy link
Member Author

Closed by #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant