Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/Rules/UseSupportsShouldProcess.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: Use SupportsShouldProcess
ms.custom: PSSA v1.21.0
ms.date: 10/18/2021
ms.date: 12/06/2022
ms.topic: reference
title: UseSupportsShouldProcess
---
Expand All @@ -13,7 +13,7 @@ title: UseSupportsShouldProcess

This rule discourages manual declaration of `WhatIf` and `Confirm` parameters in a function/cmdlet.
These parameters are, however, provided automatically when a function declares a `CmdletBinding`
attribute with `SupportsShouldProcess` as its named argument. Using `SupportsShouldProcess` no only
attribute with `SupportsShouldProcess` as its named argument. Using `SupportsShouldProcess` not only
provides these parameters but also some generic functionality that allows the function/cmdlet
authors to provide the desired interactive experience while using the cmdlet.

Expand Down