Before you can run the following commands, you will have to install Icinga for Windows based on the documentation.
https://packages.icinga.com/IcingaForWindows/stable/ifw.repo.json
Add-IcingaRepository `
-Name 'Icinga Stable' `
-RemotePath 'https://packages.icinga.com/IcingaForWindows/stable/ifw.repo.json';
https://packages.icinga.com/IcingaForWindows/snapshot/ifw.repo.json
Add-IcingaRepository `
-Name 'Icinga Snapshot' `
-RemotePath 'https://packages.icinga.com/IcingaForWindows/snapshot/ifw.repo.json';
https://packages.icinga.com/IcingaForWindows/snapshot/$PROJECT/$BRANCH/ifw.repo.json
[string]$Project = 'icinga-powershell-framework';
[string]$Branch = 'feature/adds_jea_profile_handling';
Add-IcingaRepository `
-Name "$Project/$Branch" `
-RemotePath "https://packages.icinga.com/IcingaForWindows/snapshot/$Project/$Branch/ifw.repo.json";
Install-IcingaComponent -Name $Project.Replace('icinga-powershell-', '') -Version $Branch -Snapshot -Force;