* You are viewing the archive for the ‘Uncategorized’ Category

Running the Webinterface on 64Bit Machines having WSUS installed

WSUS enables the 64 Bit dynamic content compression. This compression prohibits the use of 32 Bit Webapplication in IIS (like the LOGINventory Webinterface). For now the only known possibility to avoid this is to turn off the compression.

You may do this via command line:
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']

If you want to turn the compression on again, use:
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+[name='xpress',doStaticCompression='false',dll='%windir%\system32\inetsrv\suscomp.dll']

LOGINventory 5.2 Release Scheduled ~08.09.2010

Actually planned for this week, the Release of LOGINventory 5.2 will be slightly delayed to next week. There are a lot of Bugfixes and improvements waiting for you …

At the same day there will also be a new release of the LOGINventory5 Webinterface and the LOGINventory5 Powershell Addon

Known Bugs in 5.1.5 <= Build 3633

While the next release of LOGINventory (v5.2 ~Jul/Aug 2010) is coming closer, we have some “rare” known bugs for you that may not be closed until the next release. Except some of you are explicitly asking for it.

  • For know one customer reported that printing a nested Analyse ends up with showing now results, even if there were some in the LMC view. As a workaround try placing the query in the top most level, there you should get results.
  • As you may have noticed, the TimeMachine known from LOGINventory 4 has moved from a global scope to a “per query scope”
    (Analyse->Properties->Evaluation … Continue Reading

Substitute for GetDate()-function

Currently, LOGINventory5 MMC-Application does not support the GetDate()-function in quiries like LOGINventory 4. If you want to get all assets with a scandate 30 days ago you can now use the Windows PowerShell. You just have to execute following script:

ScandateBefore30Days.ps1:

# Read all LOGINventory CmdLets from Registry and add them to the current session
cd HKLM:\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns
Get-ChildItem | where {$_.Name -like “*Login.Ventory.*”} | select Name | foreach {add-pssnapin $_.Name.SubString($_.Name.LastIndexOf(‘\’)+1)}

# Create LOGINventory Drive change location
$d = new-psdrive -scope global -name LI -PSProvider LOGINventory -root “”

cd LI:\Assets

# perhaps you have to set the correct culture information for the Convert.ToDateTime-function of .NET
$CULTURE = New-Object System.Globalization.CultureInfo(“de-DE”)
function … Continue Reading

Scripted Query Export

You want to do a scheduled export of your query results? Look here…

You have just to save the following script and the txt-file below. The text file contains the path of the query node from the LMC application and the target file separated with a “|”-character.
Sample:
Analyse\myQuery|C:\myResult.csv

ATTENTION: To use this simple script the query names in the LMC have to contain only “normal” characters ([a-z],[A-Z],[0-9])! Spaces are allowed but you have to replace them with a “_”-character in the “Queries.txt” (See the example)!

ExportQueries.ps1:

# Read Query-File-List
param([string]$file)
$queries = Get-Content $file

# Read all LOGINventory CmdLets from Registry and add them to the current … Continue Reading