diff --git a/agents/wnx/install/resources/configure_and_exec.ps1 b/agents/wnx/install/resources/configure_and_exec.ps1 index 2da6e74969c..c904a6854ff 100644 --- a/agents/wnx/install/resources/configure_and_exec.ps1 +++ b/agents/wnx/install/resources/configure_and_exec.ps1 @@ -2,7 +2,7 @@ # This file is part of Checkmk (https://checkmk.com). It is subject to the terms and # conditions defined in the file COPYING, which is part of this source code package. -# Script to correctly configure defaults for other powershel scripts +# Script to correctly configure defaults for other powershell scripts $executable = $args[0] $OutputEncoding = [Console]::InputEncoding = [Console]::OutputEncoding = [System.Text.UTF8Encoding]::new() diff --git a/agents/wnx/x.cmd b/agents/wnx/x.cmd index adef44b2fda..069af266def 100644 --- a/agents/wnx/x.cmd +++ b/agents/wnx/x.cmd @@ -1,2 +1,2 @@ -@rem Powershel wrapper to execute any file +@rem Powershell wrapper to execute any file @powershell -ExecutionPolicy ByPass -File %*