Created
May 13, 2015 19:57
-
-
Save beckettkev/f2b824e9bde9ecb13235 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
$ctx = New-Object Microsoft.SharePoint.Client.ClientContext($tenancySiteCollectionUrl) | |
$ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Username,$securePassword) | |
$group = $ctx.get_web().get_siteGroups().getByName($groupName); | |
$group.set_onlyAllowMembersViewMembership($false) | |
$group.update() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment