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

Incompatible with PowerShell 7 #9

Open
CrookedJ opened this issue Apr 6, 2023 · 0 comments
Open

Incompatible with PowerShell 7 #9

CrookedJ opened this issue Apr 6, 2023 · 0 comments

Comments

@CrookedJ
Copy link

CrookedJ commented Apr 6, 2023

Not sure if there is some workaround for this

PS H:\> Import-Module FormatPx -Verbose
VERBOSE: Loading module from path 'C:\Users\jcrook\Documents\PowerShell\Modules\FormatPx\1.1.3.15\FormatPx.psd1'.
VERBOSE: Populating RepositorySourceLocation property for module FormatPx.
VERBOSE: Loading module from path 'C:\Users\jcrook\Documents\PowerShell\Modules\FormatPx\1.1.3.15\FormatPx.dll'.
VERBOSE: Importing cmdlet 'Format-Custom'.
VERBOSE: Importing cmdlet 'Format-Default'.
VERBOSE: Importing cmdlet 'Format-List'.
VERBOSE: Importing cmdlet 'Format-Table'.
VERBOSE: Importing cmdlet 'Format-Wide'.
VERBOSE: Importing cmdlet 'Out-Default'.
VERBOSE: Importing cmdlet 'Out-File'.
VERBOSE: Importing cmdlet 'Out-Host'.
VERBOSE: Importing cmdlet 'Out-Printer'.
VERBOSE: Importing cmdlet 'Out-String'.
VERBOSE: Loading module from path 'C:\Users\jcrook\Documents\PowerShell\Modules\SnippetPx\1.0.6.19\SnippetPx.psd1'.
VERBOSE: Importing cmdlet 'Get-Snippet'.
VERBOSE: Importing cmdlet 'Invoke-Snippet'.
VERBOSE: Loading module from path 'C:\Users\jcrook\Documents\PowerShell\Modules\FormatPx\1.1.3.15\FormatPx.psm1'.
ObjectNotFound: The 'Out-String' command was found in the module 'FormatPx', but the module could not be loaded due to the following error: [Could not load type 'System.Management.Automation.WorkflowInfo' from assembly 'System.Management.Automation, Version=7.3.2.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.]
For more information, run 'Import-Module FormatPx'.

I did find #11503 but it seems that got reverted and broke this again

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