Quantcast
Viewing all articles
Browse latest Browse all 7183

Save without confirmation

I need a solution

Hi

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

or

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.

 

Thank you

Stefan


Viewing all articles
Browse latest Browse all 7183

Trending Articles