Skip to content

Incompatible with PowerShell 7 #9

Description

@CrookedJ

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions