New-ADFSContactPerson

Creates a new contact person object.

Syntax

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

Description

The New-ADFSContactPerson cmdlet creates a new contact person object in the Federation Service.

Examples

-------------------------- EXAMPLE 1 --------------------------

C:\PS>$cp = New-ADFSContactPerson -EmailAddress "support@fabrikam.com"
Set-ADFSProperties -ContactPerson $cp

Description


Creates a new contact person and sets it in 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 the e-mail address 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 (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 the telephone number 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

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.