Tuesday, 2 April 2013

Permission Issues when executing the PowerShell scripts

When we face any permission related issues while executing the PowerShell scripts, we need to check the following to fix it.

1. Check Window PowerShell execution policy
   Get-Execution Policy

2. If the return value is "Restricted" and then set the value as "RemoteSigned"
   Set-Execution Policy "RemoteSigned"

3. In addition to the above, also need to ensure that UAC (User Access Control) is disabled.

That's it.

No comments:

Post a Comment

SharePoint 2013: Video file URL from Asset Library

When you are working with Asset library in SharePoint 2013. It is very important to note that how video files are stored and managed in tha...