Created
July 8, 2016 19:45
-
-
Save juan-fdz-hawa/411d42f1ae560caf09f2d3802c0d7a3b to your computer and use it in GitHub Desktop.
This file contains 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
$site = Get-SPSite http://urltofreakinlockedsite/ | |
$site.GetType().GetProperty(“MaintenanceMode”).GetSetMethod($true).Invoke($site, @($false)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment