Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Porting Enable-PSRemoting and its Tests#2671

Merged
daxian-dbw merged 12 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
mirichmo:porting-enable-psremotingmirichmo/PowerShell:porting-enable-psremotingCopy head branch name to clipboard
Aug 8, 2017
Merged

Porting Enable-PSRemoting and its Tests#2671
daxian-dbw merged 12 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
mirichmo:porting-enable-psremotingmirichmo/PowerShell:porting-enable-psremotingCopy head branch name to clipboard

Conversation

@mirichmo

Copy link
Copy Markdown
Member

Fixes #1193 for most scenarios. The remaining scenario to be addressed is the Nano Server bring-up scenario. To continue supporting that scenario, I left the Install-PowerShellRemoting script in place.

This change

  1. Ports Enable-PSRemoting and Disable-PSRemoting to PowerShell Core
  2. Adds side-by-side PowerShell Core remoting support to the PSSessionConfiguration cmdlets and PSRemoting cmdlets.
  3. Ports PSSessionConfiguration tests

This change also introduces a behavioral difference. The PSRemoting and PSSessionConfiguration cmdlets are now context-sensitive and only work for endpoints that match the PowerShell type. For example, Get-PSSessionConfiguration, when run in PowerShell Core, will only return PowerShell Core WinRM endpoints. It will only modify PowerShell Core WinRM endpoints and cannot be used to configure Windows PowerShell endpoints.

@mirichmo mirichmo force-pushed the porting-enable-psremoting branch from 7d27163 to 701bb47 Compare November 14, 2016 17:47
@vors vors closed this Nov 14, 2016
@vors vors reopened this Nov 14, 2016
@mirichmo mirichmo added this to the 6.0.0-alpha.14 milestone Nov 22, 2016
@PowerShellTeam PowerShellTeam added the Review - Needed The PR is being reviewed label Nov 22, 2016
@lzybkr lzybkr modified the milestones: 6.0.0-beta, 6.0.0-alpha.14 Dec 8, 2016
@chunqingchen

Copy link
Copy Markdown
Contributor

Can you please resolve the conflict?

@mirichmo

Copy link
Copy Markdown
Member Author

At some point. I'm trying to find time to resolve the test failures.

@chunqingchen

Copy link
Copy Markdown
Contributor

cool !

@PaulHigin

Copy link
Copy Markdown
Contributor

@mirichmo I am not sure how I missed this being assigned to me as a reviewer. But I will review it today.

@mirichmo

Copy link
Copy Markdown
Member Author

The tests aren't passing yet so it still needs some work. You are always welcome to take a look though

@PaulHigin

Copy link
Copy Markdown
Contributor

@mirichmo I went through the code changes and made some minor changes in my fork. I also made some fixes in the test file. Overall I think this looks good and is the right way to implement WinRM based remoting enabling and endpoint management. Please see the patch file I sent you offline that has my minor changes.

@mirichmo mirichmo force-pushed the porting-enable-psremoting branch from 7ee2f3b to b1e93ac Compare July 26, 2017 21:36
@mirichmo mirichmo force-pushed the porting-enable-psremoting branch from 6b2ed25 to 1db21fd Compare August 7, 2017 16:54
@mirichmo

mirichmo commented Aug 7, 2017

Copy link
Copy Markdown
Member Author

@daxian-dbw This is ready for merge now.

@daxian-dbw daxian-dbw merged commit 515a999 into PowerShell:master Aug 8, 2017
@iSazonov

iSazonov commented Aug 9, 2017

Copy link
Copy Markdown
Collaborator

This change also introduces a behavioral difference

It seems we need update docs - should we set the label?

@iSazonov iSazonov removed the Review - Needed The PR is being reviewed label Aug 9, 2017
@daxian-dbw daxian-dbw added the Documentation Needed in this repo Documentation is needed in this repo label Aug 9, 2017
@daxian-dbw

Copy link
Copy Markdown
Member

@iSazonov good point. I added the label to both this PR and the issue.

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

Successfully merging this pull request may close these issues.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.