Module: check_mk
Branch: master
Commit: 8db536cd23afb9add87b9e51bb70312ed1426a64
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8db536cd23afb9…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Thu Feb 4 13:59:49 2016 +0100
windows agent: fixed typo in mk_inventory.ps1 script
---
agents/windows/plugins/deprecated/mk_inventory.ps1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/windows/plugins/deprecated/mk_inventory.ps1
b/agents/windows/plugins/deprecated/mk_inventory.ps1
index c14e6d5..a1d5fdb 100644
--- a/agents/windows/plugins/deprecated/mk_inventory.ps1
+++ b/agents/windows/plugins/deprecated/mk_inventory.ps1
@@ -94,7 +94,7 @@ foreach ($item in $exe_paths)
{
if ((Test-Path $item -pathType container))
{
- Get-ChildItem -Path $item -include *.exe -Recurse | foreach-object { write-host
-separator $separator $_.Fullname, $_.LastWriteTime, $_.Length,
$_.VersionInfo.FileDescription, $_.VersionInfo.ProduktVersion, $_.VersionInfo.ProduktName
}
+ Get-ChildItem -Path $item -include *.exe -Recurse | foreach-object { write-host
-separator $separator $_.Fullname, $_.LastWriteTime, $_.Length,
$_.VersionInfo.FileDescription, $_.VersionInfo.ProductVersion, $_.VersionInfo.ProductName
}
}
}