diff --git a/lib/core/tools/New-IcingaCheckCommand.psm1 b/lib/core/tools/New-IcingaCheckCommand.psm1 index 3f4070d..2790c92 100644 --- a/lib/core/tools/New-IcingaCheckCommand.psm1 +++ b/lib/core/tools/New-IcingaCheckCommand.psm1 @@ -78,7 +78,7 @@ function New-IcingaCheckCommand() # Try to open the default Editor for the new Cmdlet $DefaultEditor = (Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList' -Name a).a; - #$DefaultEditor = $DefaultEditor.Replace('.exe', ''); + $DefaultEditor = $DefaultEditor.Replace('.exe', ''); Write-Host ([string]::IsNullOrEmpty($DefaultEditor)); Write-Host ((Get-Command $DefaultEditor -ErrorAction SilentlyContinue));