cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Summary

In case of the PowerShell execution policy being set to "AllSigned", it is necessary to add the publisher of the signing certificate to the trusted publishers store of the local machine.

Symptoms

Setup detects PowerShell execution policy being detected to "AllSigned"

Cause

In case of the PowerShell execution policy being set to "AllSigned", it is necessary to add the publisher of the signing certificate to the trusted publishers store of the local machine.

The Setup will ask you to add the Publisher to the Trusted Publishers store before continuing, this will only place it in the store for the current user, for the certificate to be valid across all accounts of the local machine please follow the instructions below.

Resolution

Warning: It is important that the certificate is imported to the Trusted Publishers of the local machine, not only the user! If it is only imported into the user store it will not be available if the service is running under another account other than the user the Data Collector was installed with.

  1. Navigate to the file VMware.VimAutomation.Sdk.ps1 file (default: C:\Program Files (x86)\VMware\Infrastructure\PowerCLI\Modules\VMware.VimAutomation.Sdk\), right klick and choose Properties
  2. Choose Tab Digital Signatures
  3. Click Details
  4. Click View Certificate
  5. Click Install Certificate
  6. Choose Local Machine and click Next
  7. Choose Place all certificates in the following store and click Browse...
  8. Choose Trusted Publishers and click OK
  9. Click Next
  10. Click Finish
  11. Close all dialogs by clicking OK until you are back to the following screen
  12. Highlight the Symantec signature and press Details
  13. Click View Certificate
  14. Click Install Certificate
  15. Choose Local Machine and click Next
  16. Choose Place all certificates in the following store and click Browse...
  17. Choose Trusted Publishers and click OK
  18. Click Next
  19. Click Finish
  20. Done

 

Additional Information

The command "Get-ExecutionPolicy -List" executed in a PowerShell window, will tell you which policies are activated.

Products 

Spider Data Collector (SDC)

 

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Aug 27, 2019 05:19 AM
Updated by: