Get-MsolCompanyInformation
Updated: July 30, 2015
Applies To: Azure, Office 365, Windows Intune
Note
- The cmdlets were previously known as the Microsoft Online Services Module for Windows PowerShell cmdlets.
The Get-MsolCompanyInformation cmdlet will retrieve company-level information.
Syntax
Get-MsolCompanyInformation [-TenantId <Guid>] [<CommonParameters>]
Parameters
-TenantId <Guid>
The unique ID of the tenant to perform the operation on. If this is
not provided then the value will default to the tenant of the current
user. This parameter is only applicable to partner users.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
Examples
The cmdlet output is provided by Microsoft.Online.Administration.CompanyInformation. This cmdlet returns the following company level information:
AuthorizedServiceInstances: A list of the services for this company.
City: The company's city.
CompanyType: What type of company this is (can be partner or regular tenant).
Country: The company's country.
CountryLetterCode: The two letter code for the company's country.
DapEnabled: For partners, whether or not this partner had delegated administrator privileges.
DirectorySynchronizationEnabled: When true, this company has directory synchronization turned on.
DisplayName: The display name of this company.
InitialDomain: The initial domain of this company (companyname.onmicrosoft.com).
LastDirSyncTime: The last time that directory synchronization was run for this company.
LastPasswordSyncTime: The last time that that password synchronization was run for the company.
MarketingNotificationEmails: The email address to send marketing notifications to.
ObjectId: The unique ID for the company.
PasswordSynchronizationEnabled: When true, this company has password synchronization enabled.
PostalCode: The company's postal location.
PreferredLanguage: The default language for the company.
SelfServePasswordResetEnabled: When true, this company has self-service password rest enabled.
State: The company's state.
Street: The company's street address.
TechnicalNotificationEmails: The email address to send important notifications to. This includes any directory synchronization notifications.
TelephoneNumber: The telephone number for the company.
UsersPermissionToCreateGroupsEnabled: When true, users in this company are allowed to create groups.
UsersPermissionToCreateLOBAppsEnabled: When true, users in this company are allowed to create new applications.
UsersPermissionToReadOtherUsersEnabled: When true, users in this company are allowed to view the profile info of other users in their company.
UsersPermissionToUserConsentToAppEnabled: When true, users in this company are allowed to consent to applications that require access to their cloud data.
Example 1
The following command returns company level information.
Get-MsolCompanyInformation
Additional Resources
There are several other places you can get more information and help. These include: