Home > Uncategorized > Building DevPNP solution powershell commands fail

Building DevPNP solution powershell commands fail

Where to find the PowerShell executable for both x64 and x86

The x64 version of PowerShell (Windows 8.1) can be found under:

“C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

The x86 version of PowerShell (Windows 8.1) can be found under:

“C:\Windows\syswow64\WindowsPowerShell\v1.0\powershell.exe

Change execution policy to use PowerShell in Visual Studio

Now we know we have two versions of PowerShell we can change the execution policy for the x86 version of PowerShell. Start the “C:\Windows\syswow64\WindowsPowerShell\v1.0\powershell.exe” with “Run as administrator”. Now change the execution policy accordantly.

Set-ExecutionPolicy Unrestricted

Advertisements
Categories: Uncategorized
  1. Alejandro Triaca
    June 10, 2015 4:48 pm at 4:48 pm

    Hi. I’m trying to replicate CustomTask creation with VS and SP2013. You were involved on the original thread (sp2013.pro/2013/03/creating-spd-2013-workflows-part-23-implementing-custom-asp-net-task-form/), now removed or unavailable.

    Could you have stored perhaps a copy of that page? I have the cache file, but not the images. And it’s not available as of today (10/06/2015).

    Kind regards,
    Alejandro

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: