Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

set OneDrive admin with PowerShell

$ssODFBSite="<ODFB_Site_Url>"
$sSecondaryODFBAdmin ="<O365_User_To_Add>"
Set-SPOUser -Site $sODFBSite -LoginName $sSecondaryODFBAdmin -IsSiteCollectionAdmin $true
Source by blog.netwrix.com #
 
PREVIOUS NEXT
Tagged: #set #OneDrive #admin #PowerShell
ADD COMMENT
Topic
Name
9+7 =