when i was trying to use the sample code in linux i hit a few errors
See screenshots below
Using Set-UICF :

Using Set-UIOoui:

~#@❯ $PSVersionTable ❮
Name Value
---- -----
PSVersion 7.1.3
PSEdition Core
GitCommitId 7.1.3
OS Linux 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
let me know if there is anything i can do to help
when i was trying to use the sample code in linux i hit a few errors
See screenshots below
Using Set-UICF :

Using Set-UIOoui:

let me know if there is anything i can do to help