I am working on my first sharepoint online project. now when we work with sharepoint on-premise we use SharePoint Management shell , to execute power-shell commands.
now on my sharepoint online 2013 , currently i need to run these 2 commands:-
1.To enable custom scripting
Set-SPOsite -DenyAddAndCustomizePages 0
and
2.To enable master page editting :-
# Paths to SDK. Please verify location on your computer.
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
# Insert the credentials and the name of the admin site
$Username="[email protected]"
$AdminPassword=Read-Host -Prompt "Password" -AsSecureString
$Url="https://tenant.sharepoint.com/sites/teamsitewithlibraries"
$setting=$true
so i am not sure why tool i need to use "SharePoint Online Client Components SDK " OR " SharePoint Online Management Shell" ?? any why. or each script need separate toolS ???