powershell - Error to execute DSC when create virtual machine in azure -



powershell - Error to execute DSC when create virtual machine in azure -

i create in powershell virtual machine windows 8.1 in azure. , set-azure dsc. see error, during execute dsc:

[10/21/2014 14:17:39.44] executing: c:\packages\plugins\microsoft.powershell.dsc\1.3.0.0\bin\install.cmd [10/21/2014 14:17:47.24] execution complete.

# execution output: execution error: c:\packages\plugins\microsoft.powershell.dsc\1.3.0.0\bin\install.ps1 : file c:\packages\plugins\microsoft.powershell.dsc\1.3.0.0\bin\install.ps1 cannot loaded because running scripts disabled on system. more information, see about_execution_policies @ http://go.microsoft.com/fwlink/?linkid=135170. @ line:1 char:1 + c:\packages\plugins\microsoft.powershell.dsc\1.3.0.0\bin\install.ps1 -verbose + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + categoryinfo : securityerror: (:) [], pssecurityexception + fullyqualifiederrorid : unauthorizedaccess

how can enable security policy during create vm in powershell?

powershell azure

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -