New-ADFSContactPerson
New-ADFSContactPerson
Creates a new contact person object.
Syntax
New-ADFSContactPerson [-Company <string>] [-ContactType <string>] [-EmailAddress <string[]>] [-GivenName <string>] [-Surname <string>] [-TelephoneNumber <string[]>] [<CommonParameters>]
Company
ContactType
EmailAddress
GivenName
Surname
TelephoneNumber
Detailed Description
The New-ADFSContactPerson cmdlet creates a new contact person object in the Federation Service.
Parameters
Company
Specifies the company name of the contact person.
Default Value: **
Data Type: string
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
ContactType
Specifies the type of contact person. Valid values are Administrative, Billing, Support, Technical, Other, and Unspecified.
Default Value: **
Data Type: string
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
EmailAddress
Specifies the e-mail address of the contact person.
Default Value: **
Data Type: string[]
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
true |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
true |
variableLength |
GivenName
Specifies the given name of the contact person.
Default Value: **
Data Type: string
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
Surname
Specifies the surname (last name) of the contact person.
Default Value: **
Data Type: string
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
TelephoneNumber
Specifies the telephone number of the contact person.
Default Value: **
Data Type: string[]
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
true |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
true |
variableLength |
Input Type
None
Return Type
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.
Examples
-------------------------- EXAMPLE 1 --------------------------
Command Prompt: 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.
See Also
Reference
Get-ADFSProperties
Set-ADFSProperties