From 5f95437b4336499e971dd303e79238f0bc984bb2 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Mon, 13 Feb 2017 10:44:24 +0100 Subject: [PATCH] + remove progress message --- .../common/powershell/hyperv/2012/nodeintegrationservice.pm | 1 + .../centreon/common/powershell/hyperv/2012/nodesnapshot.pm | 1 + .../common/powershell/hyperv/2012/scvmmintegrationservice.pm | 1 + .../centreon/common/powershell/hyperv/2012/scvmmsnapshot.pm | 1 + 4 files changed, 4 insertions(+) diff --git a/centreon-plugins/centreon/common/powershell/hyperv/2012/nodeintegrationservice.pm b/centreon-plugins/centreon/common/powershell/hyperv/2012/nodeintegrationservice.pm index 5f2452567..69b15fa05 100644 --- a/centreon-plugins/centreon/common/powershell/hyperv/2012/nodeintegrationservice.pm +++ b/centreon-plugins/centreon/common/powershell/hyperv/2012/nodeintegrationservice.pm @@ -33,6 +33,7 @@ sub get_powershell { my $ps = ' $culture = new-object "System.Globalization.CultureInfo" "en-us" [System.Threading.Thread]::CurrentThread.CurrentUICulture = $culture +$ProgressPreference = "SilentlyContinue" Try { $ErrorActionPreference = "Stop" diff --git a/centreon-plugins/centreon/common/powershell/hyperv/2012/nodesnapshot.pm b/centreon-plugins/centreon/common/powershell/hyperv/2012/nodesnapshot.pm index 656f91a27..ac25769a7 100644 --- a/centreon-plugins/centreon/common/powershell/hyperv/2012/nodesnapshot.pm +++ b/centreon-plugins/centreon/common/powershell/hyperv/2012/nodesnapshot.pm @@ -33,6 +33,7 @@ sub get_powershell { my $ps = ' $culture = new-object "System.Globalization.CultureInfo" "en-us" [System.Threading.Thread]::CurrentThread.CurrentUICulture = $culture +$ProgressPreference = "SilentlyContinue" Try { $ErrorActionPreference = "Stop" diff --git a/centreon-plugins/centreon/common/powershell/hyperv/2012/scvmmintegrationservice.pm b/centreon-plugins/centreon/common/powershell/hyperv/2012/scvmmintegrationservice.pm index b94ba2f0a..ee35b6557 100644 --- a/centreon-plugins/centreon/common/powershell/hyperv/2012/scvmmintegrationservice.pm +++ b/centreon-plugins/centreon/common/powershell/hyperv/2012/scvmmintegrationservice.pm @@ -33,6 +33,7 @@ sub get_powershell { my $ps = ' $culture = new-object "System.Globalization.CultureInfo" "en-us" [System.Threading.Thread]::CurrentThread.CurrentUICulture = $culture +$ProgressPreference = "SilentlyContinue" Try { $ErrorActionPreference = "Stop" diff --git a/centreon-plugins/centreon/common/powershell/hyperv/2012/scvmmsnapshot.pm b/centreon-plugins/centreon/common/powershell/hyperv/2012/scvmmsnapshot.pm index a28b2e9c0..be9017857 100644 --- a/centreon-plugins/centreon/common/powershell/hyperv/2012/scvmmsnapshot.pm +++ b/centreon-plugins/centreon/common/powershell/hyperv/2012/scvmmsnapshot.pm @@ -33,6 +33,7 @@ sub get_powershell { my $ps = ' $culture = new-object "System.Globalization.CultureInfo" "en-us" [System.Threading.Thread]::CurrentThread.CurrentUICulture = $culture +$ProgressPreference = "SilentlyContinue" Try { $ErrorActionPreference = "Stop"