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 modules with PowerShell 7+ #193

Open
aollivierre opened this issue Feb 5, 2024 · 3 comments
Open

Incompatible modules with PowerShell 7+ #193

aollivierre opened this issue Feb 5, 2024 · 3 comments

Comments

@aollivierre
Copy link

many modules are broken when running this tool in PowerShell 7+. We get a wall of error. Super easy to re-produce if you simply call start-intunemanagement.ps1 in a PWSH.exe window.

@Micke-K
Copy link
Owner

Micke-K commented Feb 5, 2024

Hello,

This is a known issue. Only supported with PowerShell 5 at the moment. PowerShell 7 breaks a few things when converting json data with DateTime + a few other issues.

I might look into this in the future.

Cheers!

@BenjaminNiemann
Copy link

Found another issue with powershell 7. In Core.psm1 $PSVersionTable.BuildVersion and $PSVersionTable.CLRVersion are not supported. Please keep that in mind, when you update the module :) Thanks

@Micke-K
Copy link
Owner

Micke-K commented Jun 13, 2024

Hello,

Thank you for that. I might start looking at this soon. New version is coming along very slowly. Way too slow because I've been too busy with other things and the rewrite ended up much bigger than I thought. I have a good base now but still lots to do. PowerShell 7 is one of them.

Cheers!

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

3 participants