cancel
Showing results for 
Search instead for 
Did you mean: 

Powershell Move-BEMediaToMediaVault

bawright
Level 4
Certified

Hi There

I don't if this is a bug or not but in backup exec 2014 powershell when I run the below command i still get prompt to move the media to the vault.

get-bemedia | Where-Object {$_.LocationName -eq "$null"} | Move-BEMediaToMediaVault -MediaVault "Vault"  -confirm

Cheers,

Brett

1 ACCEPTED SOLUTION

Accepted Solutions

pkh
Moderator
Moderator
   VIP    Certified
To suppress the prompt, you need to specify -confirm:$false

View solution in original post

1 REPLY 1

pkh
Moderator
Moderator
   VIP    Certified
To suppress the prompt, you need to specify -confirm:$false