Quantcast
Channel: July 2016 - Scripting Blog [archived]
Viewing all articles
Browse latest Browse all 8

PowerTip: Use PowerShell to remove a user from all site collections in SharePoint Online

$
0
0

Summary: Learn how to use PowerShell to remove a corporate user from all site collections in SharePoint Online.

Hey, Scripting Guy! Question How can I use Windows PowerShell to quickly remove a corporate user from all site collections in SharePoint Online?

Hey, Scripting Guy! Answer Use the following commands (change the login user name as required):

Get-SPOSite | ForEach-object{Remove-SPOUser -Site $_.Url -LoginName kmyer@contoso.com}

The Doctor

The post PowerTip: Use PowerShell to remove a user from all site collections in SharePoint Online appeared first on Scripting Blog [archived].


Viewing all articles
Browse latest Browse all 8

Latest Images

Trending Articles





Latest Images