3.11.0 hide-no-resu...
 
Notifications
Clear all

We had a major storm through here recently and we suffered damage to the house roof and ceilings. I just received the quote to repair. I’m hoping that a small fraction of the 80,000 odd people that download SDIO and/or Desktop Info every month won’t mind chipping in a few dollars to help out. Click on the big blue button at the bottom of the page to help us keep a roof over our heads, literally!

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

[Closed] 3.11.0 hide-no-result

7 Posts
3 Users
0 Reactions
1,395 Views
(@rtruss)
Estimable Member Registered
Joined: 5 years ago
Posts: 77
Topic starter  

So, I am testing the latest version and noticed that 2 items using hide-no-result:1 are no longer hiding :(.
The first one does but the 2 right after it do not. Am I missing something? I tried the {{{}}} method to hide them but guessing I did something wrong as nothing ever appeared when updates were pending. Scripts used for the cmds also attached if needed.

CMD=file:powershell.exe,parameters:-executionpolicy remotesigned -noprofile -file .get-UserPasswordExpiration.ps1 ,color:%Green%,text:Password Expires,no-wait:2,hide-no-result:1

# Pending Reboot
CMD=file:powershell.exe,parameters:-executionpolicy remotesigned -noprofile -file .pending-reboot.ps1 ,interval:3600,font-size:120%,color:%Red%,font-face:Tahoma,text:Reboot Pending,no-wait:2,hide-no-result:1

# Windows Updates
CMD=file:powershell.exe,parameters:-executionpolicy remotesigned -noprofile -file .windows-updates.ps1 ,interval:3600,font-size:120%,color:%Red%,font-face:Tahoma,text:Updates Pending,no-wait:2,hide-no-result:1


   
(@rtruss)
Estimable Member Registered
Joined: 5 years ago
Posts: 77
Topic starter  

Attached a pic of the output


   
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1734
 

when i run those commands here DTI gives <n/a> for all three and when I set hide-no-result:1 they no are no longer displayed, which is the desired result. <n/a> is the default [text] string for noresults. So I'm thinking either:

1. your system is actually returning some result which is undisplayable
2. your [text] string for noresults is different
3. the $null bit at the end of the script is a problem. maybe replace this with

Write-Output "<n/a>"

   
(@chen)
Active Member Registered
Joined: 2 years ago
Posts: 4
 

3.11.0 hide-no-result do not work anymore in item REGISTRY like:
REGISTRY=interval:600,hide-no-result:1,color:CCCCEE,tree:0,text:Siemens Step7,key:HKEY_LOCAL_MACHINESOFTWAREWOW6432NodeSiemensAUTSWSTEP7VersionString,shortdisplay:1
REGISTRY=interval:600,hide-no-result:1,color:CCCCEE,tree:0,text:Siemens TIA,key:HKEY_LOCAL_MACHINESOFTWAREWow6432NodeSiemensAutomation_InstalledSWTIAP13EditionMainVersionString,shortdisplay:1
REGISTRY=interval:600,hide-no-result:1,color:CCCCEE,tree:0,text:Siemens TIA,key:HKEY_LOCAL_MACHINESOFTWAREWow6432NodeSiemensAutomation_InstalledSWTIAP14EditionMainVersionString,shortdisplay:1

it was fine in version 3.10.2


   
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1734
 

agreed. I'll check it out.


   
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1734
 

That code needs to be brought up to date and in line with the other registry items. "It'll be fixed in the next release" O-)


   
(@chen)
Active Member Registered
Joined: 2 years ago
Posts: 4
 

we are looking forward that...
Thanks for making such an interesting program!


   
Glenn's Page