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>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
- None
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
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