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

Support for working with remote modules #361

Merged
merged 4 commits into from
Jun 3, 2018
Merged

Conversation

vors
Copy link
Collaborator

@vors vors commented Jun 3, 2018

When previously cmdlets from remote runspace (Import-PSSession)
got used, they didn't have the correct command object metadata for reflection.
The meat of this change is adding MyGetCommand that proxies nessesary calls to
remote runspace.

There are no assumption about the remote runspace
except the fact that Select-Object cmdlet should be present there.
The NoLanguage mode in remote runspace is supported.
NoLanguage mode is nessesary for products like Exchange and Office 365.

  • Add MyGetCommand
  • Fix the getTypeString calls for remoting
  • Add -Session parameter to New-MarkdownHelp, Update-MarkdownHelp, Update-MarkdownHelpModule

Fix #338 #339 #64

vors added 4 commits June 3, 2018 14:18
When previously cmdlets from remote runspace (Import-PSSession)
got used, they didn't have the correct command object metadata for reflection.
The meat of this change is adding MyGetCommand that proxies nessesary calls to
remote runspace.

There are no assumption about the remote runspace
except the fact that Select-Object cmdlet should be present there.
The NoLanguage mode in remote runspace is supported.
NoLanguage mode is nessesary for products like Exchange and Office 365.

- Add MyGetCommand
- Fix the getTypeString calls for remoting
- Add -Session parameter to New-MarkdownHelp, Update-MarkdownHelp, Update-MarkdownHelpModule
@vors vors merged commit aedd0a6 into PowerShell:master Jun 3, 2018
@vors vors deleted the remote-session branch June 3, 2018 23:18
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.

1 participant