共用方式為


Set-MsolCompanyContactInformation

設定公司層級的連絡資訊。

語法

Set-MsolCompanyContactInformation
   [-TechnicalNotificationEmails <String[]>]
   [-MarketingNotificationEmails <String[]>]
   [-TenantId <Guid>]
   [<CommonParameters>]

Description

Set-MsolCompanyContactInformation Cmdlet 會設定公司層級的聯繫人喜好設定。 這包括有關 Azure Active Directory 之營銷和技術通知的電子郵件位址。

範例

範例 1:設定聯絡人電子郵件位址

PS C:\> Set-MsolCompanyContactInformation -TechnicalNotificationEmail "tech@contoso.com"

此命令會設定公司的聯繫人電子郵件位址。

參數

-MarketingNotificationEmails

指定公司層級行銷資訊聯繫人電子郵件位址。

類型:String[]
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:False

-TechnicalNotificationEmails

指定公司層級的技術資訊聯繫人電子郵件位址。

類型:String[]
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:False

-TenantId

指定要執行作業之租使用者的唯一標識符。 預設值是目前使用者的租使用者。 此參數僅適用於合作夥伴使用者。

類型:Guid
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:False