In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to use the PowerShell command to initialize OneDrive for Business in batches. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article.
Batch initialization of OneDrive for Business using the PowerShell command
The editor will show you how to use Powershell to initialize OneDrive for Business in batches. The specific steps are as follows:
Install Windows Azure Active Directory Module for Windows PowerShell and obtain the login identity of the global administrator of Office 365:
Import-Module MSOnline
$msolCred = Get-Credential
two。 Use the obtained user identity link SharePoint Online Service:
Connect-MsolService-credential $msolCred
Connect-SPOService-url https://mvptraining-admin.sharepoint.com-Credential $msolCred
3. Enter the UPN address to request OneDrive for business initialization:
$emails = "junzheliu0415@mvptraining.onmicrosoft.com", "neilding0705@mvptraining.onmicrosoft.com"
4. Request the command to generate Personal Site in batch:
Request-SPOPersonalSite-UserEmails $emails-nowait
Description:
The 1.Request-SPOPersonalSite cmdlet request queues the specified users to create a personal site for each user. The actual personal site will be created later by Timer job, and the batch initialization OneDrive will take effect within 24 hours.
two。 This command can specify up to 200 users to initialize OneDrive for Business in batch at a time.
3. The user performing this cmdlet must at least be assigned the SharePoint Online Administrator role and have been assigned a SharePoint Online License in order to be able to provide OneDrive to the user.
Use the PowerShell command to verify the success of initializing OneDrive for Business
1.Get-SPOSite-Template "SPSPERS"-limit ALL-includepersonalsite $True | Select URL, Owner | Format-table-autosize | Out-string-width 8096 | Out-file C:\ OneDriveSites.txt
two。 The batch initialized OneDrive has been generated, and the Report is as follows:
The above is how to use the PowerShell command to initialize OneDrive for Business in batches. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.