CMPIVOT failure "Unsupported Powershell Version"

Tom Shelton 1 Reputation point
2022-02-01T16:00:05.62+00:00

CMPIVOT was working and then all of a sudden almost all respond as a failure "Unsupported Powershell Version". The few that do return results have the exact same version of powershell as the PC or server. Cannot find where this is coming from. If I go into MECM and look at Client Operations those same cmpivot queries show no failures. Thanks for the help

Microsoft Security Intune Configuration Manager Other
{count} votes

3 answers

Sort by: Most helpful
  1. Jason Sandys 31,406 Reputation points Microsoft Employee Moderator
    2022-02-01T22:48:40.1+00:00

    Try reviewing the scripts.log on the clients with the failure for more info (CMPivot is mainly just a really cool PowerShell script that ConfigMgr runs on the clients).


  2. Amandayou-MSFT 11,156 Reputation points
    2022-02-02T02:55:16.887+00:00

    Hi @Tom Shelton

    Target clients require a minimum of PowerShell version 4.

    To gather data for the following entities, target clients require PowerShell version 5.0:

    Administrators
    Connection
    IPConfig
    SMBConfig

    Here is the article we could refer to:
    https://learn.microsoft.com/en-us/mem/configmgr/core/servers/manage/cmpivot#prerequisites

    Agree with Jason, please check scripts.log to see any error in it. Besides, we could check if the version of powershell is supported.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Tom Shelton 1 Reputation point
    2022-03-03T11:45:23.74+00:00

    After doing the 2107 upgrade this apparently changed the path of the MS PCA 2011 signing certificate to different serial number. When we compared serial numbers from their lab and our environment of the PCA 2011 cert they were different. Microsoft provided the required certificate with the correct serial and all is good now.

    Thanks


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.