Hello,
i am having a very simple Problem and i find now solution:
In Line 2 I write some objects into the variable $vApplictaionDetect
In Line 3i want to add some more objects (it my script it will overwrite the current content)
$vApplicationName = 'Dassault' $vApplictaionDetect = Get-ItemProperty HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Where-Object {$_.Publisher -like $vApplicationName+"*"} $vApplictaionDetect = Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* | Where-Object {$_.Publisher -like $vApplicationName+"*"})