New-AdfsContactPerson

Creates a contact person object.

Syntax

New-AdfsContactPerson
   [-Company <String>]
   [-EmailAddress <String[]>]
   [-GivenName <String>]
   [-TelephoneNumber <String[]>]
   [-Surname <String>]
   [<CommonParameters>]

Description

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

Examples

Example 1: Create and publish contact person object

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

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.

Parameters

-Company

Specifies the company name of the contact person.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EmailAddress

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

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-GivenName

Specifies the given name of the contact person.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Surname

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TelephoneNumber

Specifies an array of telephone numbers of the contact person.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.IdentityServer.PowerShell.Resources.ContactPerson

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

Notes

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