Here is a complete description of the ShouldProcess behavior, with all overrides and both WhatIf and Confirm outputs.
Arg Count | Parameters by Position | WhatIf Output | Confirm Output |
---|---|---|---|
1 | "TARGET" | What if: Performing the operation "FUNCTION_NAME" on target "TARGET". |
Confirm |
2 | "TARGET", "OPERATION" |
What if: Performing the operation "OPERATION" on target "TARGET". |
Confirm |
3 | "MESSAGE", "TARGET", "OPERATION" | What if: MESSAGE | OPERATION TARGET |