Kaleb Luedtke

Results 527 comments of Kaleb Luedtke

> @Trenly Which registry location should I be looking at? I would guess `HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\SAPGUI`, but just want to make sure. Control Panel and the above registry location lists the version...

> Is there anything that could be done to help with that? Or would it require a new feature to add something that could be customized to tell WinGet what...

> @Trenly I think you are on to something. I went through `wingetcreate` again and added the `AppsAndFeaturesEntries`. `wingetcreate` gives me a YAML file, but my repository only accepts JSON...

I'd also like to chime in, especially with regards to this specific thought - > As long as we're getting pedantic about grammar, there's also very inconsistent dropping of articles,...

If you use a tool such as YamlCreate, WinGet Create, or Komac, the files will be output in the correct format and will not have the BOM

Also some analyzer warnings in your other scripts - Mostly around - * Write-Host * These can probably be suprressed with `[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingWriteHost', '', Justification = 'This script is not intended...

> > Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured,...

> This one doesn't make sense to me - isn't null additive and commutative? > > Incorrect null comparison ($null should always be on the left side of equality comparisons)...

> > Precisely why I provided the snippet for suppressing the `Write-Output` item > > My local client doesn't enjoy the snippet: > > ```powershell > PowerShell 7.4.0 > Manual...