When running any script in the Active Roles Management Shell, the follow error is encountered:
Do you want to run software from this untrusted publisher?
File C:\Program Files\Quest Software\Management Shell for AD\qsft.ps1 is published by CN="Quest Software, Inc.", OU=Digital ID Class 3 - Microsoft Software Validation v2, O="Quest Software, Inc.", L=Aliso Viejo, S=California, C=US and is not trusted on your system. Only run scripts from trusted publishers.
[V] Never run [D] Do not run [R] Run once [A] Always run [?] Help (default is "D"):
WORKAROUND 1
Explicitly add the certificate present on the file noted in the error message to the Trusted Publishers Certificate Store on the Local Machine.
WORKAROUND 2
In an elevated PowerShell, use the following command to set the execution policy to either RemoteSigned or Unrestricted:
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center