Skip to content

Latest commit

 

History

History
135 lines (100 loc) · 3.17 KB

New-AdfsContactPerson.md

File metadata and controls

135 lines (100 loc) · 3.17 KB
description external help file Module Name ms.date online version schema title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
Microsoft.IdentityServer.Management.dll-Help.xml
ADFS
12/20/2016
2.0.0
New-AdfsContactPerson

New-AdfsContactPerson

SYNOPSIS

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
Parameter Sets: (All)
Aliases: 

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

-EmailAddress

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

Type: String[]
Parameter Sets: (All)
Aliases: 

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

-GivenName

Specifies the given name of the contact person.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Surname

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

Type: String
Parameter Sets: (All)
Aliases: 

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

-TelephoneNumber

Specifies an array of telephone numbers of the contact person.

Type: String[]
Parameter Sets: (All)
Aliases: 

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

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.

RELATED LINKS

Get-AdfsProperties

Set-AdfsProperties