Guest User

Untitled

a guest
Jul 25th, 2017
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. # Paths to SDK. Please verify location on your computer.
  2. Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
  3. Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
  4.  
  5. # Insert the credentials and the name of the admin site
  6. $Username="2190@sampletenant.onmicrosoft.com"
  7. $AdminPassword=Read-Host -Prompt "Password" -AsSecureString
  8. $AdminUrl="https://sampletenant.sharepoint.com/sites/dgd"
Add Comment
Please, Sign In to add comment