Hi,
I am using an elevated powershell and set:
Set-ExecutionPolicy -ExecutionPolicy ByPass -Scope Process
and tried to install the power shell framework:
[Net.ServicePointManager]::SecurityProtocol = 'tls12, tls11';
$ProgressPreference = 'SilentlyContinue';
[string]$ScriptFile = 'C:\Users\Public\IcingaForWindows.ps1';
Invoke-WebRequest `
-UseBasicParsing `
-Uri 'https://packages.icinga.com/IcingaForWindows/IcingaForWindows.ps1' `
-OutFile $ScriptFile;
& $ScriptFile `
-ModuleDirectory 'C:\Program Files\WindowsPowerShell\Modules\' `
-InstallCommand '{"IfW-DirectorSelfServiceKey":{"Values":["313483a65a4"]},"IfW-DirectorUrl":{"Values":["http://te-icinga-vm.xy.at/director/"]},"IfW-StableRepository":{"Values":["https://packages.icinga.com/IcingaForWindows/stable"]}}' `
-IcingaRepository 'https://packages.icinga.com/IcingaForWindows/stable/ifw.repo.json'
The installation is stuck at "loading powershell framework - what could I´ve done wrong?
[Notice]: PowerShell Execution-Policies are configured to run Scripts and/or Modules.
[Notice]: Icinga PowerShell Framework is already installed. Using Framework functions for kickstarter.
[Notice]: Loading Icinga PowerShell Framework.
Hi,
I am using an elevated powershell and set:
Set-ExecutionPolicy -ExecutionPolicy ByPass -Scope Processand tried to install the power shell framework:
The installation is stuck at "loading powershell framework - what could I´ve done wrong?