The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,854 other subscribers

⊞ Win+? shortcut: PowerToys Shortcut Guide utility for Windows | Microsoft Docs

Posted by jpluimers on 2024/01/15

About a year and a half ago, JenMsft (Jen Gentleman) pointed me to the cool “Shortcut Guide” part of the Windows PowerToys: [Wayback/Archive] microsoft/PowerToys: Windows system utilities to maximize productivity.

The PowerToys install is an all or nothing approach which will elevate you as admin during installation:

winget install Microsoft.PowerToys --source winget

From the [Wayback/Archive] PowerToys Shortcut Guide utility for Windows | Microsoft Docs:

Open the shortcut guide with the shortcut key combination: ⊞ Win+Shift+/ (or as we like to think, ⊞ Win+?) or hold down the ⊞ Win for the time as set in the Settings. An overlay will appear showing keyboard shortcuts that use the Windows key, including:

  • common Windows shortcuts
  • shortcuts for changing the position of the active window
  • taskbar shortcuts

Read the rest of this entry »

Posted in Power User, PowerToys, Windows, Windows 10, Windows 11 | Leave a Comment »

Troubleshooting Errors with winget… | FileWave KB

Posted by jpluimers on 2024/01/14

Need to figure out what is the cause here for [Wayback/Archive] Troubleshooting Errors… | FileWave KB

General Errors

Hex Decimal Symbol Description
0x8A15003B -1978335173 APPINSTALLER_CLI_ERROR_RESTAPI_INTERNAL_ERROR Rest API internal error

I got the error following the install steps at [Wayback/Archive] Download and install Google Chrome with winget

winget install -e --id Google.Chrome

Usually I don’t install through winget because it is often slow and during upgrades often fails to be silent (causing all kinds of popup Windows to appear), but Chocolatey had a history of hashing problems when installing [Wayback/Archive] Chocolatey Software | Google Chrome 130.0.6723.92.

This package always installs the latest version of Google Chrome, regardless of the version specified in the package. Google does not officially offer older versions of Chrome for download. Because of this you may get checksum mismatch between the time Google releases a new installer, and the package is automatically updated.

Yup the page contains the above warning, but often this happens a week at a time: not something I want to spend on installing a web-browser.

Error

Read the rest of this entry »

Posted in Chocolatey, Development, Scripting, Software Development, Windows, Windows Development, winget | Leave a Comment »

Corona pictogrammen actie: PictoCanvas drie maanden gratis

Posted by jpluimers on 2024/01/12

Voor min link-archief, want wellicht in de toekomst relevant voor mijn verstandelijk beperkte broer is [Wayback/Archive] Corona pictogrammen actie: PictoCanvas drie maanden gratis:

Stuur ons een e-mail met antwoorden op de volgende vragen en wij beoordelen of je in aanmerking komt om tot eind maart PictoCanvas gratis te gebruiken.
  • Jouw voornaam en de voornaam van je kind of cliënt.
  • De voor- en achternaam van de verzorger, familielid of contactpersoon.
  • Het e-mailadres van de verzorger, familielid of contactpersoon.
  • Wat is de impact van de corona-maatregelen op je kind en je gezin? Denk aan verlies contact met familie en vriendjes, wegvallen dagbesteding en onderwijs etc.

–jeroen

Posted in Awareness, Inclusion / inclusive society, LifeHacker, Power User | Leave a Comment »

Git commit message templates: commit.template configuruation setting

Posted by jpluimers on 2024/01/11

Earlier this week I wrote about Fork Gist to Repo on GitHub – Stack Overflow and found out the example is about the git configuration variable commit.template which was completely new to me.

So below are a few links as it is a very cool feature!

Basically it is a pointer/softlink to a template file that has the initial commit message (the config can either be per repository or global).

Links (most via [Wayback/Archive] “commit.template” “git” – Google Search):

It also has some links to the documentation, but not deep links and misses a few, so I added those below myself.

 

–jeroen

Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management | Leave a Comment »

Script to rename a virtual machine in ESXi 6

Posted by jpluimers on 2024/01/10

I bumped into [Wayback/Archive] Script to rename a virtual machine in ESXi 6: gist.github.com/Gremgoll/8bd91258d71fe895c0d416e2543ca2dc.

Then I forked it with the intent to make usage more clear, as the current usage on my ESXi rig (which has mos VMs not in the root of data stores) is like the bold italic portion here:

[root@X9SRI3F-ESXi:/vmfs/volumes/608be754-f21556ad-1082-0025907d9d5c/VM] vm-rename.sh NVMe980PRO_1TB/VM X9SRI-3F-W10P-NL-OFFICE X9SRI-3F-W10P-NL X9SRI-3F-W10P-NL-OFFICE
VOLNAME=NVMe980PRO_1TB/VM
DIRNAME=X9SRI-3F-W10P-NL-OFFICE
OLDNAME=X9SRI-3F-W10P-NL
NEWNAME=X9SRI-3F-W10P-NL-OFFICE
VM_DIRPATH=/vmfs/volumes/NVMe980PRO_1TB/VM/X9SRI-3F-W10P-NL-OFFICE
NW_DIRPATH=/vmfs/volumes/NVMe980PRO_1TB/VM/X9SRI-3F-W10P-NL-OFFICE
Failed to rename './X9SRI-3F-W10P-NL-flat.vmdk' to './X9SRI-3F-W10P-NL-OFFICE-flat.vmdk': The file specified is not a virtual disk (15)
renaming ./X9SRI-3F-W10P-NL-41260b40.vmem to ./X9SRI-3F-W10P-NL-OFFICE-41260b40.vmem
renaming ./X9SRI-3F-W10P-NL-41260b40.vmss to ./X9SRI-3F-W10P-NL-OFFICE-41260b40.vmss
renaming ./X9SRI-3F-W10P-NL-6a4b8f29.hlog to ./X9SRI-3F-W10P-NL-OFFICE-6a4b8f29.hlog
renaming ./X9SRI-3F-W10P-NL.nvram to ./X9SRI-3F-W10P-NL-OFFICE.nvram
renaming ./X9SRI-3F-W10P-NL.vmsd to ./X9SRI-3F-W10P-NL-OFFICE.vmsd
renaming ./X9SRI-3F-W10P-NL.vmx to ./X9SRI-3F-W10P-NL-OFFICE.vmx
renaming ./X9SRI-3F-W10P-NL.vmx.backup to ./X9SRI-3F-W10P-NL-OFFICE.vmx.backup
renaming ./X9SRI-3F-W10P-NL.vmxf to ./X9SRI-3F-W10P-NL-OFFICE.vmxf
renaming ./vmx-X9SRI-3F-W10P-NL-1093012288-1.vswp to ./vmx-X9SRI-3F-W10P-NL-OFFICE-1093012288-1.vswp
All Done. You now need to register X9SRI-3F-W10P-NL-OFFICE to the inventory.

There also was a renaming bug (see the italic line).

I managed to fix both that and added more documentation plus output.

Repositories and code

  1. Original:
  2. Fork with added VSAN functionality (see [Wayback/Archive] Revisions · Script to rename a virtual machine in ESXi 6):
  3. My fork of 2:
  4. My fix:

Code before modifying: [Wayback/Archive] gist.githubusercontent.com/jpluimers/fcc601dd41ac89f601a5174be92c841c/raw/e3683fbb6bdf1e73d65d2b784027c70cf42a5512/vm-rename

Code after modifying: [Wayback/Archive] raw.githubusercontent.com/jpluimers/vm-rename/master/vm-rename.sh.

Yes, that is not in a gist any more (see below why), it is now part of [Wayback/Archive] jpluimers/vm-rename: Script to rename a virtual machine in ESXi 6; fork from https://gist.github.com/jpluimers/fcc601dd41ac89f601a5174be92c841c as [Wayback/Archive] vm-rename/vm-rename.sh at master · jpluimers/vm-rename.

The reason was

Yesterday I described the workaround in Fork Gist to Repo on GitHub – Stack Overflow.

Queries

I found the original via [Wayback/Archive] script esxi rename vmx vmxf and related files – Google Search.

My start was [Wayback/Archive] script esxi duplicate vm and rename vmdk – Google Search which found:

  1. [Wayback/Archive] Renaming a virtual machine and its files in VMware ESXi (1029513) which has a PowerCLI script (that requires Windows to run PowerCLI on)
  2. [Wayback/Archive] Solved: How to clone a VM on a ESXI 6.5 server? – VMware Technology Network VMTN which pointed me to the next Google Search result :
  3. [Wayback/Archive] VMware esxi – Script to clone a VM without vSphere or vCenter. | GrangerX which I put in this gist:
  4. [Wayback/Archive] Script to create Linked Clones on ESXi | RedNectar’s Blog which is great, but way to complicate for my use case. It references a few other cool scripts though, and shows how to use Resource Pools in ESXi (which the Web-UI does not seem to support):
  5. [Wayback/Archive] [script] Cloning VMs using ESXi shell/admin console – Virtualizing Unraid – Unraid
  6. [Wayback/Archive] Script to clone a VM with free VMware ESXi – Rob Pomeroy (again: PowerCLI)

–jeroen

Posted in *nix, *nix-tools, ash/dash, ash/dash development, Development, ESXi6, ESXi6.5, ESXi6.7, Power User, PowerCLI, Scripting, Software Development, Virtualization, VMware, VMware ESXi | Leave a Comment »

Fork Gist to Repo on GitHub – Stack Overflow

Posted by jpluimers on 2024/01/09

It is not a full fork and misses a few things (including the Gist description), but is the easiest way to clone a gist to a regular GitHub repository.

I needed it because somehow pushing to gists was denied without explanation or real GitHub feedback.

Another reason is that regular GitHub repositories show you way more information about the commits than Gists do.

Thanks [Wayback/Archive] Noitidart for asking and [Wayback/Archive] Bruno Bronosky for answering at [Wayback/Archive] Fork Gist to Repo on GitHub – Stack Overflow:

Read the rest of this entry »

Posted in Authentication, Development, DVCS - Distributed Version Control, gist, git, GitHub, LifeHacker, Power User, Security, Source Code Management | Leave a Comment »

Weer een site waar je geen email addressen mag plakken: Kruidvat. Makkelijk te omzeilen.

Posted by jpluimers on 2024/01/08

De blokkade van @KruidvatService tegen plakken van email adressen op kruidvat.nl/login/checkout is makkelijk te omzeilen:

  1. JavaScript uitzetten
  2. email plakken
  3. JavaScript aanzetten
  4. “account aanmaken” klikken
  5. rode velden spatie erbij en meteen spatie weg
  6. stap 4.

Bron: [Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “De blokkade van @KruidvatService tegen plakken van email adressen op kruidvat.nl is makkelijk te omzeilen: 1. JavaScript uitzetten 2. email plakken 3. JavaScript aanzetten 4. “account aanmaken” klikken 5. rode velden spatie erbij en meteen spatie weg 6. stap 4.”

Gerelateerd:

Read the rest of this entry »

Posted in Chrome, Chrome, Google, Power User, Web Browsers | Leave a Comment »

Fritz!Box: domeinen in de whitelist om TV-West op de PC te kunnen zien

Posted by jpluimers on 2024/01/05

Deze moet je in een Fritz!Box zetten om TV-West op een PC te kunnen:

cloudfront.net
omroepwest.bbvms.com
i.regiogroei.cloud
static.regiogroei.cloud
cdn.primed.io
omroepwest.nl

Via [Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “Zet deze domain in je @AVM_NL #FritzBox op de whitelist om TV West van @omroepwest op je PC te kunnen bekijken: cloudfront.net
omroepwest.bbvms.com i.regiogroei.cloud static.regiogroei.cloud cdn.primed.io omroepwest.nl” / Twitter

–jeroen

Read the rest of this entry »

Posted in Firewall, Fritz!, Fritz!Box, Hardware, Infrastructure, Internet, Network-and-equipment, Power User | Leave a Comment »

While migrating VMs, I keep forgetting ESXi likes the text .vmdk file with a binary -flat.vmdk, where Fusion/ Workstation/Player like binary .vmdk file (and how to fix this)

Posted by jpluimers on 2024/01/02

I keep forgetting this, but ESXi likes the text .vmdk file with a binary -flat.vmdk, where Fusion/ Workstation/Player like binary .vmdk file.

Most sites that mention how to solve it love the cryptic parameters like -i  (software developers: when inventing command-line parameters, please use a more descriptive letter for a command) in stead of --clonevirtualdisk), so for instance Migrate VMware Workstation / Fusion VM to ESXi | Ming’s Blog comes up with

[root...] mv Windows-10-64-Enterprise-disk1.vmdk Windows-10-64-Enterprise-disk1.vmdk.fusion
[root...] vmkfstools -i Windows-10-64-Enterprise-disk1.vmdk.fusion Windows-10-64-Enterprise-disk1.vmdk
Destination disk format: VMFS zeroedthick
Cloning disk 'Windows-10-64-Enterprise-disk1.vmdk.fusion'...
Clone: 100% done.

is more readable as

[root...] vmkfstools --clonevirtualdisk Windows-10-64-Enterprise-disk1.vmdk.fusion Windows-10-64-Enterprise-disk1.vmdk

And yes, I wrote about this before, but keep forgetting it applies :

–jeroen

Posted in ESXi6, ESXi6.5, ESXi6.7, Fusion, Power User, Virtualization, VMware, VMware ESXi, VMware Workstation | Leave a Comment »

Gelukkig nieuw ophefjaar! Sinds gisteravond on-line Ophefkalender 2024.pdf – Google Drive van  Marcel Steeman – #ophefkalender: dag 1 ophef is al gelukt!

Posted by jpluimers on 2024/01/01

Ik wens iedereen vanuit Lisse een mooi 2024 jaar waar ieders hoop vervult wordt.

Dag 1 van Marcel Steenmans #ophefkalender is alvast gelukt:

Politie: ondanks
ongeregeldheden rustig
verlopen jaarwisseling

[Archive] Ophefkalender 2024.pdf – Google Drive

Dit jaar uiteraard met speciale aandacht voor

[Wayback/Archive] Jeroen Wiert Pluimers @wiert@mastodon.social on X: “@msteeman Met de quadriennaal terugkerende traditionele festiviteit “Bejaarde viert 18de verjaardag”.”

Via

Read the rest of this entry »

Posted in Awareness, Fun, Future | Leave a Comment »