Skip to content

[Preview6] [PSWindowsPowershellCompatibility] *-Job cmdlets load PSScheduledJob module in WinCompat #11164

@JustinGrote

Description

@JustinGrote

Steps to reproduce

Enable WinCompat Experimental Feature

PS> start-threadjob 'test'
Start-ThreadJob: Invalid file path extension.  Extension should be .ps1.
WARNING: Module PSScheduledJob is loaded in Windows PowerShell using WinPSCompatSession remoting session; please note that all input and output of commands from this module will be deserialized objects. If you want to load this module into PowerShell Core please use 'Import-Module -SkipEditionCheck' syntax.

Notes

Start-Threadjob doesn't try to load psscheduledjob if experimental feature is disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.WG-Enginecore PowerShell engine, interpreter, and runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions