You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now cmdlets that initiate potentially dangerous actions do not have any sort of -WhatIf or -Confirm support. This can be a problem for use-cases where a dry-run would be wanted.
Suggested Actions
Add SupportsShouldProcess and ConfirmImpact, if applicable, to the cmdlets. Then apply the ShouldProcess() method around the SendApiCall() method.
Problem
Right now cmdlets that initiate potentially dangerous actions do not have any sort of
-WhatIf
or-Confirm
support. This can be a problem for use-cases where a dry-run would be wanted.Suggested Actions
Add
SupportsShouldProcess
andConfirmImpact
, if applicable, to the cmdlets. Then apply theShouldProcess()
method around theSendApiCall()
method.For example:
The text was updated successfully, but these errors were encountered: