Forum Discussion
PnP Enable ResponsiveUI error
Are you trying to execute your script from the correct location? By calling ".\Enable-SPResponsiveUI.ps1" the file (Enable-SPResponsiveUI.ps1) needs to exist at the same location from where you are executing.
Please make sure you're executing your script from the folder where the script file is located or that you're pointing to the correct path where the file is located.
Below image is showing exactly the same error when trying to execute a file that doesn's exist at the current location (c:\windows\system32)
Browsing to the correct location and then executing the script works just fine:
- KJSMar 09, 2017Brass Contributor
Thanks Mate for the reply , issue was my root site did not had style library. I created a new team site and then executed the command and it worked like charm.
- Mar 07, 2017
Is it maybe Enable-SPOResponsiveUI that you are looking for?