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
<# | |
.SYNOPSIS | |
Sets the visibility of your membership in all GitHub organizations you belong to. | |
.DESCRIPTION | |
This script uses the GitHub API to set your membership visibility in all organizations to either public or private. | |
.PARAMETER Token | |
Your GitHub Personal Access Token with the 'admin:org' scope. | |
.PARAMETER Username | |
Your GitHub username. | |
.PARAMETER Visibility |