How to disable the progress bar

The progress bar cannot be disabled when I use some commands

such as
$ProgressPreference=‘SilentlyContinue’
Mount-Windowsimage xxxx