Parámetro | Detalles |
---|---|
Objetivo | El recurso está siendo cambiado. |
Acción | La operación que se está realizando. De forma predeterminada, el nombre del cmdlet. |
$PSCmdlet.ShouldProcess()
también escribirá automáticamente un mensaje en la salida detallada.
PS> Invoke-MyCmdlet -Verbose
VERBOSE: Performing the operation "Invoke-MyCmdlet" on target "Target of action"