Hello,
I have SCCM v2111. CMPIVOT was working and then all of a sudden almost all respond as a failure "Unsupported Powershell Version" also doesn't work script.
I can track the execution of the query to the scripts.log where it appears to execute and produces "Process completed with exit code 0". however, the results reported back as failure with output "Unsupported PowerShellVersion".