Created
December 3, 2018 20:28
-
-
Save arjancornelissen/c301ed53944d2e4407787fc67918011d to your computer and use it in GitHub Desktop.
Enable PIM role
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$roleid = Get-PrivilegedRoleAssignment | Where-Object {$_.RoleName -eq "SharePoint Service Administrator"} | |
Enable-PrivilegedRoleAssignment -TicketNumber "I376524" -Reason "Handling SharePoint issue" -Duration 2 -RoleId $roleid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment