Skip to content

Conversation

@Gijsreyn
Copy link
Contributor

PR Summary

Adds --what-if support for delete when _exist: false. The Microsoft.Windows/Registry resource routes config set -w with _exist: false to remove().

Guidance for resource author: Implement the delete behavior in the set capability, as the resource manifest lacks a whatIfDelete feature (I'm curious if this is open for discussion).

PR Context

Fix #799

@SteveL-MSFT
Copy link
Member

WG discussed this and makes sense to have

@SteveL-MSFT SteveL-MSFT moved this from In Progress to Reviewed in DSC Working Group Oct 1, 2025
@Gijsreyn Gijsreyn requested a review from SteveL-MSFT October 3, 2025 01:11
@SteveL-MSFT SteveL-MSFT added this pull request to the merge queue Oct 6, 2025
Merged via the queue into PowerShell:main with commit 548fa97 Oct 6, 2025
4 checks passed
@Gijsreyn Gijsreyn deleted the feature/add-delete-whatif branch October 6, 2025 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Reviewed

Development

Successfully merging this pull request may close these issues.

Implement what-if for delete operations

2 participants