ConvertFrom-String is not available on PowerShell Core Edition.
It seems by design. According to the source of PowerShell on GitHub,
ConvertFrom-String is exported for Desktop Edition, but not exported for Core Edition for Windows environment or Core Edition for Unix environment.
None. Instead of
ConvertFrom-String, use another function like