Difference between revisions of "Office 365"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
=Admin= | =Admin= | ||
+ | Get tenant licensing: | ||
+ | Get-MsolAccountSku | ||
+ | |||
+ | [https://docs.microsoft.com/en-us/office365/enterprise/powershell/create-user-accounts-with-office-365-powershell Create user accounts with Powershell] | ||
+ | |||
+ | Example: | ||
+ | New-MsolUser -DisplayName "Caleb Sills" -FirstName Caleb -LastName Sills -UserPrincipalName caleb@manaiakalani.onmicrosoft.com -UsageLocation US -LicenseAssignment manaiakalani:ENTERPRISEPACK |
Revision as of 19:42, 21 December 2017
Pre-Requisites
MS Documents - Connect to Office 365 PowerShell
Connect to Tenant
$UserCredential = Get-Credential Connect-MsolService -Credential $UserCredential
Connect with MFA
Connect-MsolService
Exchange Online
Get Distribution List Members
https://technet.microsoft.com/en-us/library/aa996367(v=exchg.160).aspx
OneDrive
Admin
Get tenant licensing:
Get-MsolAccountSku
Create user accounts with Powershell
Example:
New-MsolUser -DisplayName "Caleb Sills" -FirstName Caleb -LastName Sills -UserPrincipalName caleb@manaiakalani.onmicrosoft.com -UsageLocation US -LicenseAssignment manaiakalani:ENTERPRISEPACK