Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Christoph Vollmann cloudchristoph

🏠
Working from home
View GitHub Profile
@cloudchristoph
cloudchristoph / Add-SharePointSiteExternalUser.ps1
Created Sep 6, 2016 — forked from markekraus/Add-SharePointSiteExternalUser.ps1
PowerShell function to invite an external user or list of external users to a SharePoint site
View Add-SharePointSiteExternalUser.ps1
<#
.SYNOPSIS
Invites an external user or list of external users to a SharePoint site.
.DESCRIPTION
Invites an external user or list of external users to a SharePoint site.
External users can be granted View, Edit, or Owner permissions within
the site. A custom e-mail message can be included or the invitation email
can be suppressed.
.PARAMETER SiteURL
URL string of the SharePoint site to which the user(s) will be invited.