添加 -WhatIf 和 -Confirm 对 cmdlet 的支持

function Invoke-MyCmdlet {
    [CmdletBinding(SupportsShouldProcess = $true)]
    param()
    # ...
}