Office 365
Jump to navigation
Jump to search
Networking
CDN
- https://docs.microsoft.com/en-us/office365/enterprise/managing-office-365-endpoints?redirectSourcePath=%252farticle%252f99cab9d4-ef59-4207-9f2b-3728eb46bf9a#i-see-network-requests-to-ip-addresses-not-on-the-published-list-do-i-need-to-provide-access-to-them
- https://docs.microsoft.com/en-us/office365/enterprise/content-delivery-networks
- https://docs.microsoft.com/en-us/office365/enterprise/urls-and-ip-address-ranges?redirectSourcePath=%252farticle%252fOffice-365-URLs-and-IP-address-ranges-8548a211-3fe7-47cb-abb1-355ea5aa88a2
Pre-Requisites
MS Documents - Connect to Office 365 PowerShell
Admin Work
Add a domain to Office 365
https://docs.microsoft.com/en-us/office365/admin/setup/add-domain?redirectSourcePath=%252fen-us%252farticle%252fadd-a-domain-to-office-365-6383f56d-3d09-4dcb-9b41-b5f5a5efd611&view=o365-worldwide
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
Controlling Exchange ActiveSync device access using the Allow/Block/Quarantine list
https://blogs.technet.microsoft.com/exchange/2010/11/15/controlling-exchange-activesync-device-access-using-the-allowblockquarantine-list/
How to Block or Quarantine all devices by default in Exchange online ?
https://blogs.technet.microsoft.com/praveenkumar/2015/08/19/how-to-block-or-quarantine-all-devices-by-default-in-exchange-online/
Get Device Statistics
get-mobiledevicestatics -mailbox $user.upn | export-clixml C:\temp
Search mailbox and add to a folder
Search-Mailbox -Identity "bjb" -SearchQuery 'Attachment:stc.pdf from:bjb@coredesigninc.com' -TargetMailbox "dynadmin" -TargetFolder "BJB-Attachment" -LogLevel Full
Search mailbox for a specific subject
search-mailbox -identity userA -searchquery "Kind:meetings and Subject:Subject of meeting and from:largeconferenceroom@kcsarc.org" -targetmailbox largeconferenceroom -TargetFolder "SearchData" -logonly -loglevel full
OneDrive
Admin
Get-MsolAccountSku
Example:
New-MsolUser -DisplayName "Caleb Sills" -FirstName Caleb -LastName Sills -UserPrincipalName caleb@manaiakalani.onmicrosoft.com -UsageLocation US -LicenseAssignment manaiakalani:ENTERPRISEPACK