CMPivot: Add an option to provide a code signing certificate for the generated scripts from CMPivot
In our organization only signed scripts may be executed on the clients. However, the scripts from CMPivot queries are not signed and are therefore not executed. This restriction is set by GPO and cannot be overridden by "PowerShell execution policy" in the SCCM client computer agent.
Our internal tracking item associated with this is still open.
I’ve reactivated this feedback. Thank you for bringing it to our attention.
Ken Berry commented
We have the same isssue GPO restricts scripts to "AllSigned"
Is there any Update planned for this? It can't be too hard to sign a Script with your own Certificate right? This is open since 11.11.19
Why is this 'completed' when it's still a problem?
any further information on when this will be included?
what version is this part of?
We have the same issue. CMPivot doesn't work due to policy set to require signed scripts. ( same as the issue with W10 diags all being unsigned scripts so they never report any problems)
Some sort of workaround to enable CMPivot would be nice.
Sara Barkley commented
Same issue here. Domain policy set to All Signed. CMPivot completely nonfunctional, returns status "Unsupported PowerShell Version" except for the handful if devices that have exception to the policy.
We have the same issue. CMPivot is non-functional as we have powershell execution policy at all signed site wide.
We are running into this problem also. Our execution policy is predominately AllSigned for our servers and thus CMPivot queries will not execute, returning an error message of "Unsupported PowerShell Version". This is happening on servers with PowerShell 5.1 installed (Server 2008 R2, Server 2012 R2, Server 2016 and Server 2019). When I change the execution policy to RemoteSigned (we have some exceptions we allow) on a test server, then CMPivot queries succeed.