Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Paths to SDK. Please verify location on your computer.
- Add-Type -Path "c:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions15ISAPIMicrosoft.SharePoint.Client.dll"
- Add-Type -Path "c:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions15ISAPIMicrosoft.SharePoint.Client.Runtime.dll"
- # Insert the credentials and the name of the admin site
- $Username="admin@tenant.onmicrosoft.com"
- $AdminPassword=Read-Host -Prompt "Password" -AsSecureString
- $Url="https://tenant.sharepoint.com/sites/teamsitewithlibraries"
- $ListTitle="kriiv"
- $EventReceiverGUID="154d2ca2-8335-464c-9059-214cdcc1c2c1"
- Get-SPOListEventreceivers -Username $Username -AdminPassword $AdminPassword -Url $Url -ListTitle $ListTitle -EventReceiverGUID $EventreceiverGUID
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement