VMware Cloud Community
houghtp
Contributor
Contributor

execution policy for community extensions

Do we have to set the PShell execution policy to unrestricted to import the toolKitextensions module? I get the following error when i try to import:

File C:\Users\camph009\Downloads\vitoolkitextensions-60625\coreModule\viToolkitExtensions.psm1 cannot be loaded. The file C:\Users\camph009\Downloads\vitoolkitextensions-60625\coreModule\viToolkitExtensions.psm1 is not digitally signed. The script will not execute on the system. Please see "get-help about_signing" for more details..

At :line:1 char:13

+ Import-Module <<<< C:\Users\camph009\Downloads\vitoolkitextensions-60625\coreModule\viToolkitExtensions.psm1#

I'm currently set to remoteSigned

Reply
0 Kudos
1 Reply
houghtp
Contributor
Contributor

sorry realised i need to unblock the script file.

Reply
0 Kudos