PowerShell - Functions
Identify the error in this advanced function declaration:
function Set-Value {
[CmdletBinding(SupportsShouldProcess=$true)]
param(
[int]$Value
)
if ($PSCmdlet.ShouldProcess("Value")) {
Write-Output "Value set to $Value"
}
}