ShouldProcessParameters Class

Definition

The declaration of parameters for the ShouldProcess mechanisms. -Whatif, and -Confirm.

C++
public ref class ShouldProcessParameters sealed
Inheritance
ShouldProcessParameters

Properties

Confirm

Gets or sets the value of the -Confirm parameter for all cmdlets.

WhatIf

Gets or sets the value of the -Whatif parameter for all cmdlets.

Applies to

Proizvod Verzije
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0