Skip to content

Fix ShouldProcess in Invoke-MaintenancePlan#575

Open
yourlastnamesoundslikeatypeofpasta wants to merge 1 commit into
mainfrom
codex/remove-custom-switch-and-improve-step-execution
Open

Fix ShouldProcess in Invoke-MaintenancePlan#575
yourlastnamesoundslikeatypeofpasta wants to merge 1 commit into
mainfrom
codex/remove-custom-switch-and-improve-step-execution

Conversation

@yourlastnamesoundslikeatypeofpasta

Copy link
Copy Markdown
Owner

Summary

  • drop custom -WhatIf parameter
  • use $PSCmdlet.ShouldProcess when executing steps

File Citations

  • src/MaintenancePlan/Public/Invoke-MaintenancePlan.ps1【F:src/MaintenancePlan/Public/Invoke-MaintenancePlan.ps1†L1-L25】

Test Results

  • Invoke-Pester -Configuration ./PesterConfiguration.psd1 (failed to run tests)【b28611†L1-L24】

Codex couldn't run certain commands due to environment limitations. Consider configuring a setup script or internet access in your Codex environment to install dependencies.


https://chatgpt.com/codex/tasks/task_e_68474e835524832ca90d7853f40dc5d0

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

Labels

codex enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant