Save without confirmation
At the end of a bemcli script I have got Save-BEBackupDefinition.
Now I would like to run the script without the need to confirm the save action. I tried with the -Confirm switch without success.
Should it be
Save-BEBackupDefinition -Confirm True
Save-BEBackupDefinition -Confirm False
I have found examples with -Confirm:$False which also does not work in my script. Why a : ?
Get-Help Save-BEBackupDefinition does not explain the -Confirm switch.