diff --git a/centreon/common/powershell/veeam/jobstatus.pm b/centreon/common/powershell/veeam/jobstatus.pm index 804f1f6f1..c4c939af9 100644 --- a/centreon/common/powershell/veeam/jobstatus.pm +++ b/centreon/common/powershell/veeam/jobstatus.pm @@ -39,6 +39,7 @@ $culture = new-object "System.Globalization.CultureInfo" "en-us" $ps .= ' $ProgressPreference = "SilentlyContinue" +$WarningPreference = "SilentlyContinue" Try { $ErrorActionPreference = "Stop" diff --git a/centreon/common/powershell/veeam/licenses.pm b/centreon/common/powershell/veeam/licenses.pm index 71d694b97..12d2a3341 100644 --- a/centreon/common/powershell/veeam/licenses.pm +++ b/centreon/common/powershell/veeam/licenses.pm @@ -39,6 +39,7 @@ $culture = new-object "System.Globalization.CultureInfo" "en-us" $ps .= ' $ProgressPreference = "SilentlyContinue" +$WarningPreference = "SilentlyContinue" Try { $ErrorActionPreference = "Stop" diff --git a/centreon/common/powershell/veeam/listjobs.pm b/centreon/common/powershell/veeam/listjobs.pm index ec087e7e7..155133889 100644 --- a/centreon/common/powershell/veeam/listjobs.pm +++ b/centreon/common/powershell/veeam/listjobs.pm @@ -39,6 +39,7 @@ $culture = new-object "System.Globalization.CultureInfo" "en-us" $ps .= ' $ProgressPreference = "SilentlyContinue" +$WarningPreference = "SilentlyContinue" Try { $ErrorActionPreference = "Stop" diff --git a/centreon/common/powershell/veeam/tapejobs.pm b/centreon/common/powershell/veeam/tapejobs.pm index 4071e30c8..1d03fb922 100644 --- a/centreon/common/powershell/veeam/tapejobs.pm +++ b/centreon/common/powershell/veeam/tapejobs.pm @@ -39,6 +39,7 @@ $culture = new-object "System.Globalization.CultureInfo" "en-us" $ps .= ' $ProgressPreference = "SilentlyContinue" +$WarningPreference = "SilentlyContinue" Try { $ErrorActionPreference = "Stop"