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

Get-ScheduledJob dost not work #7614

Closed
magicedy opened this issue Aug 23, 2018 · 2 comments
Closed

Get-ScheduledJob dost not work #7614

magicedy opened this issue Aug 23, 2018 · 2 comments
Labels
Resolution-External The issue is caused by external component(s).

Comments

@magicedy
Copy link

Steps to reproduce

>Import-Module PSScheduledJob -SkipEditionCheck
>Get-ScheduledJob

Expected behavior

It should work without issue. Furthermore, Import-Module ScheduledTasks -SkipEditionCheck; Get-ScheduledTask run successfully.

Actual behavior

Get-ScheduledJob : Could not load type 'System.Runtime.Serialization.NetDataContractSerializer' from assembly 'System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
At line:1 char:1
+ Get-ScheduledJob
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Get-ScheduledJob], TypeLoadException
+ FullyQualifiedErrorId : System.TypeLoadException,Microsoft.PowerShell.ScheduledJob.GetScheduledJobCommand

Environment data

> $PSVersionTable
----                           -----
PSVersion                      6.1.0-rc.1
PSEdition                      Core
GitCommitId                    6.1.0-rc.1
OS                             Microsoft Windows 10.0.17134
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
@iSazonov
Copy link
Collaborator

@magicedy Thanks for your report! Please move the Issue in https://github.com/PowerShell/PowerShellModuleCoverage rrepo.

@iSazonov iSazonov added the Resolution-External The issue is caused by external component(s). label Aug 23, 2018
@magicedy
Copy link
Author

This issue was moved to PowerShell/PowerShellModuleCoverage#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-External The issue is caused by external component(s).
Projects
None yet
Development

No branches or pull requests

2 participants