Skip to content

Conversation

@georgend
Copy link
Contributor

@georgend georgend commented May 19, 2021

On module importation, pass along PSCmdlet to gain access to output methods from the cmdlet.
Remove references to Console.Out which is not available in PowerShell ISE. It uses the methods from the Cmdlets to write to outputs correctly.
Current Behavior
ISE Failures
Proposed Behavior
new behavior

@georgend georgend linked an issue May 19, 2021 that may be closed by this pull request
@georgend georgend added this to the 1.6.0 milestone May 19, 2021
@georgend georgend self-assigned this May 19, 2021
@georgend georgend requested a review from peombwa May 19, 2021 22:01
@georgend georgend marked this pull request as ready for review May 19, 2021 22:01
@georgend georgend requested a review from ddyett as a code owner May 19, 2021 22:01
Cannot initialize output on Module import, thus init on module execution.
use async command runtime to handle output.
@peombwa peombwa self-requested a review May 22, 2021 02:49
Copy link
Member

@peombwa peombwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@georgend georgend linked an issue May 22, 2021 that may be closed by this pull request
@georgend georgend merged commit 6cbf2eb into dev May 24, 2021
@georgend georgend deleted the features/ISEOutput branch May 25, 2021 10:12
@peombwa peombwa mentioned this pull request Jun 2, 2021
@peombwa peombwa mentioned this pull request Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Connect-Graph shows no output to terminal in PowerShell 5.1 Connect to Graph fails in Windows PowerShell ISE

5 participants