New-AdfsContactPerson

New-AdfsContactPerson

Creates a contact person object.

構文

Parameter Set: Default
New-AdfsContactPerson [-Company <String> ] [-EmailAddress <String[]> ] [-GivenName <String> ] [-Surname <String> ] [-TelephoneNumber <String[]> ] [ <CommonParameters>]

詳細説明

The New-AdfsContactPerson cmdlet creates a contact person object in ADFS.

パラメーター

-Company<String>

Specifies the company name of the contact person.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-EmailAddress<String[]>

Specifies an array of e-mail addresses of the contact person.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-GivenName<String>

Specifies the given name of the contact person.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Surname<String>

Specifies the surname, or last name, of the contact person.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-TelephoneNumber<String[]>

Specifies an array of telephone numbers of the contact person.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • None

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.IdentityServer.PowerShell.Resources.ContactPerson

    This cmdlet generates a class structure that represents a contact person object in the Federation Service.

  • You can publish this contact person in the federation metadata of the Federation Service by using the Set-AdfsProperties cmdlet.

Example 1: Create and publish contact person object

The first command creates a contact person who has the specified address, and then assigns it to the $CP variable.

The second command uses the Set-AdfsProperties cmdlet to publish the contact person object to the Federation Service.

PS C:\> $CP = New-AdfsContactPerson -EmailAddress "support@fabrikam.com"
PS C:\> Set-AdfsProperties -ContactPerson $CP

関連トピック

Get-AdfsProperties

Set-AdfsProperties