Advertisement
Guest User

Untitled

a guest
Jan 20th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. # Paths to SDK. Please verify location on your computer.
  2. Add-Type -Path "c:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions15ISAPIMicrosoft.SharePoint.Client.dll"
  3. Add-Type -Path "c:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions15ISAPIMicrosoft.SharePoint.Client.Runtime.dll"
  4.  
  5. # Insert the credentials and the name of the admin site
  6. $Username="admin@tenant.onmicrosoft.com"
  7. $AdminPassword=Read-Host -Prompt "Password" -AsSecureString
  8. $Url="https://tenant.sharepoint.com/sites/teamsitewithlibraries"
  9. $ListTitle="kriiv"
  10. $EventReceiverGUID="154d2ca2-8335-464c-9059-214cdcc1c2c1"
  11.  
  12. Get-SPOListEventreceivers -Username $Username -AdminPassword $AdminPassword -Url $Url -ListTitle $ListTitle -EventReceiverGUID $EventreceiverGUID
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement