Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to List All Domains in Office 365 Subscription

$
0
0

Summary: Use Windows Powershell and the MSOnline cmdlets to identify all Internet domains attached to an Office 365 subscription.

Hey, Scripting Guy! Question How can I use Windows PowerShell to easily audit an Office 365 subscription for domains that are attached to it?

Hey, Scripting Guy! Answer Use the Get-MSolDomain cmdlet, and if you want a list in a CSV file for auditing purposes, add
           the Export parameter, for example:

Get-MsolDomain | Export-CSV o365domains.csv


Viewing all articles
Browse latest Browse all 3333

Trending Articles