Just to make sure you understand why I say it's a PowerCli issue. Here you can see me loading a non VMware module and you can see it working as expected.
**********************
Windows PowerShell transcript start
Start time: 20220519084317
Username: xxx\xxx
RunAs User: xxx\xxx
Configuration Name:
Machine: xxx (Microsoft Windows NT 10.0.17763.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Process ID: 5696
PSVersion: 5.1.17763.2803
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.17763.2803
BuildVersion: 10.0.17763.2803
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
Transcript started, output file is C:\temp\test.log
PS C:\Users\xxx> import-module ActiveDirectory
PS C:\Users\xxx> Write-host "Hallo World!"
Hallo World!
PS C:\Users\xxx> Stop-Transcript
**********************
Windows PowerShell transcript end
End time: 20220519084321
**********************