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

Improve PowerShell 7 support #4949

Merged
merged 4 commits into from
Aug 28, 2024

Conversation

FabienTschanz
Copy link
Contributor

@FabienTschanz FabienTschanz commented Aug 2, 2024

Pull Request (PR) description

This is attempt 2 in improving the PowerShell 7 support in Microsoft365DSC. The first attempt in #4916 was reverted with #4945.
This PR includes the optimization that PSDesiredStateConfiguration in version 1.1 won't be uninstalled when running Uninstall-M365DSCOutdatedDependencies and that the module handling with Update-M365DSCDependencies -ValidateOnly does not return false positives.

@NikCharlebois Please advise on any errors you had, e.g. the issue with PowerShell ISE. I cannot reproduce that problem.

This Pull Request (PR) fixes the following issues

@NikCharlebois NikCharlebois merged commit 5b78ec1 into microsoft:Dev Aug 28, 2024
2 checks passed
@FabienTschanz FabienTschanz deleted the fix/powershell-7-support branch August 28, 2024 12:19
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

Successfully merging this pull request may close these issues.

Assert-M365DSCBlueprint "Error: Cannot index into a null array"
2 participants