I created a plugin with the following description:
<#
.DESCRIPTION
Test Plugin
.PARAMETER Warning
Warning Threshold of Test Plugin
.PARAMETER Critical
Critical Threshold of Test Plugin
#>
When I do Publish-IcingaForWindowsComponent -Name ‘TestPlugins’ then no file is created under /doc/plugins.
The second time I run Publish-IcingaForWindowsComponent -Name ‘TestPlugins’ I get this error:
[Error]: A documentation object with the name “Invoke-IcingaCheckTest” does already exist in memory. Use -Force to overwrite it
Thanks for the answer @cstein ,
I checked the plugin but there is still no documentation created and the second time I run it I get the error:
[Error]: A documentation object with the name “Invoke-IcingaCheckTest” does already exist in memory. Use -Force to overwrite it
I think I have found the error.
Is here in the
“C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\lib\core\framework\Publish-IcingaPluginDocumentation.psm1”