שתף באמצעות


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:

  1. AuthorizedServiceInstances: A list of the services for this company.

  2. City: The company's city.

  3. CompanyType: What type of company this is (can be partner or regular tenant).

  4. Country: The company's country.

  5. CountryLetterCode: The two letter code for the company's country.

  6. DapEnabled: For partners, whether or not this partner had delegated administrator privileges.

  7. DirectorySynchronizationEnabled: When true, this company has directory synchronization turned on.

  8. DisplayName: The display name of this company.

  9. InitialDomain: The initial domain of this company (companyname.onmicrosoft.com).

  10. LastDirSyncTime: The last time that directory synchronization was run for this company.

  11. LastPasswordSyncTime: The last time that that password synchronization was run for the company.

  12. MarketingNotificationEmails: The email address to send marketing notifications to.

  13. ObjectId: The unique ID for the company.

  14. PasswordSynchronizationEnabled: When true, this company has password synchronization enabled.

  15. PostalCode: The company's postal location.

  16. PreferredLanguage: The default language for the company.

  17. SelfServePasswordResetEnabled: When true, this company has self-service password rest enabled.

  18. State: The company's state.

  19. Street: The company's street address.

  20. TechnicalNotificationEmails: The email address to send important notifications to. This includes any directory synchronization notifications.

  21. TelephoneNumber: The telephone number for the company.

  22. UsersPermissionToCreateGroupsEnabled: When true, users in this company are allowed to create groups.

  23. UsersPermissionToCreateLOBAppsEnabled: When true, users in this company are allowed to create new applications.

  24. UsersPermissionToReadOtherUsersEnabled: When true, users in this company are allowed to view the profile info of other users in their company.

  25. 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:

See Also

Other Resources

Manage Azure Active Directory by using Windows PowerShell